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_26976615_3 (manner_of_departure VARCHAR, outgoing_manager VARCHAR)
Question: What was the manner of departure when the outgoing manager was andrea mandorlini?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26976615_3 (manner_of_departure VARCHAR, outgoing_manager VARCHAR)
Question: What was the manner of departure when the outgoing manager was andrea mandorlini?
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_10753917_1 (season VARCHAR, driver VARCHAR)
Question: How many seasons was clay regazzoni the driver?
[/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_10753917_1 (season VARCHAR, driver VARCHAR)
Question: How many seasons was clay regazzoni the driver?
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_36 (high_rebounds VARCHAR, date VARCHAR)
Question: Who had the high rebounds on February 24?
[/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_36 (high_rebounds VARCHAR, date VARCHAR)
Question: Who had the high rebounds on February 24?
Here is the SQLite query to answer to the question: Who had the 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_26 (date_of_appointment VARCHAR, manner_of_departure VARCHAR, outgoing_manager VARCHAR)
Question: What is the date of appointment of outgoing manager fre... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (date_of_appointment VARCHAR, manner_of_departure VARCHAR, outgoing_manager VARCHAR)
Question: What is the date of appointment of outgoing manager fred rutt... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Rooms (roomName VARCHAR, basePrice VARCHAR)
Question: List the name of all rooms sorted by their prices.
[/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 Rooms (roomName VARCHAR, basePrice VARCHAR)
Question: List the name of all rooms sorted by their prices.
Here is the SQLite query to answer to the question: List the nam... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10121127_1 (australian_role VARCHAR, un_operation_name VARCHAR)
Question: What is Australia's role in the UN operation Unama?
[/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_10121127_1 (australian_role VARCHAR, un_operation_name VARCHAR)
Question: What is Australia's role in the UN operation Unama?
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_27208311_1 (episode_no_episode_no_refers_to_the_episodes_number_in_the_overall_series VARCHAR, _whereas_series_no_refers_to_the_episodes_number_in_this_particular_... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27208311_1 (episode_no_episode_no_refers_to_the_episodes_number_in_the_overall_series VARCHAR, _whereas_series_no_refers_to_the_episodes_number_in_this_particular_series... | bugdaryan/sql-create-context-instruction | |
[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 (school_club_team VARCHAR, player VARCHAR)
Question: Which school did Dahntay Jones graduate from?
[/INST]
Here is the SQLite query to answer to the q... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (school_club_team VARCHAR, player VARCHAR)
Question: Which school did Dahntay Jones graduate from?
Here is the SQLite query to answer to the question: Whic... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26168687_3 (no_in_series VARCHAR, vessel_operator VARCHAR)
Question: How many times is the vessel operator canadian coast guard?
[/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_26168687_3 (no_in_series VARCHAR, vessel_operator VARCHAR)
Question: How many times is the vessel operator canadian coast guard?
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_28 (since_beginning_of_big_12 VARCHAR, last_5_meetings VARCHAR, last_10_meetings VARCHAR, at_neutral_site VARCHAR)
Question: what is the since beginning ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (since_beginning_of_big_12 VARCHAR, last_5_meetings VARCHAR, last_10_meetings VARCHAR, at_neutral_site VARCHAR)
Question: what is the since beginning of big... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10960039_6 (player VARCHAR, college VARCHAR)
Question: How many players played for adams state school?
[/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_10960039_6 (player VARCHAR, college VARCHAR)
Question: How many players played for adams state school?
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_1342218_17 (first_elected VARCHAR, incumbent VARCHAR)
Question: How many times was incumbent Noble Jones Gregory first elected?
[/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_1342218_17 (first_elected VARCHAR, incumbent VARCHAR)
Question: How many times was incumbent Noble Jones Gregory first elected?
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_67 (to_par VARCHAR, finish VARCHAR)
Question: What is the To par of the player with a Finish of T20?
[/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_67 (to_par VARCHAR, finish VARCHAR)
Question: What is the To par of the player with a Finish of T20?
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 FACULTY (Room VARCHAR, Rank VARCHAR, Building VARCHAR)
Question: Find the rooms of faculties with rank professor who live in building NEB.
[/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 FACULTY (Room VARCHAR, Rank VARCHAR, Building VARCHAR)
Question: Find the rooms of faculties with rank professor who live in building NEB.
Here is the SQLite query to an... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (fcc_info VARCHAR, state VARCHAR, city_of_license VARCHAR)
Question: What is the FCC info for the radio station in West Lafayette, Indiana?
[/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_35 (fcc_info VARCHAR, state VARCHAR, city_of_license VARCHAR)
Question: What is the FCC info for the radio station in West Lafayette, Indiana?
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_4 (first_elected VARCHAR, party VARCHAR, district VARCHAR)
Question: What is the First elected that has a republican party and california 4?
[/INST]
Here... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (first_elected VARCHAR, party VARCHAR, district VARCHAR)
Question: What is the First elected that has a republican party and california 4?
Here is the SQLit... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12284476_8 (reverse VARCHAR, series VARCHAR)
Question: how many reverse with series being iii series
[/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_12284476_8 (reverse VARCHAR, series VARCHAR)
Question: how many reverse with series being iii series
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_1507431_1 (date VARCHAR, tournament VARCHAR)
Question: The tournament Buick Classic occured on what dates?
[/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_1507431_1 (date VARCHAR, tournament VARCHAR)
Question: The tournament Buick Classic occured on what dates?
Here is the SQLite query to answer to the question: 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 (date_of_vacancy VARCHAR, team VARCHAR, date_of_appointment VARCHAR)
Question: What is the date of vacancy of team fc bayern munich, which had a date ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (date_of_vacancy VARCHAR, team VARCHAR, date_of_appointment VARCHAR)
Question: What is the date of vacancy of team fc bayern munich, which had a date of app... | bugdaryan/sql-create-context-instruction | |
[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 (release_price___usd__ VARCHAR, gpu_frequency VARCHAR, sspec_number VARCHAR)
Question: Which Release price (USD ) has a GPU frequency of 650–1150 mhz ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (release_price___usd__ VARCHAR, gpu_frequency VARCHAR, sspec_number VARCHAR)
Question: Which Release price (USD ) has a GPU frequency of 650–1150 mhz and 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_24814477_2 (opponent VARCHAR, week VARCHAR)
Question: Who was the opponent in Week 8?
[/INST]
Here is the SQLite query to answer to the question: Who was the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24814477_2 (opponent VARCHAR, week VARCHAR)
Question: Who was the opponent in Week 8?
Here is the SQLite query to answer to the question: Who was the opponent in 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_87 (college VARCHAR, overall VARCHAR, name VARCHAR)
Question: Which college's overall number is more than 158 when Travian Robertson is the name?
[/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 (college VARCHAR, overall VARCHAR, name VARCHAR)
Question: Which college's overall number is more than 158 when Travian Robertson is the name?
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_21091157_1 (date VARCHAR, game VARCHAR)
Question: Name the date for game 8
[/INST]
Here is the SQLite query to answer to the question: Name the date for game ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21091157_1 (date VARCHAR, game VARCHAR)
Question: Name the date for game 8
Here is the SQLite query to answer to the question: Name the date for game 8:
```
SELECT... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE inst (name VARCHAR, instid VARCHAR); CREATE TABLE authorship (instid VARCHAR, paperid VARCHAR); CREATE TABLE papers (paperid VARCHAR)
Question: Find the name of the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE inst (name VARCHAR, instid VARCHAR); CREATE TABLE authorship (instid VARCHAR, paperid VARCHAR); CREATE TABLE papers (paperid VARCHAR)
Question: Find the name of the organ... | bugdaryan/sql-create-context-instruction | |
[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 (english VARCHAR, sanskrit VARCHAR)
Question: Which English has a Sanskrit of samādhi?
[/INST]
Here is the SQLite query to answer to the question: Whi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (english VARCHAR, sanskrit VARCHAR)
Question: Which English has a Sanskrit of samādhi?
Here is the SQLite query to answer to the question: Which English ha... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15887683_8 (n° VARCHAR, television_service VARCHAR)
Question: Name the number for fox news channel
[/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_15887683_8 (n° VARCHAR, television_service VARCHAR)
Question: Name the number for fox news channel
Here is the SQLite query to answer to the question: Name 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_1706942_1 (q1_order INTEGER, driver VARCHAR)
Question: What is the Q1 order for Felipe Massa?
[/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_1706942_1 (q1_order INTEGER, driver VARCHAR)
Question: What is the Q1 order for Felipe Massa?
Here is the SQLite query to answer to the question: What is the Q1 or... | bugdaryan/sql-create-context-instruction | |
[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 (project VARCHAR, length_overall_in_meters__without_bowsprit_ VARCHAR, name VARCHAR)
Question: Name the project with length overall being 25 and name ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (project VARCHAR, length_overall_in_meters__without_bowsprit_ VARCHAR, name VARCHAR)
Question: Name the project with length overall being 25 and name of lev... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (seasons_completed INTEGER, finals_appearances VARCHAR, division_titles VARCHAR, playoff_appearances VARCHAR)
Question: What is the average number of ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (seasons_completed INTEGER, finals_appearances VARCHAR, division_titles VARCHAR, playoff_appearances VARCHAR)
Question: What is the average number of season... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (of_4 VARCHAR, country VARCHAR)
Question: What is the OF-4 of Albania?
[/INST]
Here is the SQLite query to answer to the question: What is the OF-4 of... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (of_4 VARCHAR, country VARCHAR)
Question: What is the OF-4 of Albania?
Here is the SQLite query to answer to the question: What is the OF-4 of Albania?:
``... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26173063_2 (faisaly VARCHAR, wehdat VARCHAR)
Question: what is faisaly when wehdat is xxx?
[/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_26173063_2 (faisaly VARCHAR, wehdat VARCHAR)
Question: what is faisaly when wehdat is xxx?
Here is the SQLite query to answer to the question: what is faisaly when... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (byes INTEGER, ballarat_fl VARCHAR, against VARCHAR)
Question: What is the average Byes that has Ballarat FL of Sunbury against more than 1167?
[/INST... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (byes INTEGER, ballarat_fl VARCHAR, against VARCHAR)
Question: What is the average Byes that has Ballarat FL of Sunbury against more than 1167?
Here is the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_32 (points INTEGER, chassis VARCHAR, year VARCHAR)
Question: What are the lowest points with a Chassis of zakspeed 841, and a Year smaller than 1985?
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_32 (points INTEGER, chassis VARCHAR, year VARCHAR)
Question: What are the lowest points with a Chassis of zakspeed 841, and a Year smaller than 1985?
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_37 (date VARCHAR, catalogue__number VARCHAR)
Question: What is the date with the catalogue # cocy-80093?
[/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_37 (date VARCHAR, catalogue__number VARCHAR)
Question: What is the date with the catalogue # cocy-80093?
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_1837570_1 (operator VARCHAR, genre VARCHAR)
Question: Which operators offer a genre of music?
[/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_1837570_1 (operator VARCHAR, genre VARCHAR)
Question: Which operators offer a genre of music?
Here is the SQLite query to answer to the question: Which operators o... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26555737_1 (result VARCHAR, year__ceremony_ VARCHAR)
Question: When 2012 (85th) is the year (ceremony) how many results?
[/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_26555737_1 (result VARCHAR, year__ceremony_ VARCHAR)
Question: When 2012 (85th) is the year (ceremony) how many results?
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_23 (pick INTEGER, school VARCHAR)
Question: What is the pick number for tulane university?
[/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_23 (pick INTEGER, school VARCHAR)
Question: What is the pick number for tulane university?
Here is the SQLite query to answer to the question: What is the pic... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (weight VARCHAR, denomination VARCHAR)
Question: What is the weight with a denomination that is ten paise?
[/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_53 (weight VARCHAR, denomination VARCHAR)
Question: What is the weight with a denomination that is ten paise?
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_46 (goal_ratio VARCHAR, rank VARCHAR, games VARCHAR)
Question: How many goal ratios have rank of 2 with more than 44 games?
[/INST]
Here is the SQLite qu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (goal_ratio VARCHAR, rank VARCHAR, games VARCHAR)
Question: How many goal ratios have rank of 2 with more than 44 games?
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_20170644_3 (position VARCHAR, college VARCHAR)
Question: What position is the player who went to Regina?
[/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_20170644_3 (position VARCHAR, college VARCHAR)
Question: What position is the player who went to Regina?
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_23575917_6 (first_broadcast VARCHAR, davids_team VARCHAR)
Question: When david o'doherty and katherine parkinson are both on the davids team when is the first... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23575917_6 (first_broadcast VARCHAR, davids_team VARCHAR)
Question: When david o'doherty and katherine parkinson are both on the davids team when is the first broad... | bugdaryan/sql-create-context-instruction | |
[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 (heat VARCHAR, name VARCHAR)
Question: How many heats does Julia Wilkinson have?
[/INST]
Here is the SQLite query to answer to the question: How many ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (heat VARCHAR, name VARCHAR)
Question: How many heats does Julia Wilkinson have?
Here is the SQLite query to answer to the question: How many heats does Ju... | bugdaryan/sql-create-context-instruction | |
[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 (year VARCHAR, arena VARCHAR)
Question: In what year was the competition at the Pepsi Arena?
[/INST]
Here is the SQLite query to answer to the questio... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (year VARCHAR, arena VARCHAR)
Question: In what year was the competition at the Pepsi Arena?
Here is the SQLite query to answer to the question: In what ye... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28523_3 (school VARCHAR, religious_affiliation VARCHAR)
Question: What is the website of the school affiliated with the Church of England?
[/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_28523_3 (school VARCHAR, religious_affiliation VARCHAR)
Question: What is the website of the school affiliated with the Church of England?
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_1358608_2 (group VARCHAR, weight__kg_ VARCHAR)
Question: What group info is available for the 56.5 kg weight?
[/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_1358608_2 (group VARCHAR, weight__kg_ VARCHAR)
Question: What group info is available for the 56.5 kg weight?
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_34 (team_2 VARCHAR, team_1 VARCHAR)
Question: What is the Team 2 with a Team 1 that is milli piyango sk?
[/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_34 (team_2 VARCHAR, team_1 VARCHAR)
Question: What is the Team 2 with a Team 1 that is milli piyango sk?
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_47 (gold INTEGER, nation VARCHAR, silver VARCHAR)
Question: Which Gold has a Nation of malaysia, and a Silver smaller than 0?
[/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_47 (gold INTEGER, nation VARCHAR, silver VARCHAR)
Question: Which Gold has a Nation of malaysia, and a Silver smaller than 0?
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_16 (builder VARCHAR, works_number VARCHAR)
Question: Who is the builder with a works number of 2534?
[/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_16 (builder VARCHAR, works_number VARCHAR)
Question: Who is the builder with a works number of 2534?
Here is the SQLite query to answer to the question: Who i... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (film VARCHAR, nominee VARCHAR)
Question: What is the film that Raymond Massey was nominated for?
[/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_94 (film VARCHAR, nominee VARCHAR)
Question: What is the film that Raymond Massey was nominated for?
Here is the SQLite query to answer to the question: What ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22771048_4 (city_neighborhood VARCHAR, station VARCHAR)
Question: How many neighborhoods have a station proposed at a Hospital?
[/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_22771048_4 (city_neighborhood VARCHAR, station VARCHAR)
Question: How many neighborhoods have a station proposed at a Hospital?
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_28220778_21 (score VARCHAR, date VARCHAR)
Question: What is every score when the date is January 2?
[/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_28220778_21 (score VARCHAR, date VARCHAR)
Question: What is every score when the date is January 2?
Here is the SQLite query to answer to the question: What is eve... | bugdaryan/sql-create-context-instruction | |
[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 (programming VARCHAR, channel VARCHAR)
Question: Which Programming has a Channel of 35.4?
[/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_14 (programming VARCHAR, channel VARCHAR)
Question: Which Programming has a Channel of 35.4?
Here is the SQLite query to answer to the question: Which Program... | bugdaryan/sql-create-context-instruction | |
[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 (set_5 VARCHAR, date VARCHAR, set_4 VARCHAR)
Question: What is the set 5 if the Date is jun 7, and a Set 4 is 21-25?
[/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_65 (set_5 VARCHAR, date VARCHAR, set_4 VARCHAR)
Question: What is the set 5 if the Date is jun 7, and a Set 4 is 21-25?
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_13746866_2 (percentage_of_votes VARCHAR, number_of_deputies VARCHAR)
Question: what's the percentage of votes with number of deputies being 112
[/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_13746866_2 (percentage_of_votes VARCHAR, number_of_deputies VARCHAR)
Question: what's the percentage of votes with number of deputies being 112
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 game (id VARCHAR, score VARCHAR, date VARCHAR); CREATE TABLE injury_accident (game_id VARCHAR)
Question: What are the ids, scores, and dates of the games which caus... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE game (id VARCHAR, score VARCHAR, date VARCHAR); CREATE TABLE injury_accident (game_id VARCHAR)
Question: What are the ids, scores, and dates of the games which caused at ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (coombe_road VARCHAR, selsdon VARCHAR)
Question: What is the Coombe Road time with a Selsdon evening peak?
[/INST]
Here is the SQLite query to answer ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (coombe_road VARCHAR, selsdon VARCHAR)
Question: What is the Coombe Road time with a Selsdon evening peak?
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_68 (record VARCHAR, game VARCHAR)
Question: What was the Record on Game 50?
[/INST]
Here is the SQLite query to answer to the question: What was the Reco... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (record VARCHAR, game VARCHAR)
Question: What was the Record on Game 50?
Here is the SQLite query to answer to the question: What was the Record on Game 50... | bugdaryan/sql-create-context-instruction | |
[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 (rider VARCHAR, grid VARCHAR, manufacturer VARCHAR, laps VARCHAR)
Question: What rider is on an aprilia that went under 18 laps with a grid total of 1... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (rider VARCHAR, grid VARCHAR, manufacturer VARCHAR, laps VARCHAR)
Question: What rider is on an aprilia that went under 18 laps with a grid total of 17?
He... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11677691_1 (hometown VARCHAR, player VARCHAR)
Question: What is Jeremy Hill's hometown?
[/INST]
Here is the SQLite query to answer to the question: What is Je... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11677691_1 (hometown VARCHAR, player VARCHAR)
Question: What is Jeremy Hill's hometown?
Here is the SQLite query to answer to the question: What is Jeremy Hill's 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_36 (year INTEGER, notes VARCHAR)
Question: What is the average of all the years when the notes are “electronics brand?”
[/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_36 (year INTEGER, notes VARCHAR)
Question: What is the average of all the years when the notes are “electronics brand?”
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_21 (year VARCHAR, opponent VARCHAR)
Question: How many years was the opponent petr korda?
[/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_21 (year VARCHAR, opponent VARCHAR)
Question: How many years was the opponent petr korda?
Here is the SQLite query to answer to the question: How many 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_name_18 (title VARCHAR, producer VARCHAR, role VARCHAR)
Question: What title has a producer of MAQ and Anna as a role?
[/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_18 (title VARCHAR, producer VARCHAR, role VARCHAR)
Question: What title has a producer of MAQ and Anna as a role?
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_90 (race_name VARCHAR, constructor VARCHAR)
Question: Which race was Matra the constructor?
[/INST]
Here is the SQLite query to answer to the question: W... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (race_name VARCHAR, constructor VARCHAR)
Question: Which race was Matra the constructor?
Here is the SQLite query to answer to the question: Which race 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_24521345_1 (composer VARCHAR, conductor VARCHAR)
Question: Who composed the work conducted by jaroslav Vogel?
[/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_24521345_1 (composer VARCHAR, conductor VARCHAR)
Question: Who composed the work conducted by jaroslav Vogel?
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_11 (college_junior_club_team__league_ VARCHAR, round VARCHAR, nationality VARCHAR)
Question: What college or club did the round 9 draft pick from Canada ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (college_junior_club_team__league_ VARCHAR, round VARCHAR, nationality VARCHAR)
Question: What college or club did the round 9 draft pick from Canada come 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_5 (time VARCHAR, opponent VARCHAR)
Question: What was the time when his opponent was Rudy Martin?
[/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_5 (time VARCHAR, opponent VARCHAR)
Question: What was the time when his opponent was Rudy Martin?
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_50 (class VARCHAR, erp_w VARCHAR, call_sign VARCHAR)
Question: What is the Class for the ERP W of more than 2 and the call sign of w223au?
[/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_50 (class VARCHAR, erp_w VARCHAR, call_sign VARCHAR)
Question: What is the Class for the ERP W of more than 2 and the call sign of w223au?
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 TV_Channel (LANGUAGE VARCHAR)
Question: List each language and the number of TV Channels using it.
[/INST]
Here is the SQLite query to answer to the question: List ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE TV_Channel (LANGUAGE VARCHAR)
Question: List each language and the number of TV Channels using it.
Here is the SQLite query to answer to the question: List each language... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16186152_1 (percentage VARCHAR, state_delegate VARCHAR)
Question: What's the percentage when the state delegate is 1662?
[/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_16186152_1 (percentage VARCHAR, state_delegate VARCHAR)
Question: What's the percentage when the state delegate is 1662?
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_14700336_1 (revenue__millions_ VARCHAR, spending_per_capita VARCHAR)
Question: How many times was revenue in millions recorded when the spending per capita wa... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14700336_1 (revenue__millions_ VARCHAR, spending_per_capita VARCHAR)
Question: How many times was revenue in millions recorded when the spending per capita was $6,7... | bugdaryan/sql-create-context-instruction | |
[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 (pages INTEGER, vol__number VARCHAR, isbn VARCHAR)
Question: How many pages does the edition with a volume # smaller than 8 and an ISBM of 1-40122-892... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (pages INTEGER, vol__number VARCHAR, isbn VARCHAR)
Question: How many pages does the edition with a volume # smaller than 8 and an ISBM of 1-40122-892-5 hav... | bugdaryan/sql-create-context-instruction | |
[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 (lane INTEGER, nationality VARCHAR)
Question: How many lanes have a Nationality of iceland?
[/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_58 (lane INTEGER, nationality VARCHAR)
Question: How many lanes have a Nationality of iceland?
Here is the SQLite query to answer to the question: How many la... | bugdaryan/sql-create-context-instruction | |
[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 (date VARCHAR, potts__i_ VARCHAR)
Question: On which date did Potts (I) poll at 9%?
[/INST]
Here is the SQLite query to answer to the question: On whi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (date VARCHAR, potts__i_ VARCHAR)
Question: On which date did Potts (I) poll at 9%?
Here is the SQLite query to answer to the question: On which date did 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 event (Id VARCHAR)
Question: How many events are there?
[/INST]
Here is the SQLite query to answer to the question: How many events are there?:
```
SELECT COUNT(*) ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE event (Id VARCHAR)
Question: How many events are there?
Here is the SQLite query to answer to the question: How many events are there?:
```
SELECT COUNT(*) FROM event
``... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE station (total_passengers INTEGER, LOCATION VARCHAR)
Question: What is the average and maximum number of total passengers for train stations in London or Glasgow?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE station (total_passengers INTEGER, LOCATION VARCHAR)
Question: What is the average and maximum number of total passengers for train stations in London or Glasgow?
Here i... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (played VARCHAR, losing_bonus VARCHAR)
Question: What played has 3 as the losing bonus?
[/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_91 (played VARCHAR, losing_bonus VARCHAR)
Question: What played has 3 as the losing bonus?
Here is the SQLite query to answer to the question: What played 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_19 (points_for VARCHAR, played VARCHAR, lost VARCHAR)
Question: What is the points number when 20 shows for played, and lost is 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_19 (points_for VARCHAR, played VARCHAR, lost VARCHAR)
Question: What is the points number when 20 shows for played, and lost is 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_name_12 (record VARCHAR, attendance VARCHAR)
Question: What is the record from the 2,500 in attendance?
[/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_12 (record VARCHAR, attendance VARCHAR)
Question: What is the record from the 2,500 in attendance?
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_34 (season INTEGER, driver VARCHAR)
Question: What is the earliest season with driver Farad Bathena?
[/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_34 (season INTEGER, driver VARCHAR)
Question: What is the earliest season with driver Farad Bathena?
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_46 (score_1 VARCHAR, tie_no VARCHAR)
Question: What is the Score 1 of Tie no 6?
[/INST]
Here is the SQLite query to answer to the question: What 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_46 (score_1 VARCHAR, tie_no VARCHAR)
Question: What is the Score 1 of Tie no 6?
Here is the SQLite query to answer to the question: What is the Score 1 of Tie... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2679061_8 (nhl_team VARCHAR, pick__number VARCHAR)
Question: What club is associated with draft number 155?
[/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_2679061_8 (nhl_team VARCHAR, pick__number VARCHAR)
Question: What club is associated with draft number 155?
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_47 (duration VARCHAR, province VARCHAR)
Question: What is the duration of the commissioner from the zeeland province?
[/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_47 (duration VARCHAR, province VARCHAR)
Question: What is the duration of the commissioner from the zeeland province?
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_33 (season VARCHAR, away VARCHAR)
Question: What season has an away 2-0?
[/INST]
Here is the SQLite query to answer to the question: What season has an a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (season VARCHAR, away VARCHAR)
Question: What season has an away 2-0?
Here is the SQLite query to answer to the question: What season has an away 2-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 singer_in_concert (singer_id VARCHAR); CREATE TABLE singer (name VARCHAR, singer_id VARCHAR)
Question: List singer names and number of concerts for each singer.
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE singer_in_concert (singer_id VARCHAR); CREATE TABLE singer (name VARCHAR, singer_id VARCHAR)
Question: List singer names and number of concerts for each singer.
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_41 (points INTEGER, entrant VARCHAR, chassis VARCHAR)
Question: What is the sum of all the points won by Peter Whitehead in an alta f2 Chassis?
[/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_41 (points INTEGER, entrant VARCHAR, chassis VARCHAR)
Question: What is the sum of all the points won by Peter Whitehead in an alta f2 Chassis?
Here is the SQ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (set_2 VARCHAR, total VARCHAR, set_3 VARCHAR)
Question: What is the Set 2 with a Total of 45–12, and a Set 3 with 15–2?
[/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_6 (set_2 VARCHAR, total VARCHAR, set_3 VARCHAR)
Question: What is the Set 2 with a Total of 45–12, and a Set 3 with 15–2?
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_2 (country VARCHAR, score VARCHAR)
Question: What country has a score of 74-70=144
[/INST]
Here is the SQLite query to answer to the question: What coun... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (country VARCHAR, score VARCHAR)
Question: What country has a score of 74-70=144
Here is the SQLite query to answer to the question: What country has a sc... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (crowd VARCHAR, venue VARCHAR)
Question: How many people at Arden Street Oval?
[/INST]
Here is the SQLite query to answer to the question: How many pe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (crowd VARCHAR, venue VARCHAR)
Question: How many people at Arden Street Oval?
Here is the SQLite query to answer to the question: How many people at Arden... | bugdaryan/sql-create-context-instruction | |
[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 (genes VARCHAR, base_pairs VARCHAR)
Question: Which gene has 4,895,836 base pairs?
[/INST]
Here is the SQLite query to answer to the question: Which g... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (genes VARCHAR, base_pairs VARCHAR)
Question: Which gene has 4,895,836 base pairs?
Here is the SQLite query to answer to the question: Which gene has 4,895... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25459168_2 (round VARCHAR, fastest_lap VARCHAR)
Question: How many rounds did Alex Ardoin achieved a fastest lap?
[/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_25459168_2 (round VARCHAR, fastest_lap VARCHAR)
Question: How many rounds did Alex Ardoin achieved a fastest lap?
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_91 (circuit VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR)
Question: On which circuit does lorenzo bandini have the fastest lap as well as the pole... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (circuit VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR)
Question: On which circuit does lorenzo bandini have the fastest lap as well as the pole posit... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24453847_2 (date VARCHAR, game_site VARCHAR)
Question: What game date was the game at AOL Arena?
[/INST]
Here is the SQLite query to answer to the question: W... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24453847_2 (date VARCHAR, game_site VARCHAR)
Question: What game date was the game at AOL Arena?
Here is the SQLite query to answer to the question: What game date... | bugdaryan/sql-create-context-instruction | |
[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 (competition VARCHAR, opponents VARCHAR, score VARCHAR)
Question: What is the name of the competition with opponents of Sv Werder Bremen and a score o... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (competition VARCHAR, opponents VARCHAR, score VARCHAR)
Question: What is the name of the competition with opponents of Sv Werder Bremen and a score of 1-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_name_88 (outcome VARCHAR, year VARCHAR, score VARCHAR)
Question: What is the Outcome of the Match played after 2003 with a Score of 6–0, 6–3?
[/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_88 (outcome VARCHAR, year VARCHAR, score VARCHAR)
Question: What is the Outcome of the Match played after 2003 with a Score of 6–0, 6–3?
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_52 (grid INTEGER, time_retired VARCHAR)
Question: What's the smallest grid for Time/Retired of +22.687?
[/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_52 (grid INTEGER, time_retired VARCHAR)
Question: What's the smallest grid for Time/Retired of +22.687?
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 Student (advisor VARCHAR)
Question: Show all advisors who have at least two students.
[/INST]
Here is the SQLite query to answer to the question: Show all advisors ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Student (advisor VARCHAR)
Question: Show all advisors who have at least two students.
Here is the SQLite query to answer to the question: Show all advisors who have at l... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (march VARCHAR, record VARCHAR, game VARCHAR)
Question: What is the number of March that has 25-10-9 record and a Game more than 44?
[/INST]
Here is t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (march VARCHAR, record VARCHAR, game VARCHAR)
Question: What is the number of March that has 25-10-9 record and a Game more than 44?
Here is the SQLite que... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (round VARCHAR, date VARCHAR)
Question: What is the round on 26 August 1995?
[/INST]
Here is the SQLite query to answer to the question: What is the r... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (round VARCHAR, date VARCHAR)
Question: What is the round on 26 August 1995?
Here is the SQLite query to answer to the question: What is the round on 26 Au... | bugdaryan/sql-create-context-instruction | |
[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 (Id VARCHAR)
Question: What is the highest 1995 with a 1990 less than 36, a 1987 less than 1987, and a 2007 value greater than 107?
[/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_4 (Id VARCHAR)
Question: What is the highest 1995 with a 1990 less than 36, a 1987 less than 1987, and a 2007 value greater than 107?
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_90 (country VARCHAR, player VARCHAR)
Question: What country has todd hamilton as the player?
[/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_90 (country VARCHAR, player VARCHAR)
Question: What country has todd hamilton as the player?
Here is the SQLite query to answer to the question: What country ... | 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.