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_52 (season INTEGER, wins VARCHAR, races VARCHAR, series VARCHAR)
Question: What is the smallest season with 6 races, 2 wins, and a Series of all-japan gt... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (season INTEGER, wins VARCHAR, races VARCHAR, series VARCHAR)
Question: What is the smallest season with 6 races, 2 wins, and a Series of all-japan gt champ... | 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 (year_built__converted VARCHAR, _ VARCHAR, no_built__converted VARCHAR)
Question: Tell me the year built for number built of 10
[/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 table_name_14 (year_built__converted VARCHAR, _ VARCHAR, no_built__converted VARCHAR)
Question: Tell me the year built for number built of 10
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_35 (d_43 VARCHAR, d_41 VARCHAR)
Question: Name the D 43 when it has D 41 of d 56
[/INST]
Here is the SQLite query to answer to the question: Name the D 4... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (d_43 VARCHAR, d_41 VARCHAR)
Question: Name the D 43 when it has D 41 of d 56
Here is the SQLite query to answer to the question: Name the D 43 when it 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 table_25252080_3 (january_15_16 VARCHAR, november_3 VARCHAR)
Question: What number is shown for january 15-16 when november 3 is 133?
[/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_25252080_3 (january_15_16 VARCHAR, november_3 VARCHAR)
Question: What number is shown for january 15-16 when november 3 is 133?
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 (byes VARCHAR, wins VARCHAR, losses VARCHAR)
Question: What is the sum of byes when wins are 8, and losses are larger than 10?
[/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_96 (byes VARCHAR, wins VARCHAR, losses VARCHAR)
Question: What is the sum of byes when wins are 8, and losses are larger than 10?
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_40 (award VARCHAR, category VARCHAR)
Question: Which Award has a Category of music video acting award?
[/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_40 (award VARCHAR, category VARCHAR)
Question: Which Award has a Category of music video acting award?
Here is the SQLite query to answer to the question: Whi... | 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 (laps VARCHAR, rank VARCHAR)
Question: Name the total number of laps with rank of 8
[/INST]
Here is the SQLite query to answer to the question: Name 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 (laps VARCHAR, rank VARCHAR)
Question: Name the total number of laps with rank of 8
Here is the SQLite query to answer to the question: Name the total numb... | 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 (lost INTEGER, points VARCHAR, played VARCHAR)
Question: What is the highest number of losses with 23 points and 22 plays?
[/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_58 (lost INTEGER, points VARCHAR, played VARCHAR)
Question: What is the highest number of losses with 23 points and 22 plays?
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 table_name_34 (label VARCHAR, region VARCHAR, date VARCHAR)
Question: What is the label for the UK in 1996?
[/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 (label VARCHAR, region VARCHAR, date VARCHAR)
Question: What is the label for the UK in 1996?
Here is the SQLite query to answer to the question: What is 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_32 (date VARCHAR, attendance INTEGER)
Question: Which Date has an Attendance larger than 1,858?
[/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_32 (date VARCHAR, attendance INTEGER)
Question: Which Date has an Attendance larger than 1,858?
Here is the SQLite query to answer to the question: Which Date... | 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 member (Name VARCHAR, Member_ID VARCHAR); CREATE TABLE round (Name VARCHAR, Member_ID VARCHAR)
Question: List the names of members who did not participate in any ro... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE member (Name VARCHAR, Member_ID VARCHAR); CREATE TABLE round (Name VARCHAR, Member_ID VARCHAR)
Question: List the names of members who did not participate in any round.
... | 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_18904831_6 (date VARCHAR, high_rebounds VARCHAR)
Question: When mcwilliams-franklin (8) has the highest rebounds what is the date?
[/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_18904831_6 (date VARCHAR, high_rebounds VARCHAR)
Question: When mcwilliams-franklin (8) has the highest rebounds what is the date?
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 table_28059992_6 (college VARCHAR, position VARCHAR)
Question: What college did the player whose position was RB go to?
[/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_28059992_6 (college VARCHAR, position VARCHAR)
Question: What college did the player whose position was RB go to?
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_31 (points_classification VARCHAR, stage VARCHAR)
Question: Name the points classification of stage 16
[/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_31 (points_classification VARCHAR, stage VARCHAR)
Question: Name the points classification of stage 16
Here is the SQLite query to answer to the question: Nam... | 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_17941032_2 (points_against VARCHAR, try_bonus VARCHAR, points_for VARCHAR)
Question: List all points against with a 0 try bonus and points for of 150.
[/INST]... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17941032_2 (points_against VARCHAR, try_bonus VARCHAR, points_for VARCHAR)
Question: List all points against with a 0 try bonus and points for of 150.
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_85 (round INTEGER, position VARCHAR)
Question: what is the round when the position is (c)?
[/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_85 (round INTEGER, position VARCHAR)
Question: what is the round when the position is (c)?
Here is the SQLite query to answer to the question: what is the rou... | 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_59 (score VARCHAR, opponent VARCHAR)
Question: What was the score of the Iowa v. Minnesota game?
[/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_59 (score VARCHAR, opponent VARCHAR)
Question: What was the score of the Iowa v. Minnesota game?
Here is the SQLite query to answer to the question: What was ... | 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 (code VARCHAR, type VARCHAR, population VARCHAR)
Question: When populatioin is greater than 7,747 and the type is V, what is the sum of code?
[/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 (code VARCHAR, type VARCHAR, population VARCHAR)
Question: When populatioin is greater than 7,747 and the type is V, what is the sum of code?
Here is the S... | 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_2293402_2 (location VARCHAR, founded VARCHAR)
Question: Name the location that was founded 1798
[/INST]
Here is the SQLite query to answer to the question: Na... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2293402_2 (location VARCHAR, founded VARCHAR)
Question: Name the location that was founded 1798
Here is the SQLite query to answer to the question: Name the locati... | 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 (type VARCHAR, newspaper_magazine VARCHAR)
Question: What is Type, when Newspaper/Magazine is Telecoms & It Magazine?
[/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_97 (type VARCHAR, newspaper_magazine VARCHAR)
Question: What is Type, when Newspaper/Magazine is Telecoms & It Magazine?
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_29196086_4 (no_in_series VARCHAR, original_air_date VARCHAR)
Question: how many episodes originally aired january19,2013
[/INST]
Here is the SQLite query to a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29196086_4 (no_in_series VARCHAR, original_air_date VARCHAR)
Question: how many episodes originally aired january19,2013
Here is the SQLite query to answer to 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_30 (grid INTEGER, time_retired VARCHAR, laps VARCHAR)
Question: What grid is the lowest when the time/retired is + 5 laps and the laps is less than 161?
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (grid INTEGER, time_retired VARCHAR, laps VARCHAR)
Question: What grid is the lowest when the time/retired is + 5 laps and the laps is less than 161?
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_261642_3 (c__nf_km_ VARCHAR, l__mh_km_ VARCHAR)
Question: what is the c (nf/km) when the l (mh/km) is 0.6099?
[/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_261642_3 (c__nf_km_ VARCHAR, l__mh_km_ VARCHAR)
Question: what is the c (nf/km) when the l (mh/km) is 0.6099?
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_83 (draws INTEGER, south_west_dfl VARCHAR, wins VARCHAR)
Question: How many Draws have a South West DFL of tyrendarra, and less than 10 wins?
[/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_83 (draws INTEGER, south_west_dfl VARCHAR, wins VARCHAR)
Question: How many Draws have a South West DFL of tyrendarra, and less than 10 wins?
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_171236_1 (status VARCHAR, census_ranking VARCHAR)
Question: If the census ranking is 693 of 5,008, what is the status?
[/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_171236_1 (status VARCHAR, census_ranking VARCHAR)
Question: If the census ranking is 693 of 5,008, what is the status?
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_225200_4 (district VARCHAR, reason_for_change VARCHAR)
Question: Name the district for rep. warren r. davis died during previous congress
[/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_225200_4 (district VARCHAR, reason_for_change VARCHAR)
Question: Name the district for rep. warren r. davis died during previous congress
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_48 (team_2 VARCHAR, team_1 VARCHAR)
Question: Which Team 2 faced Team 1 from Barcelona?
[/INST]
Here is the SQLite query to answer to the question: Which... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (team_2 VARCHAR, team_1 VARCHAR)
Question: Which Team 2 faced Team 1 from Barcelona?
Here is the SQLite query to answer to the question: Which Team 2 faced... | 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 (goals_for INTEGER, wins VARCHAR, draws VARCHAR, goals_against VARCHAR, goal_differential VARCHAR)
Question: for a Goals Against smaller than 9, and a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (goals_for INTEGER, wins VARCHAR, draws VARCHAR, goals_against VARCHAR, goal_differential VARCHAR)
Question: for a Goals Against smaller than 9, and a Goal ... | 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_24 (offer_team VARCHAR, date VARCHAR)
Question: What Offer Team has a date of July 29, 1994?
[/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_24 (offer_team VARCHAR, date VARCHAR)
Question: What Offer Team has a date of July 29, 1994?
Here is the SQLite query to answer to the question: What Offer Te... | 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 (name VARCHAR, party VARCHAR)
Question: What is the name of the minister from the party of minister for community safety and legal affairs?
[/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_45 (name VARCHAR, party VARCHAR)
Question: What is the name of the minister from the party of minister for community safety and legal affairs?
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_89 (lead VARCHAR, nation VARCHAR)
Question: Who has the lead in Norway?
[/INST]
Here is the SQLite query to answer to the question: Who has the lead in N... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (lead VARCHAR, nation VARCHAR)
Question: Who has the lead in Norway?
Here is the SQLite query to answer to the question: Who has the lead in Norway?:
```
S... | 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 (play_by_play VARCHAR, studio_host VARCHAR, colour_commentator_s_ VARCHAR)
Question: Who did the play-by-play with studio host Ward Cornell and color ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (play_by_play VARCHAR, studio_host VARCHAR, colour_commentator_s_ VARCHAR)
Question: Who did the play-by-play with studio host Ward Cornell and color commen... | 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_31 (leading_scorer VARCHAR, date VARCHAR)
Question: Who is the leading scorer of the game on 9 February 2008?
[/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_31 (leading_scorer VARCHAR, date VARCHAR)
Question: Who is the leading scorer of the game on 9 February 2008?
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_65 (region VARCHAR, format VARCHAR)
Question: What region has vinyl record listed as its format?
[/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_65 (region VARCHAR, format VARCHAR)
Question: What region has vinyl record listed as its format?
Here is the SQLite query to answer to the question: What regi... | 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_28181347_6 (position_in_table VARCHAR, replaced_by VARCHAR)
Question: When Mark Stimson started his job in 2007-08 what posiiton was the team on the table
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28181347_6 (position_in_table VARCHAR, replaced_by VARCHAR)
Question: When Mark Stimson started his job in 2007-08 what posiiton was the team on the table
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_52 (result VARCHAR, date VARCHAR)
Question: What was the result on 10/08/1988?
[/INST]
Here is the SQLite query to answer to the question: What was the r... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (result VARCHAR, date VARCHAR)
Question: What was the result on 10/08/1988?
Here is the SQLite query to answer to the question: What was the result on 10/0... | 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 (place VARCHAR, score VARCHAR, player VARCHAR)
Question: In what place did Des Smyth, who scored less than 71, finish?
[/INST]
Here is the SQLite quer... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (place VARCHAR, score VARCHAR, player VARCHAR)
Question: In what place did Des Smyth, who scored less than 71, finish?
Here is the SQLite query to answer 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_94 (goals INTEGER, matches VARCHAR, rank VARCHAR)
Question: What is the most goals made for a person with less than 208 matches and ranked lower 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_94 (goals INTEGER, matches VARCHAR, rank VARCHAR)
Question: What is the most goals made for a person with less than 208 matches and ranked lower than 12?
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_44 (network VARCHAR, region_country VARCHAR, dates_aired VARCHAR)
Question: What is the name of the network in the United Kingdom which aired in 1985–199... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_44 (network VARCHAR, region_country VARCHAR, dates_aired VARCHAR)
Question: What is the name of the network in the United Kingdom which aired in 1985–1992?
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_1965650_3 (pick__number INTEGER, player VARCHAR)
Question: Name the least pick # for doug gibson
[/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_1965650_3 (pick__number INTEGER, player VARCHAR)
Question: Name the least pick # for doug gibson
Here is the SQLite query to answer to the question: Name the least... | 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 (gold INTEGER, silver VARCHAR, nation VARCHAR, bronze VARCHAR, total VARCHAR)
Question: What is the total Gold with a Bronze smaller than 7, a Total o... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (gold INTEGER, silver VARCHAR, nation VARCHAR, bronze VARCHAR, total VARCHAR)
Question: What is the total Gold with a Bronze smaller than 7, a Total of 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_name_88 (points_against VARCHAR, try_diff VARCHAR)
Question: What is Points Against, when Try Diff is +22?
[/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_88 (points_against VARCHAR, try_diff VARCHAR)
Question: What is Points Against, when Try Diff is +22?
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_44 (debut_year INTEGER, player VARCHAR, games VARCHAR)
Question: Which Debut year has a Player of bob hayton, and Games smaller than 2?
[/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 table_name_44 (debut_year INTEGER, player VARCHAR, games VARCHAR)
Question: Which Debut year has a Player of bob hayton, and Games smaller than 2?
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_84 (award VARCHAR, organisation VARCHAR)
Question: Which award was given to Lianhe Zaobao?
[/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_84 (award VARCHAR, organisation VARCHAR)
Question: Which award was given to Lianhe Zaobao?
Here is the SQLite query to answer to the question: Which award was... | 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 (venue VARCHAR, runs VARCHAR)
Question: Where is the venue with more than 245 runs?
[/INST]
Here is the SQLite query to answer to the question: Where ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (venue VARCHAR, runs VARCHAR)
Question: Where is the venue with more than 245 runs?
Here is the SQLite query to answer to the question: Where is the venue ... | 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 (lost VARCHAR)
Question: Which Lost has a Club of club?
[/INST]
Here is the SQLite query to answer to the question: Which Lost has a Club of club?:
``... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (lost VARCHAR)
Question: Which Lost has a Club of club?
Here is the SQLite query to answer to the question: Which Lost has a Club of club?:
```
SELECT lost... | 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 (score VARCHAR, date VARCHAR, home VARCHAR, visitor VARCHAR)
Question: Which Score has a Home of quebec nordiques, and a Visitor of vancouver blazers ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (score VARCHAR, date VARCHAR, home VARCHAR, visitor VARCHAR)
Question: Which Score has a Home of quebec nordiques, and a Visitor of vancouver blazers on feb... | 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 (body_width_mm INTEGER, lead_pitch_mm VARCHAR, body_length_mm VARCHAR)
Question: Which Body Width/mm has a Lead Pitch/mm smaller than 0.55, and a Body... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (body_width_mm INTEGER, lead_pitch_mm VARCHAR, body_length_mm VARCHAR)
Question: Which Body Width/mm has a Lead Pitch/mm smaller than 0.55, and a Body Lengt... | 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 (pop__2010_ INTEGER, geo_id VARCHAR, water__sqmi_ VARCHAR)
Question: What was the lowest population of the GEO ID 3805373380 and the water square mile... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (pop__2010_ INTEGER, geo_id VARCHAR, water__sqmi_ VARCHAR)
Question: What was the lowest population of the GEO ID 3805373380 and the water square mileage 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 table_name_16 (attendance INTEGER, score VARCHAR)
Question: What was the attendance when the score was 8–7?
[/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_16 (attendance INTEGER, score VARCHAR)
Question: What was the attendance when the score was 8–7?
Here is the SQLite query to answer to the question: What was ... | 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 (number VARCHAR, name VARCHAR, kilometer VARCHAR)
Question: What is the Number of the Koppenberg course with less than 195 Kilometers?
[/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_28 (number VARCHAR, name VARCHAR, kilometer VARCHAR)
Question: What is the Number of the Koppenberg course with less than 195 Kilometers?
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 station (city VARCHAR)
Question: List the name and the number of stations for all the cities that have at least 15 stations.
[/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 station (city VARCHAR)
Question: List the name and the number of stations for all the cities that have at least 15 stations.
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_70 (cyclist VARCHAR, team VARCHAR, uci_points VARCHAR)
Question: Who is the cyclist from the GCE team and had UCI points under 20?
[/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 table_name_70 (cyclist VARCHAR, team VARCHAR, uci_points VARCHAR)
Question: Who is the cyclist from the GCE team and had UCI points under 20?
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 customer_addresses (customer_id VARCHAR, address_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_phone VARCHAR, customer_id VARCHAR); CREATE TABLE a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE customer_addresses (customer_id VARCHAR, address_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_phone VARCHAR, customer_id VARCHAR); CREATE TABLE address... | 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 (april VARCHAR, game INTEGER)
Question: What were the total number of games in April greater than 83?
[/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_name_61 (april VARCHAR, game INTEGER)
Question: What were the total number of games in April greater than 83?
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 (game INTEGER, opponent VARCHAR)
Question: Which Game has an Opponent of @ houston rockets?
[/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_22 (game INTEGER, opponent VARCHAR)
Question: Which Game has an Opponent of @ houston rockets?
Here is the SQLite query to answer to the question: Which Game ... | 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_87 (runs VARCHAR, average INTEGER)
Question: What is the total number of runs where the average is less than 27.22?
[/INST]
Here is the SQLite query to a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_87 (runs VARCHAR, average INTEGER)
Question: What is the total number of runs where the average is less than 27.22?
Here is the SQLite query to answer to 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_16 (laps INTEGER, year INTEGER)
Question: What is the total number of Laps that's got a Year less than 1987?
[/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_16 (laps INTEGER, year INTEGER)
Question: What is the total number of Laps that's got a Year less than 1987?
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_1473672_6 (player VARCHAR, nhl_team VARCHAR)
Question: What player was drafted by the Chicago Black Hawks?
[/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_1473672_6 (player VARCHAR, nhl_team VARCHAR)
Question: What player was drafted by the Chicago Black Hawks?
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_63 (competition VARCHAR, goal VARCHAR)
Question: What competition has 41 goals?
[/INST]
Here is the SQLite query to answer to the question: What competit... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (competition VARCHAR, goal VARCHAR)
Question: What competition has 41 goals?
Here is the SQLite query to answer to the question: What competition has 41 go... | 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_22835602_1 (original_air_date VARCHAR, production_code VARCHAR)
Question: What is the original air date for production code 1ark79?
[/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_22835602_1 (original_air_date VARCHAR, production_code VARCHAR)
Question: What is the original air date for production code 1ark79?
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_26986076_1 (mon_23_aug VARCHAR, fri_27_aug VARCHAR)
Question: How many times was the time 19' 38.87 115.219mph on Fri Aug 27?
[/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_26986076_1 (mon_23_aug VARCHAR, fri_27_aug VARCHAR)
Question: How many times was the time 19' 38.87 115.219mph on Fri Aug 27?
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_42 (position VARCHAR, pick VARCHAR)
Question: What is the position of the pick 1 player?
[/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_42 (position VARCHAR, pick VARCHAR)
Question: What is the position of the pick 1 player?
Here is the SQLite query to answer to the question: What is the posit... | 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 (rank INTEGER, name VARCHAR)
Question: What's the smallest rank of noriko inada?
[/INST]
Here is the SQLite query to answer to the question: What's th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (rank INTEGER, name VARCHAR)
Question: What's the smallest rank of noriko inada?
Here is the SQLite query to answer to the question: What's the smallest ra... | 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_23143607_1 (foundation VARCHAR, television_channels VARCHAR)
Question: How many foundation dates were there when the television channels is canal nou canal n... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23143607_1 (foundation VARCHAR, television_channels VARCHAR)
Question: How many foundation dates were there when the television channels is canal nou canal nou dos... | 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_32 (station_name VARCHAR, platform VARCHAR)
Question: What is the Station Name of Platform 5?
[/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_32 (station_name VARCHAR, platform VARCHAR)
Question: What is the Station Name of Platform 5?
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_85 (home_team VARCHAR, venue VARCHAR)
Question: What is the home team's score at kardinia park?
[/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_85 (home_team VARCHAR, venue VARCHAR)
Question: What is the home team's score at kardinia park?
Here is the SQLite query to answer to the question: What is 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_1036189_1 (other_features VARCHAR, functional_type VARCHAR)
Question: For the functional type of light ball, what were the other features?
[/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_1036189_1 (other_features VARCHAR, functional_type VARCHAR)
Question: For the functional type of light ball, what were the other features?
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_17 (assists INTEGER, name VARCHAR, points VARCHAR)
Question: What is the smallest number of assists for Ben Duggan with less than 7 points?
[/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_17 (assists INTEGER, name VARCHAR, points VARCHAR)
Question: What is the smallest number of assists for Ben Duggan with less than 7 points?
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_54 (code VARCHAR, place VARCHAR)
Question: What is the total code number for Amadiba?
[/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 (code VARCHAR, place VARCHAR)
Question: What is the total code number for Amadiba?
Here is the SQLite query to answer to the question: What is the total co... | 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 (round VARCHAR, date VARCHAR)
Question: What round was on 7 January 2003?
[/INST]
Here is the SQLite query to answer to the question: What round was o... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (round VARCHAR, date VARCHAR)
Question: What round was on 7 January 2003?
Here is the SQLite query to answer to the question: What round was on 7 January 2... | 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_78 (status VARCHAR, name VARCHAR)
Question: What status has paleopanax as the name?
[/INST]
Here is the SQLite query to answer to the question: What stat... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (status VARCHAR, name VARCHAR)
Question: What status has paleopanax as the name?
Here is the SQLite query to answer to the question: What status has paleop... | 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 (upstream_rate VARCHAR, version VARCHAR, standard_name VARCHAR)
Question: What's the upstream rate for Itu g.992.2 with a version of ADSL?
[/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_60 (upstream_rate VARCHAR, version VARCHAR, standard_name VARCHAR)
Question: What's the upstream rate for Itu g.992.2 with a version of ADSL?
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_46 (country VARCHAR, total VARCHAR)
Question: Which country had a total of 295?
[/INST]
Here is the SQLite query to answer to the question: Which country... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (country VARCHAR, total VARCHAR)
Question: Which country had a total of 295?
Here is the SQLite query to answer to the question: Which country had a 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_name_67 (wins INTEGER, position VARCHAR, loses VARCHAR)
Question: What is the lowest wins the club with a position of 4 and less than 4 losses has?
[/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_67 (wins INTEGER, position VARCHAR, loses VARCHAR)
Question: What is the lowest wins the club with a position of 4 and less than 4 losses has?
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_78 (opponent VARCHAR, week VARCHAR, date VARCHAR)
Question: Which Opponent that has a Week larger than 3 on october 6, 1991?
[/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_78 (opponent VARCHAR, week VARCHAR, date VARCHAR)
Question: Which Opponent that has a Week larger than 3 on october 6, 1991?
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_33 (result VARCHAR, location VARCHAR)
Question: What was the result of Sopot (pol)?
[/INST]
Here is the SQLite query to answer to the question: What was ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (result VARCHAR, location VARCHAR)
Question: What was the result of Sopot (pol)?
Here is the SQLite query to answer to the question: What was the result 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_2509350_3 (language VARCHAR, el_villar_municipality VARCHAR)
Question: Name the language for el villar 1264
[/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_2509350_3 (language VARCHAR, el_villar_municipality VARCHAR)
Question: Name the language for el villar 1264
Here is the SQLite query to answer to the question: Nam... | 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_16075179_6 (date_of_appointment VARCHAR, outgoing_manager VARCHAR)
Question: When was the date of appointment for the manager replacing Wim Jansen?
[/INST]
H... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16075179_6 (date_of_appointment VARCHAR, outgoing_manager VARCHAR)
Question: When was the date of appointment for the manager replacing Wim Jansen?
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 table_17289224_1 (points INTEGER, final_placing VARCHAR)
Question: What was the max points you when when you place 9th?
[/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_17289224_1 (points INTEGER, final_placing VARCHAR)
Question: What was the max points you when when you place 9th?
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_64 (tournament VARCHAR)
Question: Which tournament had a 2010 result of QF and a 2012 result of SF?
[/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 (tournament VARCHAR)
Question: Which tournament had a 2010 result of QF and a 2012 result of SF?
Here is the SQLite query to answer to the question: Which ... | 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_20350118_1 (total INTEGER, county VARCHAR)
Question: How many people voted in Cabarrus county?
[/INST]
Here is the SQLite query to answer to the question: How... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20350118_1 (total INTEGER, county VARCHAR)
Question: How many people voted in Cabarrus county?
Here is the SQLite query to answer to the question: How many people ... | 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_42 (date VARCHAR, result VARCHAR)
Question: Which Date has a Result of 0–0?
[/INST]
Here is the SQLite query to answer to the question: Which Date has a ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (date VARCHAR, result VARCHAR)
Question: Which Date has a Result of 0–0?
Here is the SQLite query to answer to the question: Which Date has a Result of 0–0... | 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 (points INTEGER, draw VARCHAR, played VARCHAR)
Question: What was the highest number of points scored when there was a draw of 2 and when the amount p... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (points INTEGER, draw VARCHAR, played VARCHAR)
Question: What was the highest number of points scored when there was a draw of 2 and when the amount played ... | 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_88 (losses INTEGER, goals_against VARCHAR, wins VARCHAR)
Question: What is the average loss with a goal higher than 51 and wins higher than 14?
[/INST]
H... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (losses INTEGER, goals_against VARCHAR, wins VARCHAR)
Question: What is the average loss with a goal higher than 51 and wins higher than 14?
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 table_12078626_1 (deadline_for_completion VARCHAR, description VARCHAR)
Question: what is the total number of deadline for completion where description is facebook ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12078626_1 (deadline_for_completion VARCHAR, description VARCHAR)
Question: what is the total number of deadline for completion where description is facebook become... | 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 Restaurant (ResName VARCHAR, Rating VARCHAR)
Question: Which restaurants have highest rating? List the restaurant name and its rating.
[/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 Restaurant (ResName VARCHAR, Rating VARCHAR)
Question: Which restaurants have highest rating? List the restaurant name and its rating.
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_24057191_2 (end_date VARCHAR, average_viewers__millions_ VARCHAR)
Question: How many different end dates are there for the series seen by 4.2 million people?
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24057191_2 (end_date VARCHAR, average_viewers__millions_ VARCHAR)
Question: How many different end dates are there for the series seen by 4.2 million people?
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_6 (assists INTEGER, name VARCHAR, venue VARCHAR, competition VARCHAR)
Question: What is the sum of the assists kang jae-soon had in the k-league competit... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (assists INTEGER, name VARCHAR, venue VARCHAR, competition VARCHAR)
Question: What is the sum of the assists kang jae-soon had in the k-league competition in... | 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_40 (episodes INTEGER, romaji_title VARCHAR)
Question: What is the fewest episodes with the Romaji title Regatta~Kimi to Ita Eien~?
[/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 table_name_40 (episodes INTEGER, romaji_title VARCHAR)
Question: What is the fewest episodes with the Romaji title Regatta~Kimi to Ita Eien~?
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_26 (title VARCHAR, label VARCHAR, year VARCHAR, Nr VARCHAR, st VARCHAR)
Question: What is the song title from 1963 on the Pacific Jazz label, and a Label... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (title VARCHAR, label VARCHAR, year VARCHAR, Nr VARCHAR, st VARCHAR)
Question: What is the song title from 1963 on the Pacific Jazz label, and a Label-Nr 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_262560_1 (institution VARCHAR, founded VARCHAR)
Question: Name the place that was founded in 1920
[/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_262560_1 (institution VARCHAR, founded VARCHAR)
Question: Name the place that was founded in 1920
Here is the SQLite query to answer to the question: Name the plac... | 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_72 (area__km_2__ INTEGER, place VARCHAR, population VARCHAR)
Question: What's the most area of Bochum Part 2 with a population less than 15,911?
[/INST]
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (area__km_2__ INTEGER, place VARCHAR, population VARCHAR)
Question: What's the most area of Bochum Part 2 with a population less than 15,911?
Here is the S... | 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_2941963_1 (remittances_2010 VARCHAR, country VARCHAR)
Question: how many remittances in 2010 for nigeria?
[/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_2941963_1 (remittances_2010 VARCHAR, country VARCHAR)
Question: how many remittances in 2010 for nigeria?
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_1341453_37 (results VARCHAR, first_elected VARCHAR)
Question: What was the result of the election in which the incumbent was first elected in 1984?
[/INST]
He... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1341453_37 (results VARCHAR, first_elected VARCHAR)
Question: What was the result of the election in which the incumbent was first elected in 1984?
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_18 (Id VARCHAR)
Question: What is the lowest 2009 value with a 2010 value of 141 and a 1985 value bigger than 165?
[/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_18 (Id VARCHAR)
Question: What is the lowest 2009 value with a 2010 value of 141 and a 1985 value bigger than 165?
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_name_30 (winning_driver VARCHAR, winning_team VARCHAR, pole_position VARCHAR)
Question: Who is the winning driver of Penske Racing, and what was Rick Mears' p... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (winning_driver VARCHAR, winning_team VARCHAR, pole_position VARCHAR)
Question: Who is the winning driver of Penske Racing, and what was Rick Mears' pole 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_1538516_1 (maximum_ceiling_temperature VARCHAR, temperature_classification VARCHAR)
Question: Name the most ceiling temperature for very extra high
[/INST]
He... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1538516_1 (maximum_ceiling_temperature VARCHAR, temperature_classification VARCHAR)
Question: Name the most ceiling temperature for very extra high
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_86 (result VARCHAR, opponent VARCHAR)
Question: What's the result when the Carolina Panthers were the opponent?
[/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_86 (result VARCHAR, opponent VARCHAR)
Question: What's the result when the Carolina Panthers were the opponent?
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_29 (new_returning_same_network VARCHAR, last_aired VARCHAR)
Question: Which New/Returning/Same Network has a Last Aired of 1982?
[/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_29 (new_returning_same_network VARCHAR, last_aired VARCHAR)
Question: Which New/Returning/Same Network has a Last Aired of 1982?
Here is the SQLite query to a... | 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.