text stringlengths 318 1.29k | instruction_seed stringlengths 305 1.28k | response_seed stringclasses 1
value | _source stringclasses 1
value |
|---|---|---|---|
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (year VARCHAR, wins VARCHAR)
Question: What is Year, when Wins is "0"?
[/INST]
Here is the SQLite query to answer to the question: What is Year, when ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (year VARCHAR, wins VARCHAR)
Question: What is Year, when Wins is "0"?
Here is the SQLite query to answer to the question: What is Year, when Wins is "0"?:... | bugdaryan/sql-create-context-instruction | |
[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 (location VARCHAR, driver VARCHAR)
Question: What is the location where Denny Hulme was the driver?
[/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_54 (location VARCHAR, driver VARCHAR)
Question: What is the location where Denny Hulme was the driver?
Here is the SQLite query to answer to the question: Wha... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (reg_season VARCHAR, avg_attendance INTEGER)
Question: What regular season result had an average attendance less than 942?
[/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_16 (reg_season VARCHAR, avg_attendance INTEGER)
Question: What regular season result had an average attendance less than 942?
Here is the SQLite query to answ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (years_in_assembly VARCHAR, name VARCHAR)
Question: During what years was Christine Kehoe in Assembly?
[/INST]
Here is the SQLite query to answer to t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (years_in_assembly VARCHAR, name VARCHAR)
Question: During what years was Christine Kehoe in Assembly?
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_17 (episodes VARCHAR, average_ratings VARCHAR, tv_station VARCHAR)
Question: What Episode on TV Asahi Station has Rating of 12.0%?
[/INST]
Here is the SQ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (episodes VARCHAR, average_ratings VARCHAR, tv_station VARCHAR)
Question: What Episode on TV Asahi Station has Rating of 12.0%?
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_29547777_1 (song_title VARCHAR, result__placement_ VARCHAR)
Question: What the title of the song when the result is to the live shows?
[/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_29547777_1 (song_title VARCHAR, result__placement_ VARCHAR)
Question: What the title of the song when the result is to the live shows?
Here is the SQLite query to ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (opponent_in_the_final VARCHAR, date VARCHAR)
Question: Who was played against in the final on November 14, 1994?
[/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_17 (opponent_in_the_final VARCHAR, date VARCHAR)
Question: Who was played against in the final on November 14, 1994?
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_62 (status VARCHAR, issn VARCHAR)
Question: What is the status for a journal with the ISSN of 0149-1830?
[/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_62 (status VARCHAR, issn VARCHAR)
Question: What is the status for a journal with the ISSN of 0149-1830?
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_33 (points INTEGER, year VARCHAR, wins VARCHAR)
Question: What is the sum of all points in 1975 with 0 wins?
[/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_33 (points INTEGER, year VARCHAR, wins VARCHAR)
Question: What is the sum of all points in 1975 with 0 wins?
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_36 (average INTEGER, peak VARCHAR, finale VARCHAR, hk_viewers VARCHAR)
Question: What is the high average that has a Finale larger than 35, a HK viewers ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (average INTEGER, peak VARCHAR, finale VARCHAR, hk_viewers VARCHAR)
Question: What is the high average that has a Finale larger than 35, a HK viewers of 2.1... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (county VARCHAR, enrollment VARCHAR)
Question: Which County has an Enrollment of 297?
[/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_16 (county VARCHAR, enrollment VARCHAR)
Question: Which County has an Enrollment of 297?
Here is the SQLite query to answer to the question: Which County 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 Student (FacID VARCHAR, advisor VARCHAR); CREATE TABLE Faculty_participates_in (FacID VARCHAR, advisor VARCHAR)
Question: Show the ids of all the faculty members wh... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Student (FacID VARCHAR, advisor VARCHAR); CREATE TABLE Faculty_participates_in (FacID VARCHAR, advisor VARCHAR)
Question: Show the ids of all the faculty members who part... | bugdaryan/sql-create-context-instruction | |
[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 (melbourne VARCHAR, sydney VARCHAR, auckland VARCHAR, perth VARCHAR, adelaide VARCHAR)
Question: Name the melbourne with perth, adelaide and auckland ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (melbourne VARCHAR, sydney VARCHAR, auckland VARCHAR, perth VARCHAR, adelaide VARCHAR)
Question: Name the melbourne with perth, adelaide and auckland of no ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18220102_1 (award_winning_film VARCHAR, number_of_screening VARCHAR)
Question: Which award-winning film has a screening number of 50 films 50 televised?
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18220102_1 (award_winning_film VARCHAR, number_of_screening VARCHAR)
Question: Which award-winning film has a screening number of 50 films 50 televised?
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_17650725_1 (transfers_out INTEGER, total_transfers VARCHAR)
Question: Name the least transfers out when transfers is 21
[/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_17650725_1 (transfers_out INTEGER, total_transfers VARCHAR)
Question: Name the least transfers out when transfers is 21
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_18590048_1 (release_date VARCHAR, units_sold__in_millions_ VARCHAR)
Question: What day did the platform sell 9.87 million units?
[/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_18590048_1 (release_date VARCHAR, units_sold__in_millions_ VARCHAR)
Question: What day did the platform sell 9.87 million units?
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_22050544_1 (winner VARCHAR, event__number VARCHAR)
Question: What is the winner in event number 15h?
[/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_22050544_1 (winner VARCHAR, event__number VARCHAR)
Question: What is the winner in event number 15h?
Here is the SQLite query to answer to the question: What 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_17 (to_par VARCHAR, country VARCHAR, name VARCHAR)
Question: What is the To par of Willie MacFarlane from the country of Scotland?
[/INST]
Here is the SQ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (to_par VARCHAR, country VARCHAR, name VARCHAR)
Question: What is the To par of Willie MacFarlane from the country of Scotland?
Here is the SQLite query to... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (zone_2008 VARCHAR, services VARCHAR, station VARCHAR)
Question: Which Zone 2008 has Services of greater anglia, and a Station of cheshunt?
[/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_17 (zone_2008 VARCHAR, services VARCHAR, station VARCHAR)
Question: Which Zone 2008 has Services of greater anglia, and a Station of cheshunt?
Here is the SQL... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (score VARCHAR, year VARCHAR)
Question: What was the score in the year 2004?
[/INST]
Here is the SQLite query to answer to the question: What was the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (score VARCHAR, year VARCHAR)
Question: What was the score in the year 2004?
Here is the SQLite query to answer to the question: What was the score in 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_2850912_8 (position VARCHAR, nhl_team VARCHAR, player VARCHAR)
Question: how many parts does detroit red wings person urban nordin play
[/INST]
Here is the SQ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2850912_8 (position VARCHAR, nhl_team VARCHAR, player VARCHAR)
Question: how many parts does detroit red wings person urban nordin play
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_25129482_1 (kitmaker VARCHAR, club VARCHAR)
Question: Who is the kitmaker for TPS?
[/INST]
Here is the SQLite query to answer to the question: Who is the kitm... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25129482_1 (kitmaker VARCHAR, club VARCHAR)
Question: Who is the kitmaker for TPS?
Here is the SQLite query to answer to the question: Who is the kitmaker for TPS?... | bugdaryan/sql-create-context-instruction | |
[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 (runner_up VARCHAR, winning_score VARCHAR)
Question: Which Runner-up has a Winning score of −20 (70-69-64-65=268)?
[/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_69 (runner_up VARCHAR, winning_score VARCHAR)
Question: Which Runner-up has a Winning score of −20 (70-69-64-65=268)?
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_83 (date VARCHAR, athlete VARCHAR, event VARCHAR)
Question: What day did Chris Maddocks compete in the 35000 m?
[/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_83 (date VARCHAR, athlete VARCHAR, event VARCHAR)
Question: What day did Chris Maddocks compete in the 35000 m?
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_37 (laid_down VARCHAR, pennant VARCHAR)
Question: What is the laid down date of the destroyer with a r29 pennant?
[/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_37 (laid_down VARCHAR, pennant VARCHAR)
Question: What is the laid down date of the destroyer with a r29 pennant?
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_85 (points VARCHAR, played VARCHAR, average VARCHAR)
Question: How many points were there when the average was 0.763 and the played was less than 76?
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (points VARCHAR, played VARCHAR, average VARCHAR)
Question: How many points were there when the average was 0.763 and the played was less than 76?
Here is ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (director VARCHAR, title VARCHAR)
Question: Who was the Director of Kung Fu Panda 2?
[/INST]
Here is the SQLite query to answer to the question: Who w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (director VARCHAR, title VARCHAR)
Question: Who was the Director of Kung Fu Panda 2?
Here is the SQLite query to answer to the question: Who was the 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_24172078_2 (lessons_taught VARCHAR, episode__number VARCHAR)
Question: Name the lessons taught for episode # 2/205
[/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_24172078_2 (lessons_taught VARCHAR, episode__number VARCHAR)
Question: Name the lessons taught for episode # 2/205
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_81 (score VARCHAR, venue VARCHAR)
Question: Name the score for venue of jalan besar, singapore
[/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_81 (score VARCHAR, venue VARCHAR)
Question: Name the score for venue of jalan besar, singapore
Here is the SQLite query to answer to the question: Name the sc... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (administrative_panel INTEGER, cultural_and_educational_panel VARCHAR, industrial_and_commercial_panel VARCHAR)
Question: What is the highest administ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (administrative_panel INTEGER, cultural_and_educational_panel VARCHAR, industrial_and_commercial_panel VARCHAR)
Question: What is the highest administrative... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE body_builder (People_ID VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR, Weight VARCHAR)
Question: What is the name of the body builder with the grea... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE body_builder (People_ID VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR, Weight VARCHAR)
Question: What is the name of the body builder with the greatest b... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (year VARCHAR, points VARCHAR, wins VARCHAR, team VARCHAR)
Question: What is the year that there were 0 wins, team AJS, and under 12 points?
[/INST]
H... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (year VARCHAR, points VARCHAR, wins VARCHAR, team VARCHAR)
Question: What is the year that there were 0 wins, team AJS, and under 12 points?
Here is the SQ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17964087_2 (romanised_name VARCHAR, prior_occupation VARCHAR)
Question: For the prior occupation listed as assistant police commissioner (ret'd) what are the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17964087_2 (romanised_name VARCHAR, prior_occupation VARCHAR)
Question: For the prior occupation listed as assistant police commissioner (ret'd) what are the entire... | bugdaryan/sql-create-context-instruction | |
[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 (wins INTEGER, year VARCHAR, class VARCHAR, team VARCHAR)
Question: Tell me the lowest wins for class of 50cc and team of tomos for year less than 1969... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (wins INTEGER, year VARCHAR, class VARCHAR, team VARCHAR)
Question: Tell me the lowest wins for class of 50cc and team of tomos for year less than 1969
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_11207040_6 (date_of_vacancy VARCHAR, replaced_by VARCHAR)
Question: What days are vacant that were replaced by john brown?
[/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_11207040_6 (date_of_vacancy VARCHAR, replaced_by VARCHAR)
Question: What days are vacant that were replaced by john brown?
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_3 (team_1 VARCHAR)
Question: Which 1st leg has a Team 1 of drita?
[/INST]
Here is the SQLite query to answer to the question: Which 1st leg has a Team 1 ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (team_1 VARCHAR)
Question: Which 1st leg has a Team 1 of drita?
Here is the SQLite query to answer to the question: Which 1st leg has a Team 1 of drita?:
``... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25740548_2 (written_by VARCHAR, production_code VARCHAR)
Question: How many episodes with the production code CA106 are there?
[/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_25740548_2 (written_by VARCHAR, production_code VARCHAR)
Question: How many episodes with the production code CA106 are there?
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 song (languages VARCHAR, rating INTEGER)
Question: What is the average rating of songs for each language?
[/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 song (languages VARCHAR, rating INTEGER)
Question: What is the average rating of songs for each language?
Here is the SQLite query to answer to the question: What is the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_87 (result_f___a VARCHAR, league_position VARCHAR, date VARCHAR)
Question: Name the Result F – A that has a League position of 1st on 4 january 1994?
[/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_87 (result_f___a VARCHAR, league_position VARCHAR, date VARCHAR)
Question: Name the Result F – A that has a League position of 1st on 4 january 1994?
Here is... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE MATCH (Location VARCHAR, Winning_Aircraft VARCHAR); CREATE TABLE aircraft (Aircraft VARCHAR, Aircraft_ID VARCHAR)
Question: Please list the location and the winning... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE MATCH (Location VARCHAR, Winning_Aircraft VARCHAR); CREATE TABLE aircraft (Aircraft VARCHAR, Aircraft_ID VARCHAR)
Question: Please list the location and the winning aircr... | bugdaryan/sql-create-context-instruction | |
[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 (floors INTEGER, pinnacle_height_ft__m_ VARCHAR, std_rank VARCHAR)
Question: Which Floors have a Pinnacle height ft (m) of 995 (303), and an Std Rank ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (floors INTEGER, pinnacle_height_ft__m_ VARCHAR, std_rank VARCHAR)
Question: Which Floors have a Pinnacle height ft (m) of 995 (303), and an Std Rank larger... | bugdaryan/sql-create-context-instruction | |
[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 (date VARCHAR, game VARCHAR)
Question: What was the date of game 75?
[/INST]
Here is the SQLite query to answer to the question: What was the date of ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (date VARCHAR, game VARCHAR)
Question: What was the date of game 75?
Here is the SQLite query to answer to the question: What was the date of game 75?:
```... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (away_team VARCHAR, home_team VARCHAR)
Question: Who is the away team against the home team Hartlepools United?
[/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_61 (away_team VARCHAR, home_team VARCHAR)
Question: Who is the away team against the home team Hartlepools United?
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_27 (years VARCHAR, transmission VARCHAR, no_of_channels VARCHAR)
Question: What years are listed for analogue cable with 35 channels?
[/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_27 (years VARCHAR, transmission VARCHAR, no_of_channels VARCHAR)
Question: What years are listed for analogue cable with 35 channels?
Here is the SQLite query... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (avge VARCHAR, name VARCHAR, goals VARCHAR)
Question: What is the total avge of John Hall, who has less than 63 goals?
[/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_25 (avge VARCHAR, name VARCHAR, goals VARCHAR)
Question: What is the total avge of John Hall, who has less than 63 goals?
Here is the SQLite query to answer t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (visiting_team VARCHAR, date VARCHAR)
Question: What was the visiting team on November 12?
[/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_12 (visiting_team VARCHAR, date VARCHAR)
Question: What was the visiting team on November 12?
Here is the SQLite query to answer to the question: What was 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_52 (song VARCHAR, draw VARCHAR, points VARCHAR, place VARCHAR)
Question: Which Song has Points smaller than 53, and a Place larger than 8, and a Draw lar... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (song VARCHAR, draw VARCHAR, points VARCHAR, place VARCHAR)
Question: Which Song has Points smaller than 53, and a Place larger than 8, and a Draw larger 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_58 (dissolved VARCHAR, assembled VARCHAR)
Question: What is the dissolved date of the parliament assembled on 4 November 1461?
[/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_58 (dissolved VARCHAR, assembled VARCHAR)
Question: What is the dissolved date of the parliament assembled on 4 November 1461?
Here is the SQLite query to ans... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (class VARCHAR, quantity VARCHAR, gwr_nos VARCHAR)
Question: Which class is smaller than 5 and the GWR is 1322–1323?
[/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_33 (class VARCHAR, quantity VARCHAR, gwr_nos VARCHAR)
Question: Which class is smaller than 5 and the GWR is 1322–1323?
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_1505809_2 (blank_ends INTEGER, stolen_ends VARCHAR)
Question: What is the lowest value of Blank Ends when Stolen Ends is 7.
[/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_1505809_2 (blank_ends INTEGER, stolen_ends VARCHAR)
Question: What is the lowest value of Blank Ends when Stolen Ends is 7.
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_13183076_3 (original_air_date VARCHAR, written_by VARCHAR)
Question: What is the Original air date for the episode written by Peter Ocko?
[/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_13183076_3 (original_air_date VARCHAR, written_by VARCHAR)
Question: What is the Original air date for the episode written by Peter Ocko?
Here is the SQLite query ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (team_2 VARCHAR)
Question: What was the 1st leg when Team 2 was Aurora?
[/INST]
Here is the SQLite query to answer to the question: What was the 1st le... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (team_2 VARCHAR)
Question: What was the 1st leg when Team 2 was Aurora?
Here is the SQLite query to answer to the question: What was the 1st leg when Team 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_12002388_1 (open_cup VARCHAR, year VARCHAR)
Question: How many open cups were hosted in 1993?
[/INST]
Here is the SQLite query to answer to the question: How ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12002388_1 (open_cup VARCHAR, year VARCHAR)
Question: How many open cups were hosted in 1993?
Here is the SQLite query to answer to the question: How many open cup... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (team_1 VARCHAR)
Question: What's the 1st leg of team 1 alajuelense?
[/INST]
Here is the SQLite query to answer to the question: What's the 1st leg of... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (team_1 VARCHAR)
Question: What's the 1st leg of team 1 alajuelense?
Here is the SQLite query to answer to the question: What's the 1st leg of team 1 alaju... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE tryout (cName VARCHAR)
Question: Find the number of students who participate in the tryout for each college ordered by descending count.
[/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 tryout (cName VARCHAR)
Question: Find the number of students who participate in the tryout for each college ordered by descending count.
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_1231316_4 (country VARCHAR, athlete VARCHAR)
Question: Where is Tamunosiki Atorudibo from
[/INST]
Here is the SQLite query to answer to the question: Where is... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1231316_4 (country VARCHAR, athlete VARCHAR)
Question: Where is Tamunosiki Atorudibo from
Here is the SQLite query to answer to the question: Where is Tamunosiki 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_51 (years VARCHAR, playoffs VARCHAR)
Question: what is the years when playoffs is 115?
[/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_51 (years VARCHAR, playoffs VARCHAR)
Question: what is the years when playoffs is 115?
Here is the SQLite query to answer to the question: what is the years 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_2064747_1 (location_s_ VARCHAR, accreditation VARCHAR)
Question: What schools are accredited by COE?
[/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_2064747_1 (location_s_ VARCHAR, accreditation VARCHAR)
Question: What schools are accredited by COE?
Here is the SQLite query to answer to the question: What schoo... | bugdaryan/sql-create-context-instruction | |
[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 (week INTEGER, attendance VARCHAR)
Question: Which week has the lowest attendance of 48,102?
[/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_4 (week INTEGER, attendance VARCHAR)
Question: Which week has the lowest attendance of 48,102?
Here is the SQLite query to answer to the question: Which week ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26986076_2 (wed_25_aug VARCHAR, mon_23_aug VARCHAR)
Question: what is wed 25 aug when mon 23 aug is 26' 57.82 89.957mph?
[/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_26986076_2 (wed_25_aug VARCHAR, mon_23_aug VARCHAR)
Question: what is wed 25 aug when mon 23 aug is 26' 57.82 89.957mph?
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_19 (round INTEGER, name VARCHAR, overall VARCHAR)
Question: With an Overall larger than 107, in what Round was Jim Duncan picked?
[/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_19 (round INTEGER, name VARCHAR, overall VARCHAR)
Question: With an Overall larger than 107, in what Round was Jim Duncan picked?
Here is the SQLite query to ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (grid VARCHAR, time_retired VARCHAR)
Question: What was the Grid with a hydraulics time/required?
[/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_57 (grid VARCHAR, time_retired VARCHAR)
Question: What was the Grid with a hydraulics time/required?
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_1341897_6 (first_elected VARCHAR, district VARCHAR)
Question: When was Dale Alford first elected in the Arkansas 5 district?
[/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_1341897_6 (first_elected VARCHAR, district VARCHAR)
Question: When was Dale Alford first elected in the Arkansas 5 district?
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_2668169_2 (party VARCHAR, incumbent VARCHAR)
Question: Which party does the incumbent Mathias Morris belong to?
[/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_2668169_2 (party VARCHAR, incumbent VARCHAR)
Question: Which party does the incumbent Mathias Morris belong to?
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_82 (number_of_issues INTEGER, end_month VARCHAR)
Question: How many issues end on jan–72?
[/INST]
Here is the SQLite query to answer to the question: How... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (number_of_issues INTEGER, end_month VARCHAR)
Question: How many issues end on jan–72?
Here is the SQLite query to answer to the question: How many issues ... | bugdaryan/sql-create-context-instruction | |
[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 INTEGER, score VARCHAR)
Question: When the Brewers score was 5-7, what was the lowest attendance?
[/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_13 (attendance INTEGER, score VARCHAR)
Question: When the Brewers score was 5-7, what was the lowest attendance?
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_15 (architecture VARCHAR, vehicle_name VARCHAR)
Question: What type of architecture does the Saturn Vue have?
[/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_15 (architecture VARCHAR, vehicle_name VARCHAR)
Question: What type of architecture does the Saturn Vue have?
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_75 (notes VARCHAR, country VARCHAR)
Question: Poland has what notes?
[/INST]
Here is the SQLite query to answer to the question: Poland has what notes?:
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (notes VARCHAR, country VARCHAR)
Question: Poland has what notes?
Here is the SQLite query to answer to the question: Poland has what notes?:
```
SELECT no... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (money___£__ VARCHAR, country VARCHAR)
Question: What Money (£) has a Country of ireland?
[/INST]
Here is the SQLite query to answer to the question: ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (money___£__ VARCHAR, country VARCHAR)
Question: What Money (£) has a Country of ireland?
Here is the SQLite query to answer to the question: What Money (£... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21100348_11 (rank INTEGER, strike_rate VARCHAR)
Question: What is the rank for a strike rate of 91.67?
[/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_21100348_11 (rank INTEGER, strike_rate VARCHAR)
Question: What is the rank for a strike rate of 91.67?
Here is the SQLite query to answer to the question: What 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_26 (total INTEGER, bronze VARCHAR, gold VARCHAR)
Question: What is the total number of medals won by nations that had 7 bronze medals and more than 18 go... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (total INTEGER, bronze VARCHAR, gold VARCHAR)
Question: What is the total number of medals won by nations that had 7 bronze medals and more than 18 gold med... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (silver INTEGER, nation VARCHAR, total VARCHAR)
Question: What is the highest number of Silver, when the Nation is Japan (JPN), and when the Total is ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (silver INTEGER, nation VARCHAR, total VARCHAR)
Question: What is the highest number of Silver, when the Nation is Japan (JPN), and when the Total is greate... | bugdaryan/sql-create-context-instruction | |
[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 (wins INTEGER, points VARCHAR, draws VARCHAR)
Question: What was the lowest win when there were 34 points and more than 13 draws?
[/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_2 (wins INTEGER, points VARCHAR, draws VARCHAR)
Question: What was the lowest win when there were 34 points and more than 13 draws?
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_33 (d_41 VARCHAR, r_51 VARCHAR)
Question: Tell me the D 41 and R 51 of r 11
[/INST]
Here is the SQLite query to answer to the question: Tell me the D 41 ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (d_41 VARCHAR, r_51 VARCHAR)
Question: Tell me the D 41 and R 51 of r 11
Here is the SQLite query to answer to the question: Tell me the D 41 and R 51 of r... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24781886_3 (title VARCHAR, _number VARCHAR)
Question: When 9 is the number what is the title?
[/INST]
Here is the SQLite query to answer to the question: When... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24781886_3 (title VARCHAR, _number VARCHAR)
Question: When 9 is the number what is the title?
Here is the SQLite query to answer to the question: When 9 is the num... | bugdaryan/sql-create-context-instruction | |
[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 (year INTEGER, publication VARCHAR)
Question: What is the publication the observer music monthly highest 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 table_name_10 (year INTEGER, publication VARCHAR)
Question: What is the publication the observer music monthly highest 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_57 (works_number INTEGER, builder VARCHAR, name VARCHAR)
Question: What is the average work number of Snowdon Ranger with the builder Vulcan Foundry?
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (works_number INTEGER, builder VARCHAR, name VARCHAR)
Question: What is the average work number of Snowdon Ranger with the builder Vulcan Foundry?
Here is ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (attendance VARCHAR, date VARCHAR)
Question: How many people attended the game on October 31?
[/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_40 (attendance VARCHAR, date VARCHAR)
Question: How many people attended the game on October 31?
Here is the SQLite query to answer to the question: How many ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (surface VARCHAR, date VARCHAR)
Question: Tell me the surface for november 28, 2010
[/INST]
Here is the SQLite query to answer to the question: Tell m... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (surface VARCHAR, date VARCHAR)
Question: Tell me the surface for november 28, 2010
Here is the SQLite query to answer to the question: Tell me the surface... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (notes VARCHAR, venue VARCHAR, date VARCHAR)
Question: For a venue of Rome on July 30, 2009, what are the notes?
[/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_59 (notes VARCHAR, venue VARCHAR, date VARCHAR)
Question: For a venue of Rome on July 30, 2009, what are the notes?
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_2146364_2 (third_place INTEGER)
Question: What is the smallest third place finish?
[/INST]
Here is the SQLite query to answer to the question: What is the sma... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2146364_2 (third_place INTEGER)
Question: What is the smallest third place finish?
Here is the SQLite query to answer to the question: What is the smallest third p... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24673888_1 (callsign VARCHAR, station_type VARCHAR, ch__number VARCHAR)
Question: What is the callsign that has a station type of relay and a channel number o... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24673888_1 (callsign VARCHAR, station_type VARCHAR, ch__number VARCHAR)
Question: What is the callsign that has a station type of relay and a channel number of TV-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_24901152_2 (year INTEGER, championship VARCHAR)
Question: When Australian open is the championship what is the lowest year?
[/INST]
Here is the SQLite query t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24901152_2 (year INTEGER, championship VARCHAR)
Question: When Australian open is the championship what is the lowest year?
Here is the SQLite query to answer to t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_178381_1 (parish__prestegjeld_ VARCHAR, church_name VARCHAR)
Question: In what parish is the Askrova Bedehuskapell church?
[/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_178381_1 (parish__prestegjeld_ VARCHAR, church_name VARCHAR)
Question: In what parish is the Askrova Bedehuskapell church?
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_2345558_1 (director VARCHAR, writer_s_ VARCHAR)
Question: Who directed the episode written by Jason Yoshimura?
[/INST]
Here is the SQLite query to answer to t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2345558_1 (director VARCHAR, writer_s_ VARCHAR)
Question: Who directed the episode written by Jason Yoshimura?
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_28 (frequency_mhz VARCHAR, city_of_license VARCHAR)
Question: Give me the MHz Frequency of Allapattah, Florida.
[/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_28 (frequency_mhz VARCHAR, city_of_license VARCHAR)
Question: Give me the MHz Frequency of Allapattah, Florida.
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_48 (score VARCHAR, opponent_in_the_final VARCHAR, tournament VARCHAR, surface VARCHAR, outcome VARCHAR)
Question: What is the Score of the match on a cla... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (score VARCHAR, opponent_in_the_final VARCHAR, tournament VARCHAR, surface VARCHAR, outcome VARCHAR)
Question: What is the Score of the match on a clay surf... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24565004_15 (appearances¹ VARCHAR, goals¹ VARCHAR)
Question: How many games had less than 7 goals scored?
[/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_24565004_15 (appearances¹ VARCHAR, goals¹ VARCHAR)
Question: How many games had less than 7 goals scored?
Here is the SQLite query to answer to the question: How m... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (engine_s_ VARCHAR, chassis VARCHAR, year VARCHAR)
Question: What is the engine(s) on the car before 1978 with ensign n177 chassis?
[/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_71 (engine_s_ VARCHAR, chassis VARCHAR, year VARCHAR)
Question: What is the engine(s) on the car before 1978 with ensign n177 chassis?
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_89 (played INTEGER, position VARCHAR, drawn VARCHAR)
Question: What is the lowest number played with a position of 6 and less than 1 draw?
[/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_89 (played INTEGER, position VARCHAR, drawn VARCHAR)
Question: What is the lowest number played with a position of 6 and less than 1 draw?
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_18 (attendance INTEGER, loss VARCHAR)
Question: Which average attendance has stoneman (0-2) as the loss?
[/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_18 (attendance INTEGER, loss VARCHAR)
Question: Which average attendance has stoneman (0-2) as the loss?
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_55 (team_1 VARCHAR)
Question: Tell me the 1st leg for team being budoni (Sardinia)
[/INST]
Here is the SQLite query to answer to the question: Tell me th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (team_1 VARCHAR)
Question: Tell me the 1st leg for team being budoni (Sardinia)
Here is the SQLite query to answer to the question: Tell me the 1st leg for... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_44 (elected VARCHAR, assembled VARCHAR)
Question: What Elected has Assembled of 23 january 1559?
[/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_44 (elected VARCHAR, assembled VARCHAR)
Question: What Elected has Assembled of 23 january 1559?
Here is the SQLite query to answer to the question: What Elec... | bugdaryan/sql-create-context-instruction | |
[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 (season INTEGER, position VARCHAR)
Question: What is the average of seasons for 10th place finishes?
[/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_95 (season INTEGER, position VARCHAR)
Question: What is the average of seasons for 10th place finishes?
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_44 (time VARCHAR, team VARCHAR, rank VARCHAR)
Question: What is the time/s of team Triumph in those races in which Triumph ranked higher than 4?
[/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 (time VARCHAR, team VARCHAR, rank VARCHAR)
Question: What is the time/s of team Triumph in those races in which Triumph ranked higher than 4?
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_88 (home VARCHAR, score VARCHAR)
Question: Who was at home when the score was 2:2?
[/INST]
Here is the SQLite query to answer to the question: Who was at... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (home VARCHAR, score VARCHAR)
Question: Who was at home when the score was 2:2?
Here is the SQLite query to answer to the question: Who was at home when 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 albums (label VARCHAR)
Question: How many unique labels are there for albums?
[/INST]
Here is the SQLite query to answer to the question: How many unique labels are... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE albums (label VARCHAR)
Question: How many unique labels are there for albums?
Here is the SQLite query to answer to the question: How many unique labels are there for al... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10812938_5 (pick__number VARCHAR, position VARCHAR)
Question: What's the pick number of the player whose position is CB?
[/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_10812938_5 (pick__number VARCHAR, position VARCHAR)
Question: What's the pick number of the player whose position is CB?
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 singer (citizenship VARCHAR)
Question: What is the most common singer citizenship ?
[/INST]
Here is the SQLite query to answer to the question: What is the most com... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE singer (citizenship VARCHAR)
Question: What is the most common singer citizenship ?
Here is the SQLite query to answer to the question: What is the most common singer ci... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26781017_1 (moto2_winner VARCHAR, grand_prix VARCHAR)
Question: Who are all the Moto2 winners when the grand prix was Shell Advance Malaysian Grand Prix?
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26781017_1 (moto2_winner VARCHAR, grand_prix VARCHAR)
Question: Who are all the Moto2 winners when the grand prix was Shell Advance Malaysian Grand Prix?
Here is t... | 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.