text stringlengths 318 1.29k | instruction_seed stringlengths 305 1.28k | response_seed stringclasses 1
value | _source stringclasses 1
value |
|---|---|---|---|
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13464416_4 (high_rebounds VARCHAR, team VARCHAR)
Question: Who had the high rebound total against golden state?
[/INST]
Here is the SQLite query to answer to ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13464416_4 (high_rebounds VARCHAR, team VARCHAR)
Question: Who had the high rebound total against golden state?
Here is the SQLite query to answer to the question:... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (engine VARCHAR, year INTEGER)
Question: Which engine has a year larger than 1956?
[/INST]
Here is the SQLite query to answer to the question: Which e... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (engine VARCHAR, year INTEGER)
Question: Which engine has a year larger than 1956?
Here is the SQLite query to answer to the question: Which engine has a y... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (attendance VARCHAR, opponent VARCHAR)
Question: What was the attendance when the Cincinnati Bengals were the opponents?
[/INST]
Here is the SQLite qu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (attendance VARCHAR, opponent VARCHAR)
Question: What was the attendance when the Cincinnati Bengals were the opponents?
Here is the SQLite query to answer... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (year VARCHAR, tournament_name VARCHAR, runners_up VARCHAR)
Question: What year was the Grand Prix Passing Shot Bordeaux that had Runners-up of Diego ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (year VARCHAR, tournament_name VARCHAR, runners_up VARCHAR)
Question: What year was the Grand Prix Passing Shot Bordeaux that had Runners-up of Diego Nargis... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (brand VARCHAR, entrant VARCHAR)
Question: What is Mark Henry's brand?
[/INST]
Here is the SQLite query to answer to the question: What is Mark Henry'... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (brand VARCHAR, entrant VARCHAR)
Question: What is Mark Henry's brand?
Here is the SQLite query to answer to the question: What is Mark Henry's brand?:
```... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (week VARCHAR, attendance VARCHAR)
Question: What week had an attendance of 27,262?
[/INST]
Here is the SQLite query to answer to the question: What w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (week VARCHAR, attendance VARCHAR)
Question: What week had an attendance of 27,262?
Here is the SQLite query to answer to the question: What week had an at... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (result VARCHAR, category VARCHAR)
Question: What was the result of the Best Actor in a Musical category?
[/INST]
Here is the SQLite query to answer t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (result VARCHAR, category VARCHAR)
Question: What was the result of the Best Actor in a Musical category?
Here is the SQLite query to answer to the questio... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (club VARCHAR, points VARCHAR)
Question: What club had 56 points?
[/INST]
Here is the SQLite query to answer to the question: What club had 56 points?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (club VARCHAR, points VARCHAR)
Question: What club had 56 points?
Here is the SQLite query to answer to the question: What club had 56 points?:
```
SELECT ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12591022_2 (program VARCHAR, focus VARCHAR)
Question: What is the program where the focus is risk management and regulation?
[/INST]
Here is the SQLite query ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12591022_2 (program VARCHAR, focus VARCHAR)
Question: What is the program where the focus is risk management and regulation?
Here is the SQLite query to answer to ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (shooter VARCHAR, event VARCHAR, rank_points VARCHAR)
Question: Who is the shooter at the WC Rio De Janeiro event with 10 rank points?
[/INST]
Here is ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (shooter VARCHAR, event VARCHAR, rank_points VARCHAR)
Question: Who is the shooter at the WC Rio De Janeiro event with 10 rank points?
Here is the SQLite qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Highschooler (name VARCHAR, id VARCHAR); CREATE TABLE Friend (student_id VARCHAR)
Question: Show the names of high school students and their corresponding number of... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Highschooler (name VARCHAR, id VARCHAR); CREATE TABLE Friend (student_id VARCHAR)
Question: Show the names of high school students and their corresponding number of frien... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22353769_3 (us_air_date VARCHAR, episode__number VARCHAR)
Question: How many episodes have episode #11?
[/INST]
Here is the SQLite query to answer to the ques... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22353769_3 (us_air_date VARCHAR, episode__number VARCHAR)
Question: How many episodes have episode #11?
Here is the SQLite query to answer to the question: How man... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (gold VARCHAR, bronze VARCHAR, silver VARCHAR)
Question: What is the total number of gold medals when the team got 2 bronze and more than 5 silver med... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (gold VARCHAR, bronze VARCHAR, silver VARCHAR)
Question: What is the total number of gold medals when the team got 2 bronze and more than 5 silver medals?
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (latitude VARCHAR, longitude VARCHAR, land___sqmi__ VARCHAR, geo_id VARCHAR)
Question: What is the latitude that has a sqmi smaller than 34.401, a Geo... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (latitude VARCHAR, longitude VARCHAR, land___sqmi__ VARCHAR, geo_id VARCHAR)
Question: What is the latitude that has a sqmi smaller than 34.401, a Geo ID sm... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE race (name VARCHAR, CLASS VARCHAR, date VARCHAR)
Question: Show name, class, and date for all races.
[/INST]
Here is the SQLite query to answer to the question: Sho... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE race (name VARCHAR, CLASS VARCHAR, date VARCHAR)
Question: Show name, class, and date for all races.
Here is the SQLite query to answer to the question: Show name, class... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (avg VARCHAR, yards VARCHAR)
Question: Tell me the average for 1 yards
[/INST]
Here is the SQLite query to answer to the question: Tell me the average... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (avg VARCHAR, yards VARCHAR)
Question: Tell me the average for 1 yards
Here is the SQLite query to answer to the question: Tell me the average for 1 yards:... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (character VARCHAR, actor VARCHAR)
Question: Who's the character when Margot Boyd was acting?
[/INST]
Here is the SQLite query to answer to the questi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (character VARCHAR, actor VARCHAR)
Question: Who's the character when Margot Boyd was acting?
Here is the SQLite query to answer to the question: Who's the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (rowers VARCHAR, time VARCHAR)
Question: What rowers have a 6:29.56 time?
[/INST]
Here is the SQLite query to answer to the question: What rowers have... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (rowers VARCHAR, time VARCHAR)
Question: What rowers have a 6:29.56 time?
Here is the SQLite query to answer to the question: What rowers have a 6:29.56 ti... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (bronze INTEGER, rank VARCHAR, gold VARCHAR, nation VARCHAR)
Question: How many France bronze have a gold of more than 1 and a rank of 0?
[/INST]
Here... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (bronze INTEGER, rank VARCHAR, gold VARCHAR, nation VARCHAR)
Question: How many France bronze have a gold of more than 1 and a rank of 0?
Here is the SQLit... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (date VARCHAR, week VARCHAR)
Question: When does week 11 start?
[/INST]
Here is the SQLite query to answer to the question: When does week 11 start?:
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (date VARCHAR, week VARCHAR)
Question: When does week 11 start?
Here is the SQLite query to answer to the question: When does week 11 start?:
```
SELECT da... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (position INTEGER, pilot VARCHAR)
Question: What is the lowest position for bruce taylor?
[/INST]
Here is the SQLite query to answer to the question: W... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (position INTEGER, pilot VARCHAR)
Question: What is the lowest position for bruce taylor?
Here is the SQLite query to answer to the question: What is the lo... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (visitor VARCHAR, record VARCHAR)
Question: Which visiting team had a record of 31–31–8?
[/INST]
Here is the SQLite query to answer to the question: W... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (visitor VARCHAR, record VARCHAR)
Question: Which visiting team had a record of 31–31–8?
Here is the SQLite query to answer to the question: Which visiting... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (name VARCHAR, points VARCHAR)
Question: Tell me the name with points of 151.66
[/INST]
Here is the SQLite query to answer to the question: Tell me the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (name VARCHAR, points VARCHAR)
Question: Tell me the name with points of 151.66
Here is the SQLite query to answer to the question: Tell me the name with po... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (home_team VARCHAR, away_team VARCHAR)
Question: What is the score of the home team that played Collingwood?
[/INST]
Here is the SQLite query to answe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (home_team VARCHAR, away_team VARCHAR)
Question: What is the score of the home team that played Collingwood?
Here is the SQLite query to answer to the ques... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (overall INTEGER, name VARCHAR, pick VARCHAR, round VARCHAR)
Question: What is the sum of Overall, when Pick is greater than 5, when Round is less tha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (overall INTEGER, name VARCHAR, pick VARCHAR, round VARCHAR)
Question: What is the sum of Overall, when Pick is greater than 5, when Round is less than 11, ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (played INTEGER, wins VARCHAR, position VARCHAR)
Question: what is the played when the wins is 21 and the positions is higher than 3?
[/INST]
Here is ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (played INTEGER, wins VARCHAR, position VARCHAR)
Question: what is the played when the wins is 21 and the positions is higher than 3?
Here is the SQLite qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (outcome VARCHAR, score_in_final VARCHAR)
Question: What was the outcome for the match that ended in a score of 5–7, 6–4, [10–7]?
[/INST]
Here is the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (outcome VARCHAR, score_in_final VARCHAR)
Question: What was the outcome for the match that ended in a score of 5–7, 6–4, [10–7]?
Here is the SQLite query ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_51 (bronze INTEGER, gold VARCHAR, total VARCHAR, rank VARCHAR)
Question: What is the fewest number of bronze medals won among the nations ranked 12 that ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_51 (bronze INTEGER, gold VARCHAR, total VARCHAR, rank VARCHAR)
Question: What is the fewest number of bronze medals won among the nations ranked 12 that won no... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (away_team VARCHAR, home_team VARCHAR)
Question: During footscray's home match, who was the away team?
[/INST]
Here is the SQLite query to answer to t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (away_team VARCHAR, home_team VARCHAR)
Question: During footscray's home match, who was the away team?
Here is the SQLite query to answer to the question: ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE manufacturers (revenue INTEGER, Headquarter VARCHAR)
Question: What is the total revenue of all companies whose main office is at Tokyo or Taiwan?
[/INST]
Here is t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE manufacturers (revenue INTEGER, Headquarter VARCHAR)
Question: What is the total revenue of all companies whose main office is at Tokyo or Taiwan?
Here is the SQLite que... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (attendance INTEGER, tie_no VARCHAR)
Question: How many attended tie number 3?
[/INST]
Here is the SQLite query to answer to the question: How many at... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (attendance INTEGER, tie_no VARCHAR)
Question: How many attended tie number 3?
Here is the SQLite query to answer to the question: How many attended tie nu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (date VARCHAR, type_of_game VARCHAR)
Question: What is the date of the Euro '64 qualifying game?
[/INST]
Here is the SQLite query to answer to the que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (date VARCHAR, type_of_game VARCHAR)
Question: What is the date of the Euro '64 qualifying game?
Here is the SQLite query to answer to the question: What i... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (season VARCHAR, name VARCHAR)
Question: What is Season, when Name is Tony Boy Espinosa?
[/INST]
Here is the SQLite query to answer to the question: W... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (season VARCHAR, name VARCHAR)
Question: What is Season, when Name is Tony Boy Espinosa?
Here is the SQLite query to answer to the question: What is Season... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23292220_7 (seans_team VARCHAR, episode VARCHAR)
Question: Name the total number of seans team being 7x04
[/INST]
Here is the SQLite query to answer to the qu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23292220_7 (seans_team VARCHAR, episode VARCHAR)
Question: Name the total number of seans team being 7x04
Here is the SQLite query to answer to the question: Name ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (attendance INTEGER, date VARCHAR, week VARCHAR)
Question: What was the attendance on September 19, 1971, after week 1?
[/INST]
Here is the SQLite que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (attendance INTEGER, date VARCHAR, week VARCHAR)
Question: What was the attendance on September 19, 1971, after week 1?
Here is the SQLite query to answer ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20722805_1 (mccain_number INTEGER, parish VARCHAR)
Question: What is the total number of votes McCain had in Webster?
[/INST]
Here is the SQLite query to answ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20722805_1 (mccain_number INTEGER, parish VARCHAR)
Question: What is the total number of votes McCain had in Webster?
Here is the SQLite query to answer to the que... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (gold INTEGER, silver VARCHAR, total VARCHAR, nation VARCHAR)
Question: What's the lowest gold with a total of 4 and less than 2 silver for liechtenst... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (gold INTEGER, silver VARCHAR, total VARCHAR, nation VARCHAR)
Question: What's the lowest gold with a total of 4 and less than 2 silver for liechtenstein?
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21550897_1 (production_code INTEGER, us_viewers__million_ VARCHAR)
Question: What is the production code for the episode that had 9.18 million viewers (U.S.)?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21550897_1 (production_code INTEGER, us_viewers__million_ VARCHAR)
Question: What is the production code for the episode that had 9.18 million viewers (U.S.)?
Here... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (date VARCHAR, venue VARCHAR)
Question: What the date of the game of the team that plays in princes park?
[/INST]
Here is the SQLite query to answer t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (date VARCHAR, venue VARCHAR)
Question: What the date of the game of the team that plays in princes park?
Here is the SQLite query to answer to the questio... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE STUDENT (Advisor VARCHAR, StuID VARCHAR); CREATE TABLE VOTING_RECORD (Treasurer_Vote VARCHAR, Election_Cycle VARCHAR)
Question: Find the distinct Advisor of student... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE STUDENT (Advisor VARCHAR, StuID VARCHAR); CREATE TABLE VOTING_RECORD (Treasurer_Vote VARCHAR, Election_Cycle VARCHAR)
Question: Find the distinct Advisor of students who ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (Id VARCHAR)
Question: What is the average 3620 value that has a 5432 of 1277 and a 15122 less than 1540?
[/INST]
Here is the SQLite query to answer t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (Id VARCHAR)
Question: What is the average 3620 value that has a 5432 of 1277 and a 15122 less than 1540?
Here is the SQLite query to answer to the questio... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (imperfect_stem VARCHAR, future_stem VARCHAR)
Question: What is the imperfect stem for the word that has a future stem of ikusiko?
[/INST]
Here is the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (imperfect_stem VARCHAR, future_stem VARCHAR)
Question: What is the imperfect stem for the word that has a future stem of ikusiko?
Here is the SQLite query... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (ratings__5_capital_cities_ VARCHAR, episode_no VARCHAR)
Question: What was the rating of the episode Wonder Drug?
[/INST]
Here is the SQLite query to... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (ratings__5_capital_cities_ VARCHAR, episode_no VARCHAR)
Question: What was the rating of the episode Wonder Drug?
Here is the SQLite query to answer to th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (erp_w INTEGER, call_sign VARCHAR)
Question: What is the Sum of ERP W, when Call Sign is K216GA?
[/INST]
Here is the SQLite query to answer to the que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (erp_w INTEGER, call_sign VARCHAR)
Question: What is the Sum of ERP W, when Call Sign is K216GA?
Here is the SQLite query to answer to the question: What i... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (round INTEGER, position VARCHAR, college VARCHAR)
Question: What was the latest round with a running back from a California college?
[/INST]
Here is ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (round INTEGER, position VARCHAR, college VARCHAR)
Question: What was the latest round with a running back from a California college?
Here is the SQLite qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19061741_1 (total_days_in_pbb_house INTEGER, name VARCHAR)
Question: When yen galagnara is the name what is the highest total days in the pbb house?
[/INST]
H... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19061741_1 (total_days_in_pbb_house INTEGER, name VARCHAR)
Question: When yen galagnara is the name what is the highest total days in the pbb house?
Here is the SQ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE conductor (Name VARCHAR, Year_of_Work VARCHAR)
Question: List names of conductors in descending order of years of work.
[/INST]
Here is the SQLite query to answer t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE conductor (Name VARCHAR, Year_of_Work VARCHAR)
Question: List names of conductors in descending order of years of work.
Here is the SQLite query to answer to the questio... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE shop (shop_id VARCHAR, address VARCHAR, score INTEGER)
Question: Find the id and address of the shops whose score is below the average score.
[/INST]
Here is the SQ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE shop (shop_id VARCHAR, address VARCHAR, score INTEGER)
Question: Find the id and address of the shops whose score is below the average score.
Here is the SQLite query to... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (discovery VARCHAR, operator_s_ VARCHAR)
Question: Which Discoveryhas an Operator(s) of lundin?
[/INST]
Here is the SQLite query to answer to the quest... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (discovery VARCHAR, operator_s_ VARCHAR)
Question: Which Discoveryhas an Operator(s) of lundin?
Here is the SQLite query to answer to the question: Which Di... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (bronze VARCHAR, silver VARCHAR, gold VARCHAR, rank VARCHAR)
Question: How many bronzes for the nation ranked 14th, with over 14 golds and over 25 sil... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (bronze VARCHAR, silver VARCHAR, gold VARCHAR, rank VARCHAR)
Question: How many bronzes for the nation ranked 14th, with over 14 golds and over 25 silvers?
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (band VARCHAR, callsign VARCHAR)
Question: What band does 4cca use?
[/INST]
Here is the SQLite query to answer to the question: What band does 4cca us... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (band VARCHAR, callsign VARCHAR)
Question: What band does 4cca use?
Here is the SQLite query to answer to the question: What band does 4cca use?:
```
SELEC... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (away_team VARCHAR, home_team VARCHAR)
Question: What was the Away Team of Blackpool's Home game?
[/INST]
Here is the SQLite query to answer to the que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (away_team VARCHAR, home_team VARCHAR)
Question: What was the Away Team of Blackpool's Home game?
Here is the SQLite query to answer to the question: What w... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (week_5 VARCHAR, week_1 VARCHAR)
Question: What is the week 5 after Dani Dior as week 1?
[/INST]
Here is the SQLite query to answer to the question: W... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (week_5 VARCHAR, week_1 VARCHAR)
Question: What is the week 5 after Dani Dior as week 1?
Here is the SQLite query to answer to the question: What is the we... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (result_f___a VARCHAR, h___a VARCHAR, attendance VARCHAR)
Question: What is the result F-A with an H/A of h and more than 31,727 attending?
[/INST]
He... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (result_f___a VARCHAR, h___a VARCHAR, attendance VARCHAR)
Question: What is the result F-A with an H/A of h and more than 31,727 attending?
Here is the SQL... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (goals_for INTEGER, goals_against VARCHAR, position VARCHAR, draw VARCHAR)
Question: What is the average goals for with a position under 12, draws ove... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (goals_for INTEGER, goals_against VARCHAR, position VARCHAR, draw VARCHAR)
Question: What is the average goals for with a position under 12, draws over 1, a... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12338595_1 (average VARCHAR, state VARCHAR)
Question: How much is the average score for New York state?
[/INST]
Here is the SQLite query to answer to the ques... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12338595_1 (average VARCHAR, state VARCHAR)
Question: How much is the average score for New York state?
Here is the SQLite query to answer to the question: How muc... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (lner_1946_no VARCHAR, year VARCHAR, lner_no VARCHAR)
Question: Which LNER 1946 number is from 1892 and has an LNER number of 7347–7356?
[/INST]
Here ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (lner_1946_no VARCHAR, year VARCHAR, lner_no VARCHAR)
Question: Which LNER 1946 number is from 1892 and has an LNER number of 7347–7356?
Here is the SQLite... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_30133_3 (gap_from_thailand_as_of_2012__times_ VARCHAR, gap_from_thailand_as_of_1980__times_ VARCHAR)
Question: What is the gap from Thailand as of 2012 for th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_30133_3 (gap_from_thailand_as_of_2012__times_ VARCHAR, gap_from_thailand_as_of_1980__times_ VARCHAR)
Question: What is the gap from Thailand as of 2012 for the coun... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10432351_1 (spectral_type VARCHAR, star__pismis24__number_ VARCHAR)
Question: What are all the spectral types for star mismis24-# is 1sw?
[/INST]
Here is the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10432351_1 (spectral_type VARCHAR, star__pismis24__number_ VARCHAR)
Question: What are all the spectral types for star mismis24-# is 1sw?
Here is the SQLite query ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (lineage VARCHAR, name VARCHAR)
Question: What's the lineage of ōoka tadatomo (大岡忠與)?
[/INST]
Here is the SQLite query to answer to the question: What... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (lineage VARCHAR, name VARCHAR)
Question: What's the lineage of ōoka tadatomo (大岡忠與)?
Here is the SQLite query to answer to the question: What's the lineag... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (award VARCHAR, recipient VARCHAR)
Question: What award did Charlie Productions Ltd receive?
[/INST]
Here is the SQLite query to answer to the questio... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (award VARCHAR, recipient VARCHAR)
Question: What award did Charlie Productions Ltd receive?
Here is the SQLite query to answer to the question: What award... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21436373_6 (attendance VARCHAR, type_of_record VARCHAR)
Question: What is the number of attendance with the pre-season game as the type of record?
[/INST]
Her... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21436373_6 (attendance VARCHAR, type_of_record VARCHAR)
Question: What is the number of attendance with the pre-season game as the type of record?
Here is the SQLi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (goals INTEGER, name VARCHAR)
Question: What is the average goals for Essi Sainio?
[/INST]
Here is the SQLite query to answer to the question: What is... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (goals INTEGER, name VARCHAR)
Question: What is the average goals for Essi Sainio?
Here is the SQLite query to answer to the question: What is the average ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21436373_11 (result_games VARCHAR, attendance VARCHAR)
Question: Name the result/games for 52521
[/INST]
Here is the SQLite query to answer to the question: N... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21436373_11 (result_games VARCHAR, attendance VARCHAR)
Question: Name the result/games for 52521
Here is the SQLite query to answer to the question: Name the resul... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1745820_5 (semifinals VARCHAR, round_of_32 VARCHAR)
Question: When there was a bye in the round of 32, what was the result in the round of 16?
[/INST]
Here is... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1745820_5 (semifinals VARCHAR, round_of_32 VARCHAR)
Question: When there was a bye in the round of 32, what was the result in the round of 16?
Here is the SQLite q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (length VARCHAR, daily_ridership INTEGER)
Question: Daily ridership greater that 414 is associated with which length?
[/INST]
Here is the SQLite query... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (length VARCHAR, daily_ridership INTEGER)
Question: Daily ridership greater that 414 is associated with which length?
Here is the SQLite query to answer to... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (member_senator VARCHAR, first_elected VARCHAR, district VARCHAR)
Question: Who was firest elected in 2002 in a district larger than 41?
[/INST]
Here i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (member_senator VARCHAR, first_elected VARCHAR, district VARCHAR)
Question: Who was firest elected in 2002 in a district larger than 41?
Here is the SQLite ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (position INTEGER, best_3_year_period VARCHAR)
Question: Which Position has a best 3-year period of petrosian?
[/INST]
Here is the SQLite query to ans... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (position INTEGER, best_3_year_period VARCHAR)
Question: Which Position has a best 3-year period of petrosian?
Here is the SQLite query to answer to the qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (director VARCHAR, title VARCHAR)
Question: Who was the director of the episode Rebel Rabbit?
[/INST]
Here is the SQLite query to answer to the questi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (director VARCHAR, title VARCHAR)
Question: Who was the director of the episode Rebel Rabbit?
Here is the SQLite query to answer to the question: Who was t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1220125_4 (pennant VARCHAR, laid_down VARCHAR)
Question: What is the pennant for 4 may 1943?
[/INST]
Here is the SQLite query to answer to the question: What ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1220125_4 (pennant VARCHAR, laid_down VARCHAR)
Question: What is the pennant for 4 may 1943?
Here is the SQLite query to answer to the question: What is the pennan... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (no_of_villages INTEGER, name_of_janapada VARCHAR)
Question: What is the average number of villages with a name of janapada of Punia?
[/INST]
Here is ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (no_of_villages INTEGER, name_of_janapada VARCHAR)
Question: What is the average number of villages with a name of janapada of Punia?
Here is the SQLite qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (tournament VARCHAR)
Question: Which tournament's 2001 and 2008 were a when 2010 was qf?
[/INST]
Here is the SQLite query to answer to the question: Wh... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (tournament VARCHAR)
Question: Which tournament's 2001 and 2008 were a when 2010 was qf?
Here is the SQLite query to answer to the question: Which tournamen... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (round VARCHAR, opponent VARCHAR)
Question: What round did the fight against travis fulton last?
[/INST]
Here is the SQLite query to answer to the que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (round VARCHAR, opponent VARCHAR)
Question: What round did the fight against travis fulton last?
Here is the SQLite query to answer to the question: What r... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1399994_5 (location VARCHAR, opponents VARCHAR)
Question: How many locations hosted Claudia Kohde-Kilsch Eva Pfaff?
[/INST]
Here is the SQLite query to answer... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1399994_5 (location VARCHAR, opponents VARCHAR)
Question: How many locations hosted Claudia Kohde-Kilsch Eva Pfaff?
Here is the SQLite query to answer to the quest... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2187333_1 (year VARCHAR, team_s_ VARCHAR, poles VARCHAR)
Question: Name the year for #16 roush racing for poles less than smaller 1.0
[/INST]
Here is the SQLi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2187333_1 (year VARCHAR, team_s_ VARCHAR, poles VARCHAR)
Question: Name the year for #16 roush racing for poles less than smaller 1.0
Here is the SQLite query to a... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (school_club_team VARCHAR, pick VARCHAR)
Question: WHAT TEAM HAD A 28 PICK?
[/INST]
Here is the SQLite query to answer to the question: WHAT TEAM HAD ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (school_club_team VARCHAR, pick VARCHAR)
Question: WHAT TEAM HAD A 28 PICK?
Here is the SQLite query to answer to the question: WHAT TEAM HAD A 28 PICK?:
`... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14752049_6 (country VARCHAR, change__2011_to_2012_ VARCHAR)
Question: When the change (2011 to 2012) is -0.1% what is the country?
[/INST]
Here is the SQLite ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14752049_6 (country VARCHAR, change__2011_to_2012_ VARCHAR)
Question: When the change (2011 to 2012) is -0.1% what is the country?
Here is the SQLite query to answ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE FLIGHTS (DestAirport VARCHAR); CREATE TABLE AIRPORTS (AirportCode VARCHAR, City VARCHAR)
Question: How many flights arriving in Aberdeen city?
[/INST]
Here is the S... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE FLIGHTS (DestAirport VARCHAR); CREATE TABLE AIRPORTS (AirportCode VARCHAR, City VARCHAR)
Question: How many flights arriving in Aberdeen city?
Here is the SQLite query t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (matches INTEGER, drawn VARCHAR, win__percentage VARCHAR, nationality VARCHAR, lost VARCHAR)
Question: Nationality of england, and a Lost larger than 3... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (matches INTEGER, drawn VARCHAR, win__percentage VARCHAR, nationality VARCHAR, lost VARCHAR)
Question: Nationality of england, and a Lost larger than 39, and... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (club VARCHAR)
Question: What 2007-08 had A.S. Gubbio 1910 Club?
[/INST]
Here is the SQLite query to answer to the question: What 2007-08 had A.S. Gub... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (club VARCHAR)
Question: What 2007-08 had A.S. Gubbio 1910 Club?
Here is the SQLite query to answer to the question: What 2007-08 had A.S. Gubbio 1910 Club... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (week INTEGER, attendance VARCHAR, result VARCHAR)
Question: What is the Week of the game with an Attendance of 64,900 and a Result of L 34-13?
[/INST... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (week INTEGER, attendance VARCHAR, result VARCHAR)
Question: What is the Week of the game with an Attendance of 64,900 and a Result of L 34-13?
Here is the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (points VARCHAR, engine VARCHAR, year VARCHAR)
Question: How many points did Judd v8 has in 1989?
[/INST]
Here is the SQLite query to answer to the qu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (points VARCHAR, engine VARCHAR, year VARCHAR)
Question: How many points did Judd v8 has in 1989?
Here is the SQLite query to answer to the question: How m... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2147588_4 (vacator VARCHAR, successor VARCHAR)
Question: When nathaniel g. taylor (u) is the successor what is the vacator?
[/INST]
Here is the SQLite query t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2147588_4 (vacator VARCHAR, successor VARCHAR)
Question: When nathaniel g. taylor (u) is the successor what is the vacator?
Here is the SQLite query to answer to t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (grid INTEGER, driver VARCHAR, laps VARCHAR, time_retired VARCHAR)
Question: What is the average grid that has over 8 laps, a Time/Retired of +2 laps,... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (grid INTEGER, driver VARCHAR, laps VARCHAR, time_retired VARCHAR)
Question: What is the average grid that has over 8 laps, a Time/Retired of +2 laps, and p... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (elite_eight VARCHAR, conference VARCHAR)
Question: What is the elite eight result for the big west?
[/INST]
Here is the SQLite query to answer to the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (elite_eight VARCHAR, conference VARCHAR)
Question: What is the elite eight result for the big west?
Here is the SQLite query to answer to the question: Wh... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17190012_7 (high_points VARCHAR, record VARCHAR)
Question: who scored highest points on the game with record 27–5
[/INST]
Here is the SQLite query to answer t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17190012_7 (high_points VARCHAR, record VARCHAR)
Question: who scored highest points on the game with record 27–5
Here is the SQLite query to answer to the questio... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Highschooler (ID VARCHAR, name VARCHAR)
Question: Show the ID of the high schooler named Kyle.
[/INST]
Here is the SQLite query to answer to the question: Show the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Highschooler (ID VARCHAR, name VARCHAR)
Question: Show the ID of the high schooler named Kyle.
Here is the SQLite query to answer to the question: Show the ID of the hig... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (year VARCHAR, location VARCHAR, date VARCHAR)
Question: Which Year has a Location of dinas on 13 january?
[/INST]
Here is the SQLite query to answer ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (year VARCHAR, location VARCHAR, date VARCHAR)
Question: Which Year has a Location of dinas on 13 january?
Here is the SQLite query to answer to the questi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (attendance INTEGER, record VARCHAR)
Question: Record of 11–12 involved what average attendance figures?
[/INST]
Here is the SQLite query to answer to... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (attendance INTEGER, record VARCHAR)
Question: Record of 11–12 involved what average attendance figures?
Here is the SQLite query to answer to the question... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (drawn VARCHAR, lost VARCHAR, played VARCHAR)
Question: How many games drawn when there are 78 losses and over 121 games played?
[/INST]
Here is the S... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (drawn VARCHAR, lost VARCHAR, played VARCHAR)
Question: How many games drawn when there are 78 losses and over 121 games played?
Here is the SQLite query t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (year_won INTEGER, total INTEGER)
Question: What is the earliest year won with a total bigger than 156?
[/INST]
Here is the SQLite query to answer to ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (year_won INTEGER, total INTEGER)
Question: What is the earliest year won with a total bigger than 156?
Here is the SQLite query to answer to the question:... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_44 (score VARCHAR, opponent VARCHAR)
Question: What is the score when Li Na was the opponent?
[/INST]
Here is the SQLite query to answer to the question:... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_44 (score VARCHAR, opponent VARCHAR)
Question: What is the score when Li Na was the opponent?
Here is the SQLite query to answer to the question: What is the ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (builder VARCHAR, br_no VARCHAR)
Question: Which Builder has BR No. 30782?
[/INST]
Here is the SQLite query to answer to the question: Which Builder h... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (builder VARCHAR, br_no VARCHAR)
Question: Which Builder has BR No. 30782?
Here is the SQLite query to answer to the question: Which Builder has BR No. 307... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (record VARCHAR, week INTEGER)
Question: What's the record after week 16?
[/INST]
Here is the SQLite query to answer to the question: What's the recor... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (record VARCHAR, week INTEGER)
Question: What's the record after week 16?
Here is the SQLite query to answer to the question: What's the record after week ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (year VARCHAR, record VARCHAR)
Question: Name the total number of years for a 39-31 record
[/INST]
Here is the SQLite query to answer to the question:... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (year VARCHAR, record VARCHAR)
Question: Name the total number of years for a 39-31 record
Here is the SQLite query to answer to the question: Name the tot... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (season VARCHAR, runner_up VARCHAR)
Question: During which Season was the tournament in progress?
[/INST]
Here is the SQLite query to answer to the qu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (season VARCHAR, runner_up VARCHAR)
Question: During which Season was the tournament in progress?
Here is the SQLite query to answer to the question: Durin... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (county VARCHAR, per_capita_income VARCHAR)
Question: What county has $51,456 income per capita?
[/INST]
Here is the SQLite query to answer to the que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (county VARCHAR, per_capita_income VARCHAR)
Question: What county has $51,456 income per capita?
Here is the SQLite query to answer to the question: What c... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22118197_1 (result VARCHAR, english_title VARCHAR)
Question: What was the result for the film with the English name of Morning Undersea?
[/INST]
Here is the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22118197_1 (result VARCHAR, english_title VARCHAR)
Question: What was the result for the film with the English name of Morning Undersea?
Here is the SQLite query ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21269441_4 (tournament_venue__city_ VARCHAR, regular_season_winner VARCHAR)
Question: Where was the tourney when UCLA won the regular season?
[/INST]
Here is... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21269441_4 (tournament_venue__city_ VARCHAR, regular_season_winner VARCHAR)
Question: Where was the tourney when UCLA won the regular season?
Here is the SQLite q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10082596_1 (founded VARCHAR, location VARCHAR)
Question: How many schools are in Bloomington, IN?
[/INST]
Here is the SQLite query to answer to the question: ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10082596_1 (founded VARCHAR, location VARCHAR)
Question: How many schools are in Bloomington, IN?
Here is the SQLite query to answer to the question: How many scho... | bugdaryan/sql-create-context-instruction |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.