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_name_4 (date VARCHAR, home_team VARCHAR)
Question: When was the game played where St Kilda was the home team?
[/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_4 (date VARCHAR, home_team VARCHAR)
Question: When was the game played where St Kilda was the home team?
Here is the SQLite query to answer to the question: W... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (catalog VARCHAR, format VARCHAR)
Question: What is the Catalog number of the CD Single?
[/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_13 (catalog VARCHAR, format VARCHAR)
Question: What is the Catalog number of the CD Single?
Here is the SQLite query to answer to the question: What is the Ca... | bugdaryan/sql-create-context-instruction | |
[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 (points INTEGER, entrant VARCHAR)
Question: What was the most points for Coloni Spa?
[/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_78 (points INTEGER, entrant VARCHAR)
Question: What was the most points for Coloni Spa?
Here is the SQLite query to answer to the question: What was the most ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11148572_1 (mls_cup_runner_up VARCHAR, season VARCHAR)
Question: Which shield winner has the mls cup runner up and the season is 2000?
[/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_11148572_1 (mls_cup_runner_up VARCHAR, season VARCHAR)
Question: Which shield winner has the mls cup runner up and the season is 2000?
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_8 (rank VARCHAR, nation VARCHAR, silver VARCHAR)
Question: What is the total rank for the Netherlands when more than 2 silver medals were won?
[/INST]
He... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (rank VARCHAR, nation VARCHAR, silver VARCHAR)
Question: What is the total rank for the Netherlands when more than 2 silver medals were won?
Here is the SQL... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2668401_12 (incumbent VARCHAR, district VARCHAR)
Question: How many incumbents are there in Pennsylvania 5?
[/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_2668401_12 (incumbent VARCHAR, district VARCHAR)
Question: How many incumbents are there in Pennsylvania 5?
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 Project_outcomes (outcome_code VARCHAR, project_id VARCHAR); CREATE TABLE Research_outcomes (outcome_description VARCHAR, outcome_code VARCHAR); CREATE TABLE Projects (p... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Project_outcomes (outcome_code VARCHAR, project_id VARCHAR); CREATE TABLE Research_outcomes (outcome_description VARCHAR, outcome_code VARCHAR); CREATE TABLE Projects (project... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE region (region_code VARCHAR, region_name VARCHAR)
Question: Show all region code and region name sorted by the codes.
[/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 region (region_code VARCHAR, region_name VARCHAR)
Question: Show all region code and region name sorted by the codes.
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_23242968_1 (title VARCHAR, production_code VARCHAR)
Question: What was the name of the episode with a production code of 3ajn20?
[/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_23242968_1 (title VARCHAR, production_code VARCHAR)
Question: What was the name of the episode with a production code of 3ajn20?
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_48 (weeks_on_top VARCHAR, artist VARCHAR)
Question: How many weeks on top was OMC?
[/INST]
Here is the SQLite query to answer to the question: How many w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (weeks_on_top VARCHAR, artist VARCHAR)
Question: How many weeks on top was OMC?
Here is the SQLite query to answer to the question: How many weeks on top 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_1341472_51 (candidates VARCHAR, district VARCHAR)
Question: Who were the candidates in district Wisconsin 1?
[/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_1341472_51 (candidates VARCHAR, district VARCHAR)
Question: Who were the candidates in district Wisconsin 1?
Here is the SQLite query to answer to the question: Wh... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (format VARCHAR, region VARCHAR, label VARCHAR)
Question: What format has France as the region, with Universal Licensing Music (ulm) as the label?
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (format VARCHAR, region VARCHAR, label VARCHAR)
Question: What format has France as the region, with Universal Licensing Music (ulm) as the label?
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_22 (game VARCHAR, opponent VARCHAR)
Question: Which Game has an Opponent of phoenix suns?
[/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_22 (game VARCHAR, opponent VARCHAR)
Question: Which Game has an Opponent of phoenix suns?
Here is the SQLite query to answer to the question: Which Game has a... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24725951_1 (episode VARCHAR, celebrities VARCHAR)
Question: How many episodes had celebrity guest stars Frank Skinner and Lee Mack?
[/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_24725951_1 (episode VARCHAR, celebrities VARCHAR)
Question: How many episodes had celebrity guest stars Frank Skinner and Lee Mack?
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_27 (spike VARCHAR, name VARCHAR)
Question: What kind of Spike has a Name of mia jerkov category:articles with hcards?
[/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_27 (spike VARCHAR, name VARCHAR)
Question: What kind of Spike has a Name of mia jerkov category:articles with hcards?
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_96 (episode__number INTEGER, viewers VARCHAR, share VARCHAR, rank VARCHAR)
Question: What is the average Episode # with a share of 9, and #35 is rank and... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (episode__number INTEGER, viewers VARCHAR, share VARCHAR, rank VARCHAR)
Question: What is the average Episode # with a share of 9, and #35 is rank and less ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2668420_17 (party VARCHAR, result VARCHAR, district VARCHAR)
Question: What party was re-elected to Virginia 12?
[/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_2668420_17 (party VARCHAR, result VARCHAR, district VARCHAR)
Question: What party was re-elected to Virginia 12?
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_2850912_1 (pick__number VARCHAR, college_junior_club_team VARCHAR)
Question: What daft pick number is the player coming from Regina Pats (WHL)?
[/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_2850912_1 (pick__number VARCHAR, college_junior_club_team VARCHAR)
Question: What daft pick number is the player coming from Regina Pats (WHL)?
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_39 (runners_up VARCHAR, last_final_lost VARCHAR)
Question: How many runners-up did the club with the last final lost in 1985 have?
[/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_39 (runners_up VARCHAR, last_final_lost VARCHAR)
Question: How many runners-up did the club with the last final lost in 1985 have?
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_10 (frequency__inbound_outbound_ VARCHAR, train_name VARCHAR)
Question: What is the frequency of the train named Garib nwaz exp?
[/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_10 (frequency__inbound_outbound_ VARCHAR, train_name VARCHAR)
Question: What is the frequency of the train named Garib nwaz exp?
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_50 (fa_cup_apps VARCHAR, fa_cup_goals VARCHAR, total_apps VARCHAR, league_apps VARCHAR)
Question: What FA cup apps has a total larger than 12 and league ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (fa_cup_apps VARCHAR, fa_cup_goals VARCHAR, total_apps VARCHAR, league_apps VARCHAR)
Question: What FA cup apps has a total larger than 12 and league apps l... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (population VARCHAR, former_local_authority VARCHAR, name VARCHAR)
Question: What is the population of the Parish, Plumbland, that had a former local a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (population VARCHAR, former_local_authority VARCHAR, name VARCHAR)
Question: What is the population of the Parish, Plumbland, that had a former local authori... | bugdaryan/sql-create-context-instruction | |
[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 (record VARCHAR, game VARCHAR)
Question: What was the record after game 45?
[/INST]
Here is the SQLite query to answer to the question: What was the r... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (record VARCHAR, game VARCHAR)
Question: What was the record after game 45?
Here is the SQLite query to answer to the question: What was the record after g... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23284271_8 (high_assists VARCHAR, record VARCHAR)
Question: Who had the most high assists with a record of 32-19?
[/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_23284271_8 (high_assists VARCHAR, record VARCHAR)
Question: Who had the most high assists with a record of 32-19?
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_50 (team VARCHAR, year VARCHAR)
Question: What is the team in 1989?
[/INST]
Here is the SQLite query to answer to the question: What is the team in 1989?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (team VARCHAR, year VARCHAR)
Question: What is the team in 1989?
Here is the SQLite query to answer to the question: What is the team in 1989?:
```
SELECT ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (college_junior_club_team__league_ VARCHAR, position VARCHAR)
Question: Which college has a position of goaltender?
[/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_92 (college_junior_club_team__league_ VARCHAR, position VARCHAR)
Question: Which college has a position of goaltender?
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_2 (pair VARCHAR, dance VARCHAR, date VARCHAR)
Question: Who danced the Cha-Cha-Cha on November 18, 2008?
[/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_2 (pair VARCHAR, dance VARCHAR, date VARCHAR)
Question: Who danced the Cha-Cha-Cha on November 18, 2008?
Here is the SQLite query to answer to the question: W... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (name VARCHAR, chief_judge VARCHAR, award VARCHAR)
Question: What student won 3rd with Peter Agre as Chief Judge?
[/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 (name VARCHAR, chief_judge VARCHAR, award VARCHAR)
Question: What student won 3rd with Peter Agre as Chief Judge?
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_47 (date VARCHAR, record VARCHAR)
Question: What date has 79-48 as the record?
[/INST]
Here is the SQLite query to answer to the question: What date has ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (date VARCHAR, record VARCHAR)
Question: What date has 79-48 as the record?
Here is the SQLite query to answer to the question: What date has 79-48 as the ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (score VARCHAR, away_team VARCHAR)
Question: What was the score for the Perth Wildcats as away 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_name_38 (score VARCHAR, away_team VARCHAR)
Question: What was the score for the Perth Wildcats as away team?
Here is the SQLite query to answer to the question: Wh... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14319023_2 (boys_doubles VARCHAR, girls_doubles VARCHAR)
Question: When the girls doubles is ayu pratiwi anggi widia what is the boys doubles?
[/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_14319023_2 (boys_doubles VARCHAR, girls_doubles VARCHAR)
Question: When the girls doubles is ayu pratiwi anggi widia what is the boys doubles?
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 death (note VARCHAR)
Question: What are the notes of the death events which has substring 'East'?
[/INST]
Here is the SQLite query to answer to the question: What a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE death (note VARCHAR)
Question: What are the notes of the death events which has substring 'East'?
Here is the SQLite query to answer to the question: What are the notes ... | bugdaryan/sql-create-context-instruction | |
[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 (team__number2 VARCHAR)
Question: What is the 2nd leg when second team is Sumykhimprom?
[/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_98 (team__number2 VARCHAR)
Question: What is the 2nd leg when second team is Sumykhimprom?
Here is the SQLite query to answer to the question: What is the 2nd... | bugdaryan/sql-create-context-instruction | |
[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 (position VARCHAR, level VARCHAR, nationality VARCHAR)
Question: What is the Position of the Level 3 winner from Saint Kitts and Nevis?
[/INST]
Here i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_51 (position VARCHAR, level VARCHAR, nationality VARCHAR)
Question: What is the Position of the Level 3 winner from Saint Kitts and Nevis?
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_96 (city VARCHAR, club VARCHAR)
Question: Which city has a club called the Huntsville Stars?
[/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 (city VARCHAR, club VARCHAR)
Question: Which city has a club called the Huntsville Stars?
Here is the SQLite query to answer to the question: Which city ha... | bugdaryan/sql-create-context-instruction | |
[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 (state VARCHAR, name VARCHAR, gnis_feature_id VARCHAR)
Question: Which state has a Name of diamond lake, and a GNIS Feature ID of 1579127?
[/INST]
Her... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (state VARCHAR, name VARCHAR, gnis_feature_id VARCHAR)
Question: Which state has a Name of diamond lake, and a GNIS Feature ID of 1579127?
Here is the SQLi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (silver VARCHAR, gold VARCHAR, rank VARCHAR)
Question: Which silver has a Gold larger than 4, and a Rank of 1?
[/INST]
Here is the SQLite query to ans... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (silver VARCHAR, gold VARCHAR, rank VARCHAR)
Question: Which silver has a Gold larger than 4, and a Rank of 1?
Here is the SQLite query to answer to the qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (production_number VARCHAR, title VARCHAR)
Question: What was the production number of the episode titel of pre-hysterical hare?
[/INST]
Here is the S... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (production_number VARCHAR, title VARCHAR)
Question: What was the production number of the episode titel of pre-hysterical hare?
Here is the SQLite query t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (label VARCHAR, year INTEGER)
Question: What is the label of the Year before 1979?
[/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_16 (label VARCHAR, year INTEGER)
Question: What is the label of the Year before 1979?
Here is the SQLite query to answer to the question: What is the label of... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (result VARCHAR, record VARCHAR)
Question: What is the Result of the event with a Record of 1-3?
[/INST]
Here is the SQLite query to answer to the que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (result VARCHAR, record VARCHAR)
Question: What is the Result of the event with a Record of 1-3?
Here is the SQLite query to answer to the question: What i... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (year VARCHAR, chassis VARCHAR, points VARCHAR)
Question: Name the total number of years for chassis of maserati 250f and points less than 0
[/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 (year VARCHAR, chassis VARCHAR, points VARCHAR)
Question: Name the total number of years for chassis of maserati 250f and points less than 0
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 injury_accident (game_id VARCHAR, player VARCHAR); CREATE TABLE game (season VARCHAR, id VARCHAR)
Question: What is the season of the game which causes the player '... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE injury_accident (game_id VARCHAR, player VARCHAR); CREATE TABLE game (season VARCHAR, id VARCHAR)
Question: What is the season of the game which causes the player 'Walter... | bugdaryan/sql-create-context-instruction | |
[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 (score VARCHAR, team_1 VARCHAR)
Question: What is the 2nd round with a score of 3 - 3, and a team 1 fc gueugnon (d2)?
[/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_86 (score VARCHAR, team_1 VARCHAR)
Question: What is the 2nd round with a score of 3 - 3, and a team 1 fc gueugnon (d2)?
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_1134091_4 (date_successor_seated VARCHAR, district VARCHAR)
Question: When was the successor seated when the district was California 10th?
[/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_1134091_4 (date_successor_seated VARCHAR, district VARCHAR)
Question: When was the successor seated when the district was California 10th?
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_5 (score VARCHAR, loss VARCHAR)
Question: Loss of peavy (4–3) is what score?
[/INST]
Here is the SQLite query to answer to the question: Loss of peavy (4... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (score VARCHAR, loss VARCHAR)
Question: Loss of peavy (4–3) is what score?
Here is the SQLite query to answer to the question: Loss of peavy (4–3) is what 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_71 (november VARCHAR, october VARCHAR)
Question: Who is in November where October is jill de vries?
[/INST]
Here is the SQLite query to answer to the que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (november VARCHAR, october VARCHAR)
Question: Who is in November where October is jill de vries?
Here is the SQLite query to answer to the question: Who 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_74 (Id VARCHAR)
Question: What is 1992, when 1999 is "Year-End Championship"?
[/INST]
Here is the SQLite query to answer to the question: What is 1992, w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (Id VARCHAR)
Question: What is 1992, when 1999 is "Year-End Championship"?
Here is the SQLite query to answer to the question: What is 1992, when 1999 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_1277350_3 (tuesday_mangala__mars_ VARCHAR, saturday_shani__saturn_ VARCHAR)
Question: In language where Saturday is සෙනසුරාදා senasuraadaa, what is Tuesday?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1277350_3 (tuesday_mangala__mars_ VARCHAR, saturday_shani__saturn_ VARCHAR)
Question: In language where Saturday is සෙනසුරාදා senasuraadaa, what is Tuesday?
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_name_41 (season VARCHAR, league VARCHAR)
Question: Which season has the regionalliga süd (iii) league?
[/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_41 (season VARCHAR, league VARCHAR)
Question: Which season has the regionalliga süd (iii) league?
Here is the SQLite query to answer to the question: Which 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_name_4 (time VARCHAR, away_team VARCHAR)
Question: What was the time for the match with away team Shatin?
[/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_4 (time VARCHAR, away_team VARCHAR)
Question: What was the time for the match with away team Shatin?
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_9 (goals VARCHAR, years_at_club VARCHAR, debut_year VARCHAR)
Question: How many Goals have Years at club of 1961–1966, and a Debut year larger than 1961?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (goals VARCHAR, years_at_club VARCHAR, debut_year VARCHAR)
Question: How many Goals have Years at club of 1961–1966, and a Debut year larger than 1961?
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_1137704_2 (date VARCHAR, grand_prix VARCHAR)
Question: what of the total number of date where grand prix is portuguese grand prix
[/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_1137704_2 (date VARCHAR, grand_prix VARCHAR)
Question: what of the total number of date where grand prix is portuguese grand prix
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_1342338_3 (first_elected VARCHAR, result VARCHAR)
Question: How many in total were elected first in lost renomination?
[/INST]
Here is the SQLite query to ans... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1342338_3 (first_elected VARCHAR, result VARCHAR)
Question: How many in total were elected first in lost renomination?
Here is the SQLite query to answer to the qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (low_estimate INTEGER, date VARCHAR)
Question: What is the sum of low estimate(s) that is listed for the date of 1978?
[/INST]
Here is the SQLite quer... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (low_estimate INTEGER, date VARCHAR)
Question: What is the sum of low estimate(s) that is listed for the date of 1978?
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_19834691_4 (viewers__millions_ VARCHAR, audience_share_in_timeslot VARCHAR)
Question: Name the total number of viewers for audience share in timeslot for 10.2... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19834691_4 (viewers__millions_ VARCHAR, audience_share_in_timeslot VARCHAR)
Question: Name the total number of viewers for audience share in timeslot for 10.2%
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_12 (year_won INTEGER, player VARCHAR, to_par VARCHAR)
Question: What is the earliest year won Paul Azinger had with a to par higher than 5?
[/INST]
Here ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (year_won INTEGER, player VARCHAR, to_par VARCHAR)
Question: What is the earliest year won Paul Azinger had with a to par higher than 5?
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_1342270_42 (first_elected INTEGER)
Question: What is the latest year any of the incumbents were first elected?
[/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_1342270_42 (first_elected INTEGER)
Question: What is the latest year any of the incumbents were first elected?
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_24 (pick INTEGER, team VARCHAR, college VARCHAR)
Question: What is the sum total of picks for drake players from the tri-cities blackhawks?
[/INST]
Here ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (pick INTEGER, team VARCHAR, college VARCHAR)
Question: What is the sum total of picks for drake players from the tri-cities blackhawks?
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_75 (prom__m_ INTEGER, peak VARCHAR, height__m_ VARCHAR, class VARCHAR)
Question: What is the average prom (m) when the height (m) is more than 733, the c... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (prom__m_ INTEGER, peak VARCHAR, height__m_ VARCHAR, class VARCHAR)
Question: What is the average prom (m) when the height (m) is more than 733, the class 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_2233872_1 (COUNt VARCHAR, gp VARCHAR, result VARCHAR)
Question: How many season did the team lost in round 1 with a GP of 64?
[/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_2233872_1 (COUNt VARCHAR, gp VARCHAR, result VARCHAR)
Question: How many season did the team lost in round 1 with a GP of 64?
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_8 (player VARCHAR, position VARCHAR)
Question: What Utah Jazz player played Center?
[/INST]
Here is the SQLite query to answer to the question: What Utah... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (player VARCHAR, position VARCHAR)
Question: What Utah Jazz player played Center?
Here is the SQLite query to answer to the question: What Utah Jazz player ... | bugdaryan/sql-create-context-instruction | |
[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 (iata VARCHAR, icao VARCHAR)
Question: For an ICAO of VCCT, what is the IATA?
[/INST]
Here is the SQLite query to answer to the question: For an ICAO ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (iata VARCHAR, icao VARCHAR)
Question: For an ICAO of VCCT, what is the IATA?
Here is the SQLite query to answer to the question: For an ICAO of VCCT, 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_88 (silver INTEGER, nation VARCHAR, rank VARCHAR)
Question: What was the average number of silver medals won by France when they are ranked higher than 8... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (silver INTEGER, nation VARCHAR, rank VARCHAR)
Question: What was the average number of silver medals won by France when they are ranked higher than 8?
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_17 (region INTEGER, code VARCHAR, name VARCHAR)
Question: What is the largest region with a Code smaller than 66112, and a Name of l'île-dorval?
[/INST]
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (region INTEGER, code VARCHAR, name VARCHAR)
Question: What is the largest region with a Code smaller than 66112, and a Name of l'île-dorval?
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_2201724_2 (outcome VARCHAR, championship VARCHAR)
Question: How many different outcomes of the French Championships were there?
[/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_2201724_2 (outcome VARCHAR, championship VARCHAR)
Question: How many different outcomes of the French Championships were there?
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_17765888_1 (game_site VARCHAR, opponent VARCHAR)
Question: What was the game site against the Dallas Texans?
[/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_17765888_1 (game_site VARCHAR, opponent VARCHAR)
Question: What was the game site against the Dallas Texans?
Here is the SQLite query to answer to the question: Wh... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (air_date VARCHAR, viewers VARCHAR)
Question: When did the episode air that had 7.3 viewers?
[/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_65 (air_date VARCHAR, viewers VARCHAR)
Question: When did the episode air that had 7.3 viewers?
Here is the SQLite query to answer to the question: When did 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_95 (rank INTEGER, total VARCHAR, silver VARCHAR)
Question: What is the rank of the team with 11 total medals and more than 4 silver medals has?
[/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_95 (rank INTEGER, total VARCHAR, silver VARCHAR)
Question: What is the rank of the team with 11 total medals and more than 4 silver medals has?
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_1914090_2 (year INTEGER, europe VARCHAR)
Question: What is the latest year that Europe had 471895?
[/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_1914090_2 (year INTEGER, europe VARCHAR)
Question: What is the latest year that Europe had 471895?
Here is the SQLite query to answer to the question: What is the ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24518475_1 (latitude VARCHAR, time__utc_ VARCHAR)
Question: What was the latitude that had a UTC time of 18:19:36?
[/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_24518475_1 (latitude VARCHAR, time__utc_ VARCHAR)
Question: What was the latitude that had a UTC time of 18:19:36?
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_79 (word_form VARCHAR, ala_lc VARCHAR)
Question: What is the word form for the ALA-LC transliteration of muay bân?
[/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_79 (word_form VARCHAR, ala_lc VARCHAR)
Question: What is the word form for the ALA-LC transliteration of muay bân?
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_23248910_9 (score VARCHAR, record VARCHAR)
Question: What is every score with a record of 46-25?
[/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_23248910_9 (score VARCHAR, record VARCHAR)
Question: What is every score with a record of 46-25?
Here is the SQLite query to answer to the question: What is every ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26240046_1 (season_3 INTEGER, played_by VARCHAR)
Question: How many season 3 appearances by the character played by Stefan Van Ray?
[/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_26240046_1 (season_3 INTEGER, played_by VARCHAR)
Question: How many season 3 appearances by the character played by Stefan Van Ray?
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_93 (venue VARCHAR, founded VARCHAR, league VARCHAR)
Question: Which venue was founded after 1967 and had the league North American Soccer League?
[/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 (venue VARCHAR, founded VARCHAR, league VARCHAR)
Question: Which venue was founded after 1967 and had the league North American Soccer League?
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_22824324_2 (three_pointers INTEGER, player VARCHAR)
Question: What is the lowest number of three pointers in games that kendall gill played?
[/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_22824324_2 (three_pointers INTEGER, player VARCHAR)
Question: What is the lowest number of three pointers in games that kendall gill played?
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_85 (result VARCHAR, competition VARCHAR, date VARCHAR)
Question: What was the score of the 1999 fifa world cup qualification (uefa) on Nov 23, 1997?
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (result VARCHAR, competition VARCHAR, date VARCHAR)
Question: What was the score of the 1999 fifa world cup qualification (uefa) on Nov 23, 1997?
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_62 (position VARCHAR, venue VARCHAR)
Question: What is the position of the competition in Tampere, Finland?
[/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_62 (position VARCHAR, venue VARCHAR)
Question: What is the position of the competition in Tampere, Finland?
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_14650373_1 (nfl_team VARCHAR, player VARCHAR)
Question: What NFL team does player keith woodside play for?
[/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_14650373_1 (nfl_team VARCHAR, player VARCHAR)
Question: What NFL team does player keith woodside play for?
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_97 (result VARCHAR, couple VARCHAR)
Question: What was the result when the couple was steve & anna?
[/INST]
Here is the SQLite query to answer to the que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (result VARCHAR, couple VARCHAR)
Question: What was the result when the couple was steve & anna?
Here is the SQLite query to answer to the question: What w... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (silver VARCHAR, bronze INTEGER)
Question: What is the total silver when bronze is smaller than 0?
[/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_92 (silver VARCHAR, bronze INTEGER)
Question: What is the total silver when bronze is smaller than 0?
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_2581397_3 (race VARCHAR, weight__kg_ VARCHAR)
Question: List the weight for 56.5 kilograms.
[/INST]
Here is the SQLite query to answer to the question: List t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2581397_3 (race VARCHAR, weight__kg_ VARCHAR)
Question: List the weight for 56.5 kilograms.
Here is the SQLite query to answer to the question: List the weight for... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (home_team VARCHAR)
Question: What was the home team score when south melbourne was the home team?
[/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_49 (home_team VARCHAR)
Question: What was the home team score when south melbourne was the home team?
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_57 (picture_coding_types VARCHAR, chroma_format VARCHAR, name VARCHAR)
Question: What Picture Coding Types have Chroma Format of 4:2:2 or 4:2:0 and the N... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (picture_coding_types VARCHAR, chroma_format VARCHAR, name VARCHAR)
Question: What Picture Coding Types have Chroma Format of 4:2:2 or 4:2:0 and the Name of... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (final VARCHAR, athlete VARCHAR)
Question: What final was Farhad Rezaei in?
[/INST]
Here is the SQLite query to answer to the question: What final was... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (final VARCHAR, athlete VARCHAR)
Question: What final was Farhad Rezaei in?
Here is the SQLite query to answer to the question: What final was Farhad Rezae... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (against INTEGER, opposing_team VARCHAR)
Question: What is the highest Against for a game against Bristol City?
[/INST]
Here is the SQLite query to ans... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (against INTEGER, opposing_team VARCHAR)
Question: What is the highest Against for a game against Bristol City?
Here is the SQLite query to answer to the qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (champion VARCHAR)
Question: what team was the 1st leg champion of sakalai
[/INST]
Here is the SQLite query to answer to the question: what team 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_98 (champion VARCHAR)
Question: what team was the 1st leg champion of sakalai
Here is the SQLite query to answer to the question: what team was the 1st leg ch... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28846752_5 (average VARCHAR)
Question: how many 5wi with an average of 33.13?
[/INST]
Here is the SQLite query to answer to the question: how many 5wi with an... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28846752_5 (average VARCHAR)
Question: how many 5wi with an average of 33.13?
Here is the SQLite query to answer to the question: how many 5wi with an average of 3... | bugdaryan/sql-create-context-instruction | |
[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 (record VARCHAR, res VARCHAR, event VARCHAR)
Question: Which record has a result of loss in the Hero's 3 event?
[/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_41 (record VARCHAR, res VARCHAR, event VARCHAR)
Question: Which record has a result of loss in the Hero's 3 event?
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_18734298_1 (written_by VARCHAR, no_in_series VARCHAR)
Question: Who wrote the series number 14?
[/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_18734298_1 (written_by VARCHAR, no_in_series VARCHAR)
Question: Who wrote the series number 14?
Here is the SQLite query to answer to the question: Who wrote 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_28 (attendance VARCHAR, week VARCHAR)
Question: what is the attendance when the week is 5?
[/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_28 (attendance VARCHAR, week VARCHAR)
Question: what is the attendance when the week is 5?
Here is the SQLite query to answer to the question: what is the att... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18540104_1 (starring_actors VARCHAR, time_frame VARCHAR)
Question: Who is the star of the program on Thursdays 22:00~22:54 2005-04-xx to 2005-06-xx?
[/INST]
H... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18540104_1 (starring_actors VARCHAR, time_frame VARCHAR)
Question: Who is the star of the program on Thursdays 22:00~22:54 2005-04-xx to 2005-06-xx?
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_96 (incumbent VARCHAR, first_elected VARCHAR, result VARCHAR)
Question: Who was the incumbent that was first elected in 1892 and retired to run for 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_96 (incumbent VARCHAR, first_elected VARCHAR, result VARCHAR)
Question: Who was the incumbent that was first elected in 1892 and retired to run for the senate ... | bugdaryan/sql-create-context-instruction | |
[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 (earnings___ INTEGER, player VARCHAR)
Question: What is the highest earnings for curtis strange?
[/INST]
Here is the SQLite query to answer to the que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (earnings___ INTEGER, player VARCHAR)
Question: What is the highest earnings for curtis strange?
Here is the SQLite query to answer to the question: What i... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE captain (CLASS VARCHAR, age INTEGER)
Question: What are the average and minimum age of captains in different class?
[/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 captain (CLASS VARCHAR, age INTEGER)
Question: What are the average and minimum age of captains in different class?
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 Albums (YEAR VARCHAR)
Question: What are the albums produced in year 2010?
[/INST]
Here is the SQLite query to answer to the question: What are the albums produced ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Albums (YEAR VARCHAR)
Question: What are the albums produced in year 2010?
Here is the SQLite query to answer to the question: What are the albums produced in year 2010?... | bugdaryan/sql-create-context-instruction | |
[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 (doctorate INTEGER, masters VARCHAR, specialist VARCHAR, college VARCHAR)
Question: What is the highest number of doctorates the college of informatic... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (doctorate INTEGER, masters VARCHAR, specialist VARCHAR, college VARCHAR)
Question: What is the highest number of doctorates the college of informatics and ... | bugdaryan/sql-create-context-instruction | |
[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 (time VARCHAR, news_freq VARCHAR, show_name VARCHAR)
Question: Which time has a news frequency of 1 hour and show name of Best Mix Overnight?
[/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 (time VARCHAR, news_freq VARCHAR, show_name VARCHAR)
Question: Which time has a news frequency of 1 hour and show name of Best Mix Overnight?
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_28 (launched VARCHAR, completed VARCHAR)
Question: What is the launched date of the destroyer completed 1 July 1936?
[/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_28 (launched VARCHAR, completed VARCHAR)
Question: What is the launched date of the destroyer completed 1 July 1936?
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_27 (film VARCHAR, year VARCHAR)
Question: What film was made in 1999?
[/INST]
Here is the SQLite query to answer to the question: What film was made in 1... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (film VARCHAR, year VARCHAR)
Question: What film was made in 1999?
Here is the SQLite query to answer to the question: What film was made in 1999?:
```
SEL... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13606924_1 (total VARCHAR, bush__number VARCHAR)
Question: how many total with bush # being 1552
[/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_13606924_1 (total VARCHAR, bush__number VARCHAR)
Question: how many total with bush # being 1552
Here is the SQLite query to answer to the question: how many tot... | 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.