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_16729071_1 (week VARCHAR, attendance VARCHAR)
Question: How many weeks had an attendance of 60038?
[/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_16729071_1 (week VARCHAR, attendance VARCHAR)
Question: How many weeks had an attendance of 60038?
Here is the SQLite query to answer to the question: How many wee... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2509112_3 (language VARCHAR, tacachi_municipality VARCHAR)
Question: What is the language total number if the Tacachi Municipality is 3?
[/INST]
Here is the S... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2509112_3 (language VARCHAR, tacachi_municipality VARCHAR)
Question: What is the language total number if the Tacachi Municipality is 3?
Here is the SQLite query t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (away_team VARCHAR, venue VARCHAR)
Question: What was the score of the away team while playing at the arden street oval?
[/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_53 (away_team VARCHAR, venue VARCHAR)
Question: What was the score of the away team while playing at the arden street oval?
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_25703_2 (death_2012 VARCHAR, birth_2012 VARCHAR)
Question: What were the total number of 2012 deaths when 2012 births were 127?
[/INST]
Here is the SQLite que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25703_2 (death_2012 VARCHAR, birth_2012 VARCHAR)
Question: What were the total number of 2012 deaths when 2012 births were 127?
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_97 (f_laps INTEGER, podiums VARCHAR, races VARCHAR)
Question: What is the lowest number of f/laps with more than 4 podiums and more than 14 races?
[/INST... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (f_laps INTEGER, podiums VARCHAR, races VARCHAR)
Question: What is the lowest number of f/laps with more than 4 podiums and more than 14 races?
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_23186738_9 (game INTEGER, score VARCHAR)
Question: Name the least game for score of l 93–109 (ot)
[/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_23186738_9 (game INTEGER, score VARCHAR)
Question: Name the least game for score of l 93–109 (ot)
Here is the SQLite query to answer to the question: Name the leas... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15945862_1 (january VARCHAR, june VARCHAR)
Question: January 7.34 where is June ?
[/INST]
Here is the SQLite query to answer to the question: January 7.34 whe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15945862_1 (january VARCHAR, june VARCHAR)
Question: January 7.34 where is June ?
Here is the SQLite query to answer to the question: January 7.34 where is June ?:... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (silver VARCHAR, total VARCHAR, gold VARCHAR, bronze VARCHAR)
Question: What is the total number of silver medals of the team with less than 2 gold, 1... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (silver VARCHAR, total VARCHAR, gold VARCHAR, bronze VARCHAR)
Question: What is the total number of silver medals of the team with less than 2 gold, 1 bronz... | bugdaryan/sql-create-context-instruction | |
[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 (rank INTEGER, bronze VARCHAR, total VARCHAR)
Question: What is the lowest rank for nations with more than 3 bronze medals and more than 36 total meda... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (rank INTEGER, bronze VARCHAR, total VARCHAR)
Question: What is the lowest rank for nations with more than 3 bronze medals and more than 36 total medals?
H... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (points VARCHAR, points_for VARCHAR)
Question: Which Points has a Points for of 381?
[/INST]
Here is the SQLite query to answer to the question: Which... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (points VARCHAR, points_for VARCHAR)
Question: Which Points has a Points for of 381?
Here is the SQLite query to answer to the question: Which Points has a... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (opponents VARCHAR, date VARCHAR)
Question: Name the opponents for 24 july 2011
[/INST]
Here is the SQLite query to answer to the question: Name the o... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (opponents VARCHAR, date VARCHAR)
Question: Name the opponents for 24 july 2011
Here is the SQLite query to answer to the question: Name the opponents for ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (away_team VARCHAR, venue VARCHAR)
Question: What was the away score at VFL Park?
[/INST]
Here is the SQLite query to answer to the question: What was... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (away_team VARCHAR, venue VARCHAR)
Question: What was the away score at VFL Park?
Here is the SQLite query to answer to the question: What was the away sco... | bugdaryan/sql-create-context-instruction | |
[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 (races VARCHAR, poles VARCHAR, team VARCHAR)
Question: What is the number of races associated with Team ASM and 0 poles?
[/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_19 (races VARCHAR, poles VARCHAR, team VARCHAR)
Question: What is the number of races associated with Team ASM and 0 poles?
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_80 (english_title VARCHAR, year VARCHAR, role VARCHAR)
Question: What is the english title of the film before 1999 with a role of kim da-rim?
[/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_80 (english_title VARCHAR, year VARCHAR, role VARCHAR)
Question: What is the english title of the film before 1999 with a role of kim da-rim?
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_34 (recorded VARCHAR, translation VARCHAR)
Question: What is the date recorded of Hate?
[/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_34 (recorded VARCHAR, translation VARCHAR)
Question: What is the date recorded of Hate?
Here is the SQLite query to answer to the question: What is the date r... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18143210_2 (first_season_in_top_division VARCHAR, club VARCHAR)
Question: When did the club UNAM played the first season in top division?
[/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_18143210_2 (first_season_in_top_division VARCHAR, club VARCHAR)
Question: When did the club UNAM played the first season in top division?
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_94 (votes INTEGER, rank VARCHAR, riding VARCHAR)
Question: what is the lowest votes of the candidate ranked 5th and riding in victoria?
[/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_94 (votes INTEGER, rank VARCHAR, riding VARCHAR)
Question: what is the lowest votes of the candidate ranked 5th and riding in victoria?
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_93 (format VARCHAR, label VARCHAR, catalog VARCHAR)
Question: What was the Candlelight Records Catalog of Candle053tin format?
[/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_93 (format VARCHAR, label VARCHAR, catalog VARCHAR)
Question: What was the Candlelight Records Catalog of Candle053tin format?
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_29836557_2 (pick__number VARCHAR, player VARCHAR)
Question: What pick number is Kevan George?
[/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_29836557_2 (pick__number VARCHAR, player VARCHAR)
Question: What pick number is Kevan George?
Here is the SQLite query to answer to the question: What pick number ... | bugdaryan/sql-create-context-instruction | |
[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 (away_team VARCHAR, home_team VARCHAR)
Question: What is the away team score when the home team is North Melbourne?
[/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_name_52 (away_team VARCHAR, home_team VARCHAR)
Question: What is the away team score when the home team is North Melbourne?
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_73 (date VARCHAR, callback_venue VARCHAR)
Question: What day has a callback Venue of total tickets to hollywood? Question
[/INST]
Here is the SQLite quer... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (date VARCHAR, callback_venue VARCHAR)
Question: What day has a callback Venue of total tickets to hollywood? Question
Here is the SQLite query to answer t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22538587_3 (l_g VARCHAR, c_g VARCHAR, c_apps VARCHAR)
Question: Name the total number of lg for cg is larger than 1.0 for c apps is 3
[/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_22538587_3 (l_g VARCHAR, c_g VARCHAR, c_apps VARCHAR)
Question: Name the total number of lg for cg is larger than 1.0 for c apps is 3
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_9 (goberman VARCHAR, obrist VARCHAR, merkley VARCHAR)
Question: Which Goberman has an Obrist of 2%, and a Merkley of 34%?
[/INST]
Here is the SQLite quer... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (goberman VARCHAR, obrist VARCHAR, merkley VARCHAR)
Question: Which Goberman has an Obrist of 2%, and a Merkley of 34%?
Here is the SQLite query to answer t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2155836_1 (population__millions VARCHAR, _2011_ VARCHAR, hdi__2011_ VARCHAR)
Question: What is the population in millions for 2011 where the HDI for 2011 is 0... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2155836_1 (population__millions VARCHAR, _2011_ VARCHAR, hdi__2011_ VARCHAR)
Question: What is the population in millions for 2011 where the HDI for 2011 is 0.453 (... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (position VARCHAR, school_club_team VARCHAR)
Question: What position does the player from Winston-Salem State play?
[/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_name_89 (position VARCHAR, school_club_team VARCHAR)
Question: What position does the player from Winston-Salem State play?
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_15 (name VARCHAR, round VARCHAR, pick VARCHAR)
Question: Which Name has a Round smaller than 11, and a Pick of 13?
[/INST]
Here is the SQLite query to an... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (name VARCHAR, round VARCHAR, pick VARCHAR)
Question: Which Name has a Round smaller than 11, and a Pick of 13?
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_2886617_8 (nhl_team VARCHAR, player VARCHAR)
Question: What NHL team picked Sergei Luchinkin?
[/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_2886617_8 (nhl_team VARCHAR, player VARCHAR)
Question: What NHL team picked Sergei Luchinkin?
Here is the SQLite query to answer to the question: What NHL team pic... | bugdaryan/sql-create-context-instruction | |
[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 (Id VARCHAR)
Question: Name the 2008 for 2012 f
[/INST]
Here is the SQLite query to answer to the question: Name the 2008 for 2012 f:
```
SELECT 2008 ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (Id VARCHAR)
Question: Name the 2008 for 2012 f
Here is the SQLite query to answer to the question: Name the 2008 for 2012 f:
```
SELECT 2008 FROM table_na... | bugdaryan/sql-create-context-instruction | |
[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 (final_episode VARCHAR, episodes_credited VARCHAR)
Question: What was the final episode credited of 187?
[/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_72 (final_episode VARCHAR, episodes_credited VARCHAR)
Question: What was the final episode credited of 187?
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 people (Age VARCHAR, People_ID VARCHAR); CREATE TABLE gymnast (Gymnast_ID VARCHAR, Total_Points VARCHAR)
Question: Show the ages of gymnasts in descending order of ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE people (Age VARCHAR, People_ID VARCHAR); CREATE TABLE gymnast (Gymnast_ID VARCHAR, Total_Points VARCHAR)
Question: Show the ages of gymnasts in descending order of total ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (score VARCHAR, opponent VARCHAR, game VARCHAR, february VARCHAR)
Question: What is Score, when Game is less than 61, when February is less than 11, a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (score VARCHAR, opponent VARCHAR, game VARCHAR, february VARCHAR)
Question: What is Score, when Game is less than 61, when February is less than 11, and whe... | bugdaryan/sql-create-context-instruction | |
[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 (against INTEGER, venue VARCHAR)
Question: How many againsts have asba park, kimberley as the venue?
[/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_66 (against INTEGER, venue VARCHAR)
Question: How many againsts have asba park, kimberley as the venue?
Here is the SQLite query to answer to the question: Ho... | bugdaryan/sql-create-context-instruction | |
[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 (attendance INTEGER, record VARCHAR)
Question: How many people went to the game with the record of 8-10?
[/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_44 (attendance INTEGER, record VARCHAR)
Question: How many people went to the game with the record of 8-10?
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_49 (date VARCHAR, home_team VARCHAR)
Question: What was the date when Geelong was the home team?
[/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_49 (date VARCHAR, home_team VARCHAR)
Question: What was the date when Geelong was the home team?
Here is the SQLite query to answer to the question: What was ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19495707_1 (developed_by VARCHAR, application VARCHAR)
Question: Name the number of developed by for solid edge
[/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_19495707_1 (developed_by VARCHAR, application VARCHAR)
Question: Name the number of developed by for solid edge
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_29 (wins INTEGER, byes INTEGER)
Question: Which wins have less than 1 bye?
[/INST]
Here is the SQLite query to answer to the question: Which wins have le... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (wins INTEGER, byes INTEGER)
Question: Which wins have less than 1 bye?
Here is the SQLite query to answer to the question: Which wins have less than 1 bye... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29050051_3 (name VARCHAR, previous_school VARCHAR)
Question: Who previously attended south kent school / brentwood hs?
[/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_29050051_3 (name VARCHAR, previous_school VARCHAR)
Question: Who previously attended south kent school / brentwood hs?
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_1 (series VARCHAR, release_date VARCHAR)
Question: What is the Series of the Filmography with Release date of 1946-01-05?
[/INST]
Here is the SQLite quer... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (series VARCHAR, release_date VARCHAR)
Question: What is the Series of the Filmography with Release date of 1946-01-05?
Here is the SQLite query to answer t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (rank INTEGER, nation VARCHAR)
Question: What is the lowest Rank with a Nation that is east germany?
[/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_43 (rank INTEGER, nation VARCHAR)
Question: What is the lowest Rank with a Nation that is east germany?
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_71 (city_of_license VARCHAR, callsign VARCHAR)
Question: In which city is the network with the callsign kgns-dt3 licensed?
[/INST]
Here is the SQLite que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (city_of_license VARCHAR, callsign VARCHAR)
Question: In which city is the network with the callsign kgns-dt3 licensed?
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_11 (years_for_grizzlies VARCHAR, school_club_team VARCHAR)
Question: for how many years did the player who graduated from stanford play for Grizzlies?
[/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (years_for_grizzlies VARCHAR, school_club_team VARCHAR)
Question: for how many years did the player who graduated from stanford play for Grizzlies?
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_91 (result VARCHAR, opponent VARCHAR)
Question: What was the score when they played the Boston Patriots?
[/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_91 (result VARCHAR, opponent VARCHAR)
Question: What was the score when they played the Boston Patriots?
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_30073089_2 (discipline VARCHAR, fis_points VARCHAR)
Question: Name the discipline for 1561 fis points
[/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_30073089_2 (discipline VARCHAR, fis_points VARCHAR)
Question: Name the discipline for 1561 fis points
Here is the SQLite query to answer to the question: Name 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_24195232_1 (founded VARCHAR, location VARCHAR)
Question: How many entries are there for founded when the location was springfield, ohio?
[/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_24195232_1 (founded VARCHAR, location VARCHAR)
Question: How many entries are there for founded when the location was springfield, ohio?
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_43 (date VARCHAR, edition VARCHAR)
Question: On what date was the 48th Edition raced?
[/INST]
Here is the SQLite query to answer to the question: On what... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (date VARCHAR, edition VARCHAR)
Question: On what date was the 48th Edition raced?
Here is the SQLite query to answer to the question: On what date 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_name_40 (gold INTEGER, silver VARCHAR, total VARCHAR)
Question: What is the highest gold with 1 silver, and more than 1 altogether?
[/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_40 (gold INTEGER, silver VARCHAR, total VARCHAR)
Question: What is the highest gold with 1 silver, and more than 1 altogether?
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_50 (opponent VARCHAR, date VARCHAR)
Question: What is the Opponent of the Game on October 20?
[/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_50 (opponent VARCHAR, date VARCHAR)
Question: What is the Opponent of the Game on October 20?
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_93 (number_of_dances INTEGER, rank_by_average VARCHAR, place VARCHAR)
Question: What is the lowest number of dances with a rank larger than 4 and a place... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (number_of_dances INTEGER, rank_by_average VARCHAR, place VARCHAR)
Question: What is the lowest number of dances with a rank larger than 4 and a place of 8?... | bugdaryan/sql-create-context-instruction | |
[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 (rank INTEGER, time VARCHAR)
Question: What is the lowest rank has 7:09.06 as the time?
[/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_81 (rank INTEGER, time VARCHAR)
Question: What is the lowest rank has 7:09.06 as the time?
Here is the SQLite query to answer to the question: What is the low... | bugdaryan/sql-create-context-instruction | |
[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 (sunday_surya__the_sun_ VARCHAR, monday_soma__the_moon_ VARCHAR, tuesday_mangala__mars_ VARCHAR)
Question: What is the result on Sunday that's सोमवार ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (sunday_surya__the_sun_ VARCHAR, monday_soma__the_moon_ VARCHAR, tuesday_mangala__mars_ VARCHAR)
Question: What is the result on Sunday that's सोमवार somavā... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1004033_1 (position VARCHAR, draft_pick__number VARCHAR)
Question: What position did the #10 draft pick play?
[/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_1004033_1 (position VARCHAR, draft_pick__number VARCHAR)
Question: What position did the #10 draft pick play?
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_29 (laps INTEGER, grid VARCHAR, driver VARCHAR)
Question: what is the sum of laps when grid is less than 20 and johnny herbert is driving?
[/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_name_29 (laps INTEGER, grid VARCHAR, driver VARCHAR)
Question: what is the sum of laps when grid is less than 20 and johnny herbert is driving?
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_99 (socialist_workers_ticket VARCHAR, republican_ticket VARCHAR)
Question: When Republican ticket was John P. Lomenzo who ran for the Socialist Workers t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (socialist_workers_ticket VARCHAR, republican_ticket VARCHAR)
Question: When Republican ticket was John P. Lomenzo who ran for the Socialist Workers ticket?... | bugdaryan/sql-create-context-instruction | |
[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 (player VARCHAR, position VARCHAR)
Question: What player plays the position of small forward?
[/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_26 (player VARCHAR, position VARCHAR)
Question: What player plays the position of small forward?
Here is the SQLite query to answer to the question: What 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 table_name_29 (to_par VARCHAR, score VARCHAR)
Question: What To par scored 72-71-68=211?
[/INST]
Here is the SQLite query to answer to the question: What To par sco... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (to_par VARCHAR, score VARCHAR)
Question: What To par scored 72-71-68=211?
Here is the SQLite query to answer to the question: What To par scored 72-71-68=... | bugdaryan/sql-create-context-instruction | |
[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 (venue VARCHAR, extra VARCHAR, year VARCHAR)
Question: Tell me the venue for extra of short race and year less than 1999
[/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_90 (venue VARCHAR, extra VARCHAR, year VARCHAR)
Question: Tell me the venue for extra of short race and year less than 1999
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_84 (round INTEGER, player VARCHAR, pick__number VARCHAR)
Question: What is the average Round, when Player is "Gurnest Brown", and when Pick # is greater ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (round INTEGER, player VARCHAR, pick__number VARCHAR)
Question: What is the average Round, when Player is "Gurnest Brown", and when Pick # is greater 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_299121_2 (tv_season VARCHAR, season VARCHAR)
Question: What TV season was the 1st season?
[/INST]
Here is the SQLite query to answer to the question: What TV ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_299121_2 (tv_season VARCHAR, season VARCHAR)
Question: What TV season was the 1st season?
Here is the SQLite query to answer to the question: What TV season 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_13 (goals_for VARCHAR, played INTEGER)
Question: Name the total number of goals which have played more than 44
[/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_13 (goals_for VARCHAR, played INTEGER)
Question: Name the total number of goals which have played more than 44
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_2668243_17 (first_elected VARCHAR, candidates VARCHAR)
Question: Name the number of first elected for thomas maxwell (j) 60.1% david woodcock (aj) 39.9%
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2668243_17 (first_elected VARCHAR, candidates VARCHAR)
Question: Name the number of first elected for thomas maxwell (j) 60.1% david woodcock (aj) 39.9%
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_97 (location VARCHAR, county VARCHAR, school VARCHAR)
Question: Which location is in 71 St. Joseph county with South Bend Washington school?
[/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_97 (location VARCHAR, county VARCHAR, school VARCHAR)
Question: Which location is in 71 St. Joseph county with South Bend Washington school?
Here is the SQLit... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24798489_1 (episode_number VARCHAR, location VARCHAR)
Question: How many episodes had New York, New York as the location?
[/INST]
Here is the SQLite query to ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24798489_1 (episode_number VARCHAR, location VARCHAR)
Question: How many episodes had New York, New York as the location?
Here is the SQLite query to answer to the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE postseason (team_id_winner VARCHAR, year VARCHAR); CREATE TABLE team (name VARCHAR, team_id_br VARCHAR)
Question: What are the name and id of the team with the most... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE postseason (team_id_winner VARCHAR, year VARCHAR); CREATE TABLE team (name VARCHAR, team_id_br VARCHAR)
Question: What are the name and id of the team with the most victo... | bugdaryan/sql-create-context-instruction | |
[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 (date__from_ VARCHAR, location VARCHAR)
Question: On what date did the event at Zaltbommel begin?
[/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_66 (date__from_ VARCHAR, location VARCHAR)
Question: On what date did the event at Zaltbommel begin?
Here is the SQLite query to answer to the question: On 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_49 (player VARCHAR, club_province VARCHAR)
Question: Who is the player from Aurillac?
[/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_49 (player VARCHAR, club_province VARCHAR)
Question: Who is the player from Aurillac?
Here is the SQLite query to answer to the question: Who is the player fr... | bugdaryan/sql-create-context-instruction | |
[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 (nationality VARCHAR, date VARCHAR)
Question: Name Nationality is on 6 july 1942?
[/INST]
Here is the SQLite query to answer to the question: Name Nat... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (nationality VARCHAR, date VARCHAR)
Question: Name Nationality is on 6 july 1942?
Here is the SQLite query to answer to the question: Name Nationality is 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_2066296_5 (totals VARCHAR, interior_roof VARCHAR)
Question: How many different total results are there for the model with parchment/black interior/roof?
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2066296_5 (totals VARCHAR, interior_roof VARCHAR)
Question: How many different total results are there for the model with parchment/black interior/roof?
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_67 (format VARCHAR, region VARCHAR, date VARCHAR)
Question: Tell me the format for worldwide region july 22, 2008
[/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_67 (format VARCHAR, region VARCHAR, date VARCHAR)
Question: Tell me the format for worldwide region july 22, 2008
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_53 (player VARCHAR, round VARCHAR)
Question: what player is playing on round 1
[/INST]
Here is the SQLite query to answer to the question: what player is... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (player VARCHAR, round VARCHAR)
Question: what player is playing on round 1
Here is the SQLite query to answer to the question: what player is playing on r... | bugdaryan/sql-create-context-instruction | |
[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 (position VARCHAR, height VARCHAR, name VARCHAR)
Question: What is 6-2 Martina Wood's Position?
[/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_52 (position VARCHAR, height VARCHAR, name VARCHAR)
Question: What is 6-2 Martina Wood's Position?
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_92 (school_club_team VARCHAR, round VARCHAR)
Question: What is the schoo/club team of the player in round 3?
[/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_92 (school_club_team VARCHAR, round VARCHAR)
Question: What is the schoo/club team of the player in round 3?
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_79 (result VARCHAR, venue VARCHAR)
Question: What is the final score at Melbourne Cricket Ground?
[/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_79 (result VARCHAR, venue VARCHAR)
Question: What is the final score at Melbourne Cricket Ground?
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_22941863_19 (points_classification VARCHAR, stage VARCHAR)
Question: If the stage is 3, what is the points classification name?
[/INST]
Here is the SQLite que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22941863_19 (points_classification VARCHAR, stage VARCHAR)
Question: If the stage is 3, what is the points classification name?
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_1717824_3 (indians_admitted INTEGER, sri_lankans_admitted VARCHAR)
Question: What is the most number of Indians admitted to Canada when the number of Sri Lank... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1717824_3 (indians_admitted INTEGER, sri_lankans_admitted VARCHAR)
Question: What is the most number of Indians admitted to Canada when the number of Sri Lankans ad... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE classroom (building VARCHAR)
Question: How many rooms does the Lamberton building have?
[/INST]
Here is the SQLite query to answer to the question: How many rooms d... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE classroom (building VARCHAR)
Question: How many rooms does the Lamberton building have?
Here is the SQLite query to answer to the question: How many rooms does the Lambe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23214055_2 (district VARCHAR, nairs VARCHAR)
Question: Name the district for nairs 8.2
[/INST]
Here is the SQLite query to answer to the question: Name the di... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23214055_2 (district VARCHAR, nairs VARCHAR)
Question: Name the district for nairs 8.2
Here is the SQLite query to answer to the question: Name the district for na... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13741576_6 (club VARCHAR, points_against VARCHAR)
Question: What club had 523 points against?
[/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_13741576_6 (club VARCHAR, points_against VARCHAR)
Question: What club had 523 points against?
Here is the SQLite query to answer to the question: What club had 52... | bugdaryan/sql-create-context-instruction | |
[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 (Id VARCHAR)
Question: Which 2010 Tournament has a 2001 of grand slam tournaments?
[/INST]
Here is the SQLite query to answer to the question: Which 2... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (Id VARCHAR)
Question: Which 2010 Tournament has a 2001 of grand slam tournaments?
Here is the SQLite query to answer to the question: Which 2010 Tournamen... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (males VARCHAR, females VARCHAR)
Question: What was the number of males that had the number females 62 331?
[/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_13 (males VARCHAR, females VARCHAR)
Question: What was the number of males that had the number females 62 331?
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_7 (wins VARCHAR, races INTEGER)
Question: How many Wins in the Year with more than 16 Races?
[/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_7 (wins VARCHAR, races INTEGER)
Question: How many Wins in the Year with more than 16 Races?
Here is the SQLite query to answer to the question: How many Wins... | bugdaryan/sql-create-context-instruction | |
[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 (character VARCHAR, year VARCHAR)
Question: What is the character for 2005?
[/INST]
Here is the SQLite query to answer to the question: What is the ch... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (character VARCHAR, year VARCHAR)
Question: What is the character for 2005?
Here is the SQLite query to answer to the question: What is the character for 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_48 (player VARCHAR, pick VARCHAR)
Question: What is Player, when Pick is "26"?
[/INST]
Here is the SQLite query to answer to the question: What is Player... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (player VARCHAR, pick VARCHAR)
Question: What is Player, when Pick is "26"?
Here is the SQLite query to answer to the question: What is Player, when Pick 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_79 (winner VARCHAR, score VARCHAR)
Question: Who was the winner with a score of 7–6 (7–3) , 2–6, [10–6]?
[/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_79 (winner VARCHAR, score VARCHAR)
Question: Who was the winner with a score of 7–6 (7–3) , 2–6, [10–6]?
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_72 (density__hab_km²_ VARCHAR, city_district VARCHAR)
Question: What is the density of San Sebastián?
[/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_72 (density__hab_km²_ VARCHAR, city_district VARCHAR)
Question: What is the density of San Sebastián?
Here is the SQLite query to answer to the question: What... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE people (Name VARCHAR, Birth_Date VARCHAR)
Question: List the names and birth dates of people in ascending alphabetical order of name.
[/INST]
Here is the SQLite que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE people (Name VARCHAR, Birth_Date VARCHAR)
Question: List the names and birth dates of people in ascending alphabetical order of name.
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_299121_2 (season VARCHAR)
Question: When was the 3rd season premiere originally aired?
[/INST]
Here is the SQLite query to answer to the question: When was th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_299121_2 (season VARCHAR)
Question: When was the 3rd season premiere originally aired?
Here is the SQLite query to answer to the question: When was the 3rd season ... | bugdaryan/sql-create-context-instruction | |
[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 (semifinalists VARCHAR, tournament VARCHAR)
Question: Who are the semifinalists when the tournament is in Cincinnati?
[/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_58 (semifinalists VARCHAR, tournament VARCHAR)
Question: Who are the semifinalists when the tournament is in Cincinnati?
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_29 (venue VARCHAR, home_team VARCHAR)
Question: Where did Hawthorn play as home team?
[/INST]
Here is the SQLite query to answer to the question: Where d... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (venue VARCHAR, home_team VARCHAR)
Question: Where did Hawthorn play as home team?
Here is the SQLite query to answer to the question: Where did Hawthorn 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_18335117_3 (director VARCHAR, no_in_series VARCHAR)
Question: When 1 is the number in series who is the director?
[/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_18335117_3 (director VARCHAR, no_in_series VARCHAR)
Question: When 1 is the number in series who is the director?
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_27 (entrepreneur_s_ VARCHAR, money_requested__£_ VARCHAR)
Question: What Entrepreneurs requested £60,000?
[/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_27 (entrepreneur_s_ VARCHAR, money_requested__£_ VARCHAR)
Question: What Entrepreneurs requested £60,000?
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_76 (score VARCHAR, date VARCHAR, away_team VARCHAR)
Question: On the date of 30/01/1991, when the away team was Liverpool, what was the score?
[/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_76 (score VARCHAR, date VARCHAR, away_team VARCHAR)
Question: On the date of 30/01/1991, when the away team was Liverpool, what was the score?
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 (year VARCHAR, nominated VARCHAR)
Question: What year was Teen Angels 2 nominated?
[/INST]
Here is the SQLite query to answer to the question: What ye... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (year VARCHAR, nominated VARCHAR)
Question: What year was Teen Angels 2 nominated?
Here is the SQLite query to answer to the question: What year was Teen 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_38 (college VARCHAR, team VARCHAR)
Question: Which college has their team as the New York Jets?
[/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_38 (college VARCHAR, team VARCHAR)
Question: Which college has their team as the New York Jets?
Here is the SQLite query to answer to the question: Which coll... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28668784_1 (stadium VARCHAR, home_team VARCHAR)
Question: What stadium does FK Jedinstvo play 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_28668784_1 (stadium VARCHAR, home_team VARCHAR)
Question: What stadium does FK Jedinstvo play in?
Here is the SQLite query to answer to the question: What stadium ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13762472_4 (high_rebounds VARCHAR, high_assists VARCHAR)
Question: who had all the high rebounds when high assists is by dwyane wade (9)
[/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_13762472_4 (high_rebounds VARCHAR, high_assists VARCHAR)
Question: who had all the high rebounds when high assists is by dwyane wade (9)
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_56 (gold VARCHAR, bronze VARCHAR, total VARCHAR)
Question: How many Gold medals were won by the Nation that had more than 12 Bronze medals and 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_56 (gold VARCHAR, bronze VARCHAR, total VARCHAR)
Question: How many Gold medals were won by the Nation that had more than 12 Bronze medals and less than 124 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_8 (place INTEGER, votes VARCHAR, draw VARCHAR)
Question: What is the highest place of the song with 38 votes and a draw great than 3?
[/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_8 (place INTEGER, votes VARCHAR, draw VARCHAR)
Question: What is the highest place of the song with 38 votes and a draw great than 3?
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_17598822_11 (league VARCHAR, player VARCHAR)
Question: Name the total number of league cup for mark roberts
[/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_17598822_11 (league VARCHAR, player VARCHAR)
Question: Name the total number of league cup for mark roberts
Here is the SQLite query to answer to the question: Nam... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11447995_2 (ben_tahir VARCHAR, bello VARCHAR)
Question: What is Ben-Tahir when Bello is 51?
[/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_11447995_2 (ben_tahir VARCHAR, bello VARCHAR)
Question: What is Ben-Tahir when Bello is 51?
Here is the SQLite query to answer to the question: What is Ben-Tahir 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_98 (attendance INTEGER, visitor VARCHAR)
Question: Name the least attendance with visitor of edmonton
[/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_98 (attendance INTEGER, visitor VARCHAR)
Question: Name the least attendance with visitor of edmonton
Here is the SQLite query to answer to the question: Name... | 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.