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_26131768_4 (term_limited VARCHAR, representative VARCHAR)
Question: If the representative is Dave Hall, when was the term limited?
[/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_26131768_4 (term_limited VARCHAR, representative VARCHAR)
Question: If the representative is Dave Hall, when was the term limited?
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 course (title VARCHAR, course_id VARCHAR); CREATE TABLE SECTION (course_id VARCHAR)
Question: What is the title of the course that was offered at building Chandler ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE course (title VARCHAR, course_id VARCHAR); CREATE TABLE SECTION (course_id VARCHAR)
Question: What is the title of the course that was offered at building Chandler during... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (john_edwards VARCHAR, john_kerry VARCHAR)
Question: What is John Edwards, when John Kerry is "70%"?
[/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_41 (john_edwards VARCHAR, john_kerry VARCHAR)
Question: What is John Edwards, when John Kerry is "70%"?
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_68 (airport VARCHAR, icao VARCHAR)
Question: What airport has an ICAP of BGBW?
[/INST]
Here is the SQLite query to answer to the question: What airport h... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (airport VARCHAR, icao VARCHAR)
Question: What airport has an ICAP of BGBW?
Here is the SQLite query to answer to the question: What airport has an ICAP 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_22753439_1 (margin VARCHAR, winner VARCHAR)
Question: How many margins have a winner of S. Singaravadivel?
[/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_22753439_1 (margin VARCHAR, winner VARCHAR)
Question: How many margins have a winner of S. Singaravadivel?
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_16 (dance VARCHAR, result VARCHAR, week VARCHAR)
Question: What Dance in Week 1 resulted in Safe?
[/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_16 (dance VARCHAR, result VARCHAR, week VARCHAR)
Question: What Dance in Week 1 resulted in Safe?
Here is the SQLite query to answer to the question: What Dan... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15081939_4 (swimsuit VARCHAR, evening_gown VARCHAR)
Question: What is the swimsuit score for the item that has 7.61 as evening gown
[/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_15081939_4 (swimsuit VARCHAR, evening_gown VARCHAR)
Question: What is the swimsuit score for the item that has 7.61 as evening gown
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_19764939_1 (club_world_cup VARCHAR, player VARCHAR)
Question: Name the total number of club worl cup for djibril cisse
[/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_19764939_1 (club_world_cup VARCHAR, player VARCHAR)
Question: Name the total number of club worl cup for djibril cisse
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_21 (chinese__simplified_ VARCHAR, album_number VARCHAR)
Question: What is the simplified Chinese name for the 9th album?
[/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_21 (chinese__simplified_ VARCHAR, album_number VARCHAR)
Question: What is the simplified Chinese name for the 9th album?
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_51 (total INTEGER, tour VARCHAR, giro VARCHAR)
Question: The sun of total that has a tour of 7 and a Giro smaller than 3 is 12.
[/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_51 (total INTEGER, tour VARCHAR, giro VARCHAR)
Question: The sun of total that has a tour of 7 and a Giro smaller than 3 is 12.
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_26466528_1 (location VARCHAR, colors VARCHAR)
Question: Name the location for black, orange
[/INST]
Here is the SQLite query to answer to the question: Name t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26466528_1 (location VARCHAR, colors VARCHAR)
Question: Name the location for black, orange
Here is the SQLite query to answer to the question: Name the location f... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (no_result VARCHAR, wins INTEGER)
Question: How many total No Results are recorded for less than 6 wins?
[/INST]
Here is the SQLite query to answer to... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (no_result VARCHAR, wins INTEGER)
Question: How many total No Results are recorded for less than 6 wins?
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_63 (points INTEGER, rank VARCHAR, draw VARCHAR)
Question: What is the average number of points when the ranking is 7th and the draw is less than 4?
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (points INTEGER, rank VARCHAR, draw VARCHAR)
Question: What is the average number of points when the ranking is 7th and the draw is less than 4?
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_name_56 (type VARCHAR, group VARCHAR)
Question: Which type is filed under the Group Animated?
[/INST]
Here is the SQLite query to answer to the question: Whic... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (type VARCHAR, group VARCHAR)
Question: Which type is filed under the Group Animated?
Here is the SQLite query to answer to the question: Which type is fil... | bugdaryan/sql-create-context-instruction | |
[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 (result VARCHAR, week VARCHAR)
Question: What was the result of the game on week 1?
[/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_4 (result VARCHAR, week VARCHAR)
Question: What was the result of the game on week 1?
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_name_90 (opponent_in_the_final VARCHAR, tournament VARCHAR)
Question: Who is the opponent in the Tournament of Lahore final?
[/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_90 (opponent_in_the_final VARCHAR, tournament VARCHAR)
Question: Who is the opponent in the Tournament of Lahore final?
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_43 (college VARCHAR, team VARCHAR)
Question: The New York Jets picked someone from what college?
[/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_43 (college VARCHAR, team VARCHAR)
Question: The New York Jets picked someone from what college?
Here is the SQLite query to answer to the question: The New Y... | bugdaryan/sql-create-context-instruction | |
[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 (circuit VARCHAR, date VARCHAR, winning_team VARCHAR, winning_driver VARCHAR)
Question: Which Circuit has the Winning Team of carlin motorsport, and t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (circuit VARCHAR, date VARCHAR, winning_team VARCHAR, winning_driver VARCHAR)
Question: Which Circuit has the Winning Team of carlin motorsport, and the Win... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (Local VARCHAR, mission VARCHAR)
Question: What is Local Mission, when Mission is "Mauritius"?
[/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_8 (Local VARCHAR, mission VARCHAR)
Question: What is Local Mission, when Mission is "Mauritius"?
Here is the SQLite query to answer to the question: What is 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_15187735_11 (segment_c VARCHAR, series_ep VARCHAR)
Question: What is the name of series episode 11-02's segment c?
[/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_15187735_11 (segment_c VARCHAR, series_ep VARCHAR)
Question: What is the name of series episode 11-02's segment c?
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_34 (points VARCHAR, chassis VARCHAR, year VARCHAR)
Question: how many points are there for a Chassis of porsche 718, and a Year smaller than 1964?
[/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 (points VARCHAR, chassis VARCHAR, year VARCHAR)
Question: how many points are there for a Chassis of porsche 718, and a Year smaller than 1964?
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_27914076_1 (coverage VARCHAR, branding VARCHAR)
Question: Name the number of coverage for 106.7 energy fm
[/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_27914076_1 (coverage VARCHAR, branding VARCHAR)
Question: Name the number of coverage for 106.7 energy fm
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_name_65 (Id VARCHAR)
Question: What is 1994, when 1996 is "Grand Slams"?
[/INST]
Here is the SQLite query to answer to the question: What is 1994, when 1996 i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (Id VARCHAR)
Question: What is 1994, when 1996 is "Grand Slams"?
Here is the SQLite query to answer to the question: What is 1994, when 1996 is "Grand Slam... | bugdaryan/sql-create-context-instruction | |
[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 (constructor VARCHAR, driver VARCHAR)
Question: What company built the car driven by Tony Brooks?
[/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_69 (constructor VARCHAR, driver VARCHAR)
Question: What company built the car driven by Tony Brooks?
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_237757_3 (winning_coach VARCHAR, top_team_in_regular_season__points_ VARCHAR)
Question: What is the winning coach total number if the top team in regular seas... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_237757_3 (winning_coach VARCHAR, top_team_in_regular_season__points_ VARCHAR)
Question: What is the winning coach total number if the top team in regular season (po... | bugdaryan/sql-create-context-instruction | |
[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 (pick__number INTEGER, name VARCHAR, round VARCHAR)
Question: Which Pick # is the highest one that has a Name of lawrence sidbury, and a Round smaller... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (pick__number INTEGER, name VARCHAR, round VARCHAR)
Question: Which Pick # is the highest one that has a Name of lawrence sidbury, and a Round smaller than ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1342451_16 (candidates VARCHAR, incumbent VARCHAR)
Question: How many candidates were there when Henry Garland Dupré was the incumbent?
[/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_1342451_16 (candidates VARCHAR, incumbent VARCHAR)
Question: How many candidates were there when Henry Garland Dupré was the incumbent?
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_9 (away_team VARCHAR, venue VARCHAR)
Question: What was the away team that played at Corio Oval?
[/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_9 (away_team VARCHAR, venue VARCHAR)
Question: What was the away team that played at Corio Oval?
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_name_64 (visitor VARCHAR, home VARCHAR, record VARCHAR)
Question: Who visited phoenix with a Record of 2–5–0?
[/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_64 (visitor VARCHAR, home VARCHAR, record VARCHAR)
Question: Who visited phoenix with a Record of 2–5–0?
Here is the SQLite query to answer to the question: W... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (venue VARCHAR, club VARCHAR)
Question: Which Venue has a Club of west bromwich albion?
[/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_99 (venue VARCHAR, club VARCHAR)
Question: Which Venue has a Club of west bromwich albion?
Here is the SQLite query to answer to the question: Which Venue 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_10 (rank INTEGER, time VARCHAR)
Question: What was the rank when then time was 7:52.53?
[/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_10 (rank INTEGER, time VARCHAR)
Question: What was the rank when then time was 7:52.53?
Here is the SQLite query to answer to the question: What was 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_1805191_2 (party VARCHAR, incumbent VARCHAR)
Question: What is the party affiliation of the incumbent Robert Cramer?
[/INST]
Here is the SQLite query to answe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1805191_2 (party VARCHAR, incumbent VARCHAR)
Question: What is the party affiliation of the incumbent Robert Cramer?
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_76 (transfer_window VARCHAR, moving_to VARCHAR, name VARCHAR)
Question: What is the transfer window when moving to alianza atlético by the name of v. zap... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (transfer_window VARCHAR, moving_to VARCHAR, name VARCHAR)
Question: What is the transfer window when moving to alianza atlético by the name of v. zapata?
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12379297_1 (power__kw_ VARCHAR, ch__number VARCHAR, callsign VARCHAR)
Question: What is the power when ch# is tv-26 and dyfj-tv?
[/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_12379297_1 (power__kw_ VARCHAR, ch__number VARCHAR, callsign VARCHAR)
Question: What is the power when ch# is tv-26 and dyfj-tv?
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_44 (engine VARCHAR, chassis VARCHAR)
Question: What car has a March 90ca Chassis?
[/INST]
Here is the SQLite query to answer to the question: What car ha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_44 (engine VARCHAR, chassis VARCHAR)
Question: What car has a March 90ca Chassis?
Here is the SQLite query to answer to the question: What car has a March 90c... | bugdaryan/sql-create-context-instruction | |
[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 (outcome VARCHAR, opponent VARCHAR)
Question: The match against Paul-Henri Mathieu had what outcome?
[/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_92 (outcome VARCHAR, opponent VARCHAR)
Question: The match against Paul-Henri Mathieu had what outcome?
Here is the SQLite query to answer to the question: 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_24 (player VARCHAR, country VARCHAR)
Question: Which player is from scotland?
[/INST]
Here is the SQLite query to answer to the question: Which player is... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (player VARCHAR, country VARCHAR)
Question: Which player is from scotland?
Here is the SQLite query to answer to the question: Which player is from scotlan... | bugdaryan/sql-create-context-instruction | |
[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 (round INTEGER, overall VARCHAR, position VARCHAR, college VARCHAR)
Question: What is the average round of the s position player from the college of M... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (round INTEGER, overall VARCHAR, position VARCHAR, college VARCHAR)
Question: What is the average round of the s position player from the college of Mississ... | bugdaryan/sql-create-context-instruction | |
[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 (tv_station VARCHAR, romaji_title VARCHAR)
Question: Which TV Station has a Romaji Title of kegareta shita?
[/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_43 (tv_station VARCHAR, romaji_title VARCHAR)
Question: Which TV Station has a Romaji Title of kegareta shita?
Here is the SQLite query to answer to the quest... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (fastest_laps INTEGER, podiums VARCHAR, poles VARCHAR, season VARCHAR)
Question: Which the Fastest Laps that have Poles of 0, and a Season of 2002, an... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (fastest_laps INTEGER, podiums VARCHAR, poles VARCHAR, season VARCHAR)
Question: Which the Fastest Laps that have Poles of 0, and a Season of 2002, and a Po... | bugdaryan/sql-create-context-instruction | |
[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 (home_team VARCHAR, away_team VARCHAR)
Question: Who is the home team when hawthorn is the away team?
[/INST]
Here is the SQLite query to answer to th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (home_team VARCHAR, away_team VARCHAR)
Question: Who is the home team when hawthorn is the away team?
Here is the SQLite query to answer to the question: W... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22457674_1 (song_title VARCHAR, artist VARCHAR)
Question: Name the song title for europe
[/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_22457674_1 (song_title VARCHAR, artist VARCHAR)
Question: Name the song title for europe
Here is the SQLite query to answer to the question: Name the song title 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_name_10 (catalog VARCHAR, format VARCHAR)
Question: What catalog uses the stereo compact cassette format?
[/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_10 (catalog VARCHAR, format VARCHAR)
Question: What catalog uses the stereo compact cassette format?
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_17322817_10 (location_attendance VARCHAR, date VARCHAR)
Question: Name the location attendance for april 5
[/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_17322817_10 (location_attendance VARCHAR, date VARCHAR)
Question: Name the location attendance for april 5
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_name_17 (draft VARCHAR, player VARCHAR, round VARCHAR, pick VARCHAR)
Question: What is Draft, when Round is "9", when Pick is "171", and when Player is "Dan W... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (draft VARCHAR, player VARCHAR, round VARCHAR, pick VARCHAR)
Question: What is Draft, when Round is "9", when Pick is "171", and when Player is "Dan Wiebe C... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (nationality VARCHAR, elevator VARCHAR)
Question: When the elevator was Innocent IV what was the nationality?
[/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_98 (nationality VARCHAR, elevator VARCHAR)
Question: When the elevator was Innocent IV what was the nationality?
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_17 (inegi_code INTEGER, population_density___km_2__ VARCHAR, human_development_index__2000_ VARCHAR)
Question: WHich INEGI code has a Population density ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (inegi_code INTEGER, population_density___km_2__ VARCHAR, human_development_index__2000_ VARCHAR)
Question: WHich INEGI code has a Population density (/km 2... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1341598_39 (party VARCHAR, incumbent VARCHAR)
Question: To which party does Robert W. Edgar belong?
[/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_1341598_39 (party VARCHAR, incumbent VARCHAR)
Question: To which party does Robert W. Edgar belong?
Here is the SQLite query to answer to the question: To which pa... | bugdaryan/sql-create-context-instruction | |
[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 (social_democratic VARCHAR, date_released VARCHAR)
Question: What is the social democrat released on October 10, 1999?
[/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_94 (social_democratic VARCHAR, date_released VARCHAR)
Question: What is the social democrat released on October 10, 1999?
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_28785738_1 (director VARCHAR, no_in_season VARCHAR)
Question: Who directed episode 11 of the season?
[/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_28785738_1 (director VARCHAR, no_in_season VARCHAR)
Question: Who directed episode 11 of the season?
Here is the SQLite query to answer to the question: Who direct... | bugdaryan/sql-create-context-instruction | |
[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 (opponent VARCHAR, record VARCHAR, location VARCHAR, method VARCHAR)
Question: What is Opponent, when Location is "Tokyo , Japan", when Method is "Dec... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (opponent VARCHAR, record VARCHAR, location VARCHAR, method VARCHAR)
Question: What is Opponent, when Location is "Tokyo , Japan", when Method is "Decision ... | bugdaryan/sql-create-context-instruction | |
[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 (game INTEGER, location VARCHAR, attendance VARCHAR)
Question: What is the lowest Game, when Location is Philips Arena, and when Attendance is less th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (game INTEGER, location VARCHAR, attendance VARCHAR)
Question: What is the lowest Game, when Location is Philips Arena, and when Attendance is less than 15,... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (opponent VARCHAR, round VARCHAR)
Question: Can you tell me the Opponent that has the Round of 3?
[/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_30 (opponent VARCHAR, round VARCHAR)
Question: Can you tell me the Opponent that has the Round of 3?
Here is the SQLite query to answer to the question: Can y... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (score VARCHAR, competition VARCHAR)
Question: WHAT IS THE SCORE FOR 2010 fifa world cup qualification?
[/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_28 (score VARCHAR, competition VARCHAR)
Question: WHAT IS THE SCORE FOR 2010 fifa world cup qualification?
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_21690339_1 (country VARCHAR, _percentage_cut VARCHAR)
Question: What country had a 100% cut?
[/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_21690339_1 (country VARCHAR, _percentage_cut VARCHAR)
Question: What country had a 100% cut?
Here is the SQLite query to answer to the question: What country had 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_45 (laps INTEGER, time VARCHAR, grid VARCHAR)
Question: Tell me the least Laps for grid larger than 2 with 35:26.734
[/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_45 (laps INTEGER, time VARCHAR, grid VARCHAR)
Question: Tell me the least Laps for grid larger than 2 with 35:26.734
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_11900773_5 (paper_type VARCHAR, theme VARCHAR)
Question: What is the paper type of the University of Saskatchewan themed stamp?
[/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_11900773_5 (paper_type VARCHAR, theme VARCHAR)
Question: What is the paper type of the University of Saskatchewan themed stamp?
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_63 (date VARCHAR, crowd INTEGER)
Question: When was there a crowd larger than 23,000?
[/INST]
Here is the SQLite query to answer to the question: When wa... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (date VARCHAR, crowd INTEGER)
Question: When was there a crowd larger than 23,000?
Here is the SQLite query to answer to the question: When was there a cro... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (year INTEGER, purse VARCHAR, time VARCHAR)
Question: In what Year was the Purse $150,000 with a Time of 1:49.00?
[/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_6 (year INTEGER, purse VARCHAR, time VARCHAR)
Question: In what Year was the Purse $150,000 with a Time of 1:49.00?
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_40 (player VARCHAR, college VARCHAR)
Question: Who is the player from Arizona State?
[/INST]
Here is the SQLite query to answer to the question: Who is t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (player VARCHAR, college VARCHAR)
Question: Who is the player from Arizona State?
Here is the SQLite query to answer to the question: Who is the player fro... | bugdaryan/sql-create-context-instruction | |
[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 (rank VARCHAR, bronze VARCHAR, silver VARCHAR, gold VARCHAR)
Question: What is the total rank for the player with less than 2 silvers, 4 golds, and mor... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (rank VARCHAR, bronze VARCHAR, silver VARCHAR, gold VARCHAR)
Question: What is the total rank for the player with less than 2 silvers, 4 golds, and more than... | bugdaryan/sql-create-context-instruction | |
[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 (capacity VARCHAR, venue VARCHAR)
Question: What is the capacity number for Yunost?
[/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_27 (capacity VARCHAR, venue VARCHAR)
Question: What is the capacity number for Yunost?
Here is the SQLite query to answer to the question: What is the capacit... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14058433_5 (won VARCHAR, points_for VARCHAR)
Question: what's the won with points for being 596
[/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_14058433_5 (won VARCHAR, points_for VARCHAR)
Question: what's the won with points for being 596
Here is the SQLite query to answer to the question: what's the won ... | bugdaryan/sql-create-context-instruction | |
[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 (player VARCHAR, year VARCHAR, position VARCHAR)
Question: Which player played wide receiver after 2008?
[/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_17 (player VARCHAR, year VARCHAR, position VARCHAR)
Question: Which player played wide receiver after 2008?
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_35 (points INTEGER, rank VARCHAR, draw VARCHAR)
Question: What is the average number of points for a song ranked 2nd with a draw greater than 3?
[/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 (points INTEGER, rank VARCHAR, draw VARCHAR)
Question: What is the average number of points for a song ranked 2nd with a draw greater than 3?
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_20 (winning_score VARCHAR, date VARCHAR)
Question: What is the winning score of the tournament on 16 May 1993?
[/INST]
Here is the SQLite query to answer... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (winning_score VARCHAR, date VARCHAR)
Question: What is the winning score of the tournament on 16 May 1993?
Here is the SQLite query to answer to the quest... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (attendance VARCHAR, result VARCHAR)
Question: What Attendance has a Result of l12–21?
[/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_13 (attendance VARCHAR, result VARCHAR)
Question: What Attendance has a Result of l12–21?
Here is the SQLite query to answer to the question: What 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_90 (results¹ VARCHAR, type_of_game VARCHAR, opponent VARCHAR)
Question: What results has euro '84 qualifying as the type of game and norway as the oppone... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (results¹ VARCHAR, type_of_game VARCHAR, opponent VARCHAR)
Question: What results has euro '84 qualifying as the type of game and norway as the opponent?
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_49 (home_team VARCHAR, venue VARCHAR)
Question: What is the home team's score at mcg?
[/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_49 (home_team VARCHAR, venue VARCHAR)
Question: What is the home team's score at mcg?
Here is the SQLite query to answer to the question: What is the home 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_13 (series_1 VARCHAR, series_11 VARCHAR)
Question: Which Series 1 has a Series 11 of peter jones?
[/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_13 (series_1 VARCHAR, series_11 VARCHAR)
Question: Which Series 1 has a Series 11 of peter jones?
Here is the SQLite query to answer to the question: Which Se... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (drawn VARCHAR, played INTEGER)
Question: What is the sum of drawn that has a played more than 12?
[/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_9 (drawn VARCHAR, played INTEGER)
Question: What is the sum of drawn that has a played more than 12?
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_18 (Id VARCHAR)
Question: How much 1969 has a 1967 smaller than 0.73, and a 1964 larger than 0.07?
[/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_18 (Id VARCHAR)
Question: How much 1969 has a 1967 smaller than 0.73, and a 1964 larger than 0.07?
Here is the SQLite query to answer to the question: How muc... | bugdaryan/sql-create-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, IndepYear INTEGER)
Question: What are the names of all the countries that became independent after 1950?
[/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 country (Name VARCHAR, IndepYear INTEGER)
Question: What are the names of all the countries that became independent after 1950?
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_24 (total INTEGER, rank VARCHAR, gold VARCHAR, bronze VARCHAR)
Question: What is the highest metal total when there are 2 Gold medals, 0 Bronze metals, a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (total INTEGER, rank VARCHAR, gold VARCHAR, bronze VARCHAR)
Question: What is the highest metal total when there are 2 Gold medals, 0 Bronze metals, and 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_83 (championship VARCHAR, winning_score VARCHAR)
Question: In which championship did the winner have a score of −9 (66-69-73-71=279)?
[/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_83 (championship VARCHAR, winning_score VARCHAR)
Question: In which championship did the winner have a score of −9 (66-69-73-71=279)?
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_20704243_3 (series__number INTEGER, directed_by VARCHAR)
Question: What series was directed by Mark Roskin?
[/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_20704243_3 (series__number INTEGER, directed_by VARCHAR)
Question: What series was directed by Mark Roskin?
Here is the SQLite query to answer to the question: Wha... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2886617_6 (nationality VARCHAR, player VARCHAR)
Question: What nationality was peter slamiar?
[/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_2886617_6 (nationality VARCHAR, player VARCHAR)
Question: What nationality was peter slamiar?
Here is the SQLite query to answer to the question: What nationality ... | bugdaryan/sql-create-context-instruction | |
[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 (event VARCHAR, total VARCHAR)
Question: What event is defending champion the total?
[/INST]
Here is the SQLite query to answer to the question: What e... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (event VARCHAR, total VARCHAR)
Question: What event is defending champion the total?
Here is the SQLite query to answer to the question: What event is defen... | bugdaryan/sql-create-context-instruction | |
[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 (production VARCHAR, award_ceremony VARCHAR, result VARCHAR, year VARCHAR)
Question: Which Production in 2009 had a Result of Nominated at the Helpman... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (production VARCHAR, award_ceremony VARCHAR, result VARCHAR, year VARCHAR)
Question: Which Production in 2009 had a Result of Nominated at the Helpmann awar... | bugdaryan/sql-create-context-instruction | |
[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 (city VARCHAR, province VARCHAR)
Question: Which city is in Cantabria?
[/INST]
Here is the SQLite query to answer to the question: Which city is in Ca... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (city VARCHAR, province VARCHAR)
Question: Which city is in Cantabria?
Here is the SQLite query to answer to the question: Which city is in Cantabria?:
```... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Treatments (professional_id VARCHAR); CREATE TABLE Professionals (professional_id VARCHAR, last_name VARCHAR, cell_number VARCHAR); CREATE TABLE Professionals (professio... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Treatments (professional_id VARCHAR); CREATE TABLE Professionals (professional_id VARCHAR, last_name VARCHAR, cell_number VARCHAR); CREATE TABLE Professionals (professional_id... | bugdaryan/sql-create-context-instruction | |
[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 (silver INTEGER, nation VARCHAR, gold VARCHAR)
Question: What is the least silver that has mexico as a nation and a gold less than 0?
[/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_69 (silver INTEGER, nation VARCHAR, gold VARCHAR)
Question: What is the least silver that has mexico as a nation and a gold less than 0?
Here is the SQLite qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (outcome VARCHAR, opponent VARCHAR)
Question: What is the outcome with marina erakovic as opponent?
[/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_37 (outcome VARCHAR, opponent VARCHAR)
Question: What is the outcome with marina erakovic as opponent?
Here is the SQLite query to answer to the question: Wha... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_51 (player VARCHAR, pl_gp INTEGER)
Question: What player has a number of playoff games played greater than 0?
[/INST]
Here is the SQLite query to answer ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_51 (player VARCHAR, pl_gp INTEGER)
Question: What player has a number of playoff games played greater than 0?
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_72 (laps INTEGER, grid VARCHAR, time_retired VARCHAR, driver VARCHAR)
Question: What is the lap total for george eaton, with a grid under 17 retiring due... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (laps INTEGER, grid VARCHAR, time_retired VARCHAR, driver VARCHAR)
Question: What is the lap total for george eaton, with a grid under 17 retiring due to ge... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20140132_1 (location VARCHAR, team VARCHAR)
Question: What is the location of the team Saturn?
[/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_20140132_1 (location VARCHAR, team VARCHAR)
Question: What is the location of the team Saturn?
Here is the SQLite query to answer to the question: What is the loca... | bugdaryan/sql-create-context-instruction | |
[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 (score VARCHAR, team_2 VARCHAR)
Question: What was the score for the game in which Al-Qadsia was Team 2?
[/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_55 (score VARCHAR, team_2 VARCHAR)
Question: What was the score for the game in which Al-Qadsia was Team 2?
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_75 (Id VARCHAR)
Question: Tell me the lowest 2005 for 2010 less than 21 for 2009 being 19
[/INST]
Here is the SQLite query to answer to the question: Tel... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (Id VARCHAR)
Question: Tell me the lowest 2005 for 2010 less than 21 for 2009 being 19
Here is the SQLite query to answer to the question: Tell me the lowe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1341395_44 (party VARCHAR, incumbent VARCHAR)
Question: What party was Kevin Brady?
[/INST]
Here is the SQLite query to answer to the question: What party was... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1341395_44 (party VARCHAR, incumbent VARCHAR)
Question: What party was Kevin Brady?
Here is the SQLite query to answer to the question: What party was Kevin Brady?... | bugdaryan/sql-create-context-instruction | |
[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 (road_numbers VARCHAR, class VARCHAR, builder VARCHAR, railroad__quantity_ VARCHAR)
Question: what is the road numbers when the builder is alco, the ra... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (road_numbers VARCHAR, class VARCHAR, builder VARCHAR, railroad__quantity_ VARCHAR)
Question: what is the road numbers when the builder is alco, the railroad... | bugdaryan/sql-create-context-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_25 (largest_ethnic_group__2002_ VARCHAR, cyrillic_name_other_names VARCHAR)
Question: When дероње is the cyrillic name other names what is the largest... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2562572_25 (largest_ethnic_group__2002_ VARCHAR, cyrillic_name_other_names VARCHAR)
Question: When дероње is the cyrillic name other names what is the largest ethni... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (time VARCHAR, laps VARCHAR)
Question: What is the total time that it took for the driver to finish 14 laps?
[/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_52 (time VARCHAR, laps VARCHAR)
Question: What is the total time that it took for the driver to finish 14 laps?
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_72 (catalog VARCHAR, label VARCHAR)
Question: What are the catalogs of releases from Sony Music Direct?
[/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_72 (catalog VARCHAR, label VARCHAR)
Question: What are the catalogs of releases from Sony Music Direct?
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_27781212_1 (driver VARCHAR, winnings VARCHAR)
Question: who is the driver that had winnings of $225,000?
[/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_27781212_1 (driver VARCHAR, winnings VARCHAR)
Question: who is the driver that had winnings of $225,000?
Here is the SQLite query to answer to the question: who is... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (bronze INTEGER, gold VARCHAR, silver VARCHAR, rank VARCHAR)
Question: What average bronze has 0 as the silver, 17 as the rank, and a gold less than 1... | 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 INTEGER, gold VARCHAR, silver VARCHAR, rank VARCHAR)
Question: What average bronze has 0 as the silver, 17 as the rank, and a gold less than 1?
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_95 (winning__percentage INTEGER, lost VARCHAR, goals_for VARCHAR)
Question: What is the lowest win percentage for teams with more than 23 losses and more... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (winning__percentage INTEGER, lost VARCHAR, goals_for VARCHAR)
Question: What is the lowest win percentage for teams with more than 23 losses and more than ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (runner_s__up VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR)
Question: Name the runner-up for margin of victory of 1 stroke and tournament of... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (runner_s__up VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR)
Question: Name the runner-up for margin of victory of 1 stroke and tournament of legen... | bugdaryan/sql-create-context-instruction | |
[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 (score VARCHAR, surface VARCHAR, partner VARCHAR)
Question: What was the score of the final in which Melanie South played with partner Remi Tezuka on ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (score VARCHAR, surface VARCHAR, partner VARCHAR)
Question: What was the score of the final in which Melanie South played with partner Remi Tezuka on a clay... | bugdaryan/sql-create-context-instruction | |
[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 (overall VARCHAR, pick VARCHAR, name VARCHAR)
Question: With the pick of 1 Cecil Martin has what number as the overall?
[/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_38 (overall VARCHAR, pick VARCHAR, name VARCHAR)
Question: With the pick of 1 Cecil Martin has what number as the overall?
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_15352382_1 (won VARCHAR, against VARCHAR)
Question: if Against is 20 how much is Won?
[/INST]
Here is the SQLite query to answer to the question: if Against i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15352382_1 (won VARCHAR, against VARCHAR)
Question: if Against is 20 how much is Won?
Here is the SQLite query to answer to the question: if Against is 20 how much... | 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.