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_79 (nationality VARCHAR, rank VARCHAR)
Question: What is the nationality for rank 27?
[/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_79 (nationality VARCHAR, rank VARCHAR)
Question: What is the nationality for rank 27?
Here is the SQLite query to answer to the question: What is the national... | bugdaryan/sql-create-context-instruction | |
[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 (driver VARCHAR, grid VARCHAR)
Question: What is the driver for Grid 8?
[/INST]
Here is the SQLite query to answer to the question: What is the driver... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (driver VARCHAR, grid VARCHAR)
Question: What is the driver for Grid 8?
Here is the SQLite query to answer to the question: What is the driver for Grid 8?:... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1013129_11 (college_junior_club_team VARCHAR, player VARCHAR)
Question: What club team is Per Gustafsson play for?
[/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_1013129_11 (college_junior_club_team VARCHAR, player VARCHAR)
Question: What club team is Per Gustafsson play for?
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_20 (runner_up VARCHAR, attendance VARCHAR, venue VARCHAR, result VARCHAR)
Question: Who was runner-up at Berlin when the result was 2-0 with 100,000 fans... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (runner_up VARCHAR, attendance VARCHAR, venue VARCHAR, result VARCHAR)
Question: Who was runner-up at Berlin when the result was 2-0 with 100,000 fans in at... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (player VARCHAR, overall INTEGER)
Question: What is the name of the player with an Overall larger than 227?
[/INST]
Here is the SQLite query to answer... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (player VARCHAR, overall INTEGER)
Question: What is the name of the player with an Overall larger than 227?
Here is the SQLite query to answer to the quest... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_256286_43 (_percentage_yes VARCHAR, type VARCHAR)
Question: What is every value for %yes when type is ref?
[/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_256286_43 (_percentage_yes VARCHAR, type VARCHAR)
Question: What is every value for %yes when type is ref?
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_94 (result VARCHAR, date VARCHAR)
Question: What was the result of the April 16 game?
[/INST]
Here is the SQLite query to answer to the question: What wa... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (result VARCHAR, date VARCHAR)
Question: What was the result of the April 16 game?
Here is the SQLite query to answer to the question: What was the result ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25256368_1 (february_2010 VARCHAR, june_2010 VARCHAR)
Question: Name the bed 2010 for 6.5%
[/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_25256368_1 (february_2010 VARCHAR, june_2010 VARCHAR)
Question: Name the bed 2010 for 6.5%
Here is the SQLite query to answer to the question: Name the bed 2010 fo... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10601843_2 (tenant VARCHAR, city VARCHAR)
Question: How many tenants are there in the city of Samsun?
[/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_10601843_2 (tenant VARCHAR, city VARCHAR)
Question: How many tenants are there in the city of Samsun?
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_30 (set_1 VARCHAR, set_2 VARCHAR, set_4 VARCHAR, score VARCHAR)
Question: What is Set 1, when Set 4 is NA, when Score is 3-0, and when Set 2 is 29-27?
[/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (set_1 VARCHAR, set_2 VARCHAR, set_4 VARCHAR, score VARCHAR)
Question: What is Set 1, when Set 4 is NA, when Score is 3-0, and when Set 2 is 29-27?
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_45 (pick__number INTEGER, name VARCHAR)
Question: What is the lowest pick number of John Scully?
[/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_45 (pick__number INTEGER, name VARCHAR)
Question: What is the lowest pick number of John Scully?
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_name_82 (result VARCHAR, opponent VARCHAR)
Question: What was the score of the game against the St. Louis Cardinals?
[/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_82 (result VARCHAR, opponent VARCHAR)
Question: What was the score of the game against the St. Louis Cardinals?
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_31 (format VARCHAR, date VARCHAR)
Question: Which format is released on May 27, 2009?
[/INST]
Here is the SQLite query to answer to the question: Which f... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (format VARCHAR, date VARCHAR)
Question: Which format is released on May 27, 2009?
Here is the SQLite query to answer to the question: Which format is rele... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2562572_12 (dominant_religion__2002_ VARCHAR, population__2011_ VARCHAR)
Question: What is the dominate religion in the location with a population of 4831?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2562572_12 (dominant_religion__2002_ VARCHAR, population__2011_ VARCHAR)
Question: What is the dominate religion in the location with a population of 4831?
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_73 (catalog INTEGER, date VARCHAR)
Question: Which Catalog has a Date of july 15, 2011?
[/INST]
Here is the SQLite query to answer to the question: Which... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (catalog INTEGER, date VARCHAR)
Question: Which Catalog has a Date of july 15, 2011?
Here is the SQLite query to answer to the question: Which Catalog 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_35 (music VARCHAR, team VARCHAR, points_jury VARCHAR)
Question: What is the Music for Team anna guzik & rafał kamiński that has a Points Jury of 24 (7,5,... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (music VARCHAR, team VARCHAR, points_jury VARCHAR)
Question: What is the Music for Team anna guzik & rafał kamiński that has a Points Jury of 24 (7,5,6,6)?
... | bugdaryan/sql-create-context-instruction | |
[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 (game INTEGER, february VARCHAR)
Question: Which Game is the highest one that has a February of 25?
[/INST]
Here is the SQLite query to answer to the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (game INTEGER, february VARCHAR)
Question: Which Game is the highest one that has a February of 25?
Here is the SQLite query to answer to the question: Whi... | bugdaryan/sql-create-context-instruction | |
[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 (haat VARCHAR, channels_tv___rf VARCHAR)
Question: Which HAAT has a Channels TV / RF of 31 (psip) 44 (uhf)
[/INST]
Here is the SQLite query to answer ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (haat VARCHAR, channels_tv___rf VARCHAR)
Question: Which HAAT has a Channels TV / RF of 31 (psip) 44 (uhf)
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_43 (supervisor VARCHAR, years VARCHAR)
Question: Who was the supervisor in the year 1846?
[/INST]
Here is the SQLite query to answer to the question: Who... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (supervisor VARCHAR, years VARCHAR)
Question: Who was the supervisor in the year 1846?
Here is the SQLite query to answer to the question: Who was the supe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (competition VARCHAR, year VARCHAR)
Question: What was the competition in 2003?
[/INST]
Here is the SQLite query to answer to the question: What was t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (competition VARCHAR, year VARCHAR)
Question: What was the competition in 2003?
Here is the SQLite query to answer to the question: What was the competitio... | bugdaryan/sql-create-context-instruction | |
[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 (record VARCHAR, home VARCHAR)
Question: What is the record for the NY Rangers?
[/INST]
Here is the SQLite query to answer to the question: What is th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (record VARCHAR, home VARCHAR)
Question: What is the record for the NY Rangers?
Here is the SQLite query to answer to the question: What is the record 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_25030512_12 (candidates VARCHAR, district VARCHAR, first_elected VARCHAR)
Question: When 2010 is the first elected and Florida 7 is the district who are the c... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25030512_12 (candidates VARCHAR, district VARCHAR, first_elected VARCHAR)
Question: When 2010 is the first elected and Florida 7 is the district who are the candida... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (city_of_license VARCHAR, erp_w VARCHAR, call_sign VARCHAR)
Question: What is City of License, when ERP W is greater than 3, and when Call Sign is K21... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (city_of_license VARCHAR, erp_w VARCHAR, call_sign VARCHAR)
Question: What is City of License, when ERP W is greater than 3, and when Call Sign is K218DZ?
... | bugdaryan/sql-create-context-instruction | |
[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 (total INTEGER, bronze VARCHAR, gold VARCHAR, silver VARCHAR)
Question: What average total has a gold greater than 0, and a silver greater than 0, with... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (total INTEGER, bronze VARCHAR, gold VARCHAR, silver VARCHAR)
Question: What average total has a gold greater than 0, and a silver greater than 0, with a bro... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2624098_1 (english_day_name_meaning VARCHAR, modern_english_day_name VARCHAR)
Question: how many different meanings does Wednesday have?
[/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_2624098_1 (english_day_name_meaning VARCHAR, modern_english_day_name VARCHAR)
Question: how many different meanings does Wednesday have?
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_66 (film VARCHAR, award VARCHAR)
Question: Name the film for award of £3,386
[/INST]
Here is the SQLite query to answer to the question: Name the film fo... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (film VARCHAR, award VARCHAR)
Question: Name the film for award of £3,386
Here is the SQLite query to answer to the question: Name the film for award 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_18207285_2 (raiders_first_downs VARCHAR, game VARCHAR)
Question: How many different counts of the Raiders first downs are there for the game number 9?
[/INST]... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18207285_2 (raiders_first_downs VARCHAR, game VARCHAR)
Question: How many different counts of the Raiders first downs are there for the game number 9?
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_11 (competition VARCHAR, date VARCHAR)
Question: What competition took place on 28/04/1906?
[/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_11 (competition VARCHAR, date VARCHAR)
Question: What competition took place on 28/04/1906?
Here is the SQLite query to answer to the question: What competiti... | bugdaryan/sql-create-context-instruction | |
[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 (country VARCHAR, first_store VARCHAR, hard_discounters VARCHAR)
Question: What country has a fire store of 1991 and a hard discounter of 397?
[/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 (country VARCHAR, first_store VARCHAR, hard_discounters VARCHAR)
Question: What country has a fire store of 1991 and a hard discounter of 397?
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_2 (played INTEGER, club VARCHAR, wins VARCHAR)
Question: What is the number played for the Barcelona B club, with wins under 11?
[/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_2 (played INTEGER, club VARCHAR, wins VARCHAR)
Question: What is the number played for the Barcelona B club, with wins under 11?
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_53 (premiere_date VARCHAR, cycle INTEGER)
Question: What is Premier Date, when Cycle is less than 2?
[/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_53 (premiere_date VARCHAR, cycle INTEGER)
Question: What is Premier Date, when Cycle is less than 2?
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_14603212_1 (school_year VARCHAR, class_a VARCHAR, class_aAA VARCHAR, Cuero VARCHAR)
Question: Which school years have a class a being lindsay and a class aaa ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14603212_1 (school_year VARCHAR, class_a VARCHAR, class_aAA VARCHAR, Cuero VARCHAR)
Question: Which school years have a class a being lindsay and a class aaa being ... | bugdaryan/sql-create-context-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_9 (game INTEGER, record VARCHAR)
Question: How many games had been played when the Mavericks had a 46-22 record?
[/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_23284271_9 (game INTEGER, record VARCHAR)
Question: How many games had been played when the Mavericks had a 46-22 record?
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_95 (venue VARCHAR, date VARCHAR)
Question: Where was the game on September 11, 2004?
[/INST]
Here is the SQLite query to answer to the question: Where wa... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (venue VARCHAR, date VARCHAR)
Question: Where was the game on September 11, 2004?
Here is the SQLite query to answer to the question: Where was the game on... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (points INTEGER, opponent VARCHAR, game VARCHAR)
Question: Which Points have an Opponent of @ atlanta thrashers, and a Game smaller than 28?
[/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_2 (points INTEGER, opponent VARCHAR, game VARCHAR)
Question: Which Points have an Opponent of @ atlanta thrashers, and a Game smaller than 28?
Here is the SQL... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (total INTEGER, rank VARCHAR, silver VARCHAR, gold VARCHAR)
Question: What is the fewest total when silver is 0, and gold is less than 1, and rank 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 (total INTEGER, rank VARCHAR, silver VARCHAR, gold VARCHAR)
Question: What is the fewest total when silver is 0, and gold is less than 1, and rank is less t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (average INTEGER, evening_gown VARCHAR, swimsuit VARCHAR, state VARCHAR)
Question: What is the lowest average that has a swimsuit less than 8.966, for... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (average INTEGER, evening_gown VARCHAR, swimsuit VARCHAR, state VARCHAR)
Question: What is the lowest average that has a swimsuit less than 8.966, for west ... | bugdaryan/sql-create-context-instruction | |
[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 (highest_score INTEGER, lowest_score VARCHAR, worst_dancer_s_ VARCHAR, best_dancer_s_ VARCHAR)
Question: What is the lowest score in the Highest score... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (highest_score INTEGER, lowest_score VARCHAR, worst_dancer_s_ VARCHAR, best_dancer_s_ VARCHAR)
Question: What is the lowest score in the Highest score colum... | bugdaryan/sql-create-context-instruction | |
[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 (label VARCHAR, date VARCHAR)
Question: What's listed for the Label with a Date of 29 July 1997?
[/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_51 (label VARCHAR, date VARCHAR)
Question: What's listed for the Label with a Date of 29 July 1997?
Here is the SQLite query to answer to the question: 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_85 (score VARCHAR, date VARCHAR)
Question: What was the score on 15 march 2006?
[/INST]
Here is the SQLite query to answer to the question: What was the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (score VARCHAR, date VARCHAR)
Question: What was the score on 15 march 2006?
Here is the SQLite query to answer to the question: What was the score on 15 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_86 (total VARCHAR, set_2 VARCHAR)
Question: What is the total when the score for set 2 is 25–22?
[/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_86 (total VARCHAR, set_2 VARCHAR)
Question: What is the total when the score for set 2 is 25–22?
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_1137707_2 (pole_position VARCHAR, round VARCHAR)
Question: What is the number of pole position with a round of 15?
[/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_1137707_2 (pole_position VARCHAR, round VARCHAR)
Question: What is the number of pole position with a round of 15?
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 airport (id VARCHAR, airport_id VARCHAR, pilot VARCHAR); CREATE TABLE flight (id VARCHAR, airport_id VARCHAR, pilot VARCHAR)
Question: How many airports haven't the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE airport (id VARCHAR, airport_id VARCHAR, pilot VARCHAR); CREATE TABLE flight (id VARCHAR, airport_id VARCHAR, pilot VARCHAR)
Question: How many airports haven't the pilot... | bugdaryan/sql-create-context-instruction | |
[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 (competition VARCHAR, date VARCHAR)
Question: What is the competition on 15 August 2008?
[/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_27 (competition VARCHAR, date VARCHAR)
Question: What is the competition on 15 August 2008?
Here is the SQLite query to answer to the question: What is the co... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (date VARCHAR, score VARCHAR, year VARCHAR)
Question: What day was the score 3-0 after 2011?
[/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_88 (date VARCHAR, score VARCHAR, year VARCHAR)
Question: What day was the score 3-0 after 2011?
Here is the SQLite query to answer to the question: What day w... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (score VARCHAR, tie_no VARCHAR)
Question: What was the score when the tie no was 12?
[/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_72 (score VARCHAR, tie_no VARCHAR)
Question: What was the score when the tie no was 12?
Here is the SQLite query to answer to the question: What was the score... | bugdaryan/sql-create-context-instruction | |
[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 (metas_volantes_classification VARCHAR, points_classification VARCHAR)
Question: Who won the Metas Volantes Classification in the stage in which Damia... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (metas_volantes_classification VARCHAR, points_classification VARCHAR)
Question: Who won the Metas Volantes Classification in the stage in which Damiano Cun... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (average INTEGER, evening_gown VARCHAR, state VARCHAR)
Question: What is the highest average for a contestant with an evening gown larger than 9.449 f... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (average INTEGER, evening_gown VARCHAR, state VARCHAR)
Question: What is the highest average for a contestant with an evening gown larger than 9.449 from Ka... | bugdaryan/sql-create-context-instruction | |
[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 (driver VARCHAR, tyre VARCHAR, entrant VARCHAR)
Question: Who was the driver of the Officine Alfieri Maserati with a Tyre of P?
[/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_21 (driver VARCHAR, tyre VARCHAR, entrant VARCHAR)
Question: Who was the driver of the Officine Alfieri Maserati with a Tyre of P?
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_9 (position INTEGER, goal_difference VARCHAR, goals_against VARCHAR, losses VARCHAR)
Question: Which position is the highest to have less than 54 goals, ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (position INTEGER, goal_difference VARCHAR, goals_against VARCHAR, losses VARCHAR)
Question: Which position is the highest to have less than 54 goals, a loss... | bugdaryan/sql-create-context-instruction | |
[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, score VARCHAR)
Question: Which player has a score of 68-69-73=210
[/INST]
Here is the SQLite query to answer to the question: Which pl... | 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, score VARCHAR)
Question: Which player has a score of 68-69-73=210
Here is the SQLite query to answer to the question: Which player has a sc... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (attendance INTEGER, dolphins_points VARCHAR, opponent VARCHAR)
Question: What's the most in attendance when the Dolphins points were less than 24 and... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (attendance INTEGER, dolphins_points VARCHAR, opponent VARCHAR)
Question: What's the most in attendance when the Dolphins points were less than 24 and, they... | bugdaryan/sql-create-context-instruction | |
[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 (quantity INTEGER, type VARCHAR, retired VARCHAR)
Question: What is the lowest quantity of the 1b n2 type, which was retired in 1907-12?
[/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_50 (quantity INTEGER, type VARCHAR, retired VARCHAR)
Question: What is the lowest quantity of the 1b n2 type, which was retired in 1907-12?
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_89 (city VARCHAR, year_opened VARCHAR, state VARCHAR)
Question: What is the city in Alabama that opened in 1996?
[/INST]
Here is the SQLite query to answ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (city VARCHAR, year_opened VARCHAR, state VARCHAR)
Question: What is the city in Alabama that opened in 1996?
Here is the SQLite query to answer to the que... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (record VARCHAR, event VARCHAR, opponent VARCHAR)
Question: what is the record when the event is shido usa mma and the opponent is raphael assunção?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (record VARCHAR, event VARCHAR, opponent VARCHAR)
Question: what is the record when the event is shido usa mma and the opponent is raphael assunção?
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_56 (player VARCHAR, tries VARCHAR, points VARCHAR, goals VARCHAR)
Question: Tell me the player with points larger than 36 and goals more than 0 with trie... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (player VARCHAR, tries VARCHAR, points VARCHAR, goals VARCHAR)
Question: Tell me the player with points larger than 36 and goals more than 0 with tries of 1... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (round VARCHAR, player VARCHAR)
Question: Ken Hemenway is in which Round?
[/INST]
Here is the SQLite query to answer to the question: Ken Hemenway is ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (round VARCHAR, player VARCHAR)
Question: Ken Hemenway is in which Round?
Here is the SQLite query to answer to the question: Ken Hemenway is in which Roun... | bugdaryan/sql-create-context-instruction | |
[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 (opponent VARCHAR, season VARCHAR, final_score VARCHAR)
Question: What was the opponent in the 2008–09 season, with a final score of 2–3 l?
[/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_58 (opponent VARCHAR, season VARCHAR, final_score VARCHAR)
Question: What was the opponent in the 2008–09 season, with a final score of 2–3 l?
Here is the SQL... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (opponents INTEGER, record VARCHAR, vikings_points VARCHAR)
Question: Tell me the highest opponents for record of 7-3 and vikings points more than 7
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (opponents INTEGER, record VARCHAR, vikings_points VARCHAR)
Question: Tell me the highest opponents for record of 7-3 and vikings points more than 7
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_61 (catalog VARCHAR, region VARCHAR, format VARCHAR)
Question: Which Catalog has a Region of Canada and a Format of cd/dvd?
[/INST]
Here is the SQLite qu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (catalog VARCHAR, region VARCHAR, format VARCHAR)
Question: Which Catalog has a Region of Canada and a Format of cd/dvd?
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 track (name VARCHAR, LOCATION VARCHAR, seating VARCHAR, year_opened VARCHAR)
Question: What is the name, location and seating for the most recently opened track?
[/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE track (name VARCHAR, LOCATION VARCHAR, seating VARCHAR, year_opened VARCHAR)
Question: What is the name, location and seating for the most recently opened track?
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_61 (Id VARCHAR)
Question: Tell me the 2004 for 2012 of 21
[/INST]
Here is the SQLite query to answer to the question: Tell me the 2004 for 2012 of 21:
``... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (Id VARCHAR)
Question: Tell me the 2004 for 2012 of 21
Here is the SQLite query to answer to the question: Tell me the 2004 for 2012 of 21:
```
SELECT 2004... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24348134_3 (conference VARCHAR, tournament_winner VARCHAR)
Question: List the tournament that kent state won?
[/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_24348134_3 (conference VARCHAR, tournament_winner VARCHAR)
Question: List the tournament that kent state won?
Here is the SQLite query to answer to the question: 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_40 (lost INTEGER, points_1 VARCHAR, drawn VARCHAR, goals_against VARCHAR)
Question: What is the highest lost entry that has a drawn entry less than 6, go... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (lost INTEGER, points_1 VARCHAR, drawn VARCHAR, goals_against VARCHAR)
Question: What is the highest lost entry that has a drawn entry less than 6, goals ag... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11129123_1 (episode_air_date VARCHAR, callback_venue VARCHAR)
Question: When did the callbacks from rancho bernardo inn air
[/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_11129123_1 (episode_air_date VARCHAR, callback_venue VARCHAR)
Question: When did the callbacks from rancho bernardo inn air
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_18 (circumstances VARCHAR, nature_of_incident VARCHAR, location VARCHAR)
Question: What were the circumstances of the Hostile incident on the road to Jal... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (circumstances VARCHAR, nature_of_incident VARCHAR, location VARCHAR)
Question: What were the circumstances of the Hostile incident on the road to Jalalabad... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (region VARCHAR, label VARCHAR, catalog VARCHAR)
Question: What is the region of the Alfa Records release with catalog ALCA-282?
[/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_54 (region VARCHAR, label VARCHAR, catalog VARCHAR)
Question: What is the region of the Alfa Records release with catalog ALCA-282?
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 film (Studio VARCHAR, Director VARCHAR)
Question: Show the studios that have not produced films with director "Walter Hill".
[/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 film (Studio VARCHAR, Director VARCHAR)
Question: Show the studios that have not produced films with director "Walter Hill".
Here is the SQLite query to answer to the qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (round INTEGER, college VARCHAR, player VARCHAR)
Question: What round was northeastern college player Reggie Lewis drafted in?
[/INST]
Here is the SQL... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (round INTEGER, college VARCHAR, player VARCHAR)
Question: What round was northeastern college player Reggie Lewis drafted in?
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_31 (winning_team VARCHAR, venue VARCHAR, year VARCHAR, score VARCHAR)
Question: Who is the winning team when the year is more than 2003, the score is 19½... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (winning_team VARCHAR, venue VARCHAR, year VARCHAR, score VARCHAR)
Question: Who is the winning team when the year is more than 2003, the score is 19½–14½ 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_1 (bronze INTEGER, rank VARCHAR, total VARCHAR)
Question: What is the average Bronze for rank 3 and total is more than 8?
[/INST]
Here is the SQLite quer... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (bronze INTEGER, rank VARCHAR, total VARCHAR)
Question: What is the average Bronze for rank 3 and total is more than 8?
Here is the SQLite query to answer t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (position INTEGER, drawn VARCHAR, against VARCHAR, team VARCHAR)
Question: Which Position has an Against larger than 17, and a Team of juventus, and a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (position INTEGER, drawn VARCHAR, against VARCHAR, team VARCHAR)
Question: Which Position has an Against larger than 17, and a Team of juventus, and a Drawn... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (competition_description VARCHAR, rank_qualifying VARCHAR, apparatus VARCHAR)
Question: What competition had a Rank-Qualifying of 1st and a ball appar... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (competition_description VARCHAR, rank_qualifying VARCHAR, apparatus VARCHAR)
Question: What competition had a Rank-Qualifying of 1st and a ball apparatus?
... | bugdaryan/sql-create-context-instruction | |
[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 (year INTEGER, silver VARCHAR)
Question: How many years has Japan won silver?
[/INST]
Here is the SQLite query to answer to the question: How many year... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (year INTEGER, silver VARCHAR)
Question: How many years has Japan won silver?
Here is the SQLite query to answer to the question: How many years has Japan 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_12 (date VARCHAR, opponent VARCHAR, week VARCHAR, game_site VARCHAR)
Question: Week smaller than 4, and a Game Site of rca dome, and a Opponent of new en... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (date VARCHAR, opponent VARCHAR, week VARCHAR, game_site VARCHAR)
Question: Week smaller than 4, and a Game Site of rca dome, and a Opponent of new england ... | bugdaryan/sql-create-context-instruction | |
[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 (position VARCHAR, event VARCHAR, venue VARCHAR)
Question: Which Position has an Event of 4x400 m relay, and a Venue of stuttgart , germany?
[/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 (position VARCHAR, event VARCHAR, venue VARCHAR)
Question: Which Position has an Event of 4x400 m relay, and a Venue of stuttgart , germany?
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_90 (total_region INTEGER, mt_morgan INTEGER)
Question: What is the sum of people in the total region when more than 5,060 were in Mt. Morgan?
[/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_90 (total_region INTEGER, mt_morgan INTEGER)
Question: What is the sum of people in the total region when more than 5,060 were in Mt. Morgan?
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_12834315_5 (name VARCHAR, barrel_profile VARCHAR)
Question: What models have an a2 barrel profile?
[/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_12834315_5 (name VARCHAR, barrel_profile VARCHAR)
Question: What models have an a2 barrel profile?
Here is the SQLite query to answer to the question: What 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_name_18 (gold INTEGER, rank VARCHAR, nation VARCHAR)
Question: what is the highest gold when the rank is 12 for the nation vietnam?
[/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_18 (gold INTEGER, rank VARCHAR, nation VARCHAR)
Question: what is the highest gold when the rank is 12 for the nation vietnam?
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_96 (area__km_2__ INTEGER, rank VARCHAR, municipality VARCHAR, province VARCHAR, status VARCHAR)
Question: What is the highest Area (KM 2) for the Provinc... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (area__km_2__ INTEGER, rank VARCHAR, municipality VARCHAR, province VARCHAR, status VARCHAR)
Question: What is the highest Area (KM 2) for the Province of O... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (winner VARCHAR, fourth VARCHAR)
Question: Who was the Winner when Selby Riddle came in Fourth?
[/INST]
Here is the SQLite query to answer to the ques... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (winner VARCHAR, fourth VARCHAR)
Question: Who was the Winner when Selby Riddle came in Fourth?
Here is the SQLite query to answer to the question: Who was... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (finish VARCHAR, year_s__won VARCHAR)
Question: Where did the player who won in 1965 finish?
[/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_92 (finish VARCHAR, year_s__won VARCHAR)
Question: Where did the player who won in 1965 finish?
Here is the SQLite query to answer to the question: Where did ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (home_team VARCHAR, away_team VARCHAR)
Question: Which home team played the Away team from Richmond?
[/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_29 (home_team VARCHAR, away_team VARCHAR)
Question: Which home team played the Away team from Richmond?
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_13 (title VARCHAR, original_air_date VARCHAR)
Question: What title aired on March 19, 1998?
[/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 (title VARCHAR, original_air_date VARCHAR)
Question: What title aired on March 19, 1998?
Here is the SQLite query to answer to the question: What title air... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26259391_1 (production_code VARCHAR, original_air_date VARCHAR)
Question: Which production code had original air dated february20,2011
[/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_26259391_1 (production_code VARCHAR, original_air_date VARCHAR)
Question: Which production code had original air dated february20,2011
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_16388545_1 (ground VARCHAR, crowd VARCHAR)
Question: Which location had an attendance of 22537?
[/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_16388545_1 (ground VARCHAR, crowd VARCHAR)
Question: Which location had an attendance of 22537?
Here is the SQLite query to answer to the question: Which location ... | bugdaryan/sql-create-context-instruction | |
[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 (location_attendance VARCHAR, score VARCHAR)
Question: What is Location/Attendance, when Score is "4-5 (OT)"?
[/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_2 (location_attendance VARCHAR, score VARCHAR)
Question: What is Location/Attendance, when Score is "4-5 (OT)"?
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_34 (runner_s__up VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR)
Question: Which Runner(s)-up has a Margin of victory of 1 stroke, and a Tourname... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (runner_s__up VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR)
Question: Which Runner(s)-up has a Margin of victory of 1 stroke, and a Tournament 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_49 (winner VARCHAR, stage VARCHAR)
Question: Who was the winner in stage 3?
[/INST]
Here is the SQLite query to answer to the question: Who was the winne... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (winner VARCHAR, stage VARCHAR)
Question: Who was the winner in stage 3?
Here is the SQLite query to answer to the question: Who was the winner in stage 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_90 (english_title VARCHAR, original_title VARCHAR)
Question: What is the English title for Ansikte Mot Ansikte?
[/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_90 (english_title VARCHAR, original_title VARCHAR)
Question: What is the English title for Ansikte Mot Ansikte?
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_11545282_7 (years_for_jazz VARCHAR, player VARCHAR)
Question: How many years did Paul Griffin play for the Jazz?
[/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_11545282_7 (years_for_jazz VARCHAR, player VARCHAR)
Question: How many years did Paul Griffin play for the Jazz?
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_2 (year VARCHAR, winner VARCHAR)
Question: What year was Burning Roma the winner?
[/INST]
Here is the SQLite query to answer to the question: What year w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (year VARCHAR, winner VARCHAR)
Question: What year was Burning Roma the winner?
Here is the SQLite query to answer to the question: What year was Burning Ro... | bugdaryan/sql-create-context-instruction | |
[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 (position VARCHAR, caps VARCHAR, player VARCHAR)
Question: What is Position, when Caps is Example, and When Player is Shane Kelly?
[/INST]
Here is the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (position VARCHAR, caps VARCHAR, player VARCHAR)
Question: What is Position, when Caps is Example, and When Player is Shane Kelly?
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_14 (Id VARCHAR)
Question: what is the listing for 1992 when 1999 is more than 1, 2008 is less than 2 and 2003 is less than 2?
[/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_14 (Id VARCHAR)
Question: what is the listing for 1992 when 1999 is more than 1, 2008 is less than 2 and 2003 is less than 2?
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_42 (score VARCHAR, competition VARCHAR)
Question: What was the score during the competition of 1998 fifa world cup qualification?
[/INST]
Here is the SQL... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (score VARCHAR, competition VARCHAR)
Question: What was the score during the competition of 1998 fifa world cup qualification?
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_61 (rank INTEGER, time INTEGER)
Question: What is the average rank for 57.05 time?
[/INST]
Here is the SQLite query to answer to the question: What is th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (rank INTEGER, time INTEGER)
Question: What is the average rank for 57.05 time?
Here is the SQLite query to answer to the question: What is the average ran... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2866456_1 (directed_by VARCHAR, production_code VARCHAR)
Question: Who is the directed by when 2t6404 is the production code?
[/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_2866456_1 (directed_by VARCHAR, production_code VARCHAR)
Question: Who is the directed by when 2t6404 is the production code?
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_54 (tournament VARCHAR, opponent_in_the_final VARCHAR)
Question: What tournament did Pemra Özgen play against julia kimmelmann in the finals?
[/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_54 (tournament VARCHAR, opponent_in_the_final VARCHAR)
Question: What tournament did Pemra Özgen play against julia kimmelmann in the finals?
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_96 (position VARCHAR, name VARCHAR, signed VARCHAR, round VARCHAR)
Question: what is the position when signed is yes, round is less than 24 and name is c... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (position VARCHAR, name VARCHAR, signed VARCHAR, round VARCHAR)
Question: what is the position when signed is yes, round is less than 24 and name is charlie... | bugdaryan/sql-create-context-instruction | |
[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 (team VARCHAR, round VARCHAR, pole_position VARCHAR)
Question: Before round 9, when Takashi Kogure held pole position, who was the team?
[/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_85 (team VARCHAR, round VARCHAR, pole_position VARCHAR)
Question: Before round 9, when Takashi Kogure held pole position, who was the team?
Here is the SQLite... | 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.