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_27713030_7 (game INTEGER)
Question: What game in the season does this list start?
[/INST]
Here is the SQLite query to answer to the question: What game in the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27713030_7 (game INTEGER)
Question: What game in the season does this list start?
Here is the SQLite query to answer to the question: What game in the season does ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2004733_2 (population__2000_ INTEGER, area__in_km_2__ VARCHAR)
Question: How many people lived in the city which has 1.2530 km² in the year 2000?
[/INST]
Here... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2004733_2 (population__2000_ INTEGER, area__in_km_2__ VARCHAR)
Question: How many people lived in the city which has 1.2530 km² in the year 2000?
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 budget (budgeted VARCHAR, YEAR VARCHAR)
Question: How many budgets are above 3000 in year 2001 or before?
[/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 budget (budgeted VARCHAR, YEAR VARCHAR)
Question: How many budgets are above 3000 in year 2001 or before?
Here is the SQLite query to answer to the question: How many bu... | bugdaryan/sql-create-context-instruction | |
[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 (average INTEGER, start_value VARCHAR, total VARCHAR)
Question: What is the average for the gymnast with a 9.9 start value and a total of 9.612?
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (average INTEGER, start_value VARCHAR, total VARCHAR)
Question: What is the average for the gymnast with a 9.9 start value and a total of 9.612?
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_name_27 (republican_ticket VARCHAR, prohibition_ticket VARCHAR)
Question: What kind of Republican ticket has a Prohibition ticket of stephen mead wing?
[/INST... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (republican_ticket VARCHAR, prohibition_ticket VARCHAR)
Question: What kind of Republican ticket has a Prohibition ticket of stephen mead wing?
Here is the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1966992_1 (area__km_2__ VARCHAR, census_2006_population VARCHAR)
Question: How many areas (km 2) have 151511 as the census 2006 population?
[/INST]
Here is th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1966992_1 (area__km_2__ VARCHAR, census_2006_population VARCHAR)
Question: How many areas (km 2) have 151511 as the census 2006 population?
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_14 (score VARCHAR, winner VARCHAR)
Question: What was the score of Ken Still (3) when he won first place?
[/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_14 (score VARCHAR, winner VARCHAR)
Question: What was the score of Ken Still (3) when he won first place?
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_17972193_1 (date VARCHAR, opponent VARCHAR)
Question: When was the game played when the opponent was 'at Los Angeles Rams'?
[/INST]
Here is the SQLite query t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17972193_1 (date VARCHAR, opponent VARCHAR)
Question: When was the game played when the opponent was 'at Los Angeles Rams'?
Here is the SQLite query to answer to t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (method VARCHAR, event VARCHAR)
Question: The UFC 44 event has what method?
[/INST]
Here is the SQLite query to answer to the question: The UFC 44 eve... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (method VARCHAR, event VARCHAR)
Question: The UFC 44 event has what method?
Here is the SQLite query to answer to the question: The UFC 44 event has what 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_25 (rank VARCHAR, bronze VARCHAR, silver VARCHAR, gold VARCHAR)
Question: Which rank has more than 1 silver, more than 1 gold, and more than 4 bronze?
[/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (rank VARCHAR, bronze VARCHAR, silver VARCHAR, gold VARCHAR)
Question: Which rank has more than 1 silver, more than 1 gold, and more than 4 bronze?
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_32 (driver VARCHAR, team VARCHAR, points VARCHAR, grid VARCHAR)
Question: Which driver has fewer than 2 points, larger grid that 4 and is on American Spi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_32 (driver VARCHAR, team VARCHAR, points VARCHAR, grid VARCHAR)
Question: Which driver has fewer than 2 points, larger grid that 4 and is on American Spirit Te... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (rider VARCHAR, time VARCHAR)
Question: What Rider had a Time of +1:08.291?
[/INST]
Here is the SQLite query to answer to the question: What Rider had... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (rider VARCHAR, time VARCHAR)
Question: What Rider had a Time of +1:08.291?
Here is the SQLite query to answer to the question: What Rider had a Time of +1... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (group VARCHAR, distance VARCHAR)
Question: What group has 1200 m as the distance?
[/INST]
Here is the SQLite query to answer to the question: What gr... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (group VARCHAR, distance VARCHAR)
Question: What group has 1200 m as the distance?
Here is the SQLite query to answer to the question: What group has 1200 ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (team_1 VARCHAR)
Question: WHAT IS THE FIRST LEG OF TUILLA?
[/INST]
Here is the SQLite query to answer to the question: WHAT IS THE FIRST LEG OF TUILL... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (team_1 VARCHAR)
Question: WHAT IS THE FIRST LEG OF TUILLA?
Here is the SQLite query to answer to the question: WHAT IS THE FIRST LEG OF TUILLA?:
```
SELEC... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE pilot (Name VARCHAR)
Question: List all pilot names in ascending alphabetical order.
[/INST]
Here is the SQLite query to answer to the question: List all pilot name... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE pilot (Name VARCHAR)
Question: List all pilot names in ascending alphabetical order.
Here is the SQLite query to answer to the question: List all pilot names in ascendin... | bugdaryan/sql-create-context-instruction | |
[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 (third VARCHAR, teams VARCHAR, season VARCHAR)
Question: What country came in third when there were 13 teams in 1996?
[/INST]
Here is the SQLite query... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (third VARCHAR, teams VARCHAR, season VARCHAR)
Question: What country came in third when there were 13 teams in 1996?
Here is the SQLite query to answer to... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (points__pts_ INTEGER, place__posición_ INTEGER)
Question: What is the sum of all points for places above 8?
[/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_37 (points__pts_ INTEGER, place__posición_ INTEGER)
Question: What is the sum of all points for places above 8?
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_58 (driver VARCHAR, constructor VARCHAR, time_retired VARCHAR, grid VARCHAR, laps VARCHAR)
Question: What is the name of the driver with a grid less than... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (driver VARCHAR, constructor VARCHAR, time_retired VARCHAR, grid VARCHAR, laps VARCHAR)
Question: What is the name of the driver with a grid less than 14, 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_2076490_1 (enrollment__2005_ VARCHAR, type VARCHAR, school VARCHAR)
Question: What was the enrollment (2005) for baccalaureate colleges , for Granite State Co... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2076490_1 (enrollment__2005_ VARCHAR, type VARCHAR, school VARCHAR)
Question: What was the enrollment (2005) for baccalaureate colleges , for Granite State College?... | bugdaryan/sql-create-context-instruction | |
[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 (date VARCHAR, surface VARCHAR, score VARCHAR)
Question: What date was the match on a hard surface with a score of 6–4, 2–6, 3–6?
[/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_83 (date VARCHAR, surface VARCHAR, score VARCHAR)
Question: What date was the match on a hard surface with a score of 6–4, 2–6, 3–6?
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_87 (laps VARCHAR, grid VARCHAR, points VARCHAR, team VARCHAR)
Question: Waht laps have points smaller than 1, and a team of dale coyne racing, and the gr... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_87 (laps VARCHAR, grid VARCHAR, points VARCHAR, team VARCHAR)
Question: Waht laps have points smaller than 1, and a team of dale coyne racing, and the grid lar... | bugdaryan/sql-create-context-instruction | |
[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 (louise VARCHAR, dainty_june VARCHAR)
Question: Who was Louise when Tracy Venner was Dainty June?
[/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_83 (louise VARCHAR, dainty_june VARCHAR)
Question: Who was Louise when Tracy Venner was Dainty June?
Here is the SQLite query to answer to the question: Who 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_298883_5 (date_of_issue VARCHAR, obverse VARCHAR)
Question: How many different dates of issue are the for the coin with kumsusan memorial palace on the obvers... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_298883_5 (date_of_issue VARCHAR, obverse VARCHAR)
Question: How many different dates of issue are the for the coin with kumsusan memorial palace on the obverse?
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_83 (competition VARCHAR, date VARCHAR)
Question: What was the competition on October 21, 2003?
[/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_83 (competition VARCHAR, date VARCHAR)
Question: What was the competition on October 21, 2003?
Here is the SQLite query to answer to the question: What 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_66 (outcome VARCHAR, partner VARCHAR, opponents_in_the_final VARCHAR)
Question: Which outcome has a partner named Mark Dickson, with the opponents of Han... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (outcome VARCHAR, partner VARCHAR, opponents_in_the_final VARCHAR)
Question: Which outcome has a partner named Mark Dickson, with the opponents of Hans Gild... | bugdaryan/sql-create-context-instruction | |
[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 (tyre VARCHAR, entrant VARCHAR, driver VARCHAR)
Question: What is the tyre when the entrant is sa alfa romeo and the driver is luigi fagioli?
[/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 (tyre VARCHAR, entrant VARCHAR, driver VARCHAR)
Question: What is the tyre when the entrant is sa alfa romeo and the driver is luigi fagioli?
Here is the S... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2201724_1 (year VARCHAR, score_in_the_final VARCHAR)
Question: List the total number of years that have a score of 3–6, 4–6, 2–6.
[/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_2201724_1 (year VARCHAR, score_in_the_final VARCHAR)
Question: List the total number of years that have a score of 3–6, 4–6, 2–6.
Here is the SQLite query to answe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (region VARCHAR, format VARCHAR, label VARCHAR)
Question: Which region has the format CD and label MCA?
[/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_15 (region VARCHAR, format VARCHAR, label VARCHAR)
Question: Which region has the format CD and label MCA?
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_83 (gymnast VARCHAR, floor VARCHAR)
Question: Who is the gymnast with a floor score of 14.800?
[/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_83 (gymnast VARCHAR, floor VARCHAR)
Question: Who is the gymnast with a floor score of 14.800?
Here is the SQLite query to answer to the question: Who 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_1 (team VARCHAR, driver VARCHAR, car__number VARCHAR, make VARCHAR)
Question: Which team has a car # before 99, a Toyota, and is driven by Mike Skinner?
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (team VARCHAR, driver VARCHAR, car__number VARCHAR, make VARCHAR)
Question: Which team has a car # before 99, a Toyota, and is driven by Mike Skinner?
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_81 (date VARCHAR, home VARCHAR)
Question: What was the date of the game when Atlanta was the home team?
[/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_81 (date VARCHAR, home VARCHAR)
Question: What was the date of the game when Atlanta was the home team?
Here is the SQLite query to answer to the question: Wh... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (week_2 VARCHAR, week_1 VARCHAR)
Question: What Week 2 has a Week 1 of crystal beddows?
[/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_66 (week_2 VARCHAR, week_1 VARCHAR)
Question: What Week 2 has a Week 1 of crystal beddows?
Here is the SQLite query to answer to the question: What Week 2 has... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (player VARCHAR, cfl_team VARCHAR)
Question: Which Player has a CFL Team of montreal alouettes (via hamilton via winnipeg)?
[/INST]
Here is the SQLite... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (player VARCHAR, cfl_team VARCHAR)
Question: Which Player has a CFL Team of montreal alouettes (via hamilton via winnipeg)?
Here is the SQLite query to ans... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (date VARCHAR, edition VARCHAR, result VARCHAR)
Question: What date was the 1988 world group i edition with a result of 7–6 (7–5) , 6–3?
[/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_69 (date VARCHAR, edition VARCHAR, result VARCHAR)
Question: What date was the 1988 world group i edition with a result of 7–6 (7–5) , 6–3?
Here is the SQLite... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24463470_1 (setting VARCHAR, difficulty VARCHAR)
Question: What is the setting for the hard difficulty?
[/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_24463470_1 (setting VARCHAR, difficulty VARCHAR)
Question: What is the setting for the hard difficulty?
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_16331144_1 (third_place VARCHAR, season VARCHAR)
Question: Who won third place in season four?
[/INST]
Here is the SQLite query to answer to the question: Who... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16331144_1 (third_place VARCHAR, season VARCHAR)
Question: Who won third place in season four?
Here is the SQLite query to answer to the question: Who won third 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_56 (byes INTEGER, against VARCHAR, wimmera_fl VARCHAR)
Question: Which Byes have an Against larger than 1018, and a Wimmera FL of horsham diggers?
[/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 (byes INTEGER, against VARCHAR, wimmera_fl VARCHAR)
Question: Which Byes have an Against larger than 1018, and a Wimmera FL of horsham diggers?
Here is the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (airport VARCHAR, iata VARCHAR)
Question: Which airport has IATA of BKK?
[/INST]
Here is the SQLite query to answer to the question: Which airport has... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (airport VARCHAR, iata VARCHAR)
Question: Which airport has IATA of BKK?
Here is the SQLite query to answer to the question: Which airport has IATA of BKK?... | bugdaryan/sql-create-context-instruction | |
[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 (qual VARCHAR, rank VARCHAR, year VARCHAR)
Question: What is the qualification for rank of 29 in 1957?
[/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_70 (qual VARCHAR, rank VARCHAR, year VARCHAR)
Question: What is the qualification for rank of 29 in 1957?
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_25703_1 (birth_2013 INTEGER, death_2012 VARCHAR)
Question: What is the highest birth/2013 when the death/2012 is 14,1?
[/INST]
Here is the SQLite query to ans... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25703_1 (birth_2013 INTEGER, death_2012 VARCHAR)
Question: What is the highest birth/2013 when the death/2012 is 14,1?
Here is the SQLite query to answer to the qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (method VARCHAR, record VARCHAR)
Question: Which method has the record of 11-1?
[/INST]
Here is the SQLite query to answer to the question: Which metho... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (method VARCHAR, record VARCHAR)
Question: Which method has the record of 11-1?
Here is the SQLite query to answer to the question: Which method has the rec... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (record VARCHAR, march VARCHAR)
Question: which Record is on March of 12
[/INST]
Here is the SQLite query to answer to the question: which Record is o... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (record VARCHAR, march VARCHAR)
Question: which Record is on March of 12
Here is the SQLite query to answer to the question: which Record is on March of 12... | bugdaryan/sql-create-context-instruction | |
[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 (city_of_license VARCHAR, frequency VARCHAR)
Question: What city is 103.3 FM licensed in?
[/INST]
Here is the SQLite query to answer to the question: ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (city_of_license VARCHAR, frequency VARCHAR)
Question: What city is 103.3 FM licensed in?
Here is the SQLite query to answer to the question: What city 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_60 (russian VARCHAR, ratio VARCHAR)
Question: What Russian has a Ratio of 40?
[/INST]
Here is the SQLite query to answer to the question: What Russian ha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (russian VARCHAR, ratio VARCHAR)
Question: What Russian has a Ratio of 40?
Here is the SQLite query to answer to the question: What Russian has a Ratio 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_44 (points VARCHAR, performer VARCHAR)
Question: How many points did Nigel Connell have?
[/INST]
Here is the SQLite query to answer to the question: How ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_44 (points VARCHAR, performer VARCHAR)
Question: How many points did Nigel Connell have?
Here is the SQLite query to answer to the question: How many points d... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (draw VARCHAR, place VARCHAR, televotes VARCHAR, song VARCHAR)
Question: What is the total number of Draw(s), when Televotes is greater than 1761, when... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (draw VARCHAR, place VARCHAR, televotes VARCHAR, song VARCHAR)
Question: What is the total number of Draw(s), when Televotes is greater than 1761, when Song ... | bugdaryan/sql-create-context-instruction | |
[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 (time_retired VARCHAR, grid VARCHAR)
Question: What time/retired for grid 18?
[/INST]
Here is the SQLite query to answer to the question: What time/re... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (time_retired VARCHAR, grid VARCHAR)
Question: What time/retired for grid 18?
Here is the SQLite query to answer to the question: What time/retired for gri... | bugdaryan/sql-create-context-instruction | |
[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 (event VARCHAR, round VARCHAR, opponent VARCHAR)
Question: Which event lasted 1 round and included an opponent of Dan Spychalski?
[/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_36 (event VARCHAR, round VARCHAR, opponent VARCHAR)
Question: Which event lasted 1 round and included an opponent of Dan Spychalski?
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_55 (platform VARCHAR, current_version VARCHAR)
Question: What Platform has a Current Version 0.6.2?
[/INST]
Here is the SQLite query to answer to the que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (platform VARCHAR, current_version VARCHAR)
Question: What Platform has a Current Version 0.6.2?
Here is the SQLite query to answer to the question: What P... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (score VARCHAR, loss VARCHAR)
Question: What was the score of the game that had a loss of Embree (1-2)?
[/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_98 (score VARCHAR, loss VARCHAR)
Question: What was the score of the game that had a loss of Embree (1-2)?
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_38 (qual VARCHAR, year VARCHAR)
Question: What is the Qual listed on the Year of 1954?
[/INST]
Here is the SQLite query to answer to the question: What i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (qual VARCHAR, year VARCHAR)
Question: What is the Qual listed on the Year of 1954?
Here is the SQLite query to answer to the question: What is the Qual li... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14342592_7 (points INTEGER, position VARCHAR, extra_points VARCHAR)
Question: How many maximum points were there when the left tackle was played and there wer... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14342592_7 (points INTEGER, position VARCHAR, extra_points VARCHAR)
Question: How many maximum points were there when the left tackle was played and there were 5 ex... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (score VARCHAR, country VARCHAR, player VARCHAR)
Question: What is the total number of Score, when Country is "United States", and when Player is "Lee... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (score VARCHAR, country VARCHAR, player VARCHAR)
Question: What is the total number of Score, when Country is "United States", and when Player is "Lee Trevi... | bugdaryan/sql-create-context-instruction | |
[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 (date VARCHAR, home_team VARCHAR)
Question: What date did the home team of footscray play?
[/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_85 (date VARCHAR, home_team VARCHAR)
Question: What date did the home team of footscray play?
Here is the SQLite query to answer to the question: What date di... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE manufacturer (name VARCHAR, open_year VARCHAR, num_of_shops VARCHAR, Num_of_Factories VARCHAR)
Question: Give me the name and year of opening of the manufacturers t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE manufacturer (name VARCHAR, open_year VARCHAR, num_of_shops VARCHAR, Num_of_Factories VARCHAR)
Question: Give me the name and year of opening of the manufacturers that ha... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (player VARCHAR, pos VARCHAR, previous_team VARCHAR)
Question: What F Player was previously with the New York Knicks?
[/INST]
Here is the SQLite query... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (player VARCHAR, pos VARCHAR, previous_team VARCHAR)
Question: What F Player was previously with the New York Knicks?
Here is the SQLite query to answer to... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (attendance INTEGER, date VARCHAR, points VARCHAR)
Question: What is the lowest Attendance, when Date is "February 4", and when Points is less than 57... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (attendance INTEGER, date VARCHAR, points VARCHAR)
Question: What is the lowest Attendance, when Date is "February 4", and when Points is less than 57?
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_36 (money___$__ VARCHAR, place VARCHAR, player VARCHAR)
Question: How much money does player ben crenshaw, who has a t4 place, have?
[/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_36 (money___$__ VARCHAR, place VARCHAR, player VARCHAR)
Question: How much money does player ben crenshaw, who has a t4 place, have?
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_25 (record VARCHAR, week VARCHAR, opponent VARCHAR)
Question: What is the Record in a week later than 7 against the San Diego Chargers?
[/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_25 (record VARCHAR, week VARCHAR, opponent VARCHAR)
Question: What is the Record in a week later than 7 against the San Diego Chargers?
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_91 (podium VARCHAR, flap VARCHAR, race VARCHAR, season VARCHAR)
Question: How many podiums had a race higher than 14 in 1996 and a Flap lower than 9?
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (podium VARCHAR, flap VARCHAR, race VARCHAR, season VARCHAR)
Question: How many podiums had a race higher than 14 in 1996 and a Flap lower than 9?
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_5 (opponent VARCHAR, opponents VARCHAR)
Question: Who is the opponent with 16 points?
[/INST]
Here is the SQLite query to answer to the question: Who is ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (opponent VARCHAR, opponents VARCHAR)
Question: Who is the opponent with 16 points?
Here is the SQLite query to answer to the question: Who is the opponent ... | bugdaryan/sql-create-context-instruction | |
[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 (away_captain VARCHAR, venue VARCHAR)
Question: Who was the away captain for matches played at Trent Bridge?
[/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_81 (away_captain VARCHAR, venue VARCHAR)
Question: Who was the away captain for matches played at Trent Bridge?
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_1439045_5 (die_size__mm_2___ VARCHAR, model VARCHAR)
Question: What is the die size(mm 2) for model sgx531?
[/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_1439045_5 (die_size__mm_2___ VARCHAR, model VARCHAR)
Question: What is the die size(mm 2) for model sgx531?
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_23 (record VARCHAR, score VARCHAR, home VARCHAR)
Question: Which Record has a Score of 2–4, and a Home of quebec nordiques?
[/INST]
Here is the SQLite qu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (record VARCHAR, score VARCHAR, home VARCHAR)
Question: Which Record has a Score of 2–4, and a Home of quebec nordiques?
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_10 (safari VARCHAR, firefox VARCHAR)
Question: What was the percentage of safari when firefox was 24.66%
[/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_10 (safari VARCHAR, firefox VARCHAR)
Question: What was the percentage of safari when firefox was 24.66%
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_52 (round INTEGER, pick__number VARCHAR, position VARCHAR)
Question: Which Round is the average one that has a Pick # larger than 26, and a Position of d... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (round INTEGER, pick__number VARCHAR, position VARCHAR)
Question: Which Round is the average one that has a Pick # larger than 26, and a Position of defensi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1108394_47 (_percentage VARCHAR, queens VARCHAR)
Question: The man who received 87,676 votes in Queens won what percentage of the total for the election?
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1108394_47 (_percentage VARCHAR, queens VARCHAR)
Question: The man who received 87,676 votes in Queens won what percentage of the total for the election?
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_99 (tie_no VARCHAR, away_team VARCHAR)
Question: What is the Tie no for the game with the away team Whyteleafe?
[/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_99 (tie_no VARCHAR, away_team VARCHAR)
Question: What is the Tie no for the game with the away team Whyteleafe?
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_274117_5 (seasons_by_team VARCHAR, position VARCHAR, number VARCHAR)
Question: What are seasons by team for Pro Bowl appearances of the player who was an OL a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_274117_5 (seasons_by_team VARCHAR, position VARCHAR, number VARCHAR)
Question: What are seasons by team for Pro Bowl appearances of the player who was an OL and had... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (date VARCHAR, round VARCHAR)
Question: What is the date where the round is R3?
[/INST]
Here is the SQLite query to answer to the question: What is th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (date VARCHAR, round VARCHAR)
Question: What is the date where the round is R3?
Here is the SQLite query to answer to the question: What is the date where ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (vs_all VARCHAR, vs_terran VARCHAR)
Question: What is the score vs. all when the score vs. Terran is 159?
[/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_72 (vs_all VARCHAR, vs_terran VARCHAR)
Question: What is the score vs. all when the score vs. Terran is 159?
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_12834315_8 (barrel_twist VARCHAR, barrel_profile VARCHAR)
Question: What is the value of barrel twist when the barrel profile is SFW?
[/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_12834315_8 (barrel_twist VARCHAR, barrel_profile VARCHAR)
Question: What is the value of barrel twist when the barrel profile is SFW?
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_96 (crowd VARCHAR, home_team VARCHAR)
Question: How big was the crowd when Geelong was the home team?
[/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_96 (crowd VARCHAR, home_team VARCHAR)
Question: How big was the crowd when Geelong was the home team?
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_name_6 (velodrome VARCHAR, distance VARCHAR, pacing VARCHAR, year VARCHAR, country VARCHAR)
Question: What velodrome took place earlier than 1950 with a winne... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (velodrome VARCHAR, distance VARCHAR, pacing VARCHAR, year VARCHAR, country VARCHAR)
Question: What velodrome took place earlier than 1950 with a winner from... | bugdaryan/sql-create-context-instruction | |
[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 (attendance INTEGER, game VARCHAR)
Question: The game of 6 has what lowest attendance?
[/INST]
Here is the SQLite query to answer to the question: 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 (attendance INTEGER, game VARCHAR)
Question: The game of 6 has what lowest attendance?
Here is the SQLite query to answer to the question: The game of 6 ha... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (result VARCHAR, goals VARCHAR)
Question: I want the result for goals which has goals of deacon 6/6
[/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_52 (result VARCHAR, goals VARCHAR)
Question: I want the result for goals which has goals of deacon 6/6
Here is the SQLite query to answer to the question: I 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_1013129_8 (nationality VARCHAR, pick VARCHAR)
Question: How many nationalities are the pick 193?
[/INST]
Here is the SQLite query to answer to the question: H... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1013129_8 (nationality VARCHAR, pick VARCHAR)
Question: How many nationalities are the pick 193?
Here is the SQLite query to answer to the question: How many natio... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (ntfa_div_1 VARCHAR, draws VARCHAR, wins VARCHAR)
Question: What is the NTFA Div 1 team that has 15 wins and less than 1 draw?
[/INST]
Here is the SQL... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (ntfa_div_1 VARCHAR, draws VARCHAR, wins VARCHAR)
Question: What is the NTFA Div 1 team that has 15 wins and less than 1 draw?
Here is the SQLite query to ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (record VARCHAR, week VARCHAR)
Question: What was the team record by Week 8?
[/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_name_60 (record VARCHAR, week VARCHAR)
Question: What was the team record by Week 8?
Here is the SQLite query to answer to the question: What was the team record b... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11190568_7 (date_of_vacancy VARCHAR, replaced_by VARCHAR)
Question: When is the date of vacancy of Davy Fitzgerald being a replacement?
[/INST]
Here is the SQ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11190568_7 (date_of_vacancy VARCHAR, replaced_by VARCHAR)
Question: When is the date of vacancy of Davy Fitzgerald being a replacement?
Here is the SQLite query to... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (opponent VARCHAR, round VARCHAR, record VARCHAR)
Question: Who was the opponent when he went more than 1 round with a record of 12-7?
[/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_46 (opponent VARCHAR, round VARCHAR, record VARCHAR)
Question: Who was the opponent when he went more than 1 round with a record of 12-7?
Here is the SQLite q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (date VARCHAR, opponent VARCHAR)
Question: On what Date was Rafael Nadal the Opponent?
[/INST]
Here is the SQLite query to answer to the question: On ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (date VARCHAR, opponent VARCHAR)
Question: On what Date was Rafael Nadal the Opponent?
Here is the SQLite query to answer to the question: On what Date 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_32 (Id VARCHAR)
Question: What shows for 2009 when 25 shows for 2011?
[/INST]
Here is the SQLite query to answer to the question: What shows for 2009 whe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_32 (Id VARCHAR)
Question: What shows for 2009 when 25 shows for 2011?
Here is the SQLite query to answer to the question: What shows for 2009 when 25 shows fo... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_228973_3 (no_in_season VARCHAR, original_air_date VARCHAR)
Question: which is the number of the season episode whose premiere was in january 3, 1997?
[/INST]
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_228973_3 (no_in_season VARCHAR, original_air_date VARCHAR)
Question: which is the number of the season episode whose premiere was in january 3, 1997?
Here is the S... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (capacity INTEGER, stadium VARCHAR, highest VARCHAR)
Question: What's the capacity that has the highest greater than 1,763 and is at Hampden Park?
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (capacity INTEGER, stadium VARCHAR, highest VARCHAR)
Question: What's the capacity that has the highest greater than 1,763 and is at Hampden Park?
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_245801_1 (flight_up VARCHAR, landing_date VARCHAR)
Question: Name the flight up for 10 december 1982 19:02:36 utc
[/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_245801_1 (flight_up VARCHAR, landing_date VARCHAR)
Question: Name the flight up for 10 december 1982 19:02:36 utc
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 races (name VARCHAR, date VARCHAR)
Question: What is the name of the race held most recently?
[/INST]
Here is the SQLite query to answer to the question: What is th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE races (name VARCHAR, date VARCHAR)
Question: What is the name of the race held most recently?
Here is the SQLite query to answer to the question: What is the name of 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_28194879_1 (_number INTEGER, written_by VARCHAR)
Question: What is the last number in season of the episodes written by Dan Vebber?
[/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_28194879_1 (_number INTEGER, written_by VARCHAR)
Question: What is the last number in season of the episodes written by Dan Vebber?
Here is the SQLite query to ans... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_87 (driver VARCHAR, grid VARCHAR, time_retired VARCHAR)
Question: What driver has a grid under 12 with a Time/Retired of + 3 laps?
[/INST]
Here is the SQ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_87 (driver VARCHAR, grid VARCHAR, time_retired VARCHAR)
Question: What driver has a grid under 12 with a Time/Retired of + 3 laps?
Here is the SQLite query to... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table (r INTEGER, player VARCHAR, Marcelo VARCHAR)
Question: If the player is Marcelo, what is the minimum R?
[/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 (r INTEGER, player VARCHAR, Marcelo VARCHAR)
Question: If the player is Marcelo, what is the minimum R?
Here is the SQLite query to answer to the question: If 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_26 (result VARCHAR, home_team VARCHAR, game VARCHAR)
Question: What is the result of game 5 with Los Angeles as the home team?
[/INST]
Here is the SQLite... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (result VARCHAR, home_team VARCHAR, game VARCHAR)
Question: What is the result of game 5 with Los Angeles as the home team?
Here is the SQLite query to ans... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (finish VARCHAR, country VARCHAR, player VARCHAR)
Question: What is Finish, when Country is "United States", and when Player is "Julius Boros"?
[/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 (finish VARCHAR, country VARCHAR, player VARCHAR)
Question: What is Finish, when Country is "United States", and when Player is "Julius Boros"?
Here is the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (year INTEGER, quantity VARCHAR, gwr_numbers VARCHAR)
Question: What is the average Year that has a Quantity of 10, and a GWR Numbers of 409, 290, 315... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (year INTEGER, quantity VARCHAR, gwr_numbers VARCHAR)
Question: What is the average Year that has a Quantity of 10, and a GWR Numbers of 409, 290, 315, 317–... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18686317_1 (qb_rating VARCHAR, comp__percentage VARCHAR)
Question: What is the Quarterback rating of the player who got a comp percentage of 62.0?
[/INST]
Her... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18686317_1 (qb_rating VARCHAR, comp__percentage VARCHAR)
Question: What is the Quarterback rating of the player who got a comp percentage of 62.0?
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_27755784_8 (score VARCHAR, high_points VARCHAR)
Question: What is the score when the hight points is Monta Ellis (29)?
[/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_27755784_8 (score VARCHAR, high_points VARCHAR)
Question: What is the score when the hight points is Monta Ellis (29)?
Here is the SQLite query to answer to the q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (artist VARCHAR, issue_price VARCHAR)
Question: Which Artist has an Issue Price of $8,159.95?
[/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_11 (artist VARCHAR, issue_price VARCHAR)
Question: Which Artist has an Issue Price of $8,159.95?
Here is the SQLite query to answer to the question: Which Art... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_30018460_1 (manhunt_international INTEGER)
Question: What is the minimum manhunt beauty contest?
[/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_30018460_1 (manhunt_international INTEGER)
Question: What is the minimum manhunt beauty contest?
Here is the SQLite query to answer to the question: What is the 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_48 (years VARCHAR, name VARCHAR)
Question: Name the years for dannevirke south school
[/INST]
Here is the SQLite query to answer to the question: Name th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (years VARCHAR, name VARCHAR)
Question: Name the years for dannevirke south school
Here is the SQLite query to answer to the question: Name the years for d... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (player VARCHAR, score VARCHAR)
Question: Who had a score of 68-67=135?
[/INST]
Here is the SQLite query to answer to the question: Who had a score of... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (player VARCHAR, score VARCHAR)
Question: Who had a score of 68-67=135?
Here is the SQLite query to answer to the question: Who had a score of 68-67=135?:
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10528691_4 (print_resolution__dpi__resolution_is_given_in_dots_per_inch__dpi_ VARCHAR, introduction VARCHAR)
Question: What is the print resolution (FPI) for ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10528691_4 (print_resolution__dpi__resolution_is_given_in_dots_per_inch__dpi_ VARCHAR, introduction VARCHAR)
Question: What is the print resolution (FPI) for Decemb... | 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.