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_18173916_8 (wednesday VARCHAR, tuesday VARCHAR)
Question: which episode was Transmitted on wednesday if the episode of "319 sucker punch" was transmitted on t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18173916_8 (wednesday VARCHAR, tuesday VARCHAR)
Question: which episode was Transmitted on wednesday if the episode of "319 sucker punch" was transmitted on tuesday... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE manufacturers (Headquarter VARCHAR, code VARCHAR); CREATE TABLE products (name VARCHAR, Manufacturer VARCHAR)
Question: Find the number of different products that a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE manufacturers (Headquarter VARCHAR, code VARCHAR); CREATE TABLE products (name VARCHAR, Manufacturer VARCHAR)
Question: Find the number of different products that are pro... | bugdaryan/sql-create-context-instruction | |
[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 (result VARCHAR, competition VARCHAR, date VARCHAR)
Question: On 2006-03-13 in the algarve cup, who won?
[/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_60 (result VARCHAR, competition VARCHAR, date VARCHAR)
Question: On 2006-03-13 in the algarve cup, who won?
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_79 (live_births VARCHAR, deaths VARCHAR, crude_birth_rate__per_1000_ VARCHAR, average_population__x_1000_ VARCHAR)
Question: How many live births where t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (live_births VARCHAR, deaths VARCHAR, crude_birth_rate__per_1000_ VARCHAR, average_population__x_1000_ VARCHAR)
Question: How many live births where the cru... | bugdaryan/sql-create-context-instruction | |
[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 (winner VARCHAR, general_classification VARCHAR, stage VARCHAR)
Question: Name the winner for nick nuyens for general classification and stage of 2
[/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (winner VARCHAR, general_classification VARCHAR, stage VARCHAR)
Question: Name the winner for nick nuyens for general classification and stage of 2
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_17060277_6 (score VARCHAR, high_rebounds VARCHAR)
Question: How many different games had David Lee (13) with High rebounds?
[/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_17060277_6 (score VARCHAR, high_rebounds VARCHAR)
Question: How many different games had David Lee (13) with High rebounds?
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_90 (winning_score VARCHAR, runner_s__up VARCHAR)
Question: What was Olazabal's winning score in the event in which Phillip Price finished 2nd?
[/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_90 (winning_score VARCHAR, runner_s__up VARCHAR)
Question: What was Olazabal's winning score in the event in which Phillip Price finished 2nd?
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_82 (tns_sofres_5_26_09 VARCHAR, ipsos_5_25_09 VARCHAR)
Question: Which TNS-Sofres 5/26/09 has an Ipsos 5/25/09 of 1%?
[/INST]
Here is the SQLite query to... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (tns_sofres_5_26_09 VARCHAR, ipsos_5_25_09 VARCHAR)
Question: Which TNS-Sofres 5/26/09 has an Ipsos 5/25/09 of 1%?
Here is the SQLite query to answer to th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Project_outcomes (outcome_code VARCHAR)
Question: How many Patent outcomes are generated from all the projects?
[/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 Project_outcomes (outcome_code VARCHAR)
Question: How many Patent outcomes are generated from all the projects?
Here is the SQLite query to answer to the question: How m... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (opponents_in_the_final VARCHAR, surface VARCHAR, tournament VARCHAR)
Question: What is Opponents In The Final, when Surface is "Carpet", and when Tou... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (opponents_in_the_final VARCHAR, surface VARCHAR, tournament VARCHAR)
Question: What is Opponents In The Final, when Surface is "Carpet", and when 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_70 (court_rank VARCHAR, courtesy_title VARCHAR)
Question: What is the court rank of the person with a courtesy title of nagato-no-kami?
[/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_70 (court_rank VARCHAR, courtesy_title VARCHAR)
Question: What is the court rank of the person with a courtesy title of nagato-no-kami?
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_18118221_1 (rank INTEGER, railway_station VARCHAR)
Question: What is the lowest rank of Gatwick Airport?
[/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_18118221_1 (rank INTEGER, railway_station VARCHAR)
Question: What is the lowest rank of Gatwick Airport?
Here is the SQLite query to answer to the question: What ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (date VARCHAR, winner VARCHAR, result VARCHAR)
Question: What date was the winner the new york jets and a Result of 30–28?
[/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_67 (date VARCHAR, winner VARCHAR, result VARCHAR)
Question: What date was the winner the new york jets and a Result of 30–28?
Here is the SQLite query to answ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (date VARCHAR, week VARCHAR)
Question: What was the date for the game in week 7?
[/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_14 (date VARCHAR, week VARCHAR)
Question: What was the date for the game in week 7?
Here is the SQLite query to answer to the question: What was the date 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_94 (rider VARCHAR, team VARCHAR)
Question: Who is the rider with a 399cc Kawasaki?
[/INST]
Here is the SQLite query to answer to the question: Who 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_94 (rider VARCHAR, team VARCHAR)
Question: Who is the rider with a 399cc Kawasaki?
Here is the SQLite query to answer to the question: Who is the rider with 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_19 (area_of_operation VARCHAR, services VARCHAR, years_of_operation VARCHAR)
Question: Where is the area of operation that had drilling during the year 1... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (area_of_operation VARCHAR, services VARCHAR, years_of_operation VARCHAR)
Question: Where is the area of operation that had drilling during the year 1999?
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (title VARCHAR, label VARCHAR)
Question: Which title has origianal sound entertainment as its label?
[/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_85 (title VARCHAR, label VARCHAR)
Question: Which title has origianal sound entertainment as its label?
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_50 (year INTEGER, hometown VARCHAR)
Question: What's the latest year with a hometown of san carlos, pangasinan?
[/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_50 (year INTEGER, hometown VARCHAR)
Question: What's the latest year with a hometown of san carlos, pangasinan?
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_28059992_5 (position VARCHAR, player VARCHAR)
Question: How many positions does Trent Bagnail play?
[/INST]
Here is the SQLite query to answer to the question... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28059992_5 (position VARCHAR, player VARCHAR)
Question: How many positions does Trent Bagnail play?
Here is the SQLite query to answer to the question: How many po... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (country VARCHAR, city VARCHAR)
Question: What country is Yerevan located in?
[/INST]
Here is the SQLite query to answer to the question: What country... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (country VARCHAR, city VARCHAR)
Question: What country is Yerevan located in?
Here is the SQLite query to answer to the question: What country is Yerevan l... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (mult VARCHAR, model_number VARCHAR)
Question: What is Mult, when Model Number is Pentium II 450?
[/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_85 (mult VARCHAR, model_number VARCHAR)
Question: What is Mult, when Model Number is Pentium II 450?
Here is the SQLite query to answer to the question: What ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (suriname VARCHAR, brokopondo VARCHAR)
Question: What is the suriname with a 16.8% brokopondo?
[/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_62 (suriname VARCHAR, brokopondo VARCHAR)
Question: What is the suriname with a 16.8% brokopondo?
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_56 (enrollment VARCHAR, school VARCHAR)
Question: How much Enrollment has a School of shakamak?
[/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_56 (enrollment VARCHAR, school VARCHAR)
Question: How much Enrollment has a School of shakamak?
Here is the SQLite query to answer to the question: How much E... | bugdaryan/sql-create-context-instruction | |
[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 (runner_up VARCHAR, winner VARCHAR)
Question: Who is the runner-up for Ilhwa Chunma?
[/INST]
Here is the SQLite query to answer to the question: Who i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (runner_up VARCHAR, winner VARCHAR)
Question: Who is the runner-up for Ilhwa Chunma?
Here is the SQLite query to answer to the question: Who is the runner-... | bugdaryan/sql-create-context-instruction | |
[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 (to_par VARCHAR, place VARCHAR, player VARCHAR)
Question: What was the par for the t5 place player Steve Jones?
[/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_16 (to_par VARCHAR, place VARCHAR, player VARCHAR)
Question: What was the par for the t5 place player Steve Jones?
Here is the SQLite query to answer to the q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (administrative_panel INTEGER, cultural_and_educational_panel VARCHAR, nominated_by_the_taoiseach VARCHAR, agricultural_panel VARCHAR)
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_37 (administrative_panel INTEGER, cultural_and_educational_panel VARCHAR, nominated_by_the_taoiseach VARCHAR, agricultural_panel VARCHAR)
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_10 (country VARCHAR, money___$__ VARCHAR, score VARCHAR)
Question: What is the Country of the Player with a Score of 70-72-70-73=285 and Money ( $ ) of 5... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (country VARCHAR, money___$__ VARCHAR, score VARCHAR)
Question: What is the Country of the Player with a Score of 70-72-70-73=285 and Money ( $ ) of 5,500?
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (ends INTEGER, name VARCHAR)
Question: Which Ends have a Name of zambrano?
[/INST]
Here is the SQLite query to answer to the question: Which Ends have... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (ends INTEGER, name VARCHAR)
Question: Which Ends have a Name of zambrano?
Here is the SQLite query to answer to the question: Which Ends have a Name of za... | bugdaryan/sql-create-context-instruction | |
[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 (silver INTEGER, bronze VARCHAR, total VARCHAR)
Question: Name the Silver which has a Bronze of 19, and a Total larger than 58?
[/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_1 (silver INTEGER, bronze VARCHAR, total VARCHAR)
Question: Name the Silver which has a Bronze of 19, and a Total larger than 58?
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 Person (job VARCHAR)
Question: How many type of jobs do they have?
[/INST]
Here is the SQLite query to answer to the question: How many type of jobs do they have?:
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Person (job VARCHAR)
Question: How many type of jobs do they have?
Here is the SQLite query to answer to the question: How many type of jobs do they have?:
```
SELECT CO... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20278716_2 (mccain__percentage VARCHAR, others__percentage VARCHAR)
Question: What percentage of voters chose McCain in the county where 2.1% of voters voted ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20278716_2 (mccain__percentage VARCHAR, others__percentage VARCHAR)
Question: What percentage of voters chose McCain in the county where 2.1% of voters voted third ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (year VARCHAR, championship VARCHAR)
Question: How many years was there a peter jackson classic?
[/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_64 (year VARCHAR, championship VARCHAR)
Question: How many years was there a peter jackson classic?
Here is the SQLite query to answer to the question: How ma... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (boat_builder VARCHAR, number VARCHAR, name VARCHAR)
Question: What boat builder built the valmai with a number less than 65?
[/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_28 (boat_builder VARCHAR, number VARCHAR, name VARCHAR)
Question: What boat builder built the valmai with a number less than 65?
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 country (Country_id VARCHAR, Capital VARCHAR); CREATE TABLE match_season (Position VARCHAR, Country VARCHAR)
Question: What are the distinct positions of the player... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE country (Country_id VARCHAR, Capital VARCHAR); CREATE TABLE match_season (Position VARCHAR, Country VARCHAR)
Question: What are the distinct positions of the players from... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1756264_2 (company_name VARCHAR, parent__holding__company VARCHAR)
Question: How many companies have Postermobile Limited as a parent company?
[/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_1756264_2 (company_name VARCHAR, parent__holding__company VARCHAR)
Question: How many companies have Postermobile Limited as a parent company?
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_21530474_1 (model_no VARCHAR, chassis_code VARCHAR)
Question: Name the model number for usf46
[/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_21530474_1 (model_no VARCHAR, chassis_code VARCHAR)
Question: Name the model number for usf46
Here is the SQLite query to answer to the question: Name the model nu... | bugdaryan/sql-create-context-instruction | |
[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 (career_win_loss VARCHAR, tournament VARCHAR)
Question: What is Career Win-Loss, when Tournament is "Hamburg"?
[/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_11 (career_win_loss VARCHAR, tournament VARCHAR)
Question: What is Career Win-Loss, when Tournament is "Hamburg"?
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_26 (round INTEGER, grand_prix VARCHAR)
Question: How many rounds have a Grand Prix of german gp?
[/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 (round INTEGER, grand_prix VARCHAR)
Question: How many rounds have a Grand Prix of german gp?
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 table_name_98 (sanskrit VARCHAR, greek VARCHAR)
Question: What is the Sanskrit for the Greek word λέων?
[/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_98 (sanskrit VARCHAR, greek VARCHAR)
Question: What is the Sanskrit for the Greek word λέων?
Here is the SQLite query to answer to the question: What is the S... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Engineer_Visits (contact_staff_id VARCHAR); CREATE TABLE Staff (staff_name VARCHAR, staff_id VARCHAR)
Question: How many engineers did each staff contact? List both... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Engineer_Visits (contact_staff_id VARCHAR); CREATE TABLE Staff (staff_name VARCHAR, staff_id VARCHAR)
Question: How many engineers did each staff contact? List both the c... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (best INTEGER, qual_2 VARCHAR, team VARCHAR, name VARCHAR)
Question: Graham rahal for n/h/l racing has a qual 2 greater than 59.384 and how much lowes... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (best INTEGER, qual_2 VARCHAR, team VARCHAR, name VARCHAR)
Question: Graham rahal for n/h/l racing has a qual 2 greater than 59.384 and how much lowest best... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18173916_6 (friday VARCHAR, wednesday VARCHAR)
Question: How many episodes were shown on Friday if 210 Kirby's Epic Yarn was shown on Wednesday?
[/INST]
Here ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18173916_6 (friday VARCHAR, wednesday VARCHAR)
Question: How many episodes were shown on Friday if 210 Kirby's Epic Yarn was shown on Wednesday?
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_2610582_2 (branding VARCHAR, callsign VARCHAR)
Question: What is the branding of the callsign DWCI-TV?
[/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_2610582_2 (branding VARCHAR, callsign VARCHAR)
Question: What is the branding of the callsign DWCI-TV?
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_48 (play_offs INTEGER, league VARCHAR, fa_cup VARCHAR)
Question: What's the lowest Play-offs with a League of 4 and FA Cup larger than 1?
[/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_48 (play_offs INTEGER, league VARCHAR, fa_cup VARCHAR)
Question: What's the lowest Play-offs with a League of 4 and FA Cup larger than 1?
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_83 (tournament VARCHAR, date VARCHAR, location VARCHAR)
Question: What tournament located is mississippi was nov 5
[/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_83 (tournament VARCHAR, date VARCHAR, location VARCHAR)
Question: What tournament located is mississippi was nov 5
Here is the SQLite query to answer to the q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (Id VARCHAR)
Question: What is the 2003 statistic for the product that had 514,000 tonnes in 2001?
[/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_34 (Id VARCHAR)
Question: What is the 2003 statistic for the product that had 514,000 tonnes in 2001?
Here is the SQLite query to answer to the question: What... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2342078_6 (original_airdate VARCHAR, written_by VARCHAR)
Question: Name the airdate for the episode written by howard ostroff
[/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_2342078_6 (original_airdate VARCHAR, written_by VARCHAR)
Question: Name the airdate for the episode written by howard ostroff
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_14 (crowd INTEGER, away_team VARCHAR)
Question: What was the smallest crowd for a Carlton away game?
[/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_14 (crowd INTEGER, away_team VARCHAR)
Question: What was the smallest crowd for a Carlton away game?
Here is the SQLite query to answer to the question: What ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (grid INTEGER, time_retired VARCHAR)
Question: What was the highest grid for a time/retired of +19.1 secs?
[/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_50 (grid INTEGER, time_retired VARCHAR)
Question: What was the highest grid for a time/retired of +19.1 secs?
Here is the SQLite query to answer to the questi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2668254_8 (party VARCHAR, incumbent VARCHAR)
Question: What party did the incumbent Thomas P. Moore belong to?
[/INST]
Here is the SQLite query to answer to t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2668254_8 (party VARCHAR, incumbent VARCHAR)
Question: What party did the incumbent Thomas P. Moore belong to?
Here is the SQLite query to answer to the question: ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25356350_2 (series__number VARCHAR, written_by VARCHAR)
Question: How many episodes are written by Lew Schneider?
[/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_25356350_2 (series__number VARCHAR, written_by VARCHAR)
Question: How many episodes are written by Lew Schneider?
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_88 (event VARCHAR, name VARCHAR)
Question: What event did Rastislav Turecek participate in?
[/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_88 (event VARCHAR, name VARCHAR)
Question: What event did Rastislav Turecek participate in?
Here is the SQLite query to answer to the question: What event did... | bugdaryan/sql-create-context-instruction | |
[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 (years VARCHAR, country VARCHAR, rank VARCHAR, wins VARCHAR)
Question: Which Years have a Rank larger than 2, and Wins of 2, and a Country of france?
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (years VARCHAR, country VARCHAR, rank VARCHAR, wins VARCHAR)
Question: Which Years have a Rank larger than 2, and Wins of 2, and a Country of france?
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_45 (total INTEGER, player VARCHAR, tally VARCHAR)
Question: What was the total for David O'Callaghan, and a Tally of 1-9?
[/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_45 (total INTEGER, player VARCHAR, tally VARCHAR)
Question: What was the total for David O'Callaghan, and a Tally of 1-9?
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 Student (Advisor VARCHAR)
Question: Advisor 1121 has how many students?
[/INST]
Here is the SQLite query to answer to the question: Advisor 1121 has how many studen... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Student (Advisor VARCHAR)
Question: Advisor 1121 has how many students?
Here is the SQLite query to answer to the question: Advisor 1121 has how many students?:
```
SELE... | bugdaryan/sql-create-context-instruction | |
[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 (downhill VARCHAR, points VARCHAR)
Question: What is the 1st run that is down hill less than 46, and 84.45 points?
[/INST]
Here is the SQLite query to... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (downhill VARCHAR, points VARCHAR)
Question: What is the 1st run that is down hill less than 46, and 84.45 points?
Here is the SQLite query to answer to th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (host VARCHAR, city VARCHAR)
Question: Who is the host in the city of Philadelphia?
[/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_61 (host VARCHAR, city VARCHAR)
Question: Who is the host in the city of Philadelphia?
Here is the SQLite query to answer to the question: Who is the host in ... | bugdaryan/sql-create-context-instruction | |
[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 (away_team VARCHAR, home_team VARCHAR)
Question: What is the away side's score when richmond is at home?
[/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_3 (away_team VARCHAR, home_team VARCHAR)
Question: What is the away side's score when richmond is at home?
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_1939367_1 (arabs_2011 VARCHAR, province VARCHAR)
Question: If the province is Nunavut, what is the Arabs 2011 amount?
[/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_1939367_1 (arabs_2011 VARCHAR, province VARCHAR)
Question: If the province is Nunavut, what is the Arabs 2011 amount?
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_46 (opponent VARCHAR, time VARCHAR)
Question: Which opponent has a Time of 1:34?
[/INST]
Here is the SQLite query to answer to the question: Which oppone... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (opponent VARCHAR, time VARCHAR)
Question: Which opponent has a Time of 1:34?
Here is the SQLite query to answer to the question: Which opponent has a Time... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (failures INTEGER, launches VARCHAR, partial_failures VARCHAR)
Question: What is the least amount of failures with 1 launch and 0 partial failures?
[/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (failures INTEGER, launches VARCHAR, partial_failures VARCHAR)
Question: What is the least amount of failures with 1 launch and 0 partial failures?
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_78 (opponent VARCHAR, score VARCHAR)
Question: Who was the opponent at the game with a score of 111-106?
[/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_78 (opponent VARCHAR, score VARCHAR)
Question: Who was the opponent at the game with a score of 111-106?
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_83 (runner_up VARCHAR, country VARCHAR, venue VARCHAR)
Question: What player from England was the runner-up at the match played at the Royal Porthcawl Go... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (runner_up VARCHAR, country VARCHAR, venue VARCHAR)
Question: What player from England was the runner-up at the match played at the Royal Porthcawl Golf Clu... | bugdaryan/sql-create-context-instruction | |
[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 (date VARCHAR, result VARCHAR)
Question: Which date has a Result of l 25-13?
[/INST]
Here is the SQLite query to answer to the question: Which date ha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (date VARCHAR, result VARCHAR)
Question: Which date has a Result of l 25-13?
Here is the SQLite query to answer to the question: Which date has a Result 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 city (city VARCHAR, GDP VARCHAR)
Question: Which city has the lowest GDP? Please list the city name and its GDP.
[/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 city (city VARCHAR, GDP VARCHAR)
Question: Which city has the lowest GDP? Please list the city name and its GDP.
Here is the SQLite query to answer to the question: Whic... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (variant_id VARCHAR)
Question: Which 5’UTR splice has a Variant ID at sftpa1 variant 2?
[/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_46 (variant_id VARCHAR)
Question: Which 5’UTR splice has a Variant ID at sftpa1 variant 2?
Here is the SQLite query to answer to the question: Which 5’UTR spl... | bugdaryan/sql-create-context-instruction | |
[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 (driver VARCHAR, position VARCHAR, season VARCHAR)
Question: What is Driver, when Position is 2nd, and when Season is 2001?
[/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_77 (driver VARCHAR, position VARCHAR, season VARCHAR)
Question: What is Driver, when Position is 2nd, and when Season is 2001?
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_58 (track_number VARCHAR, recording_date VARCHAR, title VARCHAR)
Question: How many track numbers were recorded on November 16, 1959 for the title of I C... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (track_number VARCHAR, recording_date VARCHAR, title VARCHAR)
Question: How many track numbers were recorded on November 16, 1959 for the title of I Couldn'... | bugdaryan/sql-create-context-instruction | |
[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 VARCHAR, actor VARCHAR, film VARCHAR, category VARCHAR)
Question: What year was Jennifer Tilly's Film of Bullets Over Broadway up in the best su... | 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 VARCHAR, actor VARCHAR, film VARCHAR, category VARCHAR)
Question: What year was Jennifer Tilly's Film of Bullets Over Broadway up in the best supporti... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14623167_1 (branding VARCHAR, physical VARCHAR)
Question: Name the number of branding for 31 physical
[/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_14623167_1 (branding VARCHAR, physical VARCHAR)
Question: Name the number of branding for 31 physical
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_name_87 (title VARCHAR, doctor VARCHAR, company VARCHAR)
Question: What is Title, when Doctor is 06 Sixth Doctor, and when Company is Big Finish?
[/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_87 (title VARCHAR, doctor VARCHAR, company VARCHAR)
Question: What is Title, when Doctor is 06 Sixth Doctor, and when Company is Big Finish?
Here is the SQLit... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (date VARCHAR, performer_4 VARCHAR, performer_2 VARCHAR, performer_3 VARCHAR)
Question: What is the date of the episode with Ryan Stiles as performer ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (date VARCHAR, performer_4 VARCHAR, performer_2 VARCHAR, performer_3 VARCHAR)
Question: What is the date of the episode with Ryan Stiles as performer 2, Col... | bugdaryan/sql-create-context-instruction | |
[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 (team_2 VARCHAR, score VARCHAR)
Question: What is Team 2, when Score is 2 - 1?
[/INST]
Here is the SQLite query to answer to the question: What is Tea... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (team_2 VARCHAR, score VARCHAR)
Question: What is Team 2, when Score is 2 - 1?
Here is the SQLite query to answer to the question: What is Team 2, when 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_88 (team VARCHAR, class VARCHAR, rank VARCHAR)
Question: Which team has a class of 500cc and rank of 16th?
[/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_88 (team VARCHAR, class VARCHAR, rank VARCHAR)
Question: Which team has a class of 500cc and rank of 16th?
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_29686983_1 (fastest_lap VARCHAR, round VARCHAR)
Question: who had the fastest lap for round 1?
[/INST]
Here is the SQLite query to answer to the question: who... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29686983_1 (fastest_lap VARCHAR, round VARCHAR)
Question: who had the fastest lap for round 1?
Here is the SQLite query to answer to the question: who had the fast... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (song VARCHAR, length VARCHAR)
Question: Which song lasts 3:34?
[/INST]
Here is the SQLite query to answer to the question: Which song lasts 3:34?:
``... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (song VARCHAR, length VARCHAR)
Question: Which song lasts 3:34?
Here is the SQLite query to answer to the question: Which song lasts 3:34?:
```
SELECT song... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (silver INTEGER, nation VARCHAR, total VARCHAR, bronze VARCHAR, gold VARCHAR)
Question: What is the highest number of silver medals that Ireland earne... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (silver INTEGER, nation VARCHAR, total VARCHAR, bronze VARCHAR, gold VARCHAR)
Question: What is the highest number of silver medals that Ireland earned when... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (rookie VARCHAR, goalkeeper VARCHAR, week VARCHAR)
Question: Who is the rookie goalkeeper Rob Scherr who played before week 6?
[/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_5 (rookie VARCHAR, goalkeeper VARCHAR, week VARCHAR)
Question: Who is the rookie goalkeeper Rob Scherr who played before week 6?
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_90 (team VARCHAR, points VARCHAR, rank VARCHAR)
Question: Which team has 16 points and ranks 14th?
[/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_90 (team VARCHAR, points VARCHAR, rank VARCHAR)
Question: Which team has 16 points and ranks 14th?
Here is the SQLite query to answer to the question: Which 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_38 (date_departed VARCHAR, class VARCHAR)
Question: What's the departed date for Grimsby Class Sloop?
[/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_38 (date_departed VARCHAR, class VARCHAR)
Question: What's the departed date for Grimsby Class Sloop?
Here is the SQLite query to answer to the question: What... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29644931_1 (participants_recipients VARCHAR, film_festival VARCHAR)
Question: Which films participated in the 30th Hawaii International Film Festival?
[/INST]... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29644931_1 (participants_recipients VARCHAR, film_festival VARCHAR)
Question: Which films participated in the 30th Hawaii International Film Festival?
Here is the ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (points INTEGER, winnings VARCHAR, car__number VARCHAR)
Question: How many points did the driver who won $127,541 driving car #31 get?
[/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_88 (points INTEGER, winnings VARCHAR, car__number VARCHAR)
Question: How many points did the driver who won $127,541 driving car #31 get?
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_74 (type VARCHAR, name VARCHAR)
Question: What is the type of station for ESPN International Sports?
[/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_74 (type VARCHAR, name VARCHAR)
Question: What is the type of station for ESPN International Sports?
Here is the SQLite query to answer to the question: What ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1847523_2 (affiliation VARCHAR, station VARCHAR)
Question: What station is affiliated with kmgh-tv?
[/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_1847523_2 (affiliation VARCHAR, station VARCHAR)
Question: What station is affiliated with kmgh-tv?
Here is the SQLite query to answer to the question: What statio... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE editor (Name VARCHAR, Age VARCHAR)
Question: What are the names and ages of editors?
[/INST]
Here is the SQLite query to answer to the question: What are the names ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE editor (Name VARCHAR, Age VARCHAR)
Question: What are the names and ages of editors?
Here is the SQLite query to answer to the question: What are the names and ages of e... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1206114_2 (netflow_version VARCHAR, vendor_and_type VARCHAR)
Question: How many netflow version are there when the vendor and type is enterasys switches?
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1206114_2 (netflow_version VARCHAR, vendor_and_type VARCHAR)
Question: How many netflow version are there when the vendor and type is enterasys switches?
Here is t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (population VARCHAR, area VARCHAR)
Question: What is the population of area of 11?
[/INST]
Here is the SQLite query to answer to the question: What is... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (population VARCHAR, area VARCHAR)
Question: What is the population of area of 11?
Here is the SQLite query to answer to the question: What is the populati... | bugdaryan/sql-create-context-instruction | |
[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 (home_team VARCHAR, away_team VARCHAR)
Question: Who is the home team of the game against Essendon?
[/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_96 (home_team VARCHAR, away_team VARCHAR)
Question: Who is the home team of the game against Essendon?
Here is the SQLite query to answer to the question: Who... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE authorship (authid VARCHAR, paperid VARCHAR); CREATE TABLE papers (paperid VARCHAR, title VARCHAR); CREATE TABLE authors (fname VARCHAR, lname VARCHAR, authid VARCHAR)
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE authorship (authid VARCHAR, paperid VARCHAR); CREATE TABLE papers (paperid VARCHAR, title VARCHAR); CREATE TABLE authors (fname VARCHAR, lname VARCHAR, authid VARCHAR)
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_19901_1 (rear_sight_type VARCHAR, muzzle_device VARCHAR)
Question: What is the rear sight type on the model with the acr muzzle brake device?
[/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_19901_1 (rear_sight_type VARCHAR, muzzle_device VARCHAR)
Question: What is the rear sight type on the model with the acr muzzle brake device?
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_27704991_1 (long_ranged_weapons VARCHAR, close_ranged_weapons VARCHAR)
Question: If the Close ranged weapons are the knife (stone), knife (iron), what are the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27704991_1 (long_ranged_weapons VARCHAR, close_ranged_weapons VARCHAR)
Question: If the Close ranged weapons are the knife (stone), knife (iron), what are the Long ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1701371_2 (pixels VARCHAR, hardware_colours VARCHAR)
Question: How many pixels would be found in a hardware colour of 8?
[/INST]
Here is the SQLite query to a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1701371_2 (pixels VARCHAR, hardware_colours VARCHAR)
Question: How many pixels would be found in a hardware colour of 8?
Here is the SQLite query to answer to the ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (coaster_name VARCHAR, year_opened VARCHAR, track VARCHAR)
Question: What is the coaster name that was opened in 1978, and have wooden track?
[/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 (coaster_name VARCHAR, year_opened VARCHAR, track VARCHAR)
Question: What is the coaster name that was opened in 1978, and have wooden track?
Here is the S... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23285805_4 (team VARCHAR, record VARCHAR)
Question: If the record is 5-8, what is the team name?
[/INST]
Here is the SQLite query to answer to the question: I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23285805_4 (team VARCHAR, record VARCHAR)
Question: If the record is 5-8, what is the team name?
Here is the SQLite query to answer to the question: If the record ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26368963_2 (under_13 VARCHAR, under_15 VARCHAR)
Question: What is every value for Under-13 when value for Under-15 is Maria Elena Ubina?
[/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_26368963_2 (under_13 VARCHAR, under_15 VARCHAR)
Question: What is every value for Under-13 when value for Under-15 is Maria Elena Ubina?
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_1046454_1 (division INTEGER)
Question: what is the maximum division
[/INST]
Here is the SQLite query to answer to the question: what is the maximum division:
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1046454_1 (division INTEGER)
Question: what is the maximum division
Here is the SQLite query to answer to the question: what is the maximum division:
```
SELECT MA... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (away_captain VARCHAR, venue VARCHAR)
Question: Who is the away captain for Kingsmead?
[/INST]
Here is the SQLite query to answer to the question: Who... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (away_captain VARCHAR, venue VARCHAR)
Question: Who is the away captain for Kingsmead?
Here is the SQLite query to answer to the question: Who is the away ... | bugdaryan/sql-create-context-instruction | |
[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 (county VARCHAR, latitude VARCHAR, geo_id VARCHAR)
Question: In what county is the latitude less than 46.935364 and GEO ID is 3801700500?
[/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_4 (county VARCHAR, latitude VARCHAR, geo_id VARCHAR)
Question: In what county is the latitude less than 46.935364 and GEO ID is 3801700500?
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 teacher (Id VARCHAR)
Question: How many teachers are there?
[/INST]
Here is the SQLite query to answer to the question: How many teachers are there?:
```
SELECT COU... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE teacher (Id VARCHAR)
Question: How many teachers are there?
Here is the SQLite query to answer to the question: How many teachers are there?:
```
SELECT COUNT(*) FROM te... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (attendance VARCHAR, date VARCHAR)
Question: What was the attendance on May 26?
[/INST]
Here is the SQLite query to answer to the question: What was t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (attendance VARCHAR, date VARCHAR)
Question: What was the attendance on May 26?
Here is the SQLite query to answer to the question: What was the attendance... | 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.