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_90 (rank VARCHAR, height_ft__m_ VARCHAR, year VARCHAR, floors VARCHAR)
Question: After 1971, what is the Rank with a Height ft (m) of 19.0 477 (145) and ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (rank VARCHAR, height_ft__m_ VARCHAR, year VARCHAR, floors VARCHAR)
Question: After 1971, what is the Rank with a Height ft (m) of 19.0 477 (145) and less 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_33 (main_contestant VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR)
Question: Who is the main contestant when the co-contestant (yaar vs. pyaar) is Shali... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (main_contestant VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR)
Question: Who is the main contestant when the co-contestant (yaar vs. pyaar) is Shalini Cha... | bugdaryan/sql-create-context-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 (type_of_game VARCHAR, results¹ VARCHAR)
Question: What was the type of game with a 1:6 result?
[/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_5 (type_of_game VARCHAR, results¹ VARCHAR)
Question: What was the type of game with a 1:6 result?
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_97 (year INTEGER, working_horses VARCHAR, cows VARCHAR)
Question: What is the earliest year that has fewer than 3852.1 cows and 3900.1 working horses?
[/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (year INTEGER, working_horses VARCHAR, cows VARCHAR)
Question: What is the earliest year that has fewer than 3852.1 cows and 3900.1 working horses?
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_22098274_1 (site VARCHAR, date VARCHAR)
Question: How many number of site have May 1, 2004 as the date?
[/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_22098274_1 (site VARCHAR, date VARCHAR)
Question: How many number of site have May 1, 2004 as the date?
Here is the SQLite query to answer to the question: How man... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (overall VARCHAR, position VARCHAR)
Question: Name the total number of overall for defensive tackle
[/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_6 (overall VARCHAR, position VARCHAR)
Question: Name the total number of overall for defensive tackle
Here is the SQLite query to answer to the question: Name... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (launch_date VARCHAR, name VARCHAR)
Question: When did Edoardo Amaldi launch?
[/INST]
Here is the SQLite query to answer to the question: When did Edo... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (launch_date VARCHAR, name VARCHAR)
Question: When did Edoardo Amaldi launch?
Here is the SQLite query to answer to the question: When did Edoardo Amaldi l... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1341930_24 (first_elected VARCHAR, incumbent VARCHAR)
Question: In what year was John Bell Williams first elected?
[/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_1341930_24 (first_elected VARCHAR, incumbent VARCHAR)
Question: In what year was John Bell Williams first elected?
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_46 (rank VARCHAR, name VARCHAR)
Question: What was the rank of Svetlana Fedorenko?
[/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_name_46 (rank VARCHAR, name VARCHAR)
Question: What was the rank of Svetlana Fedorenko?
Here is the SQLite query to answer to the question: What was the rank of Sv... | bugdaryan/sql-create-context-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 (vertices INTEGER, dual_archimedean_solid VARCHAR)
Question: Which Vertices have a Dual Archimedean solid of truncated dodecahedron?
[/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_28 (vertices INTEGER, dual_archimedean_solid VARCHAR)
Question: Which Vertices have a Dual Archimedean solid of truncated dodecahedron?
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_11734041_2 (school_club_team_country VARCHAR, no_s_ VARCHAR, position VARCHAR)
Question: What school did the forward whose number is 10 belong to?
[/INST]
Her... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11734041_2 (school_club_team_country VARCHAR, no_s_ VARCHAR, position VARCHAR)
Question: What school did the forward whose number is 10 belong to?
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_51 (imperial_value VARCHAR, jyutping VARCHAR)
Question: what's the imperial that contains a jyutping of cin4?
[/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_51 (imperial_value VARCHAR, jyutping VARCHAR)
Question: what's the imperial that contains a jyutping of cin4?
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_57 (position INTEGER, points VARCHAR, drawn VARCHAR)
Question: How many positions have 15 for the points, with a drawn less than 3?
[/INST]
Here is the S... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (position INTEGER, points VARCHAR, drawn VARCHAR)
Question: How many positions have 15 for the points, with a drawn less than 3?
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_1342338_5 (first_elected VARCHAR, incumbent VARCHAR)
Question: What year was incumbent Claude Fuller first elected?
[/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_1342338_5 (first_elected VARCHAR, incumbent VARCHAR)
Question: What year was incumbent Claude Fuller first elected?
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_13 (class VARCHAR, wins VARCHAR, points VARCHAR)
Question: What class has over 0 wins and 42 points?
[/INST]
Here is the SQLite query to answer to the qu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (class VARCHAR, wins VARCHAR, points VARCHAR)
Question: What class has over 0 wins and 42 points?
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_7 (wpct VARCHAR)
Question: What WPct has wins of wins?
[/INST]
Here is the SQLite query to answer to the question: What WPct has wins of wins?:
```
SELEC... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (wpct VARCHAR)
Question: What WPct has wins of wins?
Here is the SQLite query to answer to the question: What WPct has wins of wins?:
```
SELECT wpct FROM 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_49 (nationality VARCHAR, pick VARCHAR)
Question: What nationality has a pick of 1?
[/INST]
Here is the SQLite query to answer to the question: What natio... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (nationality VARCHAR, pick VARCHAR)
Question: What nationality has a pick of 1?
Here is the SQLite query to answer to the question: What nationality has 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_12 (home VARCHAR, date VARCHAR)
Question: Who was the home team of the game on 2 February 2006?
[/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_12 (home VARCHAR, date VARCHAR)
Question: Who was the home team of the game on 2 February 2006?
Here is the SQLite query to answer to the question: Who was th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (number_of_households INTEGER, median_household_income VARCHAR, population VARCHAR)
Question: What is the most households with a median household incom... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (number_of_households INTEGER, median_household_income VARCHAR, population VARCHAR)
Question: What is the most households with a median household income 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_19948664_1 (countries_sampled VARCHAR, ranking_la__2_ VARCHAR, world_ranking__1_ VARCHAR)
Question: How many countries were sampled for the index in 2nd place... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19948664_1 (countries_sampled VARCHAR, ranking_la__2_ VARCHAR, world_ranking__1_ VARCHAR)
Question: How many countries were sampled for the index in 2nd place in 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_25374338_1 (theme VARCHAR, original_artist VARCHAR)
Question: What is the theme where the original artist is Noemi feat. Fiorella Mannoia?
[/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_25374338_1 (theme VARCHAR, original_artist VARCHAR)
Question: What is the theme where the original artist is Noemi feat. Fiorella Mannoia?
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_62 (home VARCHAR, visitor VARCHAR, date VARCHAR)
Question: What was the home team that played Vancouver on April 29?
[/INST]
Here is the SQLite query to ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (home VARCHAR, visitor VARCHAR, date VARCHAR)
Question: What was the home team that played Vancouver on April 29?
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 Research_Staff (employer_organisation_id VARCHAR); CREATE TABLE Organisations (organisation_type VARCHAR, organisation_id VARCHAR)
Question: Which organisation type... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Research_Staff (employer_organisation_id VARCHAR); CREATE TABLE Organisations (organisation_type VARCHAR, organisation_id VARCHAR)
Question: Which organisation type hires... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13564702_3 (points_for VARCHAR, try_bonus VARCHAR)
Question: Name the total number of points for when try bonus is 10
[/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_13564702_3 (points_for VARCHAR, try_bonus VARCHAR)
Question: Name the total number of points for when try bonus is 10
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_65 (coverage_area VARCHAR, genre VARCHAR, station VARCHAR)
Question: What is the coverage area of muzik fm station, which has a music genre?
[/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_65 (coverage_area VARCHAR, genre VARCHAR, station VARCHAR)
Question: What is the coverage area of muzik fm station, which has a music genre?
Here is the SQLit... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (date_of_death VARCHAR, name VARCHAR)
Question: When did Charles III die?
[/INST]
Here is the SQLite query to answer to the question: When did Charles ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (date_of_death VARCHAR, name VARCHAR)
Question: When did Charles III die?
Here is the SQLite query to answer to the question: When did Charles III die?:
```... | bugdaryan/sql-create-context-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 (engine VARCHAR, entrant VARCHAR, chassis VARCHAR)
Question: What engine is used by Colin Bennett Racing with an 811 chassis?
[/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_48 (engine VARCHAR, entrant VARCHAR, chassis VARCHAR)
Question: What engine is used by Colin Bennett Racing with an 811 chassis?
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_46 (grid INTEGER, rider VARCHAR)
Question: What is the lowest grid number when Colin Edwards is the rider?
[/INST]
Here is the SQLite query to answer to ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (grid INTEGER, rider VARCHAR)
Question: What is the lowest grid number when Colin Edwards is the rider?
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_24 (high_assists VARCHAR, game VARCHAR, team VARCHAR)
Question: Who had the high assist in a game number above 77 for Milwaukee?
[/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_24 (high_assists VARCHAR, game VARCHAR, team VARCHAR)
Question: Who had the high assist in a game number above 77 for Milwaukee?
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_2610582_2 (branding VARCHAR, callsign VARCHAR)
Question: The callsign DWEC-TV has what branding?
[/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_2610582_2 (branding VARCHAR, callsign VARCHAR)
Question: The callsign DWEC-TV has what branding?
Here is the SQLite query to answer to the question: The callsign ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18813011_6 (high_assists VARCHAR, date VARCHAR)
Question: Who had the most assist and how many on July 26?
[/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_18813011_6 (high_assists VARCHAR, date VARCHAR)
Question: Who had the most assist and how many on July 26?
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_30047613_12 (date VARCHAR, streak VARCHAR)
Question: in which date the strea was w 2
[/INST]
Here is the SQLite query to answer to the question: in which date... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_30047613_12 (date VARCHAR, streak VARCHAR)
Question: in which date the strea was w 2
Here is the SQLite query to answer to the question: in which date the strea wa... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (home VARCHAR, competition VARCHAR, round VARCHAR)
Question: Which Home has a Competition of european cup, and a Round of qf?
[/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_70 (home VARCHAR, competition VARCHAR, round VARCHAR)
Question: Which Home has a Competition of european cup, and a Round of qf?
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_22 (power VARCHAR, model VARCHAR, displacement VARCHAR)
Question: How much power does the 1500 model have with a displacement of 1490cc?
[/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_22 (power VARCHAR, model VARCHAR, displacement VARCHAR)
Question: How much power does the 1500 model have with a displacement of 1490cc?
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_15467476_3 (played VARCHAR, points_for VARCHAR)
Question: How many games played for teams with 277 points?
[/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_15467476_3 (played VARCHAR, points_for VARCHAR)
Question: How many games played for teams with 277 points?
Here is the SQLite query to answer to the question: How ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2886617_5 (college_junior_club_team VARCHAR, nhl_team VARCHAR)
Question: How may college/junior/club team has a the nhl team listed as Colorado Avalanche?
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2886617_5 (college_junior_club_team VARCHAR, nhl_team VARCHAR)
Question: How may college/junior/club team has a the nhl team listed as Colorado Avalanche?
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_90 (cargo__tonnes_ VARCHAR, international__non_cis_ VARCHAR)
Question: What are the cargo tonnes when the international (non-CIS) is 297 421?
[/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_90 (cargo__tonnes_ VARCHAR, international__non_cis_ VARCHAR)
Question: What are the cargo tonnes when the international (non-CIS) is 297 421?
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_1745843_7 (class VARCHAR, part_4 VARCHAR)
Question: In what class does the verb with part 4 gelopen belong to?
[/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_1745843_7 (class VARCHAR, part_4 VARCHAR)
Question: In what class does the verb with part 4 gelopen belong to?
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 school_bus (name VARCHAR, driver_id VARCHAR); CREATE TABLE driver (name VARCHAR, driver_id VARCHAR)
Question: Show the names of the drivers without a school bus.
[/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE school_bus (name VARCHAR, driver_id VARCHAR); CREATE TABLE driver (name VARCHAR, driver_id VARCHAR)
Question: Show the names of the drivers without a school bus.
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_41 (score_in_the_final VARCHAR, date VARCHAR)
Question: What is Score in The Final, when Date is "1981"?
[/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_41 (score_in_the_final VARCHAR, date VARCHAR)
Question: What is Score in The Final, when Date is "1981"?
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_26473176_1 (team VARCHAR, points VARCHAR)
Question: How many teams were at 10 points?
[/INST]
Here is the SQLite query to answer to the question: How many tea... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26473176_1 (team VARCHAR, points VARCHAR)
Question: How many teams were at 10 points?
Here is the SQLite query to answer to the question: How many teams were at 10... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE TOURIST_ATTRACTIONS (Name VARCHAR, How_to_Get_There VARCHAR)
Question: What are the names of the tourist attractions that can be accessed by bus?
[/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 TOURIST_ATTRACTIONS (Name VARCHAR, How_to_Get_There VARCHAR)
Question: What are the names of the tourist attractions that can be accessed by bus?
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_name_2 (county VARCHAR, mascot VARCHAR)
Question: What county is the team with the mascot of the Tigers in?
[/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_2 (county VARCHAR, mascot VARCHAR)
Question: What county is the team with the mascot of the Tigers in?
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_47 (record VARCHAR, date VARCHAR)
Question: What is the Record from February 10?
[/INST]
Here is the SQLite query to answer to the question: What is the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (record VARCHAR, date VARCHAR)
Question: What is the Record from February 10?
Here is the SQLite query to answer to the question: What is the Record from F... | bugdaryan/sql-create-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, Membership_card VARCHAR, age VARCHAR)
Question: Find the ids and names of members who are under age 30 or with black member... | 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, Membership_card VARCHAR, age VARCHAR)
Question: Find the ids and names of members who are under age 30 or with black membership c... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (laps INTEGER, grid VARCHAR)
Question: What are the lowest laps of grid 17?
[/INST]
Here is the SQLite query to answer to the question: What are the l... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (laps INTEGER, grid VARCHAR)
Question: What are the lowest laps of grid 17?
Here is the SQLite query to answer to the question: What are the lowest laps 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_21795986_1 (year INTEGER, original_number VARCHAR)
Question: When 2008 t is the original number what is the lowest year?
[/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_21795986_1 (year INTEGER, original_number VARCHAR)
Question: When 2008 t is the original number what is the lowest year?
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_7 (venue VARCHAR, result VARCHAR)
Question: Where was a 0-5 game played?
[/INST]
Here is the SQLite query to answer to the question: Where was a 0-5 game... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (venue VARCHAR, result VARCHAR)
Question: Where was a 0-5 game played?
Here is the SQLite query to answer to the question: Where was a 0-5 game 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_1520559_1 (venue VARCHAR, champion VARCHAR)
Question: At what venues did Lorena Ochoa win the championship?
[/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_1520559_1 (venue VARCHAR, champion VARCHAR)
Question: At what venues did Lorena Ochoa win the championship?
Here is the SQLite query to answer to the question: At ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (services VARCHAR, local_authority VARCHAR, zone_2010 VARCHAR)
Question: Which Services have a Local authority of chiltern, and a Zone 2010 of 9?
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (services VARCHAR, local_authority VARCHAR, zone_2010 VARCHAR)
Question: Which Services have a Local authority of chiltern, and a Zone 2010 of 9?
Here 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_54 (title VARCHAR, character VARCHAR)
Question: What is the title of the TV series with a character of Sheyda/Ashraf?
[/INST]
Here is the SQLite query to... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (title VARCHAR, character VARCHAR)
Question: What is the title of the TV series with a character of Sheyda/Ashraf?
Here is the SQLite query to answer to th... | 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.