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 postseason (team_id_winner VARCHAR, team_id_loser VARCHAR); CREATE TABLE team (team_id_br VARCHAR, name VARCHAR)
Question: What is the total number of postseason ga... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE postseason (team_id_winner VARCHAR, team_id_loser VARCHAR); CREATE TABLE team (team_id_br VARCHAR, name VARCHAR)
Question: What is the total number of postseason games 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_51 (laps VARCHAR, rank VARCHAR)
Question: How many laps did Dick Rathmann complete when he ranked 14?
[/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_51 (laps VARCHAR, rank VARCHAR)
Question: How many laps did Dick Rathmann complete when he ranked 14?
Here is the SQLite query to answer to the question: How ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (high_rebounds VARCHAR, high_assists VARCHAR)
Question: Who had the high rebounds of the game that Deron Williams (5) had the high assists?
[/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_4 (high_rebounds VARCHAR, high_assists VARCHAR)
Question: Who had the high rebounds of the game that Deron Williams (5) had the high assists?
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_51 (english_translation VARCHAR, artist VARCHAR, language VARCHAR, draw VARCHAR)
Question: what is the english translation when the Language is english, ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_51 (english_translation VARCHAR, artist VARCHAR, language VARCHAR, draw VARCHAR)
Question: what is the english translation when the Language is english, Draw 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 storm (damage_millions_USD INTEGER, max_speed INTEGER)
Question: Show the average and maximum damage for all storms with max speed higher than 1000.
[/INST]
Here is... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE storm (damage_millions_USD INTEGER, max_speed INTEGER)
Question: Show the average and maximum damage for all storms with max speed higher than 1000.
Here is the SQLite q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11075747_4 (directed_by VARCHAR, episode__number VARCHAR)
Question: Who directed Episode 8?
[/INST]
Here is the SQLite query to answer to the question: Who di... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11075747_4 (directed_by VARCHAR, episode__number VARCHAR)
Question: Who directed Episode 8?
Here is the SQLite query to answer to the question: Who directed Episod... | bugdaryan/sql-create-context-instruction | |
[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 (rank INTEGER, heat INTEGER)
Question: what is the rank when the heat is more than 4?
[/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_66 (rank INTEGER, heat INTEGER)
Question: what is the rank when the heat is more than 4?
Here is the SQLite query to answer to the question: what is the rank ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24222929_2 (title VARCHAR, production_code VARCHAR)
Question: Name the total number of titles for 3x5655
[/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_24222929_2 (title VARCHAR, production_code VARCHAR)
Question: Name the total number of titles for 3x5655
Here is the SQLite query to answer to the question: Name 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_3 (home VARCHAR, visitor VARCHAR, record VARCHAR)
Question: What team did the Montreal Canadiens visit when the record was 0-3?
[/INST]
Here is the SQLit... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (home VARCHAR, visitor VARCHAR, record VARCHAR)
Question: What team did the Montreal Canadiens visit when the record was 0-3?
Here is the SQLite query to an... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (stage VARCHAR, general_classification VARCHAR, winner VARCHAR)
Question: What is the stage of winner Carlos Sastre when the general classification wa... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (stage VARCHAR, general_classification VARCHAR, winner VARCHAR)
Question: What is the stage of winner Carlos Sastre when the general classification was Deni... | bugdaryan/sql-create-context-instruction | |
[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 (year INTEGER, runner_up VARCHAR)
Question: When was the earliest year that Guillermo Vilas was the runner-up?
[/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_9 (year INTEGER, runner_up VARCHAR)
Question: When was the earliest year that Guillermo Vilas was the runner-up?
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_69 (release_price___usd__ VARCHAR, release_date VARCHAR)
Question: Release date of 2008 q3 has what release price?
[/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_69 (release_price___usd__ VARCHAR, release_date VARCHAR)
Question: Release date of 2008 q3 has what release price?
Here is the SQLite query to answer to the q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (venue VARCHAR, status VARCHAR, against VARCHAR)
Question: What is the venue for the Status of Five Nations and 0 againts?
[/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_38 (venue VARCHAR, status VARCHAR, against VARCHAR)
Question: What is the venue for the Status of Five Nations and 0 againts?
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_28652521_1 (description VARCHAR, storage_case VARCHAR, for_shank_type VARCHAR)
Question: What are all the different descriptions for the buttonholer with card... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28652521_1 (description VARCHAR, storage_case VARCHAR, for_shank_type VARCHAR)
Question: What are all the different descriptions for the buttonholer with cardboard ... | bugdaryan/sql-create-context-instruction | |
[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 (tries_against VARCHAR, points_against VARCHAR)
Question: How many tries against were there when there was 961 points against?
[/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_29 (tries_against VARCHAR, points_against VARCHAR)
Question: How many tries against were there when there was 961 points against?
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_14598_5 (buddhist VARCHAR, s_jain VARCHAR)
Question: How many buddhists are where s jain have 941?
[/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_14598_5 (buddhist VARCHAR, s_jain VARCHAR)
Question: How many buddhists are where s jain have 941?
Here is the SQLite query to answer to the question: How many bud... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (part_3 VARCHAR, part_1 VARCHAR)
Question: What is Part 3, when Part 1 is "frjósa"?
[/INST]
Here is the SQLite query to answer to the question: What i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (part_3 VARCHAR, part_1 VARCHAR)
Question: What is Part 3, when Part 1 is "frjósa"?
Here is the SQLite query to answer to the question: What is Part 3, whe... | bugdaryan/sql-create-context-instruction | |
[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 (venue VARCHAR, third VARCHAR)
Question: What was the venue when Ben Barker finished third?
[/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_65 (venue VARCHAR, third VARCHAR)
Question: What was the venue when Ben Barker finished third?
Here is the SQLite query to answer to the question: What was th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_87 (week INTEGER, opponent VARCHAR)
Question: Name the least week for opponent of washington redskins
[/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_87 (week INTEGER, opponent VARCHAR)
Question: Name the least week for opponent of washington redskins
Here is the SQLite query to answer to the question: Name... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25931938_1 (age INTEGER, aggregate VARCHAR)
Question: What is the age of the celebrity who had a 402 aggregate?
[/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_25931938_1 (age INTEGER, aggregate VARCHAR)
Question: What is the age of the celebrity who had a 402 aggregate?
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_22 (entrant VARCHAR, driver VARCHAR)
Question: Nigel Mansell was the driver in what Entrant?
[/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_22 (entrant VARCHAR, driver VARCHAR)
Question: Nigel Mansell was the driver in what Entrant?
Here is the SQLite query to answer to the question: Nigel Mansell... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24446718_3 (awardee_s_ VARCHAR, name_of_award VARCHAR)
Question: Name the awardees for best special effects
[/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_24446718_3 (awardee_s_ VARCHAR, name_of_award VARCHAR)
Question: Name the awardees for best special effects
Here is the SQLite query to answer to the question: Nam... | bugdaryan/sql-create-context-instruction | |
[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 (venue VARCHAR, home_team VARCHAR)
Question: What is the venue where Collingwood played as the home team?
[/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_name_60 (venue VARCHAR, home_team VARCHAR)
Question: What is the venue where Collingwood played as the home team?
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_25 (album VARCHAR, certification VARCHAR, peak_position VARCHAR)
Question: What album had a peak position of 6 and a certification of 3x platinum?
[/INST... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (album VARCHAR, certification VARCHAR, peak_position VARCHAR)
Question: What album had a peak position of 6 and a certification of 3x platinum?
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_67 (laps INTEGER, start VARCHAR, finish VARCHAR)
Question: How many laps were completed with a start of 33, and a finish of 18?
[/INST]
Here is the SQLit... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (laps INTEGER, start VARCHAR, finish VARCHAR)
Question: How many laps were completed with a start of 33, and a finish of 18?
Here is the SQLite query to an... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (pick VARCHAR, nationality VARCHAR, player VARCHAR)
Question: What is the pick of player ian schultz from Canada?
[/INST]
Here is the SQLite query to a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (pick VARCHAR, nationality VARCHAR, player VARCHAR)
Question: What is the pick of player ian schultz from Canada?
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_57 (funny_car VARCHAR, pro_stock VARCHAR, year VARCHAR)
Question: Who won Funny Car when Jim Yates won Pro Stock, in years after 1996?
[/INST]
Here is th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (funny_car VARCHAR, pro_stock VARCHAR, year VARCHAR)
Question: Who won Funny Car when Jim Yates won Pro Stock, in years after 1996?
Here is the SQLite quer... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (location___state VARCHAR, winner VARCHAR, date VARCHAR)
Question: Which Location /State has a Winner of craig lowndes, and a Date of 29–31 may?
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (location___state VARCHAR, winner VARCHAR, date VARCHAR)
Question: Which Location /State has a Winner of craig lowndes, and a Date of 29–31 may?
Here is th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24162080_3 (manner_of_departure VARCHAR, replaced_by VARCHAR)
Question: When steve mcclaren is the replacer what is the manner of departure?
[/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_24162080_3 (manner_of_departure VARCHAR, replaced_by VARCHAR)
Question: When steve mcclaren is the replacer what is the manner of departure?
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_15346009_1 (date VARCHAR, score VARCHAR)
Question: What day was the score 200 (-16)?
[/INST]
Here is the SQLite query to answer to the question: What day was ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15346009_1 (date VARCHAR, score VARCHAR)
Question: What day was the score 200 (-16)?
Here is the SQLite query to answer to the question: What day was the score 200... | bugdaryan/sql-create-context-instruction | |
[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 VARCHAR, position VARCHAR, school VARCHAR)
Question: Which college has a linebacker from Lessburg High School?
[/INST]
Here is the SQLite que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (college VARCHAR, position VARCHAR, school VARCHAR)
Question: Which college has a linebacker from Lessburg High School?
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 Faculty (rank VARCHAR, Fname VARCHAR, Lname VARCHAR)
Question: Show the rank, first name, and last name for all the faculty.
[/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 Faculty (rank VARCHAR, Fname VARCHAR, Lname VARCHAR)
Question: Show the rank, first name, and last name for all the faculty.
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_80 (land___sq_mi__ INTEGER, ansi_code VARCHAR, pop__2010_ VARCHAR)
Question: Name the sum of land for ANSI code of 2390496 and population less than 7,284... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (land___sq_mi__ INTEGER, ansi_code VARCHAR, pop__2010_ VARCHAR)
Question: Name the sum of land for ANSI code of 2390496 and population less than 7,284
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_1182314_5 (norwegian_americans__1980_ INTEGER, state VARCHAR)
Question: what is the minimum norwegian americans (1980) where state is rhode island
[/INST]
Her... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1182314_5 (norwegian_americans__1980_ INTEGER, state VARCHAR)
Question: what is the minimum norwegian americans (1980) where state is rhode island
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_26826304_1 (us_viewers__millions_ VARCHAR, directed_by VARCHAR)
Question: How many were the US viewers (in millions) of the episode that was written by Gordon... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26826304_1 (us_viewers__millions_ VARCHAR, directed_by VARCHAR)
Question: How many were the US viewers (in millions) of the episode that was written by Gordon C. Lo... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (chassis VARCHAR, driver VARCHAR, rounds VARCHAR, entrant VARCHAR)
Question: What is the chassis for all rounds on the entrant Benson and Hedges Jorda... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (chassis VARCHAR, driver VARCHAR, rounds VARCHAR, entrant VARCHAR)
Question: What is the chassis for all rounds on the entrant Benson and Hedges Jordan driv... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2668374_18 (district VARCHAR, incumbent VARCHAR)
Question: What district was John Dawson from?
[/INST]
Here is the SQLite query to answer to the question: Wha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2668374_18 (district VARCHAR, incumbent VARCHAR)
Question: What district was John Dawson from?
Here is the SQLite query to answer to the question: What district wa... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE channel (OWNER VARCHAR, Rating_in_percent INTEGER)
Question: Find the total rating ratio for each channel owner.
[/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 channel (OWNER VARCHAR, Rating_in_percent INTEGER)
Question: Find the total rating ratio for each channel owner.
Here is the SQLite query to answer to the question: Find... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27487336_1 (passing_yards_per_game VARCHAR, rushing_yards_per_game VARCHAR)
Question: What is every value for passing yards per game if rushing yards per game... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27487336_1 (passing_yards_per_game VARCHAR, rushing_yards_per_game VARCHAR)
Question: What is every value for passing yards per game if rushing yards per game is 11... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (marriage VARCHAR, death VARCHAR)
Question: What is the marriage date for the Habsburg-Lorraine house member who died 29 December 1829?
[/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_67 (marriage VARCHAR, death VARCHAR)
Question: What is the marriage date for the Habsburg-Lorraine house member who died 29 December 1829?
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_17 (away_team VARCHAR, home_team VARCHAR)
Question: What team is travelling to play Hawthorn?
[/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_17 (away_team VARCHAR, home_team VARCHAR)
Question: What team is travelling to play Hawthorn?
Here is the SQLite query to answer to the question: What team 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_18 (winner VARCHAR, dates VARCHAR)
Question: What is Winner, when Dates is Dec 11-14?
[/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_18 (winner VARCHAR, dates VARCHAR)
Question: What is Winner, when Dates is Dec 11-14?
Here is the SQLite query to answer to the question: What is Winner, when... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (year INTEGER, start INTEGER)
Question: Name the most year with start less than 2
[/INST]
Here is the SQLite query to answer to the question: Name the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (year INTEGER, start INTEGER)
Question: Name the most year with start less than 2
Here is the SQLite query to answer to the question: Name the most year wit... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (attendance INTEGER, week VARCHAR)
Question: What was the Attendance on Week 9?
[/INST]
Here is the SQLite query to answer to the question: What was t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (attendance INTEGER, week VARCHAR)
Question: What was the Attendance on Week 9?
Here is the SQLite query to answer to the question: What was the Attendance... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (date INTEGER, building VARCHAR)
Question: Name the least date for the place which has a building of victoria hall
[/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_37 (date INTEGER, building VARCHAR)
Question: Name the least date for the place which has a building of victoria hall
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_18373863_2 (player VARCHAR, fcsl_team VARCHAR, years_played VARCHAR)
Question: When 2006 is the year played and winter park is the fcsl team who is the player... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18373863_2 (player VARCHAR, fcsl_team VARCHAR, years_played VARCHAR)
Question: When 2006 is the year played and winter park is the fcsl team who is the player?
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_97 (club VARCHAR, player VARCHAR)
Question: What club wast he player hristo stoitchkov from?
[/INST]
Here is the SQLite query to answer to the question: ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (club VARCHAR, player VARCHAR)
Question: What club wast he player hristo stoitchkov from?
Here is the SQLite query to answer to the question: What club 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_37 (gold INTEGER, nation VARCHAR, total VARCHAR)
Question: How many gold medals did Brazil win with a total of more than 55 medals?
[/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_37 (gold INTEGER, nation VARCHAR, total VARCHAR)
Question: How many gold medals did Brazil win with a total of more than 55 medals?
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_80 (copa_del_rey INTEGER, la_liga INTEGER)
Question: Which Copa del Rey has a La Liga 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_80 (copa_del_rey INTEGER, la_liga INTEGER)
Question: Which Copa del Rey has a La Liga smaller than 0?
Here is the SQLite query to answer to the question: Whic... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (date VARCHAR, away_team VARCHAR)
Question: What day did South Melbourne play as the away team?
[/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_82 (date VARCHAR, away_team VARCHAR)
Question: What day did South Melbourne play as the away team?
Here is the SQLite query to answer to the question: What da... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (language VARCHAR, television_service VARCHAR)
Question: What is the Language when the Reteconomy is the television service?
[/INST]
Here is the SQLit... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (language VARCHAR, television_service VARCHAR)
Question: What is the Language when the Reteconomy is the television service?
Here is the SQLite query to an... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE home_game (YEAR VARCHAR, attendance INTEGER)
Question: What is the average number of attendance at home games for each year?
[/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 home_game (YEAR VARCHAR, attendance INTEGER)
Question: What is the average number of attendance at home games for each year?
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_19 (sport VARCHAR, championships VARCHAR, club VARCHAR)
Question: Name the sport with championships less than 1 and club of erie bayhawks
[/INST]
Here is... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (sport VARCHAR, championships VARCHAR, club VARCHAR)
Question: Name the sport with championships less than 1 and club of erie bayhawks
Here is the SQLite q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (total INTEGER, bask VARCHAR, base VARCHAR)
Question: What is the highest total value when bask and base are each 3?
[/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_37 (total INTEGER, bask VARCHAR, base VARCHAR)
Question: What is the highest total value when bask and base are each 3?
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_87 (date VARCHAR, tournament VARCHAR)
Question: What is Date, when Tournament is Alfred Dunhill Championship 1?
[/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_87 (date VARCHAR, tournament VARCHAR)
Question: What is Date, when Tournament is Alfred Dunhill Championship 1?
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_27303975_3 (title VARCHAR, catalog_number VARCHAR)
Question: What is the title when the catalog number is cal01 / 0091037137319?
[/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_27303975_3 (title VARCHAR, catalog_number VARCHAR)
Question: What is the title when the catalog number is cal01 / 0091037137319?
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_24 (scored INTEGER, competition VARCHAR, venue VARCHAR)
Question: What is the average number scored in a friendly at kryoia soveto, moscow?
[/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 (scored INTEGER, competition VARCHAR, venue VARCHAR)
Question: What is the average number scored in a friendly at kryoia soveto, moscow?
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 Reservations (firstname VARCHAR, lastname VARCHAR, Room VARCHAR, Rate VARCHAR); CREATE TABLE Rooms (RoomId VARCHAR, basePrice VARCHAR)
Question: Find the first and ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Reservations (firstname VARCHAR, lastname VARCHAR, Room VARCHAR, Rate VARCHAR); CREATE TABLE Rooms (RoomId VARCHAR, basePrice VARCHAR)
Question: Find the first and last n... | bugdaryan/sql-create-context-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_55 (meas_num INTEGER)
Question: What is the highest measure number?
[/INST]
Here is the SQLite query to answer to the question: What is the highest mea... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_256286_55 (meas_num INTEGER)
Question: What is the highest measure number?
Here is the SQLite query to answer to the question: What is the highest measure number?:... | bugdaryan/sql-create-context-instruction | |
[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 (game VARCHAR, record VARCHAR)
Question: How many games have 61-16 as the record?
[/INST]
Here is the SQLite query to answer to the question: How many... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (game VARCHAR, record VARCHAR)
Question: How many games have 61-16 as the record?
Here is the SQLite query to answer to the question: How many games have 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_29261823_10 (aggregate_score VARCHAR, contest_and_round VARCHAR)
Question: what is the aggregate score for the europa league play off round contest and round
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29261823_10 (aggregate_score VARCHAR, contest_and_round VARCHAR)
Question: what is the aggregate score for the europa league play off round contest and round
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_19017269_5 (world INTEGER, latin_america_caribbean VARCHAR)
Question: What is population in the world when 788 (8.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_19017269_5 (world INTEGER, latin_america_caribbean VARCHAR)
Question: What is population in the world when 788 (8.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_10312547_1 (character VARCHAR)
Question: How many playerd Mrs. Darling in the 1999 Broadway?
[/INST]
Here is the SQLite query to answer to the question: How m... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10312547_1 (character VARCHAR)
Question: How many playerd Mrs. Darling in the 1999 Broadway?
Here is the SQLite query to answer to the question: How many playerd 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_54 (entered_service VARCHAR, locomotive VARCHAR)
Question: What is the Entered service date of the H1 Locomotive?
[/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_54 (entered_service VARCHAR, locomotive VARCHAR)
Question: What is the Entered service date of the H1 Locomotive?
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_87 (original_artist VARCHAR, length VARCHAR)
Question: Who is the original artist of the 3:00 song?
[/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_87 (original_artist VARCHAR, length VARCHAR)
Question: Who is the original artist of the 3:00 song?
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_27268238_5 (team VARCHAR, economy VARCHAR)
Question: What is the team when the economy is 5.73?
[/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_27268238_5 (team VARCHAR, economy VARCHAR)
Question: What is the team when the economy is 5.73?
Here is the SQLite query to answer to the question: What is the tea... | bugdaryan/sql-create-context-instruction | |
[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 (debut VARCHAR, born VARCHAR)
Question: What is the debut for the person born in Poole?
[/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_82 (debut VARCHAR, born VARCHAR)
Question: What is the debut for the person born in Poole?
Here is the SQLite query to answer to the question: What is the deb... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27771406_1 (total_dismissals INTEGER, club VARCHAR)
Question: How many total dismissals did the player for Guyana have?
[/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_27771406_1 (total_dismissals INTEGER, club VARCHAR)
Question: How many total dismissals did the player for Guyana have?
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_2886617_9 (college_junior_club_team VARCHAR, nhl_team VARCHAR)
Question: What college club team did the Dallas Stars choose their draft pick from?
[/INST]
Her... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2886617_9 (college_junior_club_team VARCHAR, nhl_team VARCHAR)
Question: What college club team did the Dallas Stars choose their draft pick from?
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 Timed_Locations_of_Things (Location_Code VARCHAR, thing_id VARCHAR); CREATE TABLE Things (thing_id VARCHAR, service_details VARCHAR)
Question: How many distinct loc... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Timed_Locations_of_Things (Location_Code VARCHAR, thing_id VARCHAR); CREATE TABLE Things (thing_id VARCHAR, service_details VARCHAR)
Question: How many distinct locations... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20396710_1 (drawn VARCHAR, points_for VARCHAR)
Question: when points for is 39 what is the total number of drawn
[/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_20396710_1 (drawn VARCHAR, points_for VARCHAR)
Question: when points for is 39 what is the total number of drawn
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 department_stores (dept_store_id VARCHAR, store_name VARCHAR); CREATE TABLE departments (dept_store_id VARCHAR, department_name VARCHAR)
Question: What is the id an... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE department_stores (dept_store_id VARCHAR, store_name VARCHAR); CREATE TABLE departments (dept_store_id VARCHAR, department_name VARCHAR)
Question: What is the id and name... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (place VARCHAR, score VARCHAR)
Question: What place had a score of 71-70=141?
[/INST]
Here is the SQLite query to answer to the question: What place ha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (place VARCHAR, score VARCHAR)
Question: What place had a score of 71-70=141?
Here is the SQLite query to answer to the question: What place had a score 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_24 (loss VARCHAR, attendance VARCHAR)
Question: What was the loss of the game attended by 37,119?
[/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_24 (loss VARCHAR, attendance VARCHAR)
Question: What was the loss of the game attended by 37,119?
Here is the SQLite query to answer to the question: What 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_16201038_4 (missouri_vs VARCHAR, at_opponents_venue VARCHAR)
Question: Which is the team against which Missouri Tigers have a record of ui, 4-1 at the opponen... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16201038_4 (missouri_vs VARCHAR, at_opponents_venue VARCHAR)
Question: Which is the team against which Missouri Tigers have a record of ui, 4-1 at the opponent's ve... | bugdaryan/sql-create-context-instruction | |
[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 (to_par VARCHAR, score VARCHAR)
Question: What is the to par of the player with a 73-70-70-65=278 score?
[/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_92 (to_par VARCHAR, score VARCHAR)
Question: What is the to par of the player with a 73-70-70-65=278 score?
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_76 (grid INTEGER, driver VARCHAR, laps VARCHAR)
Question: What was Jack Brabham's highest grid when his laps were more than 90?
[/INST]
Here is the SQLit... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (grid INTEGER, driver VARCHAR, laps VARCHAR)
Question: What was Jack Brabham's highest grid when his laps were more than 90?
Here is the SQLite query to an... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16105186_2 (mid_atlantic_south__washington VARCHAR, _dc_ VARCHAR, midwest__des_moines_ VARCHAR)
Question: What was the emission rating in Mid-Atlantic South f... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16105186_2 (mid_atlantic_south__washington VARCHAR, _dc_ VARCHAR, midwest__des_moines_ VARCHAR)
Question: What was the emission rating in Mid-Atlantic South for 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_28 (opponent VARCHAR, date VARCHAR)
Question: Who was the opponent on September 26, 2009?
[/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_28 (opponent VARCHAR, date VARCHAR)
Question: Who was the opponent on September 26, 2009?
Here is the SQLite query to answer to the question: Who was the oppo... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE country (Name VARCHAR, Continent VARCHAR, population INTEGER)
Question: Which African countries have a smaller population than that of any country in Asia?
[/INST]
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE country (Name VARCHAR, Continent VARCHAR, population INTEGER)
Question: Which African countries have a smaller population than that of any country in Asia?
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_23 (Id VARCHAR)
Question: Who held the same position in 2014 that Jarrah Rubinstein held in 2013?
[/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_23 (Id VARCHAR)
Question: Who held the same position in 2014 that Jarrah Rubinstein held in 2013?
Here is the SQLite query to answer to the question: Who held... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23680576_2 (party VARCHAR, dec_2008 VARCHAR)
Question: Name the party/s when the polling percentage was 6.3% in Dec 2008.
[/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_23680576_2 (party VARCHAR, dec_2008 VARCHAR)
Question: Name the party/s when the polling percentage was 6.3% in Dec 2008.
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_48 (medal VARCHAR, weight VARCHAR, boxer VARCHAR)
Question: What medal did Michael Conlon, with a weight of fly, win?
[/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_48 (medal VARCHAR, weight VARCHAR, boxer VARCHAR)
Question: What medal did Michael Conlon, with a weight of fly, win?
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_65 (crowd INTEGER, venue VARCHAR)
Question: What was the biggest crowd at punt road oval?
[/INST]
Here is the SQLite query to answer to the question: Wha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (crowd INTEGER, venue VARCHAR)
Question: What was the biggest crowd at punt road oval?
Here is the SQLite query to answer to the question: What was the big... | bugdaryan/sql-create-context-instruction | |
[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 (home_team VARCHAR, venue VARCHAR)
Question: Which team lives in mcg?
[/INST]
Here is the SQLite query to answer to the question: Which team lives in ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (home_team VARCHAR, venue VARCHAR)
Question: Which team lives in mcg?
Here is the SQLite query to answer to the question: Which team lives in mcg?:
```
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_name_80 (bronze VARCHAR, rank VARCHAR)
Question: How many bronze medals does the nation ranked number 1 have?
[/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_80 (bronze VARCHAR, rank VARCHAR)
Question: How many bronze medals does the nation ranked number 1 have?
Here is the SQLite query to answer to the question: H... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (worldwide_gross VARCHAR, rank VARCHAR)
Question: What is the Worldwide Gross of the Film with a Rank of 16?
[/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_68 (worldwide_gross VARCHAR, rank VARCHAR)
Question: What is the Worldwide Gross of the Film with a Rank of 16?
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_69 (circuit VARCHAR, length VARCHAR)
Question: On what circuit is there a race that lasts 2 hours?
[/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_69 (circuit VARCHAR, length VARCHAR)
Question: On what circuit is there a race that lasts 2 hours?
Here is the SQLite query to answer to the question: On 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_29 (town VARCHAR, structural_type VARCHAR, country VARCHAR)
Question: Which Town has a Structural type of guyed mast and a Country of belgium?
[/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_29 (town VARCHAR, structural_type VARCHAR, country VARCHAR)
Question: Which Town has a Structural type of guyed mast and a Country of belgium?
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_23248910_5 (high_rebounds VARCHAR, record VARCHAR)
Question: Who had the most rebounds in the game against the team with a 5-2 record against the Hawks?
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23248910_5 (high_rebounds VARCHAR, record VARCHAR)
Question: Who had the most rebounds in the game against the team with a 5-2 record against the Hawks?
Here is th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15190346_2 (stadium VARCHAR, attendance VARCHAR)
Question: What is the stadium where the attendance was 75,406?
[/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_15190346_2 (stadium VARCHAR, attendance VARCHAR)
Question: What is the stadium where the attendance was 75,406?
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_64 (overall INTEGER, round VARCHAR, pick__number VARCHAR)
Question: Round of 11, and a Pick # larger than 14 is the highest overall pick?
[/INST]
Here is... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (overall INTEGER, round VARCHAR, pick__number VARCHAR)
Question: Round of 11, and a Pick # larger than 14 is the highest overall pick?
Here is the SQLite q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (draw VARCHAR, match VARCHAR, team VARCHAR)
Question: What was the draw for Lpż Gdańsk with a match of 8?
[/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_name_57 (draw VARCHAR, match VARCHAR, team VARCHAR)
Question: What was the draw for Lpż Gdańsk with a match of 8?
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_97 (competition VARCHAR, result VARCHAR, date VARCHAR)
Question: What was the competition on 29 November 1997 that resulted in a draw?
[/INST]
Here is th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (competition VARCHAR, result VARCHAR, date VARCHAR)
Question: What was the competition on 29 November 1997 that resulted in a draw?
Here is the SQLite quer... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19487922_2 (championships VARCHAR, country VARCHAR)
Question: How many championships does Pakistan have?
[/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_19487922_2 (championships VARCHAR, country VARCHAR)
Question: How many championships does Pakistan have?
Here is the SQLite query to answer to the question: How ma... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_51 (director VARCHAR, result VARCHAR, original_title VARCHAR)
Question: Which director had not nominated as a result, and had Bayan Ko: Kapit Sa Patalim ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_51 (director VARCHAR, result VARCHAR, original_title VARCHAR)
Question: Which director had not nominated as a result, and had Bayan Ko: Kapit Sa Patalim as an ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23601267_2 (final_score VARCHAR, date VARCHAR)
Question: What was the score on the October 28 game?
[/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_23601267_2 (final_score VARCHAR, date VARCHAR)
Question: What was the score on the October 28 game?
Here is the SQLite query to answer to the question: What was th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12807904_3 (tries_for VARCHAR, drawn VARCHAR)
Question: HOW MANY GAMES WERE TIED AT 3?
[/INST]
Here is the SQLite query to answer to the question: HOW MANY GA... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12807904_3 (tries_for VARCHAR, drawn VARCHAR)
Question: HOW MANY GAMES WERE TIED AT 3?
Here is the SQLite query to answer to the question: HOW MANY GAMES WERE TIED... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21436373_11 (result_games VARCHAR, attendance VARCHAR)
Question: Name the result/games for 54741
[/INST]
Here is the SQLite query to answer to the question: N... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21436373_11 (result_games VARCHAR, attendance VARCHAR)
Question: Name the result/games for 54741
Here is the SQLite query to answer to the question: Name the resul... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (driver VARCHAR, grid VARCHAR)
Question: Which driver had a grid number of 18?
[/INST]
Here is the SQLite query to answer to the question: Which drive... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (driver VARCHAR, grid VARCHAR)
Question: Which driver had a grid number of 18?
Here is the SQLite query to answer to the question: Which driver had a grid ... | 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.