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_16 (race VARCHAR, replica VARCHAR)
Question: Which race has a replica of DNF?
[/INST]
Here is the SQLite query to answer to the question: Which race has ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (race VARCHAR, replica VARCHAR)
Question: Which race has a replica of DNF?
Here is the SQLite query to answer to the question: Which race has a replica of ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (original_channel VARCHAR, programme VARCHAR)
Question: Which channel did Going for Gold air on?
[/INST]
Here is the SQLite query to answer to the que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (original_channel VARCHAR, programme VARCHAR)
Question: Which channel did Going for Gold air on?
Here is the SQLite query to answer to the question: Which ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13998897_1 (frequency_mhz VARCHAR, city_of_license VARCHAR)
Question: what's the frequency mhz with city of license being chattanooga, tennessee
[/INST]
Here ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13998897_1 (frequency_mhz VARCHAR, city_of_license VARCHAR)
Question: what's the frequency mhz with city of license being chattanooga, tennessee
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_34 (losses VARCHAR, awards VARCHAR)
Question: What are the losses where the award is Mike Miller (Smoy)?
[/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 (losses VARCHAR, awards VARCHAR)
Question: What are the losses where the award is Mike Miller (Smoy)?
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_10 (avg_g INTEGER, gp_gs VARCHAR, gain VARCHAR)
Question: What's the lowest avg/g for a GP-GS of 12-12 and a gain less than 16?
[/INST]
Here is the SQLit... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (avg_g INTEGER, gp_gs VARCHAR, gain VARCHAR)
Question: What's the lowest avg/g for a GP-GS of 12-12 and a gain less than 16?
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_74 (league VARCHAR, finish VARCHAR, losses VARCHAR)
Question: What league had a finish of 2nd and 3 losses?
[/INST]
Here is the SQLite query to answer to... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (league VARCHAR, finish VARCHAR, losses VARCHAR)
Question: What league had a finish of 2nd and 3 losses?
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_91 (conversions INTEGER, team VARCHAR, tries VARCHAR)
Question: What is the average number of conversions for the Cardiff Blues with less than 14 tries?
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (conversions INTEGER, team VARCHAR, tries VARCHAR)
Question: What is the average number of conversions for the Cardiff Blues with less than 14 tries?
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_name_89 (interview_subject VARCHAR, pictorials VARCHAR)
Question: Who was the Interview Subject on the Date when there were Pictorials of Christie Brinkley?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (interview_subject VARCHAR, pictorials VARCHAR)
Question: Who was the Interview Subject on the Date when there were Pictorials of Christie Brinkley?
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_20688030_1 (county VARCHAR, obama_percentage VARCHAR)
Question: What is the total of countys where Obama is popular by 35.44%?
[/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_20688030_1 (county VARCHAR, obama_percentage VARCHAR)
Question: What is the total of countys where Obama is popular by 35.44%?
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_15 (silver INTEGER, nation VARCHAR, gold VARCHAR)
Question: How many silvers for south korea with under 1 gold medal?
[/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_15 (silver INTEGER, nation VARCHAR, gold VARCHAR)
Question: How many silvers for south korea with under 1 gold medal?
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_80 (qual VARCHAR, laps VARCHAR, year VARCHAR)
Question: Which qual has both 200 total laps and took place in 1957?
[/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_80 (qual VARCHAR, laps VARCHAR, year VARCHAR)
Question: Which qual has both 200 total laps and took place in 1957?
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_37 (constituency_number VARCHAR, district VARCHAR)
Question: Bhiwani district have what constituency number?
[/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_37 (constituency_number VARCHAR, district VARCHAR)
Question: Bhiwani district have what constituency number?
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_12 (secretary VARCHAR, social_ao VARCHAR)
Question: What Secretary has a Social AO of lieke de boer?
[/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_12 (secretary VARCHAR, social_ao VARCHAR)
Question: What Secretary has a Social AO of lieke de boer?
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 Person (name VARCHAR, age VARCHAR); CREATE TABLE PersonFriend (name VARCHAR, friend VARCHAR)
Question: Find the name and age of the person who is a friend of both D... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Person (name VARCHAR, age VARCHAR); CREATE TABLE PersonFriend (name VARCHAR, friend VARCHAR)
Question: Find the name and age of the person who is a friend of both Dan and... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20803241_1 (day_pass VARCHAR, type_of_fare VARCHAR)
Question: When fixed route is the type of fare how much is the 31-day pass?
[/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_20803241_1 (day_pass VARCHAR, type_of_fare VARCHAR)
Question: When fixed route is the type of fare how much is the 31-day pass?
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_1601027_1 (headphone_model VARCHAR, driver_matched_db VARCHAR, us_msrp VARCHAR)
Question: Which headphone models have a driver-matched DB of 0.1 and a US MSRP... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1601027_1 (headphone_model VARCHAR, driver_matched_db VARCHAR, us_msrp VARCHAR)
Question: Which headphone models have a driver-matched DB of 0.1 and a US MSRP of $4... | bugdaryan/sql-create-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 (stuid VARCHAR); CREATE TABLE has_pet (stuid VARCHAR, petid VARCHAR); CREATE TABLE pets (petid VARCHAR, pettype VARCHAR); CREATE TABLE student (major VARCHAR, ag... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE student (stuid VARCHAR); CREATE TABLE has_pet (stuid VARCHAR, petid VARCHAR); CREATE TABLE pets (petid VARCHAR, pettype VARCHAR); CREATE TABLE student (major VARCHAR, age VARC... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (points VARCHAR, played VARCHAR, club VARCHAR)
Question: What is Points, when Played is "20", and when Club is "Caldicot RFC"?
[/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_64 (points VARCHAR, played VARCHAR, club VARCHAR)
Question: What is Points, when Played is "20", and when Club is "Caldicot RFC"?
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_25177625_1 (former_school VARCHAR, hometown VARCHAR)
Question: What were the former schools of the player from East Brunswick, NJ?
[/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_25177625_1 (former_school VARCHAR, hometown VARCHAR)
Question: What were the former schools of the player from East Brunswick, NJ?
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_60 (result_f_a VARCHAR, date VARCHAR)
Question: What is the result F_A on 17 December 2002?
[/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_60 (result_f_a VARCHAR, date VARCHAR)
Question: What is the result F_A on 17 December 2002?
Here is the SQLite query to answer to the question: What is the re... | bugdaryan/sql-create-context-instruction | |
[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)
Question: Name the average 2008 for beijing and 2005 more than 2
[/INST]
Here is the SQLite query to answer to the question: Name the a... | 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)
Question: Name the average 2008 for beijing and 2005 more than 2
Here is the SQLite query to answer to the question: Name the average 2008 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_86 (to_par VARCHAR, runner_s__up VARCHAR)
Question: What is the To par when fredrik andersson hed was runner-up?
[/INST]
Here is the SQLite query to answ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (to_par VARCHAR, runner_s__up VARCHAR)
Question: What is the To par when fredrik andersson hed was runner-up?
Here is the SQLite query to answer to the que... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Companies (Profits_billion INTEGER)
Question: What are the average profits of companies?
[/INST]
Here is the SQLite query to answer to the question: What are the av... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Companies (Profits_billion INTEGER)
Question: What are the average profits of companies?
Here is the SQLite query to answer to the question: What are the average profits... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (opponent VARCHAR, score VARCHAR)
Question: Which Opponent has a Score of 2–6?
[/INST]
Here is the SQLite query to answer to the question: Which Oppon... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (opponent VARCHAR, score VARCHAR)
Question: Which Opponent has a Score of 2–6?
Here is the SQLite query to answer to the question: Which Opponent has a Sco... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21311525_1 (round VARCHAR, date VARCHAR)
Question: What is the round number for the date 19/06/2009?
[/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_21311525_1 (round VARCHAR, date VARCHAR)
Question: What is the round number for the date 19/06/2009?
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_38 (date VARCHAR, ownership VARCHAR)
Question: What is the Date of the castle with a Historic Scotland Ownership?
[/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_38 (date VARCHAR, ownership VARCHAR)
Question: What is the Date of the castle with a Historic Scotland Ownership?
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_79 (cabinet VARCHAR, chair VARCHAR, fractievoorzitter VARCHAR, year VARCHAR, lijsttrekker VARCHAR)
Question: What is Cabinet, when Year is before 2001, w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (cabinet VARCHAR, chair VARCHAR, fractievoorzitter VARCHAR, year VARCHAR, lijsttrekker VARCHAR)
Question: What is Cabinet, when Year is before 2001, when Li... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2668401_12 (incumbent VARCHAR, candidates VARCHAR)
Question: Name the incumbent for candidates Joseph Hiester (dr) 83.2% Roswell Wells (f) 16.8%.
[/INST]
Here... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2668401_12 (incumbent VARCHAR, candidates VARCHAR)
Question: Name the incumbent for candidates Joseph Hiester (dr) 83.2% Roswell Wells (f) 16.8%.
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_name_53 (attendance VARCHAR, opponent VARCHAR)
Question: What is the Attendance of the game against Jacksonville Jaguars?
[/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_53 (attendance VARCHAR, opponent VARCHAR)
Question: What is the Attendance of the game against Jacksonville Jaguars?
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_1067441_1 (area__km²_ INTEGER, density VARCHAR)
Question: What is the area of the place that has a population density of 331.4?
[/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_1067441_1 (area__km²_ INTEGER, density VARCHAR)
Question: What is the area of the place that has a population density of 331.4?
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_36 (club VARCHAR, head_coach VARCHAR)
Question: Head Coach casemiro mior is at which Club?
[/INST]
Here is the SQLite query to answer to the question: He... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (club VARCHAR, head_coach VARCHAR)
Question: Head Coach casemiro mior is at which Club?
Here is the SQLite query to answer to the question: Head Coach case... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24233848_2 (vote VARCHAR, eliminated VARCHAR)
Question: Name the vote for thiago
[/INST]
Here is the SQLite query to answer to the question: Name the vote for... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24233848_2 (vote VARCHAR, eliminated VARCHAR)
Question: Name the vote for thiago
Here is the SQLite query to answer to the question: Name the vote for thiago:
```
... | bugdaryan/sql-create-context-instruction | |
[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 (country VARCHAR, winter_olympics VARCHAR)
Question: Which Country has a Winter Olympics of 1948?
[/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_28 (country VARCHAR, winter_olympics VARCHAR)
Question: Which Country has a Winter Olympics of 1948?
Here is the SQLite query to answer to the question: Which... | bugdaryan/sql-create-context-instruction | |
[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 (lost INTEGER, played INTEGER)
Question: What is the average lost of games played of more than 9?
[/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 (lost INTEGER, played INTEGER)
Question: What is the average lost of games played of more than 9?
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_96 (height VARCHAR, club VARCHAR)
Question: What is the height for the Oakville Gymnastics Club?
[/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_96 (height VARCHAR, club VARCHAR)
Question: What is the height for the Oakville Gymnastics Club?
Here is the SQLite query to answer to the question: What is t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24062944_2 (world_record VARCHAR, kenenisa_bekele___eth__ VARCHAR)
Question: How many times is kenenisa bekele ( eth ) is marílson gomes dos santos ( bra )?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24062944_2 (world_record VARCHAR, kenenisa_bekele___eth__ VARCHAR)
Question: How many times is kenenisa bekele ( eth ) is marílson gomes dos santos ( bra )?
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_36 (rider VARCHAR, grid VARCHAR)
Question: Who has 37 grids?
[/INST]
Here is the SQLite query to answer to the question: Who has 37 grids?:
```
SELECT ri... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (rider VARCHAR, grid VARCHAR)
Question: Who has 37 grids?
Here is the SQLite query to answer to the question: Who has 37 grids?:
```
SELECT rider FROM tabl... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20745444_1 (date VARCHAR, record VARCHAR)
Question: What was the date when the record was 1-0?
[/INST]
Here is the SQLite query to answer to the question: Wha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20745444_1 (date VARCHAR, record VARCHAR)
Question: What was the date when the record was 1-0?
Here is the SQLite query to answer to the question: What was the dat... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10592536_8 (replaced_by VARCHAR, position_in_table VARCHAR)
Question: Who replaced when position in table is pre-season?
[/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_10592536_8 (replaced_by VARCHAR, position_in_table VARCHAR)
Question: Who replaced when position in table is pre-season?
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_12 (attendance VARCHAR, date VARCHAR)
Question: what is the attendance when the date is october 22, 2000?
[/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_12 (attendance VARCHAR, date VARCHAR)
Question: what is the attendance when the date is october 22, 2000?
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_1140076_2 (pole_position VARCHAR, fastest_lap VARCHAR, constructor VARCHAR)
Question: What is the pole position for the race with the fastest lap by Nelson Pi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1140076_2 (pole_position VARCHAR, fastest_lap VARCHAR, constructor VARCHAR)
Question: What is the pole position for the race with the fastest lap by Nelson Piquet 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_96 (record VARCHAR, date VARCHAR)
Question: Which record has a Date of april 25?
[/INST]
Here is the SQLite query to answer to the question: Which record... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (record VARCHAR, date VARCHAR)
Question: Which record has a Date of april 25?
Here is the SQLite query to answer to the question: Which record has a Date o... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (caps VARCHAR, position VARCHAR, player VARCHAR)
Question: Paddy Wallace who plays the position of fly-half has how many Caps?
[/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_97 (caps VARCHAR, position VARCHAR, player VARCHAR)
Question: Paddy Wallace who plays the position of fly-half has how many Caps?
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_1341598_44 (first_elected INTEGER, candidates VARCHAR)
Question: What year were the election results tom loeffler (r) 80.6% joe sullivan (d) 19.4%?
[/INST]
He... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1341598_44 (first_elected INTEGER, candidates VARCHAR)
Question: What year were the election results tom loeffler (r) 80.6% joe sullivan (d) 19.4%?
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_92 (date VARCHAR, location_attendance VARCHAR)
Question: What was the date for the game that had a Location/Attendance of the spectrum?
[/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_92 (date VARCHAR, location_attendance VARCHAR)
Question: What was the date for the game that had a Location/Attendance of the spectrum?
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_69 (position INTEGER, points VARCHAR, equipment VARCHAR)
Question: What is the average position for a driver with less than 54 points and husaberg-bsu as... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (position INTEGER, points VARCHAR, equipment VARCHAR)
Question: What is the average position for a driver with less than 54 points and husaberg-bsu as equip... | bugdaryan/sql-create-context-instruction | |
[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 (grid INTEGER, constructor VARCHAR, driver VARCHAR)
Question: I want the highest Grid for Toyota and jarno trulli
[/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_95 (grid INTEGER, constructor VARCHAR, driver VARCHAR)
Question: I want the highest Grid for Toyota and jarno trulli
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_6 (average VARCHAR, caps VARCHAR, scotland_career VARCHAR)
Question: What is the average cap number in scotland in 1986–1998 leass than 69?
[/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_6 (average VARCHAR, caps VARCHAR, scotland_career VARCHAR)
Question: What is the average cap number in scotland in 1986–1998 leass than 69?
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_25220821_4 (thurs_3_june VARCHAR, wed_2_june VARCHAR)
Question: What is the 3 June time for the rider with 2 June time of 17' 45.11 127.525mph?
[/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_25220821_4 (thurs_3_june VARCHAR, wed_2_june VARCHAR)
Question: What is the 3 June time for the rider with 2 June time of 17' 45.11 127.525mph?
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_46 (sport VARCHAR, club VARCHAR)
Question: What sport is the cb estudiantes club in?
[/INST]
Here is the SQLite query to answer to the question: What spo... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (sport VARCHAR, club VARCHAR)
Question: What sport is the cb estudiantes club in?
Here is the SQLite query to answer to the question: What sport is the cb ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (title VARCHAR, doctor VARCHAR, published VARCHAR)
Question: What title was published on November 2001 and has a 1st Doctor?
[/INST]
Here is the SQLit... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (title VARCHAR, doctor VARCHAR, published VARCHAR)
Question: What title was published on November 2001 and has a 1st Doctor?
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_67 (district VARCHAR, result VARCHAR, incumbent VARCHAR)
Question: Which district has a retired republican hold and an incumbent of rufus p. spalding?
[/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (district VARCHAR, result VARCHAR, incumbent VARCHAR)
Question: Which district has a retired republican hold and an incumbent of rufus p. spalding?
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_99 (average INTEGER, interview VARCHAR, swimsuit VARCHAR)
Question: Name the sum of average for interview more than 9.57 and swimsuit more than 9.65
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (average INTEGER, interview VARCHAR, swimsuit VARCHAR)
Question: Name the sum of average for interview more than 9.57 and swimsuit more than 9.65
Here is t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (completions VARCHAR, yards VARCHAR)
Question: Which Completions has Yards of 10,098?
[/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_36 (completions VARCHAR, yards VARCHAR)
Question: Which Completions has Yards of 10,098?
Here is the SQLite query to answer to the question: Which Completions... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1606824_1 (pop_density_people_km_2 VARCHAR, population__percentage_of_eu VARCHAR)
Question: Name the population density people where population % eu for 1.7%
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1606824_1 (pop_density_people_km_2 VARCHAR, population__percentage_of_eu VARCHAR)
Question: Name the population density people where population % eu for 1.7%
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_name_46 (replica VARCHAR, race VARCHAR)
Question: What Replica has a race of supersport race 1?
[/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_46 (replica VARCHAR, race VARCHAR)
Question: What Replica has a race of supersport race 1?
Here is the SQLite query to answer to the question: What Replica 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_name_87 (loss VARCHAR, score VARCHAR)
Question: What was the Loss that had a Score of 9-1?
[/INST]
Here is the SQLite query to answer to the question: What wa... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_87 (loss VARCHAR, score VARCHAR)
Question: What was the Loss that had a Score of 9-1?
Here is the SQLite query to answer to the question: What was the Loss 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_96 (parent VARCHAR, order VARCHAR)
Question: Who was the parent on the order of 6?
[/INST]
Here is the SQLite query to answer to the question: Who was th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (parent VARCHAR, order VARCHAR)
Question: Who was the parent on the order of 6?
Here is the SQLite query to answer to the question: Who was the parent on 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_1 (class VARCHAR, no_built VARCHAR, operator VARCHAR)
Question: What class has less than 12 numbers built operated by southern?
[/INST]
Here is the SQLit... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (class VARCHAR, no_built VARCHAR, operator VARCHAR)
Question: What class has less than 12 numbers built operated by southern?
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_86 (bronze VARCHAR, rank VARCHAR, gold VARCHAR)
Question: What is the sum number of bronzes when the rank is less than 2 and the gold is less than 1?
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (bronze VARCHAR, rank VARCHAR, gold VARCHAR)
Question: What is the sum number of bronzes when the rank is less than 2 and the gold is less than 1?
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_11303072_9 (player VARCHAR, rank VARCHAR)
Question: What are the players whose rank is 2?
[/INST]
Here is the SQLite query to answer to the question: What are... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11303072_9 (player VARCHAR, rank VARCHAR)
Question: What are the players whose rank is 2?
Here is the SQLite query to answer to the question: What are the players ... | bugdaryan/sql-create-context-instruction | |
[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 (winning_score VARCHAR, runner_s__up VARCHAR)
Question: What was the Winning Score when Betsy Rawls was the Runner(s)-up?
[/INST]
Here is the SQLite q... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (winning_score VARCHAR, runner_s__up VARCHAR)
Question: What was the Winning Score when Betsy Rawls was the Runner(s)-up?
Here is the SQLite query to answe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17319931_1 (team VARCHAR, driver VARCHAR)
Question: What is the team whose driver Jeff Simmons?
[/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_17319931_1 (team VARCHAR, driver VARCHAR)
Question: What is the team whose driver Jeff Simmons?
Here is the SQLite query to answer to the question: What is the tea... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (rank INTEGER, time VARCHAR)
Question: What is the rank for the team with a Time of 1:12.40.28?
[/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_94 (rank INTEGER, time VARCHAR)
Question: What is the rank for the team with a Time of 1:12.40.28?
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_81 (time_retired VARCHAR, driver VARCHAR)
Question: what is the time/retired when the driver is toulo de graffenried?
[/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_81 (time_retired VARCHAR, driver VARCHAR)
Question: what is the time/retired when the driver is toulo de graffenried?
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_37 (composition VARCHAR, founded VARCHAR)
Question: What composition was founded in 1976?
[/INST]
Here is the SQLite query to answer to the question: Wha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (composition VARCHAR, founded VARCHAR)
Question: What composition was founded in 1976?
Here is the SQLite query to answer to the question: What composition... | bugdaryan/sql-create-context-instruction | |
[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 (notes VARCHAR, builder VARCHAR, total VARCHAR)
Question: What are the notes for Ford when the total is 5?
[/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_23 (notes VARCHAR, builder VARCHAR, total VARCHAR)
Question: What are the notes for Ford when the total is 5?
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_49 (drawn VARCHAR, points_for VARCHAR, points_against VARCHAR)
Question: What drawn has 416 as the points for and 533 as the points against?
[/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_49 (drawn VARCHAR, points_for VARCHAR, points_against VARCHAR)
Question: What drawn has 416 as the points for and 533 as the points against?
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_18600760_2 (pop__2010_ VARCHAR, water__sqmi_ VARCHAR)
Question: how many townships where pop (2010) and ater is 0.818
[/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_18600760_2 (pop__2010_ VARCHAR, water__sqmi_ VARCHAR)
Question: how many townships where pop (2010) and ater is 0.818
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_11677100_15 (mlb_draft VARCHAR, hometown VARCHAR)
Question: How many players were from high point, nc?
[/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_11677100_15 (mlb_draft VARCHAR, hometown VARCHAR)
Question: How many players were from high point, nc?
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_84 (against VARCHAR, wins INTEGER)
Question: How many Againsts have more than 15 wins?
[/INST]
Here is the SQLite query to answer to the question: How ma... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (against VARCHAR, wins INTEGER)
Question: How many Againsts have more than 15 wins?
Here is the SQLite query to answer to the question: How many Againsts 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_14 (date VARCHAR, venue VARCHAR, opponent VARCHAR)
Question: When did they play the swindon wildcats away?
[/INST]
Here is the SQLite query to answer to ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (date VARCHAR, venue VARCHAR, opponent VARCHAR)
Question: When did they play the swindon wildcats away?
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_12 (finish VARCHAR, total VARCHAR)
Question: Which Finish has a Total of 288?
[/INST]
Here is the SQLite query to answer to the question: Which Finish ha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (finish VARCHAR, total VARCHAR)
Question: Which Finish has a Total of 288?
Here is the SQLite query to answer to the question: Which Finish has a Total of ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1342338_5 (candidates VARCHAR, incumbent VARCHAR)
Question: Who ran in the election where Claude Fuller was the incumbent?
[/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_1342338_5 (candidates VARCHAR, incumbent VARCHAR)
Question: Who ran in the election where Claude Fuller was the incumbent?
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_name_33 (home_team VARCHAR, away_team VARCHAR)
Question: What home team had an away team of Aston Villa?
[/INST]
Here is the SQLite query to answer to the que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (home_team VARCHAR, away_team VARCHAR)
Question: What home team had an away team of Aston Villa?
Here is the SQLite query to answer to the question: What 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_67 (round INTEGER, player VARCHAR)
Question: What is the highest round played by Chris Phillips?
[/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_67 (round INTEGER, player VARCHAR)
Question: What is the highest round played by Chris Phillips?
Here is the SQLite query to answer to the question: What is t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13258806_2 (attendance VARCHAR, result VARCHAR)
Question: What was the attendance at the game that resulted in w 24-20?
[/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_13258806_2 (attendance VARCHAR, result VARCHAR)
Question: What was the attendance at the game that resulted in w 24-20?
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 city (Official_Name VARCHAR, City_ID VARCHAR); CREATE TABLE farm_competition (Year VARCHAR, Host_city_ID VARCHAR)
Question: Show the years and the official names of... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE city (Official_Name VARCHAR, City_ID VARCHAR); CREATE TABLE farm_competition (Year VARCHAR, Host_city_ID VARCHAR)
Question: Show the years and the official names of 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_2 (away_team VARCHAR)
Question: When Richmond is the Away team, what did they score?
[/INST]
Here is the SQLite query to answer to the question: When Ric... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (away_team VARCHAR)
Question: When Richmond is the Away team, what did they score?
Here is the SQLite query to answer to the question: When Richmond 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 mission (Fate VARCHAR, Ship_ID VARCHAR); CREATE TABLE ship (Ship_ID VARCHAR, Nationality VARCHAR)
Question: Show the distinct fate of missions that involve ships wi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE mission (Fate VARCHAR, Ship_ID VARCHAR); CREATE TABLE ship (Ship_ID VARCHAR, Nationality VARCHAR)
Question: Show the distinct fate of missions that involve ships with nat... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28582091_2 (title VARCHAR, production_code VARCHAR)
Question: What was the title of the episode with production code 2J5515?
[/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_28582091_2 (title VARCHAR, production_code VARCHAR)
Question: What was the title of the episode with production code 2J5515?
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_2012187_1 (wins VARCHAR, top_10 VARCHAR)
Question: state the wins of the team with 2 top 10
[/INST]
Here is the SQLite query to answer to the question: state ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2012187_1 (wins VARCHAR, top_10 VARCHAR)
Question: state the wins of the team with 2 top 10
Here is the SQLite query to answer to the question: state the wins of t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (attendance VARCHAR, date VARCHAR)
Question: What was the attendance of the game on December 11, 2005?
[/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_82 (attendance VARCHAR, date VARCHAR)
Question: What was the attendance of the game on December 11, 2005?
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_72 (highest_score INTEGER, dance VARCHAR, lowest_score VARCHAR)
Question: What is the lowest of the Highest score for the Quickstep Dance and the Lowest ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (highest_score INTEGER, dance VARCHAR, lowest_score VARCHAR)
Question: What is the lowest of the Highest score for the Quickstep Dance and the Lowest score ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (song_title VARCHAR, chart_peak VARCHAR, track VARCHAR)
Question: What was the title of the song that peaked the charts at #1 with track 20?
[/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_78 (song_title VARCHAR, chart_peak VARCHAR, track VARCHAR)
Question: What was the title of the song that peaked the charts at #1 with track 20?
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_35 (venue VARCHAR, event VARCHAR, tournament VARCHAR)
Question: What was the venue of the 400 M Hurdles for the Olympic Games?
[/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_35 (venue VARCHAR, event VARCHAR, tournament VARCHAR)
Question: What was the venue of the 400 M Hurdles for the Olympic Games?
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_90 (height_ft__m_ VARCHAR, name VARCHAR)
Question: What is the height in ft and m of the regions bank building?
[/INST]
Here is the SQLite query to answe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (height_ft__m_ VARCHAR, name VARCHAR)
Question: What is the height in ft and m of the regions bank building?
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_63 (score_in_the_final VARCHAR, date VARCHAR)
Question: Name the score in the final for january 12, 2013
[/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_63 (score_in_the_final VARCHAR, date VARCHAR)
Question: Name the score in the final for january 12, 2013
Here is the SQLite query to answer to the question: N... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1965650_4 (nationality VARCHAR, college_junior_club_team VARCHAR)
Question: What's the nationality of the player coming from Edmonton Oil Kings (WCHL)?
[/INST... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1965650_4 (nationality VARCHAR, college_junior_club_team VARCHAR)
Question: What's the nationality of the player coming from Edmonton Oil Kings (WCHL)?
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_39 (result VARCHAR, team VARCHAR)
Question: I want the result for team of giants
[/INST]
Here is the SQLite query to answer to the question: I want 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_39 (result VARCHAR, team VARCHAR)
Question: I want the result for team of giants
Here is the SQLite query to answer to the question: I want the result for tea... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (result VARCHAR, week VARCHAR)
Question: What was the Result on Week 8?
[/INST]
Here is the SQLite query to answer to the question: What was the Resul... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (result VARCHAR, week VARCHAR)
Question: What was the Result on Week 8?
Here is the SQLite query to answer to the question: What was the Result on Week 8?:... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (chassis VARCHAR, year INTEGER)
Question: What is the chassis more recent than 1967?
[/INST]
Here is the SQLite query to answer to the question: What ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (chassis VARCHAR, year INTEGER)
Question: What is the chassis more recent than 1967?
Here is the SQLite query to answer to the question: What is the chassi... | bugdaryan/sql-create-context-instruction | |
[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 (song_title VARCHAR, writer_s_ VARCHAR)
Question: What song title was written by Kal Mann and Bernie Lowe?
[/INST]
Here is the SQLite query to answer ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (song_title VARCHAR, writer_s_ VARCHAR)
Question: What song title was written by Kal Mann and Bernie Lowe?
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_22916979_5 (rank VARCHAR, densest_incorporated_place VARCHAR)
Question: Name the number of rank for stone park
[/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_22916979_5 (rank VARCHAR, densest_incorporated_place VARCHAR)
Question: Name the number of rank for stone park
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 Courses (course_name VARCHAR, course_id VARCHAR); CREATE TABLE Student_Course_Enrolment (course_id VARCHAR)
Question: What is the name of each course and the corres... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Courses (course_name VARCHAR, course_id VARCHAR); CREATE TABLE Student_Course_Enrolment (course_id VARCHAR)
Question: What is the name of each course and the correspondin... | bugdaryan/sql-create-context-instruction | |
[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 (round VARCHAR, college VARCHAR)
Question: What round did the College of Minnesota pick?
[/INST]
Here is the SQLite query to answer to the question: W... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (round VARCHAR, college VARCHAR)
Question: What round did the College of Minnesota pick?
Here is the SQLite query to answer to the question: What round did... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (date VARCHAR, loss VARCHAR)
Question: What was the date of the game that had a loss of Burns (0-1)?
[/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_85 (date VARCHAR, loss VARCHAR)
Question: What was the date of the game that had a loss of Burns (0-1)?
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_96 (label VARCHAR, catalog VARCHAR)
Question: What is the label for catalog number CRG3P-90054?
[/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_96 (label VARCHAR, catalog VARCHAR)
Question: What is the label for catalog number CRG3P-90054?
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_22879323_6 (high_assists VARCHAR, record VARCHAR)
Question: When the record was 2-29 who had the most assists?
[/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_22879323_6 (high_assists VARCHAR, record VARCHAR)
Question: When the record was 2-29 who had the most assists?
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_14 (opponent VARCHAR, date VARCHAR)
Question: Which opponent has September 14, 2003 as the date?
[/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_14 (opponent VARCHAR, date VARCHAR)
Question: Which opponent has September 14, 2003 as the date?
Here is the SQLite query to answer to the question: Which opp... | 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.