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_10015132_21 (position VARCHAR, player VARCHAR)
Question: Which position does Loren Woods play?
[/INST]
Here is the SQLite query to answer to the question: Whi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10015132_21 (position VARCHAR, player VARCHAR)
Question: Which position does Loren Woods play?
Here is the SQLite query to answer to the question: Which position d... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28283535_4 (rating VARCHAR, episode VARCHAR)
Question: What is the rating of episode 1.04?
[/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_28283535_4 (rating VARCHAR, episode VARCHAR)
Question: What is the rating of episode 1.04?
Here is the SQLite query to answer to the question: What is the rating o... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (goals_conceded INTEGER, points VARCHAR, lost VARCHAR)
Question: What is the total of Goals Conceded that has Points smaller than 21 and a Lost thats ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (goals_conceded INTEGER, points VARCHAR, lost VARCHAR)
Question: What is the total of Goals Conceded that has Points smaller than 21 and a Lost thats smalle... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26199484_1 (written_by VARCHAR, no VARCHAR)
Question: Who wrote title number 38?
[/INST]
Here is the SQLite query to answer to the question: Who wrote title n... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26199484_1 (written_by VARCHAR, no VARCHAR)
Question: Who wrote title number 38?
Here is the SQLite query to answer to the question: Who wrote title number 38?:
``... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1167698_1 (champion VARCHAR, season VARCHAR)
Question: How many champions were there in 2009?
[/INST]
Here is the SQLite query to answer to the question: How ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1167698_1 (champion VARCHAR, season VARCHAR)
Question: How many champions were there in 2009?
Here is the SQLite query to answer to the question: How many champion... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (killed INTEGER, perpetrator VARCHAR)
Question: What is the average number of people killed with a Perpetrator of wirjo, 42?
[/INST]
Here is the SQLit... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (killed INTEGER, perpetrator VARCHAR)
Question: What is the average number of people killed with a Perpetrator of wirjo, 42?
Here is the SQLite query to an... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (wins VARCHAR, series VARCHAR, season VARCHAR)
Question: What is the value for Wins, when the Series is GP2 Series, and when the Season is before 2009... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (wins VARCHAR, series VARCHAR, season VARCHAR)
Question: What is the value for Wins, when the Series is GP2 Series, and when the Season is before 2009?
Her... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (horse VARCHAR, faults VARCHAR, total VARCHAR)
Question: Tell me the horse when the faults are 9 and the total is 46.36
[/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_11 (horse VARCHAR, faults VARCHAR, total VARCHAR)
Question: Tell me the horse when the faults are 9 and the total is 46.36
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_42 (mixed_doubles VARCHAR, season VARCHAR)
Question: Who won mixed doubles in the 2002 season?
[/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_42 (mixed_doubles VARCHAR, season VARCHAR)
Question: Who won mixed doubles in the 2002 season?
Here is the SQLite query to answer to the question: Who won mix... | bugdaryan/sql-create-context-instruction | |
[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 (played INTEGER, lost VARCHAR, points VARCHAR)
Question: How many games were played when the loss is less than 5 and points greater than 41?
[/INST]
H... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (played INTEGER, lost VARCHAR, points VARCHAR)
Question: How many games were played when the loss is less than 5 and points greater than 41?
Here is the SQ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29163303_2 (score VARCHAR, championship VARCHAR)
Question: What are the results of those matches where the championship is French Open?
[/INST]
Here is the SQ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29163303_2 (score VARCHAR, championship VARCHAR)
Question: What are the results of those matches where the championship is French Open?
Here is the SQLite query to... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (record VARCHAR, week VARCHAR, date VARCHAR)
Question: What was the record for a week below 13 on July 12?
[/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_82 (record VARCHAR, week VARCHAR, date VARCHAR)
Question: What was the record for a week below 13 on July 12?
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_name_21 (hdtv VARCHAR, television_service VARCHAR)
Question: What is HDTV, when Television Service is MTV Rocks?
[/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_21 (hdtv VARCHAR, television_service VARCHAR)
Question: What is HDTV, when Television Service is MTV Rocks?
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 Student (LName VARCHAR, age INTEGER)
Question: What is the last name of the youngest student?
[/INST]
Here is the SQLite query to answer to the question: What is th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Student (LName VARCHAR, age INTEGER)
Question: What is the last name of the youngest student?
Here is the SQLite query to answer to the question: What is the last name o... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2168295_1 (area__km²_ INTEGER, headquarters VARCHAR)
Question: If the headquarters is Bharatpur, what is the maximum area?
[/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_2168295_1 (area__km²_ INTEGER, headquarters VARCHAR)
Question: If the headquarters is Bharatpur, what is the maximum area?
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_78 (year VARCHAR, comptroller VARCHAR, party VARCHAR)
Question: How many times what the comptroller alan hevesi and the party working families?
[/INST]
H... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (year VARCHAR, comptroller VARCHAR, party VARCHAR)
Question: How many times what the comptroller alan hevesi and the party working families?
Here is the SQ... | bugdaryan/sql-create-context-instruction | |
[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 (role VARCHAR, leading_lady VARCHAR)
Question: What role did John Wayne play with Verna Hillie as the leading lady?
[/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_80 (role VARCHAR, leading_lady VARCHAR)
Question: What role did John Wayne play with Verna Hillie as the leading lady?
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_99 (date VARCHAR, label VARCHAR, format VARCHAR)
Question: What date had a 4ad label and a CD (reissue) format?
[/INST]
Here is the SQLite query to answe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (date VARCHAR, label VARCHAR, format VARCHAR)
Question: What date had a 4ad label and a CD (reissue) format?
Here is the SQLite query to answer to the ques... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (venue VARCHAR, rank VARCHAR)
Question: Which venue is rank 3?
[/INST]
Here is the SQLite query to answer to the question: Which venue is rank 3?:
```... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (venue VARCHAR, rank VARCHAR)
Question: Which venue is rank 3?
Here is the SQLite query to answer to the question: Which venue is rank 3?:
```
SELECT venue... | bugdaryan/sql-create-context-instruction | |
[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 (attendance VARCHAR, week VARCHAR)
Question: What was the Attendance in Week 2?
[/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_25 (attendance VARCHAR, week VARCHAR)
Question: What was the Attendance in Week 2?
Here is the SQLite query to answer to the question: What was the Attendance... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2668169_2 (candidates VARCHAR, district VARCHAR)
Question: Who are the candidates for the Pennsylvania 11 district?
[/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_2668169_2 (candidates VARCHAR, district VARCHAR)
Question: Who are the candidates for the Pennsylvania 11 district?
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_76 (to_par VARCHAR, player VARCHAR)
Question: What was Bill Glasson's score to par after 2 rounds?
[/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_76 (to_par VARCHAR, player VARCHAR)
Question: What was Bill Glasson's score to par after 2 rounds?
Here is the SQLite query to answer to the question: What wa... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Projects (project_id VARCHAR, project_details VARCHAR); CREATE TABLE Documents (project_id VARCHAR)
Question: What is the project id and detail for the project with... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Projects (project_id VARCHAR, project_details VARCHAR); CREATE TABLE Documents (project_id VARCHAR)
Question: What is the project id and detail for the project with at le... | bugdaryan/sql-create-context-instruction | |
[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 (gold INTEGER, bronze VARCHAR, silver VARCHAR, rank VARCHAR)
Question: What is the low gold total for nations with under 23 silvers, ranked beloe 5, a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (gold INTEGER, bronze VARCHAR, silver VARCHAR, rank VARCHAR)
Question: What is the low gold total for nations with under 23 silvers, ranked beloe 5, and 6 b... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24257833_4 (operating_system VARCHAR, webkit_version VARCHAR)
Question: List all OS's with a webkit version of 525.29.1.
[/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_24257833_4 (operating_system VARCHAR, webkit_version VARCHAR)
Question: List all OS's with a webkit version of 525.29.1.
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_62 (date VARCHAR, record VARCHAR)
Question: On what Date was the Record 9–6–4?
[/INST]
Here is the SQLite query to answer to the question: On what Date w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (date VARCHAR, record VARCHAR)
Question: On what Date was the Record 9–6–4?
Here is the SQLite query to answer to the question: On what Date was 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_name_97 (votes INTEGER, riding VARCHAR, rank VARCHAR, occupation VARCHAR)
Question: What's the lowest in Votes with a Rank of 5th, has an Occupation of retire... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (votes INTEGER, riding VARCHAR, rank VARCHAR, occupation VARCHAR)
Question: What's the lowest in Votes with a Rank of 5th, has an Occupation of retired, alo... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (fa_cup_goals INTEGER, total_apps VARCHAR)
Question: what is the fa cup goals when total apps is 10 (4)?
[/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_12 (fa_cup_goals INTEGER, total_apps VARCHAR)
Question: what is the fa cup goals when total apps is 10 (4)?
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_50 (place VARCHAR, player VARCHAR)
Question: What was Stacy Lewis' place?
[/INST]
Here is the SQLite query to answer to the question: What was Stacy Lewi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (place VARCHAR, player VARCHAR)
Question: What was Stacy Lewis' place?
Here is the SQLite query to answer to the question: What was Stacy Lewis' place?:
``... | bugdaryan/sql-create-context-instruction | |
[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 (grid INTEGER, driver VARCHAR, laps VARCHAR)
Question: Tell me the average Grid for driver of Luca Badoer and Laps more than 69
[/INST]
Here is the SQ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (grid INTEGER, driver VARCHAR, laps VARCHAR)
Question: Tell me the average Grid for driver of Luca Badoer and Laps more than 69
Here is the SQLite query to... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (language VARCHAR, film VARCHAR)
Question: What language is the film Marion Bridge?
[/INST]
Here is the SQLite query to answer to the question: What l... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (language VARCHAR, film VARCHAR)
Question: What language is the film Marion Bridge?
Here is the SQLite query to answer to the question: What language 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_20 (rank VARCHAR, player VARCHAR, bb_so VARCHAR)
Question: What was the rank of tris speaker when BB/SO was 7?
[/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_20 (rank VARCHAR, player VARCHAR, bb_so VARCHAR)
Question: What was the rank of tris speaker when BB/SO was 7?
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_36 (region VARCHAR, city VARCHAR)
Question: In what region is the city of Austin?
[/INST]
Here is the SQLite query to answer to the question: In what reg... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (region VARCHAR, city VARCHAR)
Question: In what region is the city of Austin?
Here is the SQLite query to answer to the question: In what region is the ci... | bugdaryan/sql-create-context-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 (annual_interchanges__millions__2011_12 VARCHAR, annual_entry_exit__millions__2011_12 VARCHAR)
Question: How many annual interchanges in the millio... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18118221_1 (annual_interchanges__millions__2011_12 VARCHAR, annual_entry_exit__millions__2011_12 VARCHAR)
Question: How many annual interchanges in the millions occ... | bugdaryan/sql-create-context-instruction | |
[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 (to_par VARCHAR, player VARCHAR)
Question: What is the t o par for Ralph Guldahl?
[/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_89 (to_par VARCHAR, player VARCHAR)
Question: What is the t o par for Ralph Guldahl?
Here is the SQLite query to answer to the question: What is the t o par f... | bugdaryan/sql-create-context-instruction | |
[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 (winner VARCHAR, semi_finalists VARCHAR)
Question: Which Winner has Semi-Finalists of £2,000?
[/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_71 (winner VARCHAR, semi_finalists VARCHAR)
Question: Which Winner has Semi-Finalists of £2,000?
Here is the SQLite query to answer to the question: Which Win... | bugdaryan/sql-create-context-instruction | |
[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 (school VARCHAR, ihsaa_class__football_class VARCHAR)
Question: What School had 3a/2a as the value for IHSAA Class/ Football Class?
[/INST]
Here is th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (school VARCHAR, ihsaa_class__football_class VARCHAR)
Question: What School had 3a/2a as the value for IHSAA Class/ Football Class?
Here is the SQLite quer... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE party (party_name VARCHAR, party_id VARCHAR); CREATE TABLE Member (party_id VARCHAR)
Question: What is the name of party with most number of members?
[/INST]
Here i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE party (party_name VARCHAR, party_id VARCHAR); CREATE TABLE Member (party_id VARCHAR)
Question: What is the name of party with most number of members?
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_56 (english_title VARCHAR, role VARCHAR)
Question: What is the English of chae soo-yeon?
[/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_56 (english_title VARCHAR, role VARCHAR)
Question: What is the English of chae soo-yeon?
Here is the SQLite query to answer to the question: What is the Engli... | bugdaryan/sql-create-context-instruction | |
[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 (sydney VARCHAR, gold_coast VARCHAR, auckland VARCHAR, melbourne VARCHAR, perth VARCHAR)
Question: yes or no for the sydney with yes for melbourne, no... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (sydney VARCHAR, gold_coast VARCHAR, auckland VARCHAR, melbourne VARCHAR, perth VARCHAR)
Question: yes or no for the sydney with yes for melbourne, no for p... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (place VARCHAR, to_par VARCHAR)
Question: What place had a To par of –10?
[/INST]
Here is the SQLite query to answer to the question: What place had a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (place VARCHAR, to_par VARCHAR)
Question: What place had a To par of –10?
Here is the SQLite query to answer to the question: What place had a To par of –1... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (district VARCHAR, name VARCHAR)
Question: What district is the parish Milburn in?
[/INST]
Here is the SQLite query to answer to the question: What di... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (district VARCHAR, name VARCHAR)
Question: What district is the parish Milburn in?
Here is the SQLite query to answer to the question: What district 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_29361707_2 (circuit VARCHAR, pole_position VARCHAR)
Question: Valmir Benavides won pole position at which circuit?
[/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_29361707_2 (circuit VARCHAR, pole_position VARCHAR)
Question: Valmir Benavides won pole position at which circuit?
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_13328239_4 (round VARCHAR, venue VARCHAR, result VARCHAR)
Question: What round was held at Knowsley Road, resulting in a lose.
[/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_13328239_4 (round VARCHAR, venue VARCHAR, result VARCHAR)
Question: What round was held at Knowsley Road, resulting in a lose.
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_90 (date VARCHAR, away_team VARCHAR)
Question: What date is st kilda the Away team?
[/INST]
Here is the SQLite query to answer to the question: What date... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (date VARCHAR, away_team VARCHAR)
Question: What date is st kilda the Away team?
Here is the SQLite query to answer to the question: What date is st kilda ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE festival_detail (LOCATION VARCHAR, Num_of_Audience VARCHAR)
Question: What is the location of the festival with the largest number of audience?
[/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 festival_detail (LOCATION VARCHAR, Num_of_Audience VARCHAR)
Question: What is the location of the festival with the largest number of audience?
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_50 (australian VARCHAR, examples VARCHAR)
Question: What is Australian, when Examples is "elysium, emeritus, epitome, erotica"?
[/INST]
Here is the SQLit... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (australian VARCHAR, examples VARCHAR)
Question: What is Australian, when Examples is "elysium, emeritus, epitome, erotica"?
Here is the SQLite query to an... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15026994_3 (episode VARCHAR, viewing_figure VARCHAR)
Question: Which episode has been viewed 6.34 million times?
[/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_15026994_3 (episode VARCHAR, viewing_figure VARCHAR)
Question: Which episode has been viewed 6.34 million times?
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_23141790_1 (director VARCHAR, original_title VARCHAR)
Question: Name the total number of director for vesničko má středisková
[/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_23141790_1 (director VARCHAR, original_title VARCHAR)
Question: Name the total number of director for vesničko má středisková
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_32 (visitor VARCHAR, decision VARCHAR, record VARCHAR)
Question: Which Visitor has a Decision of myre, and a Record of 44–7–15?
[/INST]
Here is the SQLit... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_32 (visitor VARCHAR, decision VARCHAR, record VARCHAR)
Question: Which Visitor has a Decision of myre, and a Record of 44–7–15?
Here is the SQLite query to an... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (total VARCHAR, gold VARCHAR)
Question: What is the total medal count for the nation that has 5 gold?
[/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 (total VARCHAR, gold VARCHAR)
Question: What is the total medal count for the nation that has 5 gold?
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_22835602_1 (directed_by VARCHAR, production_code VARCHAR)
Question: How many directors were there for the production code 1ark08?
[/INST]
Here is the SQLite q... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22835602_1 (directed_by VARCHAR, production_code VARCHAR)
Question: How many directors were there for the production code 1ark08?
Here is the SQLite query to answe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (tie_no VARCHAR, attendance VARCHAR)
Question: How many ties are there where attendance is 11,997?
[/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_43 (tie_no VARCHAR, attendance VARCHAR)
Question: How many ties are there where attendance is 11,997?
Here is the SQLite query to answer to the question: How ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (title VARCHAR, directed_by VARCHAR, season__number VARCHAR, series__number VARCHAR)
Question: What is the Title of the episode after Season 10 Direct... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (title VARCHAR, directed_by VARCHAR, season__number VARCHAR, series__number VARCHAR)
Question: What is the Title of the episode after Season 10 Directed by ... | bugdaryan/sql-create-context-instruction | |
[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 (week VARCHAR, date VARCHAR, attendance VARCHAR)
Question: In which week was the game played on October 12, 1975 and the crowd was larger than 44,043?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (week VARCHAR, date VARCHAR, attendance VARCHAR)
Question: In which week was the game played on October 12, 1975 and the crowd was larger than 44,043?
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_63 (gaelic_name VARCHAR, area___ha__ VARCHAR, location VARCHAR)
Question: What is the Gaelic name for an area less than 127 in Kintyre?
[/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_63 (gaelic_name VARCHAR, area___ha__ VARCHAR, location VARCHAR)
Question: What is the Gaelic name for an area less than 127 in Kintyre?
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_74 (against INTEGER, wins VARCHAR, losses VARCHAR, draws VARCHAR)
Question: What is the average number of against with less than 10 losses, more than 0 d... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (against INTEGER, wins VARCHAR, losses VARCHAR, draws VARCHAR)
Question: What is the average number of against with less than 10 losses, more than 0 draws, ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27553627_2 (episodes INTEGER, viewers__in_millions_ VARCHAR)
Question: What episode number had 14.41 million viewers?
[/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_27553627_2 (episodes INTEGER, viewers__in_millions_ VARCHAR)
Question: What episode number had 14.41 million viewers?
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_86 (Id VARCHAR)
Question: What is 1998, when 1994 is Grand Slam Tournaments?
[/INST]
Here is the SQLite query to answer to the question: What is 1998, wh... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (Id VARCHAR)
Question: What is 1998, when 1994 is Grand Slam Tournaments?
Here is the SQLite query to answer to the question: What is 1998, when 1994 is Gr... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26681728_1 (location VARCHAR, score_final VARCHAR)
Question: Where did the event with a final score of 15.050 occur?
[/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_26681728_1 (location VARCHAR, score_final VARCHAR)
Question: Where did the event with a final score of 15.050 occur?
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_21471897_2 (races VARCHAR, team_name VARCHAR)
Question: Name the races for the prada challenge
[/INST]
Here is the SQLite query to answer to the question: Nam... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21471897_2 (races VARCHAR, team_name VARCHAR)
Question: Name the races for the prada challenge
Here is the SQLite query to answer to the question: Name the races f... | bugdaryan/sql-create-context-instruction | |
[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 (country VARCHAR, player VARCHAR)
Question: What is Country, when Player is "Hale Irwin"?
[/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_96 (country VARCHAR, player VARCHAR)
Question: What is Country, when Player is "Hale Irwin"?
Here is the SQLite query to answer to the question: What is Count... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Accounts (customer_id VARCHAR); CREATE TABLE Customers (customer_first_name VARCHAR, customer_last_name VARCHAR, customer_id VARCHAR)
Question: What is the customer... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Accounts (customer_id VARCHAR); CREATE TABLE Customers (customer_first_name VARCHAR, customer_last_name VARCHAR, customer_id VARCHAR)
Question: What is the customer id, f... | bugdaryan/sql-create-context-instruction | |
[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 (cultural_and_educational_panel INTEGER, administrative_panel VARCHAR, agricultural_panel VARCHAR)
Question: What is the sum of the cultural and educa... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_87 (cultural_and_educational_panel INTEGER, administrative_panel VARCHAR, agricultural_panel VARCHAR)
Question: What is the sum of the cultural and educational... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (college_junior_club_team__league_ VARCHAR, round VARCHAR, position VARCHAR)
Question: What college or league did the round 2 pick with d position com... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (college_junior_club_team__league_ VARCHAR, round VARCHAR, position VARCHAR)
Question: What college or league did the round 2 pick with d position come from... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (loser VARCHAR, date VARCHAR, location VARCHAR, winner VARCHAR)
Question: Who lost at schaefer stadium when the Winner was new england patriots, and a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (loser VARCHAR, date VARCHAR, location VARCHAR, winner VARCHAR)
Question: Who lost at schaefer stadium when the Winner was new england patriots, and a Date ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_216776_2 (population__2010_ VARCHAR, municipality VARCHAR)
Question: How many different counts of the population in Cavinti in 2010 are there?
[/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_216776_2 (population__2010_ VARCHAR, municipality VARCHAR)
Question: How many different counts of the population in Cavinti in 2010 are there?
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_43 (bronze VARCHAR, total VARCHAR, gold VARCHAR)
Question: How many bronze had a total less than 4 and gold bigger than 1?
[/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_43 (bronze VARCHAR, total VARCHAR, gold VARCHAR)
Question: How many bronze had a total less than 4 and gold bigger than 1?
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_14 (date VARCHAR, high_points VARCHAR)
Question: What date did mehmet okur (24) have the most points?
[/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_14 (date VARCHAR, high_points VARCHAR)
Question: What date did mehmet okur (24) have the most points?
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_31 (bluetooth VARCHAR, model VARCHAR)
Question: Does the s35 model have bluetooth?
[/INST]
Here is the SQLite query to answer to the question: Does the s... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (bluetooth VARCHAR, model VARCHAR)
Question: Does the s35 model have bluetooth?
Here is the SQLite query to answer to the question: Does the s35 model have... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (rank VARCHAR, notes VARCHAR, country VARCHAR)
Question: What is the rank of the new zealand team that had fb listed under notes?
[/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_31 (rank VARCHAR, notes VARCHAR, country VARCHAR)
Question: What is the rank of the new zealand team that had fb listed under notes?
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_23 (date VARCHAR, result VARCHAR, score VARCHAR)
Question: Which date has a Result of won, and a Score of 1-0?
[/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_23 (date VARCHAR, result VARCHAR, score VARCHAR)
Question: Which date has a Result of won, and a Score of 1-0?
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_62 (score VARCHAR, record VARCHAR)
Question: What was the score of the game when the record was 28–19?
[/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_62 (score VARCHAR, record VARCHAR)
Question: What was the score of the game when the record was 28–19?
Here is the SQLite query to answer to the question: Wha... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27374740_1 (no_in_season INTEGER)
Question: What is the earliest numbered episode of the season?
[/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_27374740_1 (no_in_season INTEGER)
Question: What is the earliest numbered episode of the season?
Here is the SQLite query to answer to the question: What is the ea... | bugdaryan/sql-create-context-instruction | |
[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 (gswr_class VARCHAR, year VARCHAR)
Question: Which GSWR Class is from 1893?
[/INST]
Here is the SQLite query to answer to the question: Which GSWR Cla... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (gswr_class VARCHAR, year VARCHAR)
Question: Which GSWR Class is from 1893?
Here is the SQLite query to answer to the question: Which GSWR Class is from 18... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Aircraft (distance INTEGER)
Question: How many aircrafts have distance between 1000 and 5000?
[/INST]
Here is the SQLite query to answer to the question: How many a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Aircraft (distance INTEGER)
Question: How many aircrafts have distance between 1000 and 5000?
Here is the SQLite query to answer to the question: How many aircrafts have... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (revenues VARCHAR, courtesy_title VARCHAR)
Question: What is the Revenues of Ukyo-Daiyu?
[/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_81 (revenues VARCHAR, courtesy_title VARCHAR)
Question: What is the Revenues of Ukyo-Daiyu?
Here is the SQLite query to answer to the question: What is the Re... | bugdaryan/sql-create-context-instruction | |
[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 (postcodedistrict VARCHAR, location VARCHAR)
Question: What is the name of the Post code district that is in Eden Park?
[/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_76 (postcodedistrict VARCHAR, location VARCHAR)
Question: What is the name of the Post code district that is in Eden Park?
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 (nhl_team VARCHAR, player VARCHAR)
Question: Which NHL team has a Player of steve durbano?
[/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_97 (nhl_team VARCHAR, player VARCHAR)
Question: Which NHL team has a Player of steve durbano?
Here is the SQLite query to answer to the question: Which NHL 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_24143253_5 (deceased_spouse VARCHAR, length_of_marriage VARCHAR)
Question: Who was the deceased spouse who was married for 4 years?
[/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_24143253_5 (deceased_spouse VARCHAR, length_of_marriage VARCHAR)
Question: Who was the deceased spouse who was married for 4 years?
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_77 (name VARCHAR, company VARCHAR)
Question: Which Name has a Company of quantcast corporation?
[/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_77 (name VARCHAR, company VARCHAR)
Question: Which Name has a Company of quantcast corporation?
Here is the SQLite query to answer to the question: Which Name... | bugdaryan/sql-create-context-instruction | |
[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 (age__years VARCHAR, _days_ VARCHAR, begin_date VARCHAR)
Question: What was the age of the member of the United States House of Representatives that b... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (age__years VARCHAR, _days_ VARCHAR, begin_date VARCHAR)
Question: What was the age of the member of the United States House of Representatives that began t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (record_company VARCHAR, year_of_recording VARCHAR, format VARCHAR)
Question: What record company released a CD in 1964?
[/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_48 (record_company VARCHAR, year_of_recording VARCHAR, format VARCHAR)
Question: What record company released a CD in 1964?
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 Reviewer (rID VARCHAR, name VARCHAR); CREATE TABLE Movie (title VARCHAR, mID VARCHAR); CREATE TABLE Movie (title VARCHAR); CREATE TABLE Rating (mID VARCHAR, rID VARCHAR)... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Reviewer (rID VARCHAR, name VARCHAR); CREATE TABLE Movie (title VARCHAR, mID VARCHAR); CREATE TABLE Movie (title VARCHAR); CREATE TABLE Rating (mID VARCHAR, rID VARCHAR)
... | bugdaryan/sql-create-context-instruction | |
[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 (year_in_novel VARCHAR, published_as_serial VARCHAR)
Question: Which year in novel has a Published as serial of november 1934-april 1935, blue book?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (year_in_novel VARCHAR, published_as_serial VARCHAR)
Question: Which year in novel has a Published as serial of november 1934-april 1935, blue book?
Here i... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28243691_2 (team_nickname VARCHAR, enrollment VARCHAR)
Question: What's the nickname of the team with enrollment of 40747?
[/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_28243691_2 (team_nickname VARCHAR, enrollment VARCHAR)
Question: What's the nickname of the team with enrollment of 40747?
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_68 (rank INTEGER, date VARCHAR)
Question: Date of 7 september 1996 includes which highest rank athlete?
[/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_68 (rank INTEGER, date VARCHAR)
Question: Date of 7 september 1996 includes which highest rank athlete?
Here is the SQLite query to answer to the question: Da... | bugdaryan/sql-create-context-instruction | |
[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 (home_team VARCHAR, away_team VARCHAR)
Question: What is the home team score when the away team is Collingwood?
[/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_36 (home_team VARCHAR, away_team VARCHAR)
Question: What is the home team score when the away team is Collingwood?
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_49 (left_office VARCHAR, first_minister VARCHAR)
Question: What left office does the First Minister of henry mcleish belong to?
[/INST]
Here is the SQLit... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (left_office VARCHAR, first_minister VARCHAR)
Question: What left office does the First Minister of henry mcleish belong to?
Here is the SQLite query to an... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1341423_43 (incumbent VARCHAR, district VARCHAR)
Question: Name the incumbent for texas 22 district
[/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_1341423_43 (incumbent VARCHAR, district VARCHAR)
Question: Name the incumbent for texas 22 district
Here is the SQLite query to answer to the question: Name the 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_94 (played VARCHAR)
Question: Which Played has a Club of club?
[/INST]
Here is the SQLite query to answer to the question: Which Played has a Club of clu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (played VARCHAR)
Question: Which Played has a Club of club?
Here is the SQLite query to answer to the question: Which Played has a Club of club?:
```
SELEC... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1305623_18 (gold_medals VARCHAR, silver_medals INTEGER)
Question: what are all the gold medals when the silver medals is smaller than 1.0?
[/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_1305623_18 (gold_medals VARCHAR, silver_medals INTEGER)
Question: what are all the gold medals when the silver medals is smaller than 1.0?
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_25213146_2 (winning_team VARCHAR, circuit VARCHAR)
Question: On the Circuit Zolder who was the winning team?
[/INST]
Here is the SQLite query to answer to the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25213146_2 (winning_team VARCHAR, circuit VARCHAR)
Question: On the Circuit Zolder who was the winning team?
Here is the SQLite query to answer to the question: On... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Companies (name VARCHAR, Headquarters VARCHAR)
Question: What are the names of companies whose headquarters are not "USA"?
[/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 Companies (name VARCHAR, Headquarters VARCHAR)
Question: What are the names of companies whose headquarters are not "USA"?
Here is the SQLite query to answer to the ques... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_51 (goals INTEGER, games VARCHAR)
Question: How many goals are associated with 75 games?
[/INST]
Here is the SQLite query to answer to the question: How ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_51 (goals INTEGER, games VARCHAR)
Question: How many goals are associated with 75 games?
Here is the SQLite query to answer to the question: How many goals ar... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (competition VARCHAR, date VARCHAR)
Question: what is the competition on 21 april 2001?
[/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_75 (competition VARCHAR, date VARCHAR)
Question: what is the competition on 21 april 2001?
Here is the SQLite query to answer to the question: what is the com... | bugdaryan/sql-create-context-instruction | |
[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 (location VARCHAR)
Question: Which Location has a Time of time?
[/INST]
Here is the SQLite query to answer to the question: Which Location has a Time ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (location VARCHAR)
Question: Which Location has a Time of time?
Here is the SQLite query to answer to the question: Which Location has a Time of 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_27833186_1 (distance__miles_ VARCHAR, horse_name VARCHAR)
Question: What was the distance (in miles) of the championship were the winning horse was Koona?
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27833186_1 (distance__miles_ VARCHAR, horse_name VARCHAR)
Question: What was the distance (in miles) of the championship were the winning horse was Koona?
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_53 (enrollment INTEGER, mascot VARCHAR)
Question: What is the enrollment of the school whose mascot is hot dogs?
[/INST]
Here is the SQLite query to answ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (enrollment INTEGER, mascot VARCHAR)
Question: What is the enrollment of the school whose mascot is hot dogs?
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_89 (third_place VARCHAR, total_wins VARCHAR, winners VARCHAR)
Question: Who is third-place with less than 5 total wins with china b as the winners?
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (third_place VARCHAR, total_wins VARCHAR, winners VARCHAR)
Question: Who is third-place with less than 5 total wins with china b as the winners?
Here is th... | 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.