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_name_46 (sack VARCHAR, yards VARCHAR, tackles VARCHAR, assisted VARCHAR)
Question: How many sacks for the player with over 1 tackle, under 3 assisted tackles,... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (sack VARCHAR, yards VARCHAR, tackles VARCHAR, assisted VARCHAR)
Question: How many sacks for the player with over 1 tackle, under 3 assisted tackles, and o... | 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_50 (player VARCHAR, round INTEGER)
Question: Which Player has a Round larger than 8?
[/INST]
Here is the SQLite query to answer to the question: Which Pl... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (player VARCHAR, round INTEGER)
Question: Which Player has a Round larger than 8?
Here is the SQLite query to answer to the question: Which Player has a Ro... | 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_120778_2 (jurisdiction VARCHAR, percent_yes VARCHAR)
Question: what's the jurisdiction where percent yes is 43.4
[/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_120778_2 (jurisdiction VARCHAR, percent_yes VARCHAR)
Question: what's the jurisdiction where percent yes is 43.4
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_14911550_5 (position VARCHAR, team VARCHAR)
Question: In which position is the team Cerro Porteño?
[/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_14911550_5 (position VARCHAR, team VARCHAR)
Question: In which position is the team Cerro Porteño?
Here is the SQLite query to answer to the question: In which pos... | 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_20745759_1 (date VARCHAR, attendance VARCHAR)
Question: Name the date for attendance 9372
[/INST]
Here is the SQLite query to answer to the question: Name the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20745759_1 (date VARCHAR, attendance VARCHAR)
Question: Name the date for attendance 9372
Here is the SQLite query to answer to the question: Name the date for att... | 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_14573770_4 (winners INTEGER, nation VARCHAR)
Question: How many times did argentina win?
[/INST]
Here is the SQLite query to answer to the question: How many ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14573770_4 (winners INTEGER, nation VARCHAR)
Question: How many times did argentina win?
Here is the SQLite query to answer to the question: How many times did arg... | 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_77 (date VARCHAR, mach VARCHAR)
Question: What Date has a Mach of 0.662?
[/INST]
Here is the SQLite query to answer to the question: What Date has a Mach... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (date VARCHAR, mach VARCHAR)
Question: What Date has a Mach of 0.662?
Here is the SQLite query to answer to the question: What Date has a Mach of 0.662?:
`... | 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 (number_1971 VARCHAR)
Question: What is the 1961 total of the Macedonian population with a 1971 number of 3325 and a 1991 value greater than 3177?
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (number_1971 VARCHAR)
Question: What is the 1961 total of the Macedonian population with a 1971 number of 3325 and a 1991 value greater than 3177?
Here is ... | 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 (away_team VARCHAR, home_team VARCHAR)
Question: What was the away team when the home was st kilda?
[/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_34 (away_team VARCHAR, home_team VARCHAR)
Question: What was the away team when the home was st kilda?
Here is the SQLite query to answer to the question: Wha... | 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_1341472_12 (district VARCHAR, incumbent VARCHAR)
Question: What district is Mac Collins an incumbent in?
[/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_1341472_12 (district VARCHAR, incumbent VARCHAR)
Question: What district is Mac Collins an incumbent in?
Here is the SQLite query to answer to the question: What d... | 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_73 (score VARCHAR, visitor VARCHAR, date VARCHAR)
Question: What was the score of the game on November 9 when Atlanta was the visiting team?
[/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_73 (score VARCHAR, visitor VARCHAR, date VARCHAR)
Question: What was the score of the game on November 9 when Atlanta was the visiting team?
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_26199130_1 (title VARCHAR, production_code VARCHAR)
Question: What is the title of the episode with production code 2alf03?
[/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_26199130_1 (title VARCHAR, production_code VARCHAR)
Question: What is the title of the episode with production code 2alf03?
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_56 (draws INTEGER, goals_for VARCHAR, wins VARCHAR, points VARCHAR)
Question: What is the highest number of draws a club with less than 20 wins, 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_56 (draws INTEGER, goals_for VARCHAR, wins VARCHAR, points VARCHAR)
Question: What is the highest number of draws a club with less than 20 wins, less than 41 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_5 (team VARCHAR, county VARCHAR)
Question: Which team is in Sussex county?
[/INST]
Here is the SQLite query to answer to the question: Which team is in S... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (team VARCHAR, county VARCHAR)
Question: Which team is in Sussex county?
Here is the SQLite query to answer to the question: Which team is in Sussex county?... | 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 advisor (i_id VARCHAR); CREATE TABLE instructor (name VARCHAR, id VARCHAR)
Question: Find the name of instructors who are advising more than one student.
[/INST]
He... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE advisor (i_id VARCHAR); CREATE TABLE instructor (name VARCHAR, id VARCHAR)
Question: Find the name of instructors who are advising more than one student.
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_99 (nationality VARCHAR, name VARCHAR, lane VARCHAR, rank VARCHAR, time VARCHAR)
Question: Which Nationality has a Rank larger than 1, and a Time smaller... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (nationality VARCHAR, name VARCHAR, lane VARCHAR, rank VARCHAR, time VARCHAR)
Question: Which Nationality has a Rank larger than 1, and a Time smaller than ... | 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_17 (long VARCHAR, avg_g VARCHAR)
Question: What is the long value for the year with an average/game of 160.9?
[/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_17 (long VARCHAR, avg_g VARCHAR)
Question: What is the long value for the year with an average/game of 160.9?
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_48 (goals VARCHAR, years_at_club VARCHAR, games VARCHAR, debut_year VARCHAR)
Question: How many Goals have Games smaller than 6, and a Debut year of 1939... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (goals VARCHAR, years_at_club VARCHAR, games VARCHAR, debut_year VARCHAR)
Question: How many Goals have Games smaller than 6, and a Debut year of 1939, 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_65 (longitude INTEGER, diameter__km_ VARCHAR, latitude VARCHAR)
Question: Tell me the sum of longitude for diameter being 22.6 and latitude less than -12... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (longitude INTEGER, diameter__km_ VARCHAR, latitude VARCHAR)
Question: Tell me the sum of longitude for diameter being 22.6 and latitude less than -12.4
He... | 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_77 (tournament VARCHAR)
Question: What is the value in 2008 when the value for Tournament is year?
[/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_name_77 (tournament VARCHAR)
Question: What is the value in 2008 when the value for Tournament is year?
Here is the SQLite query to answer to the question: What is... | 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_27 (streak VARCHAR, score VARCHAR)
Question: Which Streak has a Score of 98–109?
[/INST]
Here is the SQLite query to answer to the question: Which Streak... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (streak VARCHAR, score VARCHAR)
Question: Which Streak has a Score of 98–109?
Here is the SQLite query to answer to the question: Which Streak has a Score ... | 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_13 (date VARCHAR, tie_no VARCHAR)
Question: What is the Date of Tie no 21?
[/INST]
Here is the SQLite query to answer to the question: What is the Date o... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (date VARCHAR, tie_no VARCHAR)
Question: What is the Date of Tie no 21?
Here is the SQLite query to answer to the question: What is the Date of Tie no 21?:... | 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_25923164_1 (original_air_date VARCHAR, directed_by VARCHAR)
Question: What was the original air date of the episode directed by gloria muzio?
[/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_25923164_1 (original_air_date VARCHAR, directed_by VARCHAR)
Question: What was the original air date of the episode directed by gloria muzio?
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_25561038_1 (f_laps INTEGER)
Question: List the highest number of laps.
[/INST]
Here is the SQLite query to answer to the question: List the highest number of ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25561038_1 (f_laps INTEGER)
Question: List the highest number of laps.
Here is the SQLite query to answer to the question: List the highest number of laps.:
```
SE... | 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_15893020_2 (player VARCHAR, best_bowling VARCHAR)
Question: Who was the player with a bowling best of 2/43?
[/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_15893020_2 (player VARCHAR, best_bowling VARCHAR)
Question: Who was the player with a bowling best of 2/43?
Here is the SQLite query to answer to the question: 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_48 (host_team VARCHAR, date VARCHAR)
Question: Who was the host team on November 17?
[/INST]
Here is the SQLite query to answer to the question: Who was ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (host_team VARCHAR, date VARCHAR)
Question: Who was the host team on November 17?
Here is the SQLite query to answer to the question: Who was the host team... | 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_3005999_1 (provider VARCHAR, destination VARCHAR)
Question: Who are all providers with destination of Liverpool?
[/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_3005999_1 (provider VARCHAR, destination VARCHAR)
Question: Who are all providers with destination of Liverpool?
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_1751142_2 (level INTEGER)
Question: What is the highest possible level?
[/INST]
Here is the SQLite query to answer to the question: What is the highest possib... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1751142_2 (level INTEGER)
Question: What is the highest possible level?
Here is the SQLite query to answer to the question: What is the highest possible level?:
``... | 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_99 (location VARCHAR, opponent VARCHAR, rules VARCHAR, round VARCHAR)
Question: Where has a Rules of thai boxing, and a Round of n/a, and an Opponent of ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (location VARCHAR, opponent VARCHAR, rules VARCHAR, round VARCHAR)
Question: Where has a Rules of thai boxing, and a Round of n/a, and an Opponent of everto... | 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_76 (jianshu VARCHAR, qiangshu VARCHAR, total VARCHAR, athlete VARCHAR)
Question: What is the number of Jianshu when the total is more than 19.16, for Ngu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (jianshu VARCHAR, qiangshu VARCHAR, total VARCHAR, athlete VARCHAR)
Question: What is the number of Jianshu when the total is more than 19.16, for Nguyen Hu... | 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_53 (total VARCHAR, player VARCHAR)
Question: How many Total has a Player of dave stockton?
[/INST]
Here is the SQLite query to answer to the question: Ho... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (total VARCHAR, player VARCHAR)
Question: How many Total has a Player of dave stockton?
Here is the SQLite query to answer to the question: How many Total ... | 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_25730209_2 (extra_points INTEGER)
Question: What was the least amount of points scored?
[/INST]
Here is the SQLite query to answer to the question: What was t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25730209_2 (extra_points INTEGER)
Question: What was the least amount of points scored?
Here is the SQLite query to answer to the question: What was the least amou... | 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_22380270_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR)
Question: On what air date were there 2.15 million u.s. viewers?
[/INST]
Here is the SQL... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22380270_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR)
Question: On what air date were there 2.15 million u.s. viewers?
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_81 (loss VARCHAR, name VARCHAR, long VARCHAR)
Question: How many losses have jake sharp as the name, with a long less than 30?
[/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_name_81 (loss VARCHAR, name VARCHAR, long VARCHAR)
Question: How many losses have jake sharp as the name, with a long less than 30?
Here is the SQLite query to ans... | 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 (driver___passenger VARCHAR, bike_no VARCHAR, equipment VARCHAR)
Question: Which Driver and passenger have a bike number of less than 4 with zabel -vmc... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (driver___passenger VARCHAR, bike_no VARCHAR, equipment VARCHAR)
Question: Which Driver and passenger have a bike number of less than 4 with zabel -vmc equip... | 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, loss VARCHAR)
Question: Loss of de la rosa (8–8) has what average attendance?
[/INST]
Here is the SQLite query to answer to the q... | 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, loss VARCHAR)
Question: Loss of de la rosa (8–8) has what average attendance?
Here is the SQLite query to answer to the question: Loss... | 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 (player VARCHAR, round VARCHAR, nationality VARCHAR)
Question: What player has a round larger than 1 in Austria?
[/INST]
Here is the SQLite query to an... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (player VARCHAR, round VARCHAR, nationality VARCHAR)
Question: What player has a round larger than 1 in Austria?
Here is the SQLite query to answer to the 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_15472061_1 (no_in_series VARCHAR, us_viewers__millions_ VARCHAR)
Question: Name the number in the series for when the viewers is 7.78
[/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_15472061_1 (no_in_series VARCHAR, us_viewers__millions_ VARCHAR)
Question: Name the number in the series for when the viewers is 7.78
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_48 (year INTEGER, category VARCHAR, nominee VARCHAR)
Question: What is the first year that the Favorite Male Replacement category had Ben Vereen as a nom... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (year INTEGER, category VARCHAR, nominee VARCHAR)
Question: What is the first year that the Favorite Male Replacement category had Ben Vereen as a nominee?
... | 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_26 (team VARCHAR, points VARCHAR, drawn VARCHAR, lost VARCHAR, position VARCHAR)
Question: Which Team has a Lost larger than 2, and a Position smaller th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (team VARCHAR, points VARCHAR, drawn VARCHAR, lost VARCHAR, position VARCHAR)
Question: Which Team has a Lost larger than 2, and a Position smaller than 7, ... | 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 (team_1 VARCHAR)
Question: What is 2nd Leg, when Team 1 is "H"?
[/INST]
Here is the SQLite query to answer to the question: What is 2nd Leg, when Team... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (team_1 VARCHAR)
Question: What is 2nd Leg, when Team 1 is "H"?
Here is the SQLite query to answer to the question: What is 2nd Leg, when Team 1 is "H"?:
`... | 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_28606933_7 (teams VARCHAR, consecutive_starts VARCHAR)
Question: What team(s) had 120 consecutive starts?
[/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_28606933_7 (teams VARCHAR, consecutive_starts VARCHAR)
Question: What team(s) had 120 consecutive starts?
Here is the SQLite query to answer to the question: What ... | 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 (winner VARCHAR, tier VARCHAR)
Question: When the Tier is listed as tier iii, who is the Winner?
[/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_79 (winner VARCHAR, tier VARCHAR)
Question: When the Tier is listed as tier iii, who is the Winner?
Here is the SQLite query to answer to the question: When 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_18893428_1 (driver VARCHAR, constructor VARCHAR)
Question: What is the total number of drivers who have cars constructed by Mercedes-Benz?
[/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_18893428_1 (driver VARCHAR, constructor VARCHAR)
Question: What is the total number of drivers who have cars constructed by Mercedes-Benz?
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_21034801_1 (game INTEGER, record VARCHAR)
Question: What was the numer of the game when the record was 4-0?
[/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_21034801_1 (game INTEGER, record VARCHAR)
Question: What was the numer of the game when the record was 4-0?
Here is the SQLite query to answer to the question: Wha... | 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 (record VARCHAR, visitor VARCHAR, date VARCHAR)
Question: What record has montreal as the visitor, and february 2 as the date?
[/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_name_4 (record VARCHAR, visitor VARCHAR, date VARCHAR)
Question: What record has montreal as the visitor, and february 2 as the date?
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_67 (play VARCHAR, author VARCHAR, base VARCHAR)
Question: What play has a base of Athens and was written by Aeschylus?
[/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_name_67 (play VARCHAR, author VARCHAR, base VARCHAR)
Question: What play has a base of Athens and was written by Aeschylus?
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_83 (attendance VARCHAR, record VARCHAR)
Question: For record 25-24, what is the sum of attendance?
[/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_name_83 (attendance VARCHAR, record VARCHAR)
Question: For record 25-24, what is the sum of attendance?
Here is the SQLite query to answer to the question: For rec... | 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 (year INTEGER, mixed_doubles VARCHAR)
Question: When did mika heinonen susanna dahlberg win mixed doubles?
[/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_55 (year INTEGER, mixed_doubles VARCHAR)
Question: When did mika heinonen susanna dahlberg win mixed doubles?
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_64 (location VARCHAR, county VARCHAR)
Question: What's the location for the country of platte?
[/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_64 (location VARCHAR, county VARCHAR)
Question: What's the location for the country of platte?
Here is the SQLite query to answer to the question: What'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_20626467_1 (jockey VARCHAR, distance VARCHAR, class VARCHAR, venue VARCHAR)
Question: Who was the jockey in group 1 at the 1400m distance at randwick?
[/INST]... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20626467_1 (jockey VARCHAR, distance VARCHAR, class VARCHAR, venue VARCHAR)
Question: Who was the jockey in group 1 at the 1400m distance at randwick?
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_27986200_3 (match_points VARCHAR, eliminated_from_competition VARCHAR)
Question: What were the match points when Bordeaux-Bègles was eliminated from competiti... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27986200_3 (match_points VARCHAR, eliminated_from_competition VARCHAR)
Question: What were the match points when Bordeaux-Bègles was eliminated from competition?
... | 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_13 (player VARCHAR, years_for_grizzlies VARCHAR)
Question: Which player played for the Grizzlies from 1997-1998?
[/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_name_13 (player VARCHAR, years_for_grizzlies VARCHAR)
Question: Which player played for the Grizzlies from 1997-1998?
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_19 (bronze INTEGER, silver INTEGER)
Question: What is the number of bronze medals when there are fewer than 0 silver medals?
[/INST]
Here is the SQLite q... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (bronze INTEGER, silver INTEGER)
Question: What is the number of bronze medals when there are fewer than 0 silver medals?
Here is the SQLite query to answe... | 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 catalog_contents (catalog_entry_name VARCHAR, price_in_dollars VARCHAR)
Question: What is the entry name of the most expensive catalog (in USD)?
[/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 catalog_contents (catalog_entry_name VARCHAR, price_in_dollars VARCHAR)
Question: What is the entry name of the most expensive catalog (in USD)?
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_29574579_1 (directed_by VARCHAR, uk_viewers__million_ VARCHAR)
Question: Who is the director when there are 2.70 million viewers?
[/INST]
Here is the SQLite q... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29574579_1 (directed_by VARCHAR, uk_viewers__million_ VARCHAR)
Question: Who is the director when there are 2.70 million viewers?
Here is the SQLite query to answe... | 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 (opponent VARCHAR, result VARCHAR)
Question: What is the Opponent of the game with a Result of w 13–0?
[/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_49 (opponent VARCHAR, result VARCHAR)
Question: What is the Opponent of the game with a Result of w 13–0?
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_28760804_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR)
Question: How many directors got 6.79 million U.S. viewers from their episodes?
[/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_28760804_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR)
Question: How many directors got 6.79 million U.S. viewers from their episodes?
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_17288845_7 (game INTEGER, date VARCHAR)
Question: What is the number of the game that was played on January 19?
[/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_17288845_7 (game INTEGER, date VARCHAR)
Question: What is the number of the game that was played on January 19?
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_39 (name VARCHAR, transfer_window VARCHAR, country VARCHAR)
Question: WHAT IS THE NAME WITH A SUMMER TRANSFER WINDOW, AND COUNTRY SEN?
[/INST]
Here is th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (name VARCHAR, transfer_window VARCHAR, country VARCHAR)
Question: WHAT IS THE NAME WITH A SUMMER TRANSFER WINDOW, AND COUNTRY SEN?
Here is the SQLite quer... | 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_14342210_12 (position VARCHAR, extra_points VARCHAR)
Question: What position did the player who scored 4 extra points play?
[/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_14342210_12 (position VARCHAR, extra_points VARCHAR)
Question: What position did the player who scored 4 extra points play?
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_86 (name VARCHAR, experience VARCHAR, alma_mater VARCHAR)
Question: What person has the alma mater of Eastern Nazarene ('74), and greater than 19 experie... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (name VARCHAR, experience VARCHAR, alma_mater VARCHAR)
Question: What person has the alma mater of Eastern Nazarene ('74), and greater than 19 experience?
... | 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_28802165_1 (s_acre VARCHAR, townland VARCHAR)
Question: How many acres is the townland of Maddenstown Middle?
[/INST]
Here is the SQLite query to answer to th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28802165_1 (s_acre VARCHAR, townland VARCHAR)
Question: How many acres is the townland of Maddenstown Middle?
Here is the SQLite query to answer to the question: H... | 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_1751142_2 (distance__m_ INTEGER, shuttle_time__seconds_ VARCHAR)
Question: What is the distance (in meters) when the shuttle time is 6.86 seconds?
[/INST]
Her... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1751142_2 (distance__m_ INTEGER, shuttle_time__seconds_ VARCHAR)
Question: What is the distance (in meters) when the shuttle time is 6.86 seconds?
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_24765815_2 (competition VARCHAR, vote_percentage VARCHAR, nationality VARCHAR)
Question: What's the name of the competition where the nationality is Brazil an... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24765815_2 (competition VARCHAR, vote_percentage VARCHAR, nationality VARCHAR)
Question: What's the name of the competition where the nationality is Brazil and 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_49 (scored INTEGER, result VARCHAR)
Question: What is the smallest scored with a result of 46-18?
[/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_49 (scored INTEGER, result VARCHAR)
Question: What is the smallest scored with a result of 46-18?
Here is the SQLite query to answer to the question: What is ... | 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 (event VARCHAR, method VARCHAR, round VARCHAR, location VARCHAR)
Question: What is Event, when Round is "1", when Location is "Osaka , Japan", and whe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (event VARCHAR, method VARCHAR, round VARCHAR, location VARCHAR)
Question: What is Event, when Round is "1", when Location is "Osaka , Japan", and when Meth... | 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_11677691_1 (player VARCHAR, position VARCHAR, hometown VARCHAR)
Question: What offensive line player hailed from Baton Rouge, Louisiana?
[/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_11677691_1 (player VARCHAR, position VARCHAR, hometown VARCHAR)
Question: What offensive line player hailed from Baton Rouge, Louisiana?
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_92 (location_attendance VARCHAR, game VARCHAR, team VARCHAR)
Question: Which Location Attendance has a Game larger than 67, and a Team of @ charlotte?
[/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (location_attendance VARCHAR, game VARCHAR, team VARCHAR)
Question: Which Location Attendance has a Game larger than 67, and a Team of @ charlotte?
Here is... | 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_26409328_1 (written_by VARCHAR, directed_by VARCHAR, production_code VARCHAR)
Question: who wrote the episode having joe daniello as director with production ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26409328_1 (written_by VARCHAR, directed_by VARCHAR, production_code VARCHAR)
Question: who wrote the episode having joe daniello as director with production code 6... | 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_11630008_8 (title VARCHAR, production_code VARCHAR)
Question: What is the title of the episode with the production code 624?
[/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_11630008_8 (title VARCHAR, production_code VARCHAR)
Question: What is the title of the episode with the production code 624?
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_66 (location_attendance VARCHAR, opponent VARCHAR)
Question: What Location Attendance has an Opponent of at denver nuggets?
[/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_66 (location_attendance VARCHAR, opponent VARCHAR)
Question: What Location Attendance has an Opponent of at denver nuggets?
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_18 (Web VARCHAR, client VARCHAR, project VARCHAR)
Question: who is the web client when the client is x and the project is goto servers vnc java server (g... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (Web VARCHAR, client VARCHAR, project VARCHAR)
Question: who is the web client when the client is x and the project is goto servers vnc java server (gsvncj)... | 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_25146455_1 (winnings VARCHAR, driver VARCHAR)
Question: How much did Jeff Burton win?
[/INST]
Here is the SQLite query to answer to the question: How much did... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25146455_1 (winnings VARCHAR, driver VARCHAR)
Question: How much did Jeff Burton win?
Here is the SQLite query to answer to the question: How much did Jeff Burton ... | 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_24466191_1 (flaps INTEGER)
Question: Name the least flaps
[/INST]
Here is the SQLite query to answer to the question: Name the least flaps:
```
SELECT MIN(fla... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24466191_1 (flaps INTEGER)
Question: Name the least flaps
Here is the SQLite query to answer to the question: Name the least flaps:
```
SELECT MIN(flaps) FROM tabl... | 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_94 (attendance VARCHAR, away_team VARCHAR)
Question: What is the Attendance at the Hereford United Away game?
[/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_94 (attendance VARCHAR, away_team VARCHAR)
Question: What is the Attendance at the Hereford United Away game?
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_50 (silver INTEGER, gold INTEGER)
Question: What is the Average for Silver medals that have more than 17 Golds?
[/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_50 (silver INTEGER, gold INTEGER)
Question: What is the Average for Silver medals that have more than 17 Golds?
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_96 (surface VARCHAR, opponent_in_the_final VARCHAR)
Question: What surface was the tournament played on against Steven Diez?
[/INST]
Here is the SQLite q... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (surface VARCHAR, opponent_in_the_final VARCHAR)
Question: What surface was the tournament played on against Steven Diez?
Here is the SQLite query to answe... | 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_18600760_4 (land___sqmi__ VARCHAR, geo_id VARCHAR)
Question: Name the land where geo id is 3807717980
[/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_18600760_4 (land___sqmi__ VARCHAR, geo_id VARCHAR)
Question: Name the land where geo id is 3807717980
Here is the SQLite query to answer to the question: Name 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_28 (ngc_number INTEGER, declination___j2000__ VARCHAR, apparent_magnitude VARCHAR)
Question: What's the total number of NGC that has a Declination ( J200... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (ngc_number INTEGER, declination___j2000__ VARCHAR, apparent_magnitude VARCHAR)
Question: What's the total number of NGC that has a Declination ( J2000 ) of... | 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 (date VARCHAR, game_site VARCHAR)
Question: What is the date of the game being played at Schaeffer Stadium?
[/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_52 (date VARCHAR, game_site VARCHAR)
Question: What is the date of the game being played at Schaeffer Stadium?
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_name_25 (tournament VARCHAR)
Question: What's the tournamnet name that has a 2001 of 1r and 2011?
[/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_25 (tournament VARCHAR)
Question: What's the tournamnet name that has a 2001 of 1r and 2011?
Here is the SQLite query to answer to the question: What's the 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_16 (tuesday VARCHAR, series VARCHAR)
Question: Which Tuesday does big brother 12 air?
[/INST]
Here is the SQLite query to answer to the question: Which T... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (tuesday VARCHAR, series VARCHAR)
Question: Which Tuesday does big brother 12 air?
Here is the SQLite query to answer to the question: Which Tuesday does b... | 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_23224961_1 (season VARCHAR, oberpfalz VARCHAR)
Question: When spvgg vohenstrauß is the oberpfalz what is the season?
[/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_23224961_1 (season VARCHAR, oberpfalz VARCHAR)
Question: When spvgg vohenstrauß is the oberpfalz what is the season?
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 countrylanguage (countrycode VARCHAR, language VARCHAR); CREATE TABLE country (name VARCHAR, code VARCHAR)
Question: What are the countries where either English or ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE countrylanguage (countrycode VARCHAR, language VARCHAR); CREATE TABLE country (name VARCHAR, code VARCHAR)
Question: What are the countries where either English or Dutch ... | 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 (line_name VARCHAR, nimt_junction VARCHAR)
Question: What line has Junction of Huntly NIMT
[/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_7 (line_name VARCHAR, nimt_junction VARCHAR)
Question: What line has Junction of Huntly NIMT
Here is the SQLite query to answer to the question: What line has... | 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 company (Headquarters VARCHAR, Industry VARCHAR)
Question: What are the headquarters and industries of all companies?
[/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 company (Headquarters VARCHAR, Industry VARCHAR)
Question: What are the headquarters and industries of all companies?
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_47 (location_attendance VARCHAR, opponent VARCHAR)
Question: When they played at Chicago Bulls, what was the Location/Attendance?
[/INST]
Here is the SQL... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (location_attendance VARCHAR, opponent VARCHAR)
Question: When they played at Chicago Bulls, what was the Location/Attendance?
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_99 (torque VARCHAR, type VARCHAR, code VARCHAR)
Question: What is the torque of the engine with a type 16 valves dohc and a code k4m hi-flex?
[/INST]
Her... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (torque VARCHAR, type VARCHAR, code VARCHAR)
Question: What is the torque of the engine with a type 16 valves dohc and a code k4m hi-flex?
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_11703336_1 (display_size VARCHAR, year_released VARCHAR)
Question: what is the display size for the calculator released in 1997?
[/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_11703336_1 (display_size VARCHAR, year_released VARCHAR)
Question: what is the display size for the calculator released in 1997?
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_43 (attendance INTEGER, date VARCHAR)
Question: Which Attendance has a Date of october 25?
[/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_43 (attendance INTEGER, date VARCHAR)
Question: Which Attendance has a Date of october 25?
Here is the SQLite query to answer to the question: Which Attendanc... | 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_1342359_17 (candidates VARCHAR, first_elected VARCHAR)
Question: How many people were elected in 1929
[/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_1342359_17 (candidates VARCHAR, first_elected VARCHAR)
Question: How many people were elected in 1929
Here is the SQLite query to answer to the question: How many ... | 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_25594888_1 (state_country VARCHAR, skipper VARCHAR)
Question: What State/Country is Sean Langman the skipper?
[/INST]
Here is the SQLite query to answer to th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25594888_1 (state_country VARCHAR, skipper VARCHAR)
Question: What State/Country is Sean Langman the skipper?
Here is the SQLite query to answer to the question: 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_22 (result VARCHAR, year VARCHAR, venue VARCHAR)
Question: What was the result of events held at Nor Elverum, prior to 2010?
[/INST]
Here is the SQLite q... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (result VARCHAR, year VARCHAR, venue VARCHAR)
Question: What was the result of events held at Nor Elverum, prior to 2010?
Here is the SQLite query to answe... | 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_58 (rank INTEGER, heat INTEGER)
Question: Which Rank has a Heat larger than 7?
[/INST]
Here is the SQLite query to answer to the question: Which Rank has... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (rank INTEGER, heat INTEGER)
Question: Which Rank has a Heat larger than 7?
Here is the SQLite query to answer to the question: Which Rank has a Heat large... | 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_99 (category VARCHAR, year VARCHAR, nominated_work VARCHAR)
Question: What categories had a Nominated work of yerma before 1992?
[/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_name_99 (category VARCHAR, year VARCHAR, nominated_work VARCHAR)
Question: What categories had a Nominated work of yerma before 1992?
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_29126507_1 (date VARCHAR, home_team VARCHAR)
Question: When was the home team Essendon?
[/INST]
Here is the SQLite query to answer to the question: When was ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29126507_1 (date VARCHAR, home_team VARCHAR)
Question: When was the home team Essendon?
Here is the SQLite query to answer to the question: When was the home team... | 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_13812785_8 (high_points VARCHAR, date VARCHAR)
Question: Who had the high points dated march 13?
[/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_13812785_8 (high_points VARCHAR, date VARCHAR)
Question: Who had the high points dated march 13?
Here is the SQLite query to answer to the question: Who had the hi... | 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_45 (first_elected VARCHAR, result VARCHAR, district VARCHAR)
Question: What is the first date of election for the incumbent that was re-elected in the So... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (first_elected VARCHAR, result VARCHAR, district VARCHAR)
Question: What is the first date of election for the incumbent that was re-elected in the South Ca... | 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 (loss VARCHAR, record VARCHAR)
Question: What was the loss of the Brewers game when the record was 46-48?
[/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_90 (loss VARCHAR, record VARCHAR)
Question: What was the loss of the Brewers game when the record was 46-48?
Here is the SQLite query to answer to the questio... | 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.