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_13758945_3 (club VARCHAR, losing_bonus VARCHAR)
Question: what's the club with losing bonus being 1
[/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_13758945_3 (club VARCHAR, losing_bonus VARCHAR)
Question: what's the club with losing bonus being 1
Here is the SQLite query to answer to the question: what's 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_47 (Id VARCHAR)
Question: Which year has a 2011 of 1r?
[/INST]
Here is the SQLite query to answer to the question: Which year has a 2011 of 1r?:
```
SELE... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (Id VARCHAR)
Question: Which year has a 2011 of 1r?
Here is the SQLite query to answer to the question: Which year has a 2011 of 1r?:
```
SELECT 2008 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_24 (total INTEGER, rank VARCHAR, gold VARCHAR)
Question: Which Total is the highest one that has a Rank of 1, and a Gold larger than 11?
[/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_24 (total INTEGER, rank VARCHAR, gold VARCHAR)
Question: Which Total is the highest one that has a Rank of 1, and a Gold larger than 11?
Here is the SQLite 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_11690135_1 (swimsuit VARCHAR, evening_gown VARCHAR)
Question: How many ladies scored a 9.89 for the evening gown?
[/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_11690135_1 (swimsuit VARCHAR, evening_gown VARCHAR)
Question: How many ladies scored a 9.89 for the evening gown?
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_78 (pick__number VARCHAR, affiliation VARCHAR)
Question: Tell me the total number of pick for university of virginia
[/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_78 (pick__number VARCHAR, affiliation VARCHAR)
Question: Tell me the total number of pick for university of virginia
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_97 (lead VARCHAR, third VARCHAR)
Question: Who holds the lead role when Aanders Brorson is third?
[/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_97 (lead VARCHAR, third VARCHAR)
Question: Who holds the lead role when Aanders Brorson is third?
Here is the SQLite query to answer to the question: Who hold... | bugdaryan/sql-create-context-instruction | |
[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 (memory VARCHAR, chipset VARCHAR)
Question: Which model's chipset is intel 955?
[/INST]
Here is the SQLite query to answer to the question: Which mode... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (memory VARCHAR, chipset VARCHAR)
Question: Which model's chipset is intel 955?
Here is the SQLite query to answer to the question: Which model's chipset 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_24096813_15 (l1_cache VARCHAR, sspec_number VARCHAR)
Question: What's the l1 cache of the model with sspec number sl2z3, sl28q (mya0)?
[/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_24096813_15 (l1_cache VARCHAR, sspec_number VARCHAR)
Question: What's the l1 cache of the model with sspec number sl2z3, sl28q (mya0)?
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_11658094_3 (left VARCHAR, institution VARCHAR)
Question: How many times did anderson university leave?
[/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_11658094_3 (left VARCHAR, institution VARCHAR)
Question: How many times did anderson university leave?
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_59 (result VARCHAR, opponent VARCHAR)
Question: Who one in the Tampa Bay Buccaneers?
[/INST]
Here is the SQLite query to answer to the question: Who one ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (result VARCHAR, opponent VARCHAR)
Question: Who one in the Tampa Bay Buccaneers?
Here is the SQLite query to answer to the question: Who one in the Tampa ... | bugdaryan/sql-create-context-instruction | |
[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 (score VARCHAR, year VARCHAR)
Question: What score has 1998 as the year?
[/INST]
Here is the SQLite query to answer to the question: What score has 19... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (score VARCHAR, year VARCHAR)
Question: What score has 1998 as the year?
Here is the SQLite query to answer to the question: What score has 1998 as the yea... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14670060_1 (languages VARCHAR, call_sign VARCHAR)
Question: What languages are spoken when call sign XEJAM is used?
[/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_14670060_1 (languages VARCHAR, call_sign VARCHAR)
Question: What languages are spoken when call sign XEJAM is used?
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 products (product_details VARCHAR)
Question: What are the details of all products?
[/INST]
Here is the SQLite query to answer to the question: What are the details ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE products (product_details VARCHAR)
Question: What are the details of all products?
Here is the SQLite query to answer to the question: What are the details of all produc... | bugdaryan/sql-create-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 (project_details VARCHAR, project_id VARCHAR); CREATE TABLE Projects (project_details VARCHAR, project_id VARCHAR)
Question: Which projects have no... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Project_outcomes (project_details VARCHAR, project_id VARCHAR); CREATE TABLE Projects (project_details VARCHAR, project_id VARCHAR)
Question: Which projects have no outco... | bugdaryan/sql-create-context-instruction | |
[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 (score VARCHAR, to_par VARCHAR, country VARCHAR)
Question: WHich Score has a To par of –3, and a Country of united states?
[/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_28 (score VARCHAR, to_par VARCHAR, country VARCHAR)
Question: WHich Score has a To par of –3, and a Country of united states?
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_31 (college_junior_club_team__league_ VARCHAR, position VARCHAR, round VARCHAR)
Question: In what League in Round 6 is the Position Right Wing?
[/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_31 (college_junior_club_team__league_ VARCHAR, position VARCHAR, round VARCHAR)
Question: In what League in Round 6 is the Position Right Wing?
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_3 (conductor VARCHAR, orchestra VARCHAR)
Question: Who is the conductor when the chicago symphony orchestra is featured?
[/INST]
Here is the SQLite query... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (conductor VARCHAR, orchestra VARCHAR)
Question: Who is the conductor when the chicago symphony orchestra is featured?
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_17103566_1 (result VARCHAR, team_1 VARCHAR)
Question: What is the result when team 1 is ICL Pakistan?
[/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_17103566_1 (result VARCHAR, team_1 VARCHAR)
Question: What is the result when team 1 is ICL Pakistan?
Here is the SQLite query to answer to the question: What 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_24535095_2 (team VARCHAR, listed_owner_s_ VARCHAR)
Question: Name the team for susan bates
[/INST]
Here is the SQLite query to answer to the question: Name th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24535095_2 (team VARCHAR, listed_owner_s_ VARCHAR)
Question: Name the team for susan bates
Here is the SQLite query to answer to the question: Name the team for su... | bugdaryan/sql-create-context-instruction | |
[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 (team VARCHAR, grid VARCHAR, points VARCHAR)
Question: If a team has a grid of over 8 with less than 4 points, what's the team name?
[/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_31 (team VARCHAR, grid VARCHAR, points VARCHAR)
Question: If a team has a grid of over 8 with less than 4 points, what's the team name?
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 (class VARCHAR, laps VARCHAR)
Question: Which Class has Laps of 31?
[/INST]
Here is the SQLite query to answer to the question: Which Class has Laps o... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (class VARCHAR, laps VARCHAR)
Question: Which Class has Laps of 31?
Here is the SQLite query to answer to the question: Which Class has Laps of 31?:
```
SE... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21100348_11 (player VARCHAR, runs VARCHAR)
Question: What player has 477 runs?
[/INST]
Here is the SQLite query to answer to the question: What player has 477... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21100348_11 (player VARCHAR, runs VARCHAR)
Question: What player has 477 runs?
Here is the SQLite query to answer to the question: What player has 477 runs?:
```
S... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (home_team VARCHAR)
Question: What is south melbourne's home side score?
[/INST]
Here is the SQLite query to answer to the question: What is south mel... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (home_team VARCHAR)
Question: What is south melbourne's home side score?
Here is the SQLite query to answer to the question: What is south melbourne's home... | bugdaryan/sql-create-context-instruction | |
[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 (record VARCHAR, date VARCHAR)
Question: What was their record on December 4?
[/INST]
Here is the SQLite query to answer to the question: What was thei... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (record VARCHAR, date VARCHAR)
Question: What was their record on December 4?
Here is the SQLite query to answer to the question: What was their record on D... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (all_bills_cosponsored INTEGER, all_bills_sponsored VARCHAR, all_amendments_sponsored VARCHAR)
Question: What is the highest number of bills cosponsor... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (all_bills_cosponsored INTEGER, all_bills_sponsored VARCHAR, all_amendments_sponsored VARCHAR)
Question: What is the highest number of bills cosponsored ass... | bugdaryan/sql-create-context-instruction | |
[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 (opponent VARCHAR, record VARCHAR)
Question: Which Rams opponent had a record of 2-3?
[/INST]
Here is the SQLite query to answer to the question: Whic... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_87 (opponent VARCHAR, record VARCHAR)
Question: Which Rams opponent had a record of 2-3?
Here is the SQLite query to answer to the question: Which Rams oppone... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (club VARCHAR, try_bp VARCHAR)
Question: Can you tell me the Club thay has the Try BP of 0?
[/INST]
Here is the SQLite query to answer to the question... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (club VARCHAR, try_bp VARCHAR)
Question: Can you tell me the Club thay has the Try BP of 0?
Here is the SQLite query to answer to the question: Can you tel... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2008069_2 (pinyin VARCHAR, uyghur___k̢ona_yezik̢__ VARCHAR)
Question: Name the pinyin for تىزناپ
[/INST]
Here is the SQLite query to answer to the question: N... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2008069_2 (pinyin VARCHAR, uyghur___k̢ona_yezik̢__ VARCHAR)
Question: Name the pinyin for تىزناپ
Here is the SQLite query to answer to the question: Name the pinyi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (season VARCHAR, ufl_cup VARCHAR)
Question: Which Season has a UFL Cup of tbd?
[/INST]
Here is the SQLite query to answer to the question: Which Seaso... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (season VARCHAR, ufl_cup VARCHAR)
Question: Which Season has a UFL Cup of tbd?
Here is the SQLite query to answer to the question: Which Season has a UFL 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 Assets (asset_model VARCHAR)
Question: What are all the distinct asset models?
[/INST]
Here is the SQLite query to answer to the question: What are all the distinct... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Assets (asset_model VARCHAR)
Question: What are all the distinct asset models?
Here is the SQLite query to answer to the question: What are all the distinct asset models... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1682026_9 (country VARCHAR, market_value__billion_$_ VARCHAR)
Question: Name the country for 188.77 market value
[/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_1682026_9 (country VARCHAR, market_value__billion_$_ VARCHAR)
Question: Name the country for 188.77 market value
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_72 (s_barangay INTEGER, area___has__ INTEGER)
Question: What is the total of Barangay with an area larger than 865.13?
[/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_72 (s_barangay INTEGER, area___has__ INTEGER)
Question: What is the total of Barangay with an area larger than 865.13?
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_96 (class VARCHAR, chassis VARCHAR, driver VARCHAR)
Question: Driver Shaun Jones with a viper as a chassis is in what class?
[/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_name_96 (class VARCHAR, chassis VARCHAR, driver VARCHAR)
Question: Driver Shaun Jones with a viper as a chassis is in what class?
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_45 (position VARCHAR, pick VARCHAR)
Question: What position did pick 36 play?
[/INST]
Here is the SQLite query to answer to the question: What position d... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (position VARCHAR, pick VARCHAR)
Question: What position did pick 36 play?
Here is the SQLite query to answer to the question: What position did pick 36 pl... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (score VARCHAR, visitor VARCHAR, points VARCHAR)
Question: Which Score has a Visitor of montreal canadiens, and Points of 5?
[/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_93 (score VARCHAR, visitor VARCHAR, points VARCHAR)
Question: Which Score has a Visitor of montreal canadiens, and Points of 5?
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_9 (first_district VARCHAR, fifth_district VARCHAR)
Question: Who's the First District with a Fifth District of prudy adam?
[/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_9 (first_district VARCHAR, fifth_district VARCHAR)
Question: Who's the First District with a Fifth District of prudy adam?
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_67 (nationality VARCHAR, fate VARCHAR, name VARCHAR)
Question: Which Nationality has a Fate of sunk, and a Name of alderamin?
[/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 (nationality VARCHAR, fate VARCHAR, name VARCHAR)
Question: Which Nationality has a Fate of sunk, and a Name of alderamin?
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_23619212_1 (_percentage_of_all_immigrants_2004 VARCHAR, _percentage_of_all_immigrants_2006 VARCHAR)
Question: What's the percentage of immigrants in 2004 in t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23619212_1 (_percentage_of_all_immigrants_2004 VARCHAR, _percentage_of_all_immigrants_2006 VARCHAR)
Question: What's the percentage of immigrants in 2004 in the cou... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14903881_1 (womens_doubles VARCHAR, mens_doubles VARCHAR)
Question: Name the womens doubles when mens doubles is theodoros velkos giorgos patis
[/INST]
Here i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14903881_1 (womens_doubles VARCHAR, mens_doubles VARCHAR)
Question: Name the womens doubles when mens doubles is theodoros velkos giorgos patis
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_19 (original_airdate VARCHAR, directed_by VARCHAR, season__number VARCHAR)
Question: What is the Original airdate of the episode after Season 6 Directed ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (original_airdate VARCHAR, directed_by VARCHAR, season__number VARCHAR)
Question: What is the Original airdate of the episode after Season 6 Directed by Eri... | bugdaryan/sql-create-context-instruction | |
[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 (home_team VARCHAR, away_team VARCHAR)
Question: What was the score of the home team when the away team was Geelong?
[/INST]
Here is the SQLite query ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (home_team VARCHAR, away_team VARCHAR)
Question: What was the score of the home team when the away team was Geelong?
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_64 (venue VARCHAR, result VARCHAR)
Question: Where was the game held that resulted in a draw?
[/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_64 (venue VARCHAR, result VARCHAR)
Question: Where was the game held that resulted in a draw?
Here is the SQLite query to answer to the question: Where was th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (cuts_made INTEGER, top_5 INTEGER)
Question: How many cuts made when the top-5 is greater than 1?
[/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_31 (cuts_made INTEGER, top_5 INTEGER)
Question: How many cuts made when the top-5 is greater than 1?
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_4 (qual VARCHAR, start VARCHAR)
Question: Whent he start was 15, what was the Qual?
[/INST]
Here is the SQLite query to answer to the question: Whent he ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (qual VARCHAR, start VARCHAR)
Question: Whent he start was 15, what was the Qual?
Here is the SQLite query to answer to the question: Whent he start was 15,... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16922657_2 (w INTEGER)
Question: What is the minimum Wins a team has?
[/INST]
Here is the SQLite query to answer to the question: What is the minimum Wins a t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16922657_2 (w INTEGER)
Question: What is the minimum Wins a team has?
Here is the SQLite query to answer to the question: What is the minimum Wins a team has?:
```... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (winning_driver VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR)
Question: Tell me the winning driver for jim clark as pole position and fastest la... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (winning_driver VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR)
Question: Tell me the winning driver for jim clark as pole position and fastest lap
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_27 (sprint_points VARCHAR, total_points VARCHAR)
Question: How many sprint points contribute to 2 total points?
[/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_27 (sprint_points VARCHAR, total_points VARCHAR)
Question: How many sprint points contribute to 2 total points?
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_55 (weapon VARCHAR, mecha VARCHAR)
Question: What is the weapon for the mecha of motorcycle?
[/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_55 (weapon VARCHAR, mecha VARCHAR)
Question: What is the weapon for the mecha of motorcycle?
Here is the SQLite query to answer to the question: What is the w... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1805191_10 (first_elected VARCHAR, district VARCHAR)
Question: When is the first elected in the Florida 19 district?
[/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_1805191_10 (first_elected VARCHAR, district VARCHAR)
Question: When is the first elected in the Florida 19 district?
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_9 (package_version VARCHAR, carrier VARCHAR, device VARCHAR, applications VARCHAR)
Question: WHAT IS THE PACKAGE VERSION FOR blackberry storm 9530, APPLI... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (package_version VARCHAR, carrier VARCHAR, device VARCHAR, applications VARCHAR)
Question: WHAT IS THE PACKAGE VERSION FOR blackberry storm 9530, APPLICATION... | bugdaryan/sql-create-context-instruction | |
[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 (tonnage INTEGER, date_entered_service VARCHAR)
Question: what is the least tonnage for the ship(s) that entered service on 11 february 1983?
[/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 (tonnage INTEGER, date_entered_service VARCHAR)
Question: what is the least tonnage for the ship(s) that entered service on 11 february 1983?
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_11677100_7 (school VARCHAR, player VARCHAR)
Question: How many schools did Mike Jones attend?
[/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_11677100_7 (school VARCHAR, player VARCHAR)
Question: How many schools did Mike Jones attend?
Here is the SQLite query to answer to the question: How many schools ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE course (crs_description VARCHAR, crs_code VARCHAR); CREATE TABLE CLASS (prof_num VARCHAR, crs_code VARCHAR); CREATE TABLE employee (emp_fname VARCHAR, emp_num VARCHAR)
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE course (crs_description VARCHAR, crs_code VARCHAR); CREATE TABLE CLASS (prof_num VARCHAR, crs_code VARCHAR); CREATE TABLE employee (emp_fname VARCHAR, emp_num 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_name_78 (attendance VARCHAR, week VARCHAR)
Question: How many attendances have 9 as the week?
[/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_78 (attendance VARCHAR, week VARCHAR)
Question: How many attendances have 9 as the week?
Here is the SQLite query to answer to the question: How many attendan... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13759592_2 (institution VARCHAR, founded VARCHAR)
Question: Which institution was founded in 1923?
[/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_13759592_2 (institution VARCHAR, founded VARCHAR)
Question: Which institution was founded in 1923?
Here is the SQLite query to answer to the question: Which instit... | bugdaryan/sql-create-context-instruction | |
[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 (entrant VARCHAR, rounds VARCHAR, constructor VARCHAR)
Question: What was the entrant in round 16 were Ferrari was the constructor?
[/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_70 (entrant VARCHAR, rounds VARCHAR, constructor VARCHAR)
Question: What was the entrant in round 16 were Ferrari was the constructor?
Here is the SQLite quer... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (episode_count VARCHAR, actor VARCHAR)
Question: How many Episode Counts have an Actor of liz carr?
[/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_13 (episode_count VARCHAR, actor VARCHAR)
Question: How many Episode Counts have an Actor of liz carr?
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_39 (winner VARCHAR, finalist VARCHAR, season VARCHAR)
Question: Who was the winner of the season before 2010 with Lietuvos Rytas as a finalist?
[/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_39 (winner VARCHAR, finalist VARCHAR, season VARCHAR)
Question: Who was the winner of the season before 2010 with Lietuvos Rytas as a finalist?
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_45 (college VARCHAR, player VARCHAR)
Question: What is Mark Cannon's College?
[/INST]
Here is the SQLite query to answer to the question: What is Mark Ca... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (college VARCHAR, player VARCHAR)
Question: What is Mark Cannon's College?
Here is the SQLite query to answer to the question: What is Mark Cannon's Colleg... | bugdaryan/sql-create-context-instruction | |
[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 (country VARCHAR, react VARCHAR, name VARCHAR)
Question: In what country did fadwa al bouza have larger than 0.257 react score?
[/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_48 (country VARCHAR, react VARCHAR, name VARCHAR)
Question: In what country did fadwa al bouza have larger than 0.257 react score?
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_99 (retitled_as_same VARCHAR, last_aired VARCHAR, show VARCHAR)
Question: Which Retitled as/Same has a Last Aired larger than 1982, and a Show of we got ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (retitled_as_same VARCHAR, last_aired VARCHAR, show VARCHAR)
Question: Which Retitled as/Same has a Last Aired larger than 1982, and a Show of we got it mad... | bugdaryan/sql-create-context-instruction | |
[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 (colliery VARCHAR, death_toll VARCHAR)
Question: Which Colliery has a Death toll of 7?
[/INST]
Here is the SQLite query to answer to the question: Whi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (colliery VARCHAR, death_toll VARCHAR)
Question: Which Colliery has a Death toll of 7?
Here is the SQLite query to answer to the question: Which Colliery h... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (price VARCHAR, downstream VARCHAR)
Question: What is the price of 60 mbps downstream?
[/INST]
Here is the SQLite query to answer to the question: Wha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (price VARCHAR, downstream VARCHAR)
Question: What is the price of 60 mbps downstream?
Here is the SQLite query to answer to the question: What is the pric... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16617025_1 (title VARCHAR, us_viewers__millions_ VARCHAR)
Question: What episode titles have 20.94 million U.S. viewers?
[/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_16617025_1 (title VARCHAR, us_viewers__millions_ VARCHAR)
Question: What episode titles have 20.94 million U.S. viewers?
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_98 (winning__percentage VARCHAR, years VARCHAR)
Question: what is the winning % for the years 2006-11?
[/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_98 (winning__percentage VARCHAR, years VARCHAR)
Question: what is the winning % for the years 2006-11?
Here is the SQLite query to answer to the question: wha... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (height_ft__m_ VARCHAR, floors INTEGER)
Question: What is the hight in ft and m of the building with less than 11 floors?
[/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_name_12 (height_ft__m_ VARCHAR, floors INTEGER)
Question: What is the hight in ft and m of the building with less than 11 floors?
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_41 (world_record VARCHAR)
Question: What's the 123kg of the Total world record?
[/INST]
Here is the SQLite query to answer to the question: What's the 12... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (world_record VARCHAR)
Question: What's the 123kg of the Total world record?
Here is the SQLite query to answer to the question: What's the 123kg of the To... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (date VARCHAR, loss VARCHAR)
Question: What was the date of the game that had a loss of Gott (2-7)?
[/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_98 (date VARCHAR, loss VARCHAR)
Question: What was the date of the game that had a loss of Gott (2-7)?
Here is the SQLite query to answer to the question: Wha... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (time VARCHAR, rank VARCHAR)
Question: Rank of 6 has what time?
[/INST]
Here is the SQLite query to answer to the question: Rank of 6 has what time?:
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (time VARCHAR, rank VARCHAR)
Question: Rank of 6 has what time?
Here is the SQLite query to answer to the question: Rank of 6 has what time?:
```
SELECT ti... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (winning_driver VARCHAR, name VARCHAR)
Question: Who was Kraco Twin 125 (R2)'s Winning Driver?
[/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_6 (winning_driver VARCHAR, name VARCHAR)
Question: Who was Kraco Twin 125 (R2)'s Winning Driver?
Here is the SQLite query to answer to the question: Who was K... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (nominee VARCHAR, category VARCHAR, result VARCHAR)
Question: What was nominee nominated for outstanding featured actor in a musical?
[/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_65 (nominee VARCHAR, category VARCHAR, result VARCHAR)
Question: What was nominee nominated for outstanding featured actor in a musical?
Here is the SQLite 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_12962773_1 (no VARCHAR, current_club VARCHAR, position VARCHAR)
Question: what's the no with current club being panathinaikos and position being forward
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12962773_1 (no VARCHAR, current_club VARCHAR, position VARCHAR)
Question: what's the no with current club being panathinaikos and position being forward
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_44 (constructor VARCHAR, time_retired VARCHAR, grid VARCHAR)
Question: What companyw as the constructor when the Time/Retired was collision, and a Grid o... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_44 (constructor VARCHAR, time_retired VARCHAR, grid VARCHAR)
Question: What companyw as the constructor when the Time/Retired was collision, and a Grid of 11?
... | bugdaryan/sql-create-context-instruction | |
[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 (gold INTEGER, participants VARCHAR, silver VARCHAR)
Question: What is the sum of Gold with Participants that are 4 and a Silver that is smaller than ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (gold INTEGER, participants VARCHAR, silver VARCHAR)
Question: What is the sum of Gold with Participants that are 4 and a Silver that is smaller than 0?
He... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (team VARCHAR, goals_for VARCHAR, goals_against VARCHAR, points_2 VARCHAR)
Question: What team has less than 64 goals against, 101 goals for, and a Po... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (team VARCHAR, goals_for VARCHAR, goals_against VARCHAR, points_2 VARCHAR)
Question: What team has less than 64 goals against, 101 goals for, and a Points 2... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE has_amenity (dormid VARCHAR, amenid VARCHAR); CREATE TABLE dorm_amenity (amenity_name VARCHAR, amenid VARCHAR); CREATE TABLE dorm (dormid VARCHAR, dorm_name VARCHAR)
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE has_amenity (dormid VARCHAR, amenid VARCHAR); CREATE TABLE dorm_amenity (amenity_name VARCHAR, amenid VARCHAR); CREATE TABLE dorm (dormid VARCHAR, dorm_name VARCHAR)
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_34 (visiting_team VARCHAR, stadium VARCHAR, final_score VARCHAR)
Question: Who was the visiting team at Lincoln Financial Field when the final score was ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (visiting_team VARCHAR, stadium VARCHAR, final_score VARCHAR)
Question: Who was the visiting team at Lincoln Financial Field when the final score was 24-14?... | bugdaryan/sql-create-context-instruction | |
[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 (loss INTEGER, gain VARCHAR, long VARCHAR, name VARCHAR)
Question: What is the average Loss for the long of more than 12 with a name of opponents with... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (loss INTEGER, gain VARCHAR, long VARCHAR, name VARCHAR)
Question: What is the average Loss for the long of more than 12 with a name of opponents with a Gai... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE model_list (maker VARCHAR, model VARCHAR); CREATE TABLE countries (countryid VARCHAR, countryname VARCHAR); CREATE TABLE car_makers (country VARCHAR, id VARCHAR)
Qu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE model_list (maker VARCHAR, model VARCHAR); CREATE TABLE countries (countryid VARCHAR, countryname VARCHAR); CREATE TABLE car_makers (country VARCHAR, id VARCHAR)
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 ENROLLED_IN (Grade VARCHAR, StuID VARCHAR); CREATE TABLE STUDENT (city_code VARCHAR, StuID VARCHAR); CREATE TABLE GRADECONVERSION (gradepoint INTEGER, lettergrade VARCHA... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE ENROLLED_IN (Grade VARCHAR, StuID VARCHAR); CREATE TABLE STUDENT (city_code VARCHAR, StuID VARCHAR); CREATE TABLE GRADECONVERSION (gradepoint INTEGER, lettergrade 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_58 (year INTEGER, award VARCHAR, work VARCHAR)
Question: Where Award is best actress and Work is first kiss, what is the average Year?
[/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_58 (year INTEGER, award VARCHAR, work VARCHAR)
Question: Where Award is best actress and Work is first kiss, what is the average Year?
Here is the SQLite quer... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (race VARCHAR, finish VARCHAR, track VARCHAR)
Question: Which race had a finish of 1st at Saratoga Race Course?
[/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_60 (race VARCHAR, finish VARCHAR, track VARCHAR)
Question: Which race had a finish of 1st at Saratoga Race Course?
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 (school VARCHAR, player VARCHAR)
Question: What School did Player Billy Owens attend?
[/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_37 (school VARCHAR, player VARCHAR)
Question: What School did Player Billy Owens attend?
Here is the SQLite query to answer to the question: What School did 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_89 (lane INTEGER, rank VARCHAR)
Question: What is the lane total when rank is 2?
[/INST]
Here is the SQLite query to answer to the question: What is the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (lane INTEGER, rank VARCHAR)
Question: What is the lane total when rank is 2?
Here is the SQLite query to answer to the question: What is the lane total 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_48 (director_s_ VARCHAR, date VARCHAR, recipient VARCHAR)
Question: Who was the director of the film that Sister Films received an award for on 2/3/05?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (director_s_ VARCHAR, date VARCHAR, recipient VARCHAR)
Question: Who was the director of the film that Sister Films received an award for on 2/3/05?
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_17118657_10 (date VARCHAR, location_attendance VARCHAR)
Question: On which date was the location/attendance UIC Pavilion 3,829 respectively?
[/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_17118657_10 (date VARCHAR, location_attendance VARCHAR)
Question: On which date was the location/attendance UIC Pavilion 3,829 respectively?
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_1569516_1 (frequency__per_hour_ VARCHAR, destination VARCHAR)
Question: When London Bridge is the destination, what is the frequency?
[/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_1569516_1 (frequency__per_hour_ VARCHAR, destination VARCHAR)
Question: When London Bridge is the destination, what is the frequency?
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_10 (attendance INTEGER, time VARCHAR)
Question: What was the least attendance when the time was 3:15?
[/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_10 (attendance INTEGER, time VARCHAR)
Question: What was the least attendance when the time was 3:15?
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_73 (location VARCHAR, record VARCHAR)
Question: Which location led to a 10-3 record?
[/INST]
Here is the SQLite query to answer to the question: Which lo... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (location VARCHAR, record VARCHAR)
Question: Which location led to a 10-3 record?
Here is the SQLite query to answer to the question: Which location led 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_52 (nationality VARCHAR, rank VARCHAR, time VARCHAR)
Question: What shows for nationality when there is a rank larger than 6, and a Time of 2:14.95?
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (nationality VARCHAR, rank VARCHAR, time VARCHAR)
Question: What shows for nationality when there is a rank larger than 6, and a Time of 2:14.95?
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_63 (year INTEGER, town VARCHAR)
Question: What was the earliest year that a structure was located in gray court, south carolina?
[/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_63 (year INTEGER, town VARCHAR)
Question: What was the earliest year that a structure was located in gray court, south carolina?
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_8 (gold INTEGER, rank VARCHAR, silver VARCHAR)
Question: What is the least number of gold medals won among nations ranked 1 with no silver medals?
[/INST... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (gold INTEGER, rank VARCHAR, silver VARCHAR)
Question: What is the least number of gold medals won among nations ranked 1 with no silver medals?
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_10 (tag_team VARCHAR, time VARCHAR)
Question: Name the Tag Team with a Time of 03:34?
[/INST]
Here is the SQLite query to answer to the question: Name th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (tag_team VARCHAR, time VARCHAR)
Question: Name the Tag Team with a Time of 03:34?
Here is the SQLite query to answer to the question: Name the Tag Team wi... | bugdaryan/sql-create-context-instruction | |
[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 (circuit VARCHAR, date VARCHAR, name VARCHAR)
Question: Tell me the circuit for 10 may for targa florio
[/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_79 (circuit VARCHAR, date VARCHAR, name VARCHAR)
Question: Tell me the circuit for 10 may for targa florio
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_68 (pick VARCHAR, school VARCHAR)
Question: What is the total pick number of Virginia Tech?
[/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_68 (pick VARCHAR, school VARCHAR)
Question: What is the total pick number of Virginia Tech?
Here is the SQLite query to answer to the question: What is the to... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (median_family_income VARCHAR, median_household_income VARCHAR)
Question: What's the median family income with a household income of $25,583?
[/INST]
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (median_family_income VARCHAR, median_household_income VARCHAR)
Question: What's the median family income with a household income of $25,583?
Here is the S... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (bronze INTEGER, nation VARCHAR)
Question: What is the average number of bronze medals for total of all nations?
[/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_name_85 (bronze INTEGER, nation VARCHAR)
Question: What is the average number of bronze medals for total of all nations?
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_26454128_4 (country VARCHAR, athlete VARCHAR)
Question: What is the country of Paavo Yrjölä?
[/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_26454128_4 (country VARCHAR, athlete VARCHAR)
Question: What is the country of Paavo Yrjölä?
Here is the SQLite query to answer to the question: What is the countr... | bugdaryan/sql-create-context-instruction | |
[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 (losses VARCHAR, geelong_fl VARCHAR, wins VARCHAR)
Question: How many Losses have a Geelong FL of newtown & chilwell, and more than 11 wins?
[/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_23 (losses VARCHAR, geelong_fl VARCHAR, wins VARCHAR)
Question: How many Losses have a Geelong FL of newtown & chilwell, and more than 11 wins?
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_20424140_3 (number_of_dances INTEGER)
Question: What's the minimal number of dances a couple has danced?
[/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_20424140_3 (number_of_dances INTEGER)
Question: What's the minimal number of dances a couple has danced?
Here is the SQLite query to answer to the question: What's... | 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.