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_22875369_3 (location VARCHAR, record VARCHAR)
Question: Name the number of location for 22-1
[/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_22875369_3 (location VARCHAR, record VARCHAR)
Question: Name the number of location for 22-1
Here is the SQLite query to answer to the question: Name the number 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_40 (away_team VARCHAR, home_team VARCHAR)
Question: What was Essendon's opponents away score?
[/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_40 (away_team VARCHAR, home_team VARCHAR)
Question: What was Essendon's opponents away score?
Here is the SQLite query to answer to the question: What was Ess... | bugdaryan/sql-create-context-instruction | |
[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_of_inauguration VARCHAR)
Question: What was the date of the inauguration in the row with an entry of lifespan in the lifespan column?
[/INST]
He... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (date_of_inauguration VARCHAR)
Question: What was the date of the inauguration in the row with an entry of lifespan in the lifespan column?
Here is the SQL... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (week VARCHAR, school VARCHAR)
Question: What is the week with a school that is ball state?
[/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_19 (week VARCHAR, school VARCHAR)
Question: What is the week with a school that is ball state?
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_31 (goal_gain INTEGER, game INTEGER)
Question: What team with a Game smaller than 18 has the lowest Goal Gain?
[/INST]
Here is the SQLite query to answer... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (goal_gain INTEGER, game INTEGER)
Question: What team with a Game smaller than 18 has the lowest Goal Gain?
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 (bronze INTEGER, sport VARCHAR, silver VARCHAR)
Question: What is the football Bronze with more than 1 Silver?
[/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 (bronze INTEGER, sport VARCHAR, silver VARCHAR)
Question: What is the football Bronze with more than 1 Silver?
Here is the SQLite query to answer to the que... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (top_25 VARCHAR, events INTEGER)
Question: What is the total number of Top-25, when Events is greater than 86?
[/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_name_65 (top_25 VARCHAR, events INTEGER)
Question: What is the total number of Top-25, when Events is greater than 86?
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 dorm (dorm_name VARCHAR, gender VARCHAR)
Question: Find the name of dorms only for female (F gender).
[/INST]
Here is the SQLite query to answer to the question: Fi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE dorm (dorm_name VARCHAR, gender VARCHAR)
Question: Find the name of dorms only for female (F gender).
Here is the SQLite query to answer to the question: Find the name o... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (engine VARCHAR, entrant VARCHAR)
Question: What engine does Garvey Team Lotus use?
[/INST]
Here is the SQLite query to answer to the question: What e... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (engine VARCHAR, entrant VARCHAR)
Question: What engine does Garvey Team Lotus use?
Here is the SQLite query to answer to the question: What engine does Ga... | bugdaryan/sql-create-context-instruction | |
[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 (date VARCHAR, venue VARCHAR, goal VARCHAR)
Question: When was the venue mexico city, mexico with a goal of 8?
[/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 (date VARCHAR, venue VARCHAR, goal VARCHAR)
Question: When was the venue mexico city, mexico with a goal of 8?
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_80 (laps INTEGER, year VARCHAR)
Question: Which Laps has a Year of 2007?
[/INST]
Here is the SQLite query to answer to the question: Which Laps has a Yea... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (laps INTEGER, year VARCHAR)
Question: Which Laps has a Year of 2007?
Here is the SQLite query to answer to the question: Which Laps has a Year of 2007?:
`... | bugdaryan/sql-create-context-instruction | |
[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 (competition VARCHAR, opponent VARCHAR, date VARCHAR)
Question: What was the name of the competition that had Peterborough Phantoms as an opponent and... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (competition VARCHAR, opponent VARCHAR, date VARCHAR)
Question: What was the name of the competition that had Peterborough Phantoms as an opponent and a dat... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (format VARCHAR, catalog VARCHAR)
Question: What is the Format for the alca-487 catalog?
[/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_12 (format VARCHAR, catalog VARCHAR)
Question: What is the Format for the alca-487 catalog?
Here is the SQLite query to answer to the question: What is the 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_16575609_5 (college VARCHAR, pick__number VARCHAR)
Question: How many colleges did the player drafted at 36 attend?
[/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_16575609_5 (college VARCHAR, pick__number VARCHAR)
Question: How many colleges did the player drafted at 36 attend?
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_67 (opponent VARCHAR, record VARCHAR)
Question: Who was the opponent at the game when the record was 71-78?
[/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_67 (opponent VARCHAR, record VARCHAR)
Question: Who was the opponent at the game when the record was 71-78?
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_20 (team__number2 VARCHAR)
Question: What is the 2nd leg of dinamo minsk team #2?
[/INST]
Here is the SQLite query to answer to the question: What is the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (team__number2 VARCHAR)
Question: What is the 2nd leg of dinamo minsk team #2?
Here is the SQLite query to answer to the question: What is the 2nd leg of 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_53 (game INTEGER, score VARCHAR)
Question: What is the lowest game when the score is 102-104?
[/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_53 (game INTEGER, score VARCHAR)
Question: What is the lowest game when the score is 102-104?
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_76 (attendance INTEGER, tie_no VARCHAR)
Question: How many attended tie number 19?
[/INST]
Here is the SQLite query to answer to the question: How many a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (attendance INTEGER, tie_no VARCHAR)
Question: How many attended tie number 19?
Here is the SQLite query to answer to the question: How many attended tie n... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1886270_1 (cr_no INTEGER)
Question: What is the lowest cr number?
[/INST]
Here is the SQLite query to answer to the question: What is the lowest cr number?:
`... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1886270_1 (cr_no INTEGER)
Question: What is the lowest cr number?
Here is the SQLite query to answer to the question: What is the lowest cr number?:
```
SELECT MIN... | bugdaryan/sql-create-context-instruction | |
[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 (genre VARCHAR, station VARCHAR)
Question: What is the genre of the BBC World Service?
[/INST]
Here is the SQLite query to answer to the question: Wha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (genre VARCHAR, station VARCHAR)
Question: What is the genre of the BBC World Service?
Here is the SQLite query to answer to the question: What is the genr... | bugdaryan/sql-create-context-instruction | |
[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 (driver VARCHAR, grid VARCHAR)
Question: What driver has grid number 18?
[/INST]
Here is the SQLite query to answer to the question: What driver has g... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (driver VARCHAR, grid VARCHAR)
Question: What driver has grid number 18?
Here is the SQLite query to answer to the question: What driver has grid number 18... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (fall_08 INTEGER, fall_09 VARCHAR, fall_05 VARCHAR)
Question: What is the largest value for Fall 08 when Fall 09 is 792 and Fall 05 is less than 791?
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (fall_08 INTEGER, fall_09 VARCHAR, fall_05 VARCHAR)
Question: What is the largest value for Fall 08 when Fall 09 is 792 and Fall 05 is less than 791?
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_84 (designation VARCHAR, quantity VARCHAR)
Question: Which Designation has a Quantity of 52?
[/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_84 (designation VARCHAR, quantity VARCHAR)
Question: Which Designation has a Quantity of 52?
Here is the SQLite query to answer to the question: Which Designa... | bugdaryan/sql-create-context-instruction | |
[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 (Id VARCHAR)
Question: How many 2007s have 0.2 as a 2006, with a 2010 less than 0.1?
[/INST]
Here is the SQLite query to answer to the question: How m... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (Id VARCHAR)
Question: How many 2007s have 0.2 as a 2006, with a 2010 less than 0.1?
Here is the SQLite query to answer to the question: How many 2007s hav... | bugdaryan/sql-create-context-instruction | |
[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 (Id VARCHAR)
Question: Name the 2008 with 1998 of a and 2002 of 1r with 2004 of 2r
[/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_88 (Id VARCHAR)
Question: Name the 2008 with 1998 of a and 2002 of 1r with 2004 of 2r
Here is the SQLite query to answer to the question: Name the 2008 with 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_56 (erp_w INTEGER, class VARCHAR, frequency_mhz VARCHAR)
Question: Name the sum of ERP W for class of d and frequency mhz of 98.7
[/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_56 (erp_w INTEGER, class VARCHAR, frequency_mhz VARCHAR)
Question: Name the sum of ERP W for class of d and frequency mhz of 98.7
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_29 (league_cup INTEGER, position VARCHAR, UEfa_cup VARCHAR)
Question: What is the sum of the appearances at the league cup for the defender who had less ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (league_cup INTEGER, position VARCHAR, UEfa_cup VARCHAR)
Question: What is the sum of the appearances at the league cup for the defender who had less than 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_70 (finish VARCHAR, player VARCHAR, total VARCHAR, to_par VARCHAR)
Question: What was the finish with a total larger than 286, a to par of +4 and Bob Twa... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (finish VARCHAR, player VARCHAR, total VARCHAR, to_par VARCHAR)
Question: What was the finish with a total larger than 286, a to par of +4 and Bob Tway play... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Person (name VARCHAR, age INTEGER); CREATE TABLE person (name VARCHAR, age INTEGER)
Question: Who is the oldest person?
[/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 Person (name VARCHAR, age INTEGER); CREATE TABLE person (name VARCHAR, age INTEGER)
Question: Who is the oldest person?
Here is the SQLite query to answer to the questio... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (year INTEGER, result VARCHAR, location VARCHAR)
Question: Which Year has a Result smaller than 20.26, and a Location of eugene?
[/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_80 (year INTEGER, result VARCHAR, location VARCHAR)
Question: Which Year has a Result smaller than 20.26, and a Location of eugene?
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_15 (mintage VARCHAR, theme VARCHAR)
Question: What was the mintage when the theme was Santa Claus?
[/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_15 (mintage VARCHAR, theme VARCHAR)
Question: What was the mintage when the theme was Santa Claus?
Here is the SQLite query to answer to the question: What wa... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (round VARCHAR, position VARCHAR)
Question: How many Rounds have a Defensive End Pick?
[/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_16 (round VARCHAR, position VARCHAR)
Question: How many Rounds have a Defensive End Pick?
Here is the SQLite query to answer to the question: How many Rounds ... | bugdaryan/sql-create-context-instruction | |
[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 (date VARCHAR, japan VARCHAR)
Question: Which date had Japanese sales of 0.59 million?
[/INST]
Here is the SQLite query to answer to the question: Whi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (date VARCHAR, japan VARCHAR)
Question: Which date had Japanese sales of 0.59 million?
Here is the SQLite query to answer to the question: Which date had 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_65 (kerry__number INTEGER, others__percentage VARCHAR, kerry__percentage VARCHAR)
Question: What was Kerry's lowest number of votes where Other received ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (kerry__number INTEGER, others__percentage VARCHAR, kerry__percentage VARCHAR)
Question: What was Kerry's lowest number of votes where Other received 0.8% 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 Other_Available_Features (Id VARCHAR)
Question: How many available features are there in total?
[/INST]
Here is the SQLite query to answer to the question: How many... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Other_Available_Features (Id VARCHAR)
Question: How many available features are there in total?
Here is the SQLite query to answer to the question: How many available fe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_127511_1 (ion_torrent_pgm VARCHAR, sanger_3730xl VARCHAR)
Question: How many times was Sanger 3730xl $2400 usd?
[/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_127511_1 (ion_torrent_pgm VARCHAR, sanger_3730xl VARCHAR)
Question: How many times was Sanger 3730xl $2400 usd?
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_19643196_1 (fleet__number VARCHAR, length__ft_ VARCHAR)
Question: What is the fleet number when the length (ft) is 30?
[/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_19643196_1 (fleet__number VARCHAR, length__ft_ VARCHAR)
Question: What is the fleet number when the length (ft) is 30?
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_15869204_5 (high_assists VARCHAR, location_attendance VARCHAR)
Question: Name the high assists for delta center 19,639
[/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_15869204_5 (high_assists VARCHAR, location_attendance VARCHAR)
Question: Name the high assists for delta center 19,639
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_14889988_1 (title VARCHAR, written_by VARCHAR)
Question: What is the title for the episode written by Robert Carlock & Dana Klein Borkow?
[/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_14889988_1 (title VARCHAR, written_by VARCHAR)
Question: What is the title for the episode written by Robert Carlock & Dana Klein Borkow?
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 Student (city_code VARCHAR)
Question: How many students live in HKG or CHI?
[/INST]
Here is the SQLite query to answer to the question: How many students live in HK... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Student (city_code VARCHAR)
Question: How many students live in HKG or CHI?
Here is the SQLite query to answer to the question: How many students live in HKG or CHI?:
``... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (constructor VARCHAR, grid VARCHAR, time_retired VARCHAR)
Question: Who built the 21 grid car that retired due to suspension?
[/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_80 (constructor VARCHAR, grid VARCHAR, time_retired VARCHAR)
Question: Who built the 21 grid car that retired due to suspension?
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_1341865_44 (party VARCHAR, district VARCHAR)
Question: what's party with district being tennessee 3
[/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_1341865_44 (party VARCHAR, district VARCHAR)
Question: what's party with district being tennessee 3
Here is the SQLite query to answer to the question: what's part... | bugdaryan/sql-create-context-instruction | |
[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 (overall INTEGER, round VARCHAR)
Question: What is the overall sum of round 3?
[/INST]
Here is the SQLite query to answer to the question: What is the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (overall INTEGER, round VARCHAR)
Question: What is the overall sum of round 3?
Here is the SQLite query to answer to the question: What is the overall sum ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11147852_1 (channel_tv___dt__ VARCHAR, year_of_affiliation VARCHAR)
Question: What channels have stations that were affiliated in 2002?
[/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_11147852_1 (channel_tv___dt__ VARCHAR, year_of_affiliation VARCHAR)
Question: What channels have stations that were affiliated in 2002?
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_25353861_5 (rebounds VARCHAR, player VARCHAR)
Question: How many rebounds did Tammy Sutton-Brown have?
[/INST]
Here is the SQLite query to answer to the quest... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25353861_5 (rebounds VARCHAR, player VARCHAR)
Question: How many rebounds did Tammy Sutton-Brown have?
Here is the SQLite query to answer to the question: How many... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE playlists (name VARCHAR)
Question: List the name of all playlist.
[/INST]
Here is the SQLite query to answer to the question: List the name of all playlist.:
```
SE... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE playlists (name VARCHAR)
Question: List the name of all playlist.
Here is the SQLite query to answer to the question: List the name of all playlist.:
```
SELECT name FRO... | bugdaryan/sql-create-context-instruction | |
[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 (year INTEGER, points VARCHAR, team VARCHAR, wins VARCHAR)
Question: What is the highest year that Carlos drove for repsol honda and had less than 4 w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (year INTEGER, points VARCHAR, team VARCHAR, wins VARCHAR)
Question: What is the highest year that Carlos drove for repsol honda and had less than 4 wins an... | bugdaryan/sql-create-context-instruction | |
[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 (chef VARCHAR, restaurant_name VARCHAR, location VARCHAR, original_name VARCHAR)
Question: What chef that has a location in Toronto, ON, that has n/a a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (chef VARCHAR, restaurant_name VARCHAR, location VARCHAR, original_name VARCHAR)
Question: What chef that has a location in Toronto, ON, that has n/a as 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_18 (position INTEGER, pilot VARCHAR)
Question: What is Erwin Sommer's average position?
[/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_18 (position INTEGER, pilot VARCHAR)
Question: What is Erwin Sommer's average position?
Here is the SQLite query to answer to the question: What is Erwin Somm... | bugdaryan/sql-create-context-instruction | |
[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 (goal_ratio INTEGER, debut_in_europe VARCHAR, goals VARCHAR, games VARCHAR)
Question: What's the average goal ratio with Goals larger than 1, Games la... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (goal_ratio INTEGER, debut_in_europe VARCHAR, goals VARCHAR, games VARCHAR)
Question: What's the average goal ratio with Goals larger than 1, Games larger 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_96 (title VARCHAR, language VARCHAR, network VARCHAR)
Question: What is the title for the Korean progran on KBS2?
[/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_name_96 (title VARCHAR, language VARCHAR, network VARCHAR)
Question: What is the title for the Korean progran on KBS2?
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_22133191_3 (date_of_appointment VARCHAR, position_in_table VARCHAR)
Question: What was the date of appointment for the 10th person in position?
[/INST]
Here i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22133191_3 (date_of_appointment VARCHAR, position_in_table VARCHAR)
Question: What was the date of appointment for the 10th person in position?
Here is the SQLite ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (rank INTEGER, country VARCHAR)
Question: What is the rank for the competitor from Bulgaria?
[/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_16 (rank INTEGER, country VARCHAR)
Question: What is the rank for the competitor from Bulgaria?
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_name_67 (name VARCHAR, took_office VARCHAR)
Question: Who has Took Office of march 4, 1875?
[/INST]
Here is the SQLite query to answer to the question: Who ha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (name VARCHAR, took_office VARCHAR)
Question: Who has Took Office of march 4, 1875?
Here is the SQLite query to answer to the question: Who has Took Office... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (average_annual_output__million_kwh_ INTEGER, name VARCHAR, installed_capacity__megawatts_ VARCHAR)
Question: What is the Average annual output for Cu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (average_annual_output__million_kwh_ INTEGER, name VARCHAR, installed_capacity__megawatts_ VARCHAR)
Question: What is the Average annual output for Culligra... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (simplified_chinese VARCHAR, standard_order VARCHAR, transcription__based_on_pinyin_ VARCHAR)
Question: What is the simplified Chinese with a standard... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (simplified_chinese VARCHAR, standard_order VARCHAR, transcription__based_on_pinyin_ VARCHAR)
Question: What is the simplified Chinese with a standard order... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (model VARCHAR, year VARCHAR, fuel_or_propulsion VARCHAR, manufacturer VARCHAR)
Question: Tell me the model with fuel or propulsion of diesel and orio... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (model VARCHAR, year VARCHAR, fuel_or_propulsion VARCHAR, manufacturer VARCHAR)
Question: Tell me the model with fuel or propulsion of diesel and orion manu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19704392_1 (modified_speed__6th_gear_ INTEGER, standard_speed__6th_gear_ VARCHAR)
Question: when the max speed for modified speed (6th gear) where standard sp... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19704392_1 (modified_speed__6th_gear_ INTEGER, standard_speed__6th_gear_ VARCHAR)
Question: when the max speed for modified speed (6th gear) where standard speed (6... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10420426_1 (podiums VARCHAR, points VARCHAR)
Question: What is the podium for 144 points?
[/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_10420426_1 (podiums VARCHAR, points VARCHAR)
Question: What is the podium for 144 points?
Here is the SQLite query to answer to the question: What is the podium 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 loan (cust_id VARCHAR, amount INTEGER); CREATE TABLE customer (cust_name VARCHAR, cust_id VARCHAR)
Question: Find the name of customer who has the highest amount of... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE loan (cust_id VARCHAR, amount INTEGER); CREATE TABLE customer (cust_name VARCHAR, cust_id VARCHAR)
Question: Find the name of customer who has the highest amount of loans... | bugdaryan/sql-create-context-instruction | |
[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 (home VARCHAR, attendance VARCHAR)
Question: Who was the home team with 3305 in attendance?
[/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_27 (home VARCHAR, attendance VARCHAR)
Question: Who was the home team with 3305 in attendance?
Here is the SQLite query to answer to the question: Who was 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_27003186_3 (other VARCHAR, registered_voters VARCHAR)
Question: What is other when registered voters is 50.7%?
[/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_27003186_3 (other VARCHAR, registered_voters VARCHAR)
Question: What is other when registered voters is 50.7%?
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_4 (winning_score VARCHAR, date VARCHAR)
Question: What was the winning score on 7 jun 1976?
[/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_4 (winning_score VARCHAR, date VARCHAR)
Question: What was the winning score on 7 jun 1976?
Here is the SQLite query to answer to the question: What was the 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_29 (original_teams VARCHAR, the_biggest_loser VARCHAR)
Question: What were the original teams for the season that was won by Danni Allen?
[/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_29 (original_teams VARCHAR, the_biggest_loser VARCHAR)
Question: What were the original teams for the season that was won by Danni Allen?
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_62 (population_112008 INTEGER, urban_area VARCHAR, population_112006 VARCHAR)
Question: Name the sum of population 1.1.2008 for tønsberg and population 1... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (population_112008 INTEGER, urban_area VARCHAR, population_112006 VARCHAR)
Question: Name the sum of population 1.1.2008 for tønsberg and population 1.1.200... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2139111_1 (regular_season VARCHAR, year VARCHAR)
Question: Name the regular season for 2005
[/INST]
Here is the SQLite query to answer to the question: Name t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2139111_1 (regular_season VARCHAR, year VARCHAR)
Question: Name the regular season for 2005
Here is the SQLite query to answer to the question: Name the regular se... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11545282_19 (player VARCHAR, no VARCHAR)
Question: Which player wears the number 6?
[/INST]
Here is the SQLite query to answer to the question: Which player w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11545282_19 (player VARCHAR, no VARCHAR)
Question: Which player wears the number 6?
Here is the SQLite query to answer to the question: Which player wears the numb... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (draft VARCHAR, pick VARCHAR)
Question: In which year was the Pick #46?
[/INST]
Here is the SQLite query to answer to the question: In which year was t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (draft VARCHAR, pick VARCHAR)
Question: In which year was the Pick #46?
Here is the SQLite query to answer to the question: In which year was the Pick #46?:... | bugdaryan/sql-create-context-instruction | |
[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 (res VARCHAR, record VARCHAR)
Question: Record of 3–1 had what Res?
[/INST]
Here is the SQLite query to answer to the question: Record of 3–1 had what ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (res VARCHAR, record VARCHAR)
Question: Record of 3–1 had what Res?
Here is the SQLite query to answer to the question: Record of 3–1 had what Res?:
```
SEL... | bugdaryan/sql-create-context-instruction | |
[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 (team_1 VARCHAR)
Question: What is the 1st leg when team 1 is Chelsea?
[/INST]
Here is the SQLite query to answer to the question: What is the 1st leg... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (team_1 VARCHAR)
Question: What is the 1st leg when team 1 is Chelsea?
Here is the SQLite query to answer to the question: What is the 1st leg when team 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_14 (regular_season_vacated VARCHAR, record_as_played VARCHAR)
Question: What is the regular season vacated for the Record as played of 12–19?
[/INST]
Her... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (regular_season_vacated VARCHAR, record_as_played VARCHAR)
Question: What is the regular season vacated for the Record as played of 12–19?
Here is the SQLi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (score VARCHAR, goal VARCHAR, result VARCHAR, competition VARCHAR)
Question: Which Score has a Result of 2–1, and a Competition of friendly, and a Goa... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (score VARCHAR, goal VARCHAR, result VARCHAR, competition VARCHAR)
Question: Which Score has a Result of 2–1, and a Competition of friendly, and a Goal smal... | bugdaryan/sql-create-context-instruction | |
[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 (name VARCHAR, location VARCHAR, entered_service VARCHAR)
Question: Which is located in Angola and entered service in 1988?
[/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_98 (name VARCHAR, location VARCHAR, entered_service VARCHAR)
Question: Which is located in Angola and entered service in 1988?
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_5 (score VARCHAR, team_2 VARCHAR)
Question: What was the score of team 2 Stade Lavallois (D1)?
[/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_5 (score VARCHAR, team_2 VARCHAR)
Question: What was the score of team 2 Stade Lavallois (D1)?
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_7 (year VARCHAR, composer VARCHAR)
Question: What year was the composition by Mejo Joseph?
[/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 (year VARCHAR, composer VARCHAR)
Question: What year was the composition by Mejo Joseph?
Here is the SQLite query to answer to the question: What year was 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_20 (home_team VARCHAR, tie_no VARCHAR)
Question: What is the Home team of Tie no 2?
[/INST]
Here is the SQLite query to answer to the question: What 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_20 (home_team VARCHAR, tie_no VARCHAR)
Question: What is the Home team of Tie no 2?
Here is the SQLite query to answer to the question: What is the Home team ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1357052_6 (software_executable_space_protection VARCHAR, distribution VARCHAR)
Question: what's the software executable space protection with dbeingtribution ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1357052_6 (software_executable_space_protection VARCHAR, distribution VARCHAR)
Question: what's the software executable space protection with dbeingtribution being ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (score VARCHAR, home_team VARCHAR)
Question: What is the score of the wigan athletic home team?
[/INST]
Here is the SQLite query to answer to the quest... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (score VARCHAR, home_team VARCHAR)
Question: What is the score of the wigan athletic home team?
Here is the SQLite query to answer to the question: What is ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (power VARCHAR, city_of_license VARCHAR)
Question: what is the power when the city of license is belleville?
[/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_71 (power VARCHAR, city_of_license VARCHAR)
Question: what is the power when the city of license is belleville?
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_25773915_11 (int INTEGER, player VARCHAR)
Question: If the player is Maake Kemoeatu, what is the int maximum?
[/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_25773915_11 (int INTEGER, player VARCHAR)
Question: If the player is Maake Kemoeatu, what is the int maximum?
Here is the SQLite query to answer to the question: 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_name_70 (set_2 VARCHAR, set_3 VARCHAR)
Question: Which Set 2 has a Set 3 of 20–25?
[/INST]
Here is the SQLite query to answer to the question: Which Set 2 has... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (set_2 VARCHAR, set_3 VARCHAR)
Question: Which Set 2 has a Set 3 of 20–25?
Here is the SQLite query to answer to the question: Which Set 2 has a Set 3 of 2... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (score VARCHAR, country VARCHAR)
Question: What is Canada's score?
[/INST]
Here is the SQLite query to answer to the question: What is Canada's score?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (score VARCHAR, country VARCHAR)
Question: What is Canada's score?
Here is the SQLite query to answer to the question: What is Canada's score?:
```
SELECT ... | bugdaryan/sql-create-context-instruction | |
[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 (time VARCHAR, event VARCHAR)
Question: What time was the event k-1 the challenge 1999?
[/INST]
Here is the SQLite query to answer to the question: Wha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (time VARCHAR, event VARCHAR)
Question: What time was the event k-1 the challenge 1999?
Here is the SQLite query to answer to the question: What time 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_4 (total INTEGER, nation VARCHAR, bronze VARCHAR)
Question: Which Total has a Nation of united states, and a Bronze larger than 3?
[/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_4 (total INTEGER, nation VARCHAR, bronze VARCHAR)
Question: Which Total has a Nation of united states, and a Bronze larger than 3?
Here is the SQLite query to... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (year VARCHAR, playoffs VARCHAR)
Question: Name the total number of years for quarterfinals
[/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_35 (year VARCHAR, playoffs VARCHAR)
Question: Name the total number of years for quarterfinals
Here is the SQLite query to answer to the question: Name the to... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29701419_2 (total_appearances VARCHAR, league_appearances VARCHAR)
Question: How many total appearances are there when the league appearances is 192?
[/INST]... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29701419_2 (total_appearances VARCHAR, league_appearances VARCHAR)
Question: How many total appearances are there when the league appearances is 192?
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 station (LOCATION VARCHAR)
Question: Show all locations with only 1 station.
[/INST]
Here is the SQLite query to answer to the question: Show all locations with onl... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE station (LOCATION VARCHAR)
Question: Show all locations with only 1 station.
Here is the SQLite query to answer to the question: Show all locations with only 1 station.:... | bugdaryan/sql-create-context-instruction | |
[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 (cyclist VARCHAR, nation VARCHAR)
Question: Which cyclist is from Australia?
[/INST]
Here is the SQLite query to answer to the question: Which cyclist... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (cyclist VARCHAR, nation VARCHAR)
Question: Which cyclist is from Australia?
Here is the SQLite query to answer to the question: Which cyclist is from Aust... | bugdaryan/sql-create-context-instruction | |
[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 (name VARCHAR, lost VARCHAR, position VARCHAR)
Question: Who lost 2 and had a position bigger than 1?
[/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_75 (name VARCHAR, lost VARCHAR, position VARCHAR)
Question: Who lost 2 and had a position bigger than 1?
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_31 (colour VARCHAR, compound_name VARCHAR)
Question: What color is the super-soft compound?
[/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_31 (colour VARCHAR, compound_name VARCHAR)
Question: What color is the super-soft compound?
Here is the SQLite query to answer to the question: What color 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 (suburb VARCHAR, roll VARCHAR)
Question: What is the name of the suburb with a roll of 741?
[/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_60 (suburb VARCHAR, roll VARCHAR)
Question: What is the name of the suburb with a roll of 741?
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_260938_1 (base_10 VARCHAR, peletier VARCHAR)
Question: Name the base 10 for peletier for bi llion
[/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_260938_1 (base_10 VARCHAR, peletier VARCHAR)
Question: Name the base 10 for peletier for bi llion
Here is the SQLite query to answer to the question: Name the base... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE problems (problem_id VARCHAR, date_problem_reported INTEGER)
Question: What are the ids of the problems which are reported after 1978-06-26?
[/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 problems (problem_id VARCHAR, date_problem_reported INTEGER)
Question: What are the ids of the problems which are reported after 1978-06-26?
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_24074130_5 (surface VARCHAR, against VARCHAR)
Question: What is every surface against Sweden?
[/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_24074130_5 (surface VARCHAR, against VARCHAR)
Question: What is every surface against Sweden?
Here is the SQLite query to answer to the question: What is every sur... | bugdaryan/sql-create-context-instruction | |
[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 (species_authority VARCHAR, name VARCHAR)
Question: Which Species/Authority has a Name of true's beaked whale?
[/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_name_44 (species_authority VARCHAR, name VARCHAR)
Question: Which Species/Authority has a Name of true's beaked whale?
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_23575917_7 (scores VARCHAR, lees_team VARCHAR)
Question: If the lees team is Clare Balding and Miranda Hart, what was the score?
[/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_23575917_7 (scores VARCHAR, lees_team VARCHAR)
Question: If the lees team is Clare Balding and Miranda Hart, what was the score?
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_26 (agricultural_panel INTEGER, nominated_by_the_taoiseach VARCHAR, total VARCHAR)
Question: Which Agricultural Panel has a Nominated by the Taoiseach la... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (agricultural_panel INTEGER, nominated_by_the_taoiseach VARCHAR, total VARCHAR)
Question: Which Agricultural Panel has a Nominated by the Taoiseach larger 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_74 (venue VARCHAR, home_team VARCHAR)
Question: What is Melbourne's home venue?
[/INST]
Here is the SQLite query to answer to the question: What is Melbo... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (venue VARCHAR, home_team VARCHAR)
Question: What is Melbourne's home venue?
Here is the SQLite query to answer to the question: What is Melbourne's home v... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (games VARCHAR, tied VARCHAR)
Question: What is the number of games for the season with 10 ties?
[/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_86 (games VARCHAR, tied VARCHAR)
Question: What is the number of games for the season with 10 ties?
Here is the SQLite query to answer to the question: What 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_name_23 (date VARCHAR, game INTEGER)
Question: On what date was the game more than 5?
[/INST]
Here is the SQLite query to answer to the question: On what date... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (date VARCHAR, game INTEGER)
Question: On what date was the game more than 5?
Here is the SQLite query to answer to the question: On what date was the game... | 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.