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_93 (home VARCHAR, score VARCHAR)
Question: Name the home for 21-17
[/INST]
Here is the SQLite query to answer to the question: Name the home for 21-17:
`... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (home VARCHAR, score VARCHAR)
Question: Name the home for 21-17
Here is the SQLite query to answer to the question: Name the home for 21-17:
```
SELECT hom... | bugdaryan/sql-create-context-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 (tournament VARCHAR)
Question: What is 2000, when Tournament is "Canada Masters"?
[/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_67 (tournament VARCHAR)
Question: What is 2000, when Tournament is "Canada Masters"?
Here is the SQLite query to answer to the question: What is 2000, when 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_85 (class VARCHAR, vessel_name VARCHAR)
Question: What is the class of vessel of the ship Hyundai Smart?
[/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_85 (class VARCHAR, vessel_name VARCHAR)
Question: What is the class of vessel of the ship Hyundai Smart?
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_87 (type VARCHAR, location VARCHAR, entered_service VARCHAR)
Question: Which type entered service in 1976/1997 and is located in Brazil?
[/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_87 (type VARCHAR, location VARCHAR, entered_service VARCHAR)
Question: Which type entered service in 1976/1997 and is located in Brazil?
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_13050003_2 (rebounds VARCHAR, year VARCHAR)
Question: How many rebounds were there in 2008?
[/INST]
Here is the SQLite query to answer to the question: How ma... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13050003_2 (rebounds VARCHAR, year VARCHAR)
Question: How many rebounds were there in 2008?
Here is the SQLite query to answer to the question: How many rebounds 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_23 (trofeo_fast_team VARCHAR, points_classification VARCHAR, stage VARCHAR)
Question: Which team had a final stage when Claudio Chiappucci had the points... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (trofeo_fast_team VARCHAR, points_classification VARCHAR, stage VARCHAR)
Question: Which team had a final stage when Claudio Chiappucci had the points?
Her... | bugdaryan/sql-create-context-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 (tourism_competitiveness__2011___ttci_ VARCHAR, country VARCHAR)
Question: What is the tourism competitiveness in 2011 of venezuela?
[/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_90 (tourism_competitiveness__2011___ttci_ VARCHAR, country VARCHAR)
Question: What is the tourism competitiveness in 2011 of venezuela?
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_11 (attendance INTEGER, date VARCHAR)
Question: What is the average attendance on October 9, 1983?
[/INST]
Here is the SQLite query to answer to the ques... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (attendance INTEGER, date VARCHAR)
Question: What is the average attendance on October 9, 1983?
Here is the SQLite query to answer to the question: What is... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11960407_5 (date VARCHAR, game VARCHAR)
Question: What is the date of Game 50?
[/INST]
Here is the SQLite query to answer to the question: What is the date of... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11960407_5 (date VARCHAR, game VARCHAR)
Question: What is the date of Game 50?
Here is the SQLite query to answer to the question: What is the date of Game 50?:
``... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14209455_1 (wed_28_may VARCHAR, mon_26_may VARCHAR)
Question: what tims is wed may 28 and mon may 26 is 17' 58.34 125.960mph?
[/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_14209455_1 (wed_28_may VARCHAR, mon_26_may VARCHAR)
Question: what tims is wed may 28 and mon may 26 is 17' 58.34 125.960mph?
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_21132404_1 (_percentage_2006 VARCHAR, seats_2006 VARCHAR)
Question: What was the % 2006 rating in 2006 where there were 5 seats?
[/INST]
Here is the SQLite qu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21132404_1 (_percentage_2006 VARCHAR, seats_2006 VARCHAR)
Question: What was the % 2006 rating in 2006 where there were 5 seats?
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_71 (date VARCHAR, week INTEGER)
Question: What day did they play before week 2?
[/INST]
Here is the SQLite query to answer to the question: What day did ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (date VARCHAR, week INTEGER)
Question: What day did they play before week 2?
Here is the SQLite query to answer to the question: What day did they play bef... | bugdaryan/sql-create-context-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 (title_in_english VARCHAR, format VARCHAR, original_title VARCHAR)
Question: What is the english title with a lp format and an Original title of то ли... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (title_in_english VARCHAR, format VARCHAR, original_title VARCHAR)
Question: What is the english title with a lp format and an Original title of то ли ещё б... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (round INTEGER, player VARCHAR)
Question: What is the lowest round number in which Will Wilcox was selected?
[/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_55 (round INTEGER, player VARCHAR)
Question: What is the lowest round number in which Will Wilcox was selected?
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_16278825_1 (population VARCHAR, towns__villages VARCHAR)
Question: NJame the total number of population for towns/villages for 217
[/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_16278825_1 (population VARCHAR, towns__villages VARCHAR)
Question: NJame the total number of population for towns/villages for 217
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_7 (pts INTEGER, chassis VARCHAR)
Question: What are the points for a chassis of march 811?
[/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_7 (pts INTEGER, chassis VARCHAR)
Question: What are the points for a chassis of march 811?
Here is the SQLite query to answer to the question: What are the po... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (university_students_and_adults__18yrs VARCHAR, _ VARCHAR, gender VARCHAR, specification VARCHAR)
Question: What value for university students and adu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (university_students_and_adults__18yrs VARCHAR, _ VARCHAR, gender VARCHAR, specification VARCHAR)
Question: What value for university students and adult goe... | bugdaryan/sql-create-context-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 (city___state VARCHAR, series VARCHAR)
Question: In what City/State did the ATCC Round 4 series take place?
[/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_62 (city___state VARCHAR, series VARCHAR)
Question: In what City/State did the ATCC Round 4 series take place?
Here is the SQLite query to answer to the quest... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (crowd INTEGER, home_team VARCHAR)
Question: What was the average crowd size when Melbourne was the home team?
[/INST]
Here is the SQLite query to answ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (crowd INTEGER, home_team VARCHAR)
Question: What was the average crowd size when Melbourne was the home team?
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_15 (matches VARCHAR, prize_money VARCHAR)
Question: How many matches were there in the round with £1,000,000 in prize money?
[/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_15 (matches VARCHAR, prize_money VARCHAR)
Question: How many matches were there in the round with £1,000,000 in prize money?
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_17311797_8 (high_points VARCHAR, date VARCHAR)
Question: Who had the high points on February 6?
[/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_17311797_8 (high_points VARCHAR, date VARCHAR)
Question: Who had the high points on February 6?
Here is the SQLite query to answer to the question: Who had the hig... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (rank INTEGER, name VARCHAR, lane VARCHAR)
Question: What is the average rank of Elise Matthysen in lanes under 8?
[/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_46 (rank INTEGER, name VARCHAR, lane VARCHAR)
Question: What is the average rank of Elise Matthysen in lanes under 8?
Here is the SQLite query to answer to th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18018214_3 (wins INTEGER)
Question: What was the highest number of wins for any team?
[/INST]
Here is the SQLite query to answer to the question: What was the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18018214_3 (wins INTEGER)
Question: What was the highest number of wins for any team?
Here is the SQLite query to answer to the question: What was the highest 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_14752049_2 (change__2010_to_2011_ VARCHAR, international_tourist_arrivals__2011_ VARCHAR)
Question: What are the changes (2010 to 2011) where the Internationa... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14752049_2 (change__2010_to_2011_ VARCHAR, international_tourist_arrivals__2011_ VARCHAR)
Question: What are the changes (2010 to 2011) where the International Tour... | bugdaryan/sql-create-context-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 (tournament VARCHAR, margin_of_victory VARCHAR)
Question: What is the Tournament with a Margin of victory that was 4 strokes?
[/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_57 (tournament VARCHAR, margin_of_victory VARCHAR)
Question: What is the Tournament with a Margin of victory that was 4 strokes?
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_45 (university_of_dublin VARCHAR, labour_panel INTEGER)
Question: What is the total University of Dublin value with a labour panel greater than 11?
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (university_of_dublin VARCHAR, labour_panel INTEGER)
Question: What is the total University of Dublin value with a labour panel greater than 11?
Here 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_2266762_1 (driver VARCHAR, team VARCHAR, race_time VARCHAR)
Question: Who was the driver for the Richard Childress Racing team in the race with a time of 2:58... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2266762_1 (driver VARCHAR, team VARCHAR, race_time VARCHAR)
Question: Who was the driver for the Richard Childress Racing team in the race with a time of 2:58:22?
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29436238_1 (no_in_series VARCHAR, written_by VARCHAR)
Question: How many episodes were written by Gregg Mettler?
[/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_29436238_1 (no_in_series VARCHAR, written_by VARCHAR)
Question: How many episodes were written by Gregg Mettler?
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_17 (pop__2010_ INTEGER, geo_id VARCHAR, land___sqmi__ VARCHAR, county VARCHAR)
Question: What is the total population in 2010 for the township located in... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (pop__2010_ INTEGER, geo_id VARCHAR, land___sqmi__ VARCHAR, county VARCHAR)
Question: What is the total population in 2010 for the township located in Mount... | bugdaryan/sql-create-context-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 (shuttle_run__sec_ VARCHAR, points VARCHAR)
Question: How many seconds is a shuttle run that give 2 points?
[/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_54 (shuttle_run__sec_ VARCHAR, points VARCHAR)
Question: How many seconds is a shuttle run that give 2 points?
Here is the SQLite query to answer to the quest... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2259285_1 (standing VARCHAR, goals_against VARCHAR)
Question: What was the standing when goal against were 279?
[/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_2259285_1 (standing VARCHAR, goals_against VARCHAR)
Question: What was the standing when goal against were 279?
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_28 (years_played INTEGER, singles_win_loss VARCHAR, first_year_played VARCHAR)
Question: How many years did the team that has a Singles win-Loss of 4-9 a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (years_played INTEGER, singles_win_loss VARCHAR, first_year_played VARCHAR)
Question: How many years did the team that has a Singles win-Loss of 4-9 and fir... | bugdaryan/sql-create-context-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 (years VARCHAR, displacement VARCHAR)
Question: Which years have a displacement of 1816cc?
[/INST]
Here is the SQLite query to answer to the question:... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_44 (years VARCHAR, displacement VARCHAR)
Question: Which years have a displacement of 1816cc?
Here is the SQLite query to answer to the question: Which years ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18042409_1 (alma_mater VARCHAR, player VARCHAR)
Question: What university did Steve Hoar attend.
[/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_18042409_1 (alma_mater VARCHAR, player VARCHAR)
Question: What university did Steve Hoar attend.
Here is the SQLite query to answer to the question: What universi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE dorm (dormid VARCHAR, student_capacity INTEGER); CREATE TABLE has_amenity (dormid VARCHAR)
Question: Find the number of amenities for each of the dorms that can acc... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE dorm (dormid VARCHAR, student_capacity INTEGER); CREATE TABLE has_amenity (dormid VARCHAR)
Question: Find the number of amenities for each of the dorms that can accommoda... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28180840_15 (act VARCHAR, name_name_of_act VARCHAR)
Question: What is the total number of modern grannies performed?
[/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_28180840_15 (act VARCHAR, name_name_of_act VARCHAR)
Question: What is the total number of modern grannies performed?
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_15938543_1 (production_code VARCHAR, written_by VARCHAR)
Question: How many episodes were written by Jack Burditt & Robert Carlock
[/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_15938543_1 (production_code VARCHAR, written_by VARCHAR)
Question: How many episodes were written by Jack Burditt & Robert Carlock
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_50 (winner VARCHAR, date VARCHAR)
Question: What is Winner, when Date is "20 August"?
[/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_50 (winner VARCHAR, date VARCHAR)
Question: What is Winner, when Date is "20 August"?
Here is the SQLite query to answer to the question: What is Winner, when... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (team VARCHAR, date VARCHAR)
Question: What is the Team on January 20?
[/INST]
Here is the SQLite query to answer to the question: What is the Team on... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (team VARCHAR, date VARCHAR)
Question: What is the Team on January 20?
Here is the SQLite query to answer to the question: What is the Team on January 20?:... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE car_makers (id VARCHAR, maker VARCHAR); CREATE TABLE model_list (maker VARCHAR, model VARCHAR); CREATE TABLE car_names (model VARCHAR)
Question: Which are the car m... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE car_makers (id VARCHAR, maker VARCHAR); CREATE TABLE model_list (maker VARCHAR, model VARCHAR); CREATE TABLE car_names (model VARCHAR)
Question: Which are the car makers ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (date VARCHAR, competition VARCHAR)
Question: What date has the competition of uefa euro 2012 qualifying?
[/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_77 (date VARCHAR, competition VARCHAR)
Question: What date has the competition of uefa euro 2012 qualifying?
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_21564794_3 (left_st_louis INTEGER, venue VARCHAR)
Question: What year did the team who played at the Scottrade Center leave the city?
[/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_21564794_3 (left_st_louis INTEGER, venue VARCHAR)
Question: What year did the team who played at the Scottrade Center leave the city?
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_4 (class VARCHAR, position VARCHAR)
Question: What is the class for the position of lg?
[/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_4 (class VARCHAR, position VARCHAR)
Question: What is the class for the position of lg?
Here is the SQLite query to answer to the question: What is the class ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (race VARCHAR, position VARCHAR)
Question: What race is in the 5th position?
[/INST]
Here is the SQLite query to answer to the question: What race is ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (race VARCHAR, position VARCHAR)
Question: What race is in the 5th position?
Here is the SQLite query to answer to the question: What race is in the 5th po... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (place VARCHAR, player VARCHAR)
Question: What is the place of player chi-chi rodríguez?
[/INST]
Here is the SQLite query to answer to the question: W... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (place VARCHAR, player VARCHAR)
Question: What is the place of player chi-chi rodríguez?
Here is the SQLite query to answer to the question: What is the pl... | bugdaryan/sql-create-context-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 (result VARCHAR, time VARCHAR, attendance VARCHAR)
Question: What was the score of the match that took place at 6:00 PM with 79,419 in attendance?
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (result VARCHAR, time VARCHAR, attendance VARCHAR)
Question: What was the score of the match that took place at 6:00 PM with 79,419 in attendance?
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_22347090_6 (production_code VARCHAR, us_viewers__million_ VARCHAR)
Question: What is the production code for the episode that had 1.32 million U.S. viewers?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22347090_6 (production_code VARCHAR, us_viewers__million_ VARCHAR)
Question: What is the production code for the episode that had 1.32 million U.S. viewers?
Here i... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13779832_1 (country_region VARCHAR, presenters VARCHAR)
Question: what's the country/region with presenters being heikki paasonen jukka rossi (xtra factor)
[/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13779832_1 (country_region VARCHAR, presenters VARCHAR)
Question: what's the country/region with presenters being heikki paasonen jukka rossi (xtra factor)
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_36 (attendance VARCHAR, date VARCHAR)
Question: what is the attendance on october 19, 2003?
[/INST]
Here is the SQLite query to answer to the question: w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (attendance VARCHAR, date VARCHAR)
Question: what is the attendance on october 19, 2003?
Here is the SQLite query to answer to the question: what is the 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_1420954_1 (book_title VARCHAR, artist_s_ VARCHAR)
Question: timothy truman worked on what books
[/INST]
Here is the SQLite query to answer to the question: ti... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1420954_1 (book_title VARCHAR, artist_s_ VARCHAR)
Question: timothy truman worked on what books
Here is the SQLite query to answer to the question: timothy truman ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE All_documents (document_type_code VARCHAR)
Question: Show the number of documents with document type code CV or BK.
[/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 All_documents (document_type_code VARCHAR)
Question: Show the number of documents with document type code CV or BK.
Here is the SQLite query to answer to the question: 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_256286_14 (yes_votes INTEGER, passed VARCHAR)
Question: Name the least yes votes for yes passed
[/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_256286_14 (yes_votes INTEGER, passed VARCHAR)
Question: Name the least yes votes for yes passed
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_64 (player VARCHAR, place VARCHAR, score VARCHAR)
Question: What is the Player that has a Place of t2, and a Score of 74-70-68=212?
[/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_64 (player VARCHAR, place VARCHAR, score VARCHAR)
Question: What is the Player that has a Place of t2, and a Score of 74-70-68=212?
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_2560677_1 (end_date VARCHAR, artist_s_ VARCHAR)
Question: What is the end date for the artist s. moldoff/j. giella/c. infantino?
[/INST]
Here is the SQLite qu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2560677_1 (end_date VARCHAR, artist_s_ VARCHAR)
Question: What is the end date for the artist s. moldoff/j. giella/c. infantino?
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_63 (high_assists VARCHAR, record VARCHAR)
Question: Who had the most assists in the game that led to a 3-7 record?
[/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_63 (high_assists VARCHAR, record VARCHAR)
Question: Who had the most assists in the game that led to a 3-7 record?
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_16388398_1 (date VARCHAR, ground VARCHAR)
Question: When was the game played on Manuka Oval?
[/INST]
Here is the SQLite query to answer to the question: When ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16388398_1 (date VARCHAR, ground VARCHAR)
Question: When was the game played on Manuka Oval?
Here is the SQLite query to answer to the question: When was the 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_88 (total_population__2010_ INTEGER, _percentage_asian_american VARCHAR, asian_american_population__2010_ VARCHAR)
Question: What's the total population ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (total_population__2010_ INTEGER, _percentage_asian_american VARCHAR, asian_american_population__2010_ VARCHAR)
Question: What's the total population when t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (build_date INTEGER, disposal VARCHAR)
Question: Which railway had the earliest build date and a disposal of "Scrapped 1941?"
[/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 (build_date INTEGER, disposal VARCHAR)
Question: Which railway had the earliest build date and a disposal of "Scrapped 1941?"
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_1359212_2 (artist VARCHAR, venue VARCHAR)
Question: who is the artist performing at heineken music hall?
[/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_1359212_2 (artist VARCHAR, venue VARCHAR)
Question: who is the artist performing at heineken music hall?
Here is the SQLite query to answer to the question: who 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 Player (player_name VARCHAR, player_api_id VARCHAR); CREATE TABLE Player_Attributes (overall_rating INTEGER); CREATE TABLE Player_Attributes (player_api_id VARCHAR, over... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Player (player_name VARCHAR, player_api_id VARCHAR); CREATE TABLE Player_Attributes (overall_rating INTEGER); CREATE TABLE Player_Attributes (player_api_id VARCHAR, overall_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_name_21 (administration VARCHAR, season VARCHAR, division VARCHAR, position VARCHAR)
Question: What is the administration when the division was Ykkönen (first... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (administration VARCHAR, season VARCHAR, division VARCHAR, position VARCHAR)
Question: What is the administration when the division was Ykkönen (first divis... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1963459_2 (average_speed__mph_ VARCHAR, team VARCHAR)
Question: What is Jon Thorne's average speed?
[/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_1963459_2 (average_speed__mph_ VARCHAR, team VARCHAR)
Question: What is Jon Thorne's average speed?
Here is the SQLite query to answer to the question: What is Jon... | bugdaryan/sql-create-context-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 (tournament VARCHAR)
Question: Name the 2008 with 2010 of 2r and wimbledon tournament
[/INST]
Here is the SQLite query to answer to the question: Name... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (tournament VARCHAR)
Question: Name the 2008 with 2010 of 2r and wimbledon tournament
Here is the SQLite query to answer to the question: Name the 2008 wit... | bugdaryan/sql-create-context-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 (colour VARCHAR, built VARCHAR)
Question: What is the color of the locomotive built by Minirail 1954?
[/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_42 (colour VARCHAR, built VARCHAR)
Question: What is the color of the locomotive built by Minirail 1954?
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_91 (power VARCHAR, year VARCHAR)
Question: Tell me the power for 1935-45
[/INST]
Here is the SQLite query to answer to the question: Tell me the power fo... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (power VARCHAR, year VARCHAR)
Question: Tell me the power for 1935-45
Here is the SQLite query to answer to the question: Tell me the power for 1935-45:
``... | bugdaryan/sql-create-context-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 (round VARCHAR, location VARCHAR, opponent VARCHAR)
Question: How many rounds in the fight in Quebec, Canada against David Loiseau?
[/INST]
Here is the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (round VARCHAR, location VARCHAR, opponent VARCHAR)
Question: How many rounds in the fight in Quebec, Canada against David Loiseau?
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_31 (silver INTEGER, rank VARCHAR, bronze VARCHAR)
Question: What is the average number of silvers for teams ranked 5 with 0 bronze?
[/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_31 (silver INTEGER, rank VARCHAR, bronze VARCHAR)
Question: What is the average number of silvers for teams ranked 5 with 0 bronze?
Here is the SQLite query t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (round INTEGER, record VARCHAR)
Question: What is the sum of Round, when Record is "19-25-5"?
[/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_70 (round INTEGER, record VARCHAR)
Question: What is the sum of Round, when Record is "19-25-5"?
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_17525955_2 (rating VARCHAR, us_air_date VARCHAR)
Question: How many rating/share values does the episode aired on Saturday, May 9, 2009?
[/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_17525955_2 (rating VARCHAR, us_air_date VARCHAR)
Question: How many rating/share values does the episode aired on Saturday, May 9, 2009?
Here is the SQLite query t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (week INTEGER, attendance VARCHAR, result VARCHAR, date VARCHAR)
Question: What is the lowest Week when the result was l 13–10, November 30, 1975, wit... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (week INTEGER, attendance VARCHAR, result VARCHAR, date VARCHAR)
Question: What is the lowest Week when the result was l 13–10, November 30, 1975, with more... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Apartment_Bookings (booking_status_code VARCHAR)
Question: Show the booking status code and the corresponding number of bookings.
[/INST]
Here is the SQLite query t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Apartment_Bookings (booking_status_code VARCHAR)
Question: Show the booking status code and the corresponding number of bookings.
Here is the SQLite query to answer to t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE orders (customer_id VARCHAR, order_status VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR)
Question: Find the names of the customers wh... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE orders (customer_id VARCHAR, order_status VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR)
Question: Find the names of the customers who have... | bugdaryan/sql-create-context-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 (investing_dragon_s_ VARCHAR, first_aired VARCHAR, entrepreneur_s_ VARCHAR)
Question: Who were the Investing Dragons in the episode that first aired o... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (investing_dragon_s_ VARCHAR, first_aired VARCHAR, entrepreneur_s_ VARCHAR)
Question: Who were the Investing Dragons in the episode that first aired on 18 J... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (title VARCHAR, director VARCHAR, release_date VARCHAR)
Question: Which title was directed by chuck jones and released on 1958-04-12?
[/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_56 (title VARCHAR, director VARCHAR, release_date VARCHAR)
Question: Which title was directed by chuck jones and released on 1958-04-12?
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_1597866_3 (regular_judge VARCHAR, host VARCHAR)
Question: Name the regular judge when host is anja rubik
[/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_1597866_3 (regular_judge VARCHAR, host VARCHAR)
Question: Name the regular judge when host is anja rubik
Here is the SQLite query to answer to the question: Name 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_69 (gloss VARCHAR, pronunciation VARCHAR)
Question: Name the gloss for [χdəm]
[/INST]
Here is the SQLite query to answer to the question: Name the gloss ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (gloss VARCHAR, pronunciation VARCHAR)
Question: Name the gloss for [χdəm]
Here is the SQLite query to answer to the question: Name the gloss for [χdə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_name_81 (starts INTEGER, year VARCHAR, poles VARCHAR, position VARCHAR)
Question: Before 2007, what was the avg start that had a pole of 0 and in 65th positio... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (starts INTEGER, year VARCHAR, poles VARCHAR, position VARCHAR)
Question: Before 2007, what was the avg start that had a pole of 0 and in 65th position?
He... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (rank INTEGER, matches VARCHAR)
Question: What is the Rank of the player with 362 Matches?
[/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_92 (rank INTEGER, matches VARCHAR)
Question: What is the Rank of the player with 362 Matches?
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_60 (year VARCHAR, notes VARCHAR)
Question: What year had 6.62 m in the notes?
[/INST]
Here is the SQLite query to answer to the question: What year had 6... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (year VARCHAR, notes VARCHAR)
Question: What year had 6.62 m in the notes?
Here is the SQLite query to answer to the question: What year had 6.62 m in 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_58 (purse___us_ INTEGER, country VARCHAR)
Question: What was sweden's purse in USD?
[/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_58 (purse___us_ INTEGER, country VARCHAR)
Question: What was sweden's purse in USD?
Here is the SQLite query to answer to the question: What was sweden's purs... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE festival_detail (Festival_Name VARCHAR, YEAR VARCHAR)
Question: Show the names of the three most recent festivals.
[/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 festival_detail (Festival_Name VARCHAR, YEAR VARCHAR)
Question: Show the names of the three most recent festivals.
Here is the SQLite query to answer to the question: Sh... | bugdaryan/sql-create-context-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 (municipality VARCHAR, proposed VARCHAR)
Question: The proposed 03/08/2004 site is in what municipality?
[/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_35 (municipality VARCHAR, proposed VARCHAR)
Question: The proposed 03/08/2004 site is in what municipality?
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 document_sections (document_code VARCHAR); CREATE TABLE documents (document_name VARCHAR, document_code VARCHAR)
Question: What is the name of the document with the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE document_sections (document_code VARCHAR); CREATE TABLE documents (document_name VARCHAR, document_code VARCHAR)
Question: What is the name of the document with the most ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27184837_1 (asia VARCHAR, americas VARCHAR)
Question: How many program data on Asia was written if the organization launched 14 programs iin the Americas?
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27184837_1 (asia VARCHAR, americas VARCHAR)
Question: How many program data on Asia was written if the organization launched 14 programs iin the Americas?
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_89 (tamil VARCHAR, hindi VARCHAR)
Question: WHAT IS THE TAMIL WITH A SUKRAVAR ?
[/INST]
Here is the SQLite query to answer to the question: WHAT IS THE T... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (tamil VARCHAR, hindi VARCHAR)
Question: WHAT IS THE TAMIL WITH A SUKRAVAR ?
Here is the SQLite query to answer to the question: WHAT IS THE TAMIL WITH A 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_11 (record VARCHAR, date VARCHAR)
Question: What is the record as of July 22?
[/INST]
Here is the SQLite query to answer to the question: What is the rec... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (record VARCHAR, date VARCHAR)
Question: What is the record as of July 22?
Here is the SQLite query to answer to the question: What is the record as of Jul... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_30121082_1 (area__acres__ INTEGER, poor_law_union VARCHAR, civil_parish VARCHAR)
Question: What is the greatest area when the Poor Law Union is Skibbereen and... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_30121082_1 (area__acres__ INTEGER, poor_law_union VARCHAR, civil_parish VARCHAR)
Question: What is the greatest area when the Poor Law Union is Skibbereen and the 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_1901751_1 (original_australian_performer VARCHAR, original_west_end_performer VARCHAR)
Question: How many original Australian performers are there when the Or... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1901751_1 (original_australian_performer VARCHAR, original_west_end_performer VARCHAR)
Question: How many original Australian performers are there when the Original... | bugdaryan/sql-create-context-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 (frequency VARCHAR, power__kw_ VARCHAR, callsign VARCHAR)
Question: What is the frequency for the 10kw station with DXEZ as its callsign?
[/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_25 (frequency VARCHAR, power__kw_ VARCHAR, callsign VARCHAR)
Question: What is the frequency for the 10kw station with DXEZ as its callsign?
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_22056184_1 (position VARCHAR, podiums VARCHAR)
Question: Which position has 9 podiums?
[/INST]
Here is the SQLite query to answer to the question: Which posit... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22056184_1 (position VARCHAR, podiums VARCHAR)
Question: Which position has 9 podiums?
Here is the SQLite query to answer to the question: Which position has 9 pod... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14752049_6 (change__2011_to_2012_ VARCHAR, change__2010_to_2011_ VARCHAR)
Question: When the change (2010 to 2011) is +1.0% what is the change (2011 to 2012)?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14752049_6 (change__2011_to_2012_ VARCHAR, change__2010_to_2011_ VARCHAR)
Question: When the change (2010 to 2011) is +1.0% what is the change (2011 to 2012)?
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_21 (home_captain VARCHAR, result VARCHAR)
Question: Which home captian has aus by 295 runs as the result?
[/INST]
Here is the SQLite query to answer to t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (home_captain VARCHAR, result VARCHAR)
Question: Which home captian has aus by 295 runs as the result?
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_37 (u15_1st_quad VARCHAR, open_3rd_viii VARCHAR, u16_3rd_viii VARCHAR)
Question: Which U15 1st Quad had an Open 3rd VIII of BBC and U16 3rd VIII of BBC?
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (u15_1st_quad VARCHAR, open_3rd_viii VARCHAR, u16_3rd_viii VARCHAR)
Question: Which U15 1st Quad had an Open 3rd VIII of BBC and U16 3rd VIII of BBC?
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_19 (_billion_ VARCHAR, electricity_production__kw_h INTEGER, _percentage_hydropower VARCHAR, _percentage_other_renewable VARCHAR, _percentage_coal VARCHAR)
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (_billion_ VARCHAR, electricity_production__kw_h INTEGER, _percentage_hydropower VARCHAR, _percentage_other_renewable VARCHAR, _percentage_coal VARCHAR)
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_70 (mountains_classification VARCHAR, general_classification VARCHAR, winner VARCHAR)
Question: Which mountains classification has a general classificati... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (mountains_classification VARCHAR, general_classification VARCHAR, winner VARCHAR)
Question: Which mountains classification has a general classification of ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (winner VARCHAR, stages VARCHAR, year VARCHAR)
Question: Who won the 17 staged event in 1987?
[/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_83 (winner VARCHAR, stages VARCHAR, year VARCHAR)
Question: Who won the 17 staged event in 1987?
Here is the SQLite query to answer to the question: Who won 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_65 (location VARCHAR, authors VARCHAR)
Question: What is the location of the authors of Molnar?
[/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_65 (location VARCHAR, authors VARCHAR)
Question: What is the location of the authors of Molnar?
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_20996923_20 (date VARCHAR, bowl_game VARCHAR)
Question: What was the date for the Champs Sports Bowl?
[/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_20996923_20 (date VARCHAR, bowl_game VARCHAR)
Question: What was the date for the Champs Sports Bowl?
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_5 (webcast VARCHAR, website VARCHAR, frequency VARCHAR)
Question: Name the webcast for website of • and frequency of 103.3
[/INST]
Here is the SQLite que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (webcast VARCHAR, website VARCHAR, frequency VARCHAR)
Question: Name the webcast for website of • and frequency of 103.3
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_35 (program VARCHAR, duration__years_ VARCHAR)
Question: Which program has 3.5 years?
[/INST]
Here is the SQLite query to answer to the question: Which p... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (program VARCHAR, duration__years_ VARCHAR)
Question: Which program has 3.5 years?
Here is the SQLite query to answer to the question: Which program has 3.... | 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.