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 book (Id VARCHAR)
Question: How many books are there?
[/INST]
Here is the SQLite query to answer to the question: How many books are there?:
```
SELECT COUNT(*) FRO... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE book (Id VARCHAR)
Question: How many books are there?
Here is the SQLite query to answer to the question: How many books are there?:
```
SELECT COUNT(*) FROM book
``` | bugdaryan/sql-create-context-instruction | |
[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 (team_2 VARCHAR)
Question: What was the 2nd leg where the team 2 was budoni (sardinia)?
[/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_4 (team_2 VARCHAR)
Question: What was the 2nd leg where the team 2 was budoni (sardinia)?
Here is the SQLite query to answer to the question: What was the 2nd... | bugdaryan/sql-create-context-instruction | |
[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 (overall INTEGER, name VARCHAR, round VARCHAR)
Question: Which Overall is the highest one that has a Name of daimon shelton, and a Round larger than 6... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (overall INTEGER, name VARCHAR, round VARCHAR)
Question: Which Overall is the highest one that has a Name of daimon shelton, and a Round larger than 6?
Her... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (against INTEGER, losses VARCHAR, byes VARCHAR)
Question: What is the total number of against when they had 14 losses and more than 0 byes?
[/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_34 (against INTEGER, losses VARCHAR, byes VARCHAR)
Question: What is the total number of against when they had 14 losses and more than 0 byes?
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_65 (school VARCHAR, year VARCHAR, event VARCHAR)
Question: What is School, when Year is less than 2013, and when Event is "100 Breaststroke"?
[/INST]
Her... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (school VARCHAR, year VARCHAR, event VARCHAR)
Question: What is School, when Year is less than 2013, and when Event is "100 Breaststroke"?
Here is the SQLi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (cuts_made INTEGER, events INTEGER)
Question: What is the sum of Cuts made when there were more than 72 events?
[/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_95 (cuts_made INTEGER, events INTEGER)
Question: What is the sum of Cuts made when there were more than 72 events?
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_57 (launched VARCHAR, builder VARCHAR)
Question: what is the launched date when the builder is john brown, clydebank?
[/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_57 (launched VARCHAR, builder VARCHAR)
Question: what is the launched date when the builder is john brown, clydebank?
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_15624586_2 (uranium_required_2006_08 VARCHAR, country VARCHAR)
Question: How much uranium did Russia use in 2006 to 2008?
[/INST]
Here is the SQLite query to ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15624586_2 (uranium_required_2006_08 VARCHAR, country VARCHAR)
Question: How much uranium did Russia use in 2006 to 2008?
Here is the SQLite query to answer to the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_44 (pick__number INTEGER, round VARCHAR, position VARCHAR, college VARCHAR)
Question: A Round larger than 1, a College of Oklahoma state, and a average P... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_44 (pick__number INTEGER, round VARCHAR, position VARCHAR, college VARCHAR)
Question: A Round larger than 1, a College of Oklahoma state, and a average Pick # ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_44 (image_attachment VARCHAR, threaded VARCHAR, calendar VARCHAR)
Question: Which Image attachment has a Threaded of yes, and a Calendar of yes?
[/INST]
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_44 (image_attachment VARCHAR, threaded VARCHAR, calendar VARCHAR)
Question: Which Image attachment has a Threaded of yes, and a Calendar of yes?
Here is the S... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (friendly VARCHAR, germany VARCHAR)
Question: What is the friendly game for Germany of France?
[/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_58 (friendly VARCHAR, germany VARCHAR)
Question: What is the friendly game for Germany of France?
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_21 (round INTEGER, name VARCHAR)
Question: What was the lowest round for Paul Hubbard?
[/INST]
Here is the SQLite query to answer to the question: What w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (round INTEGER, name VARCHAR)
Question: What was the lowest round for Paul Hubbard?
Here is the SQLite query to answer to the question: What was the lowest... | bugdaryan/sql-create-context-instruction | |
[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 (displacement__cc_ INTEGER, model VARCHAR)
Question: What is the highest displacement value for the R Fwd Auto Phase1?
[/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_12 (displacement__cc_ INTEGER, model VARCHAR)
Question: What is the highest displacement value for the R Fwd Auto Phase1?
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_62 (week VARCHAR, air_date VARCHAR)
Question: Which Week has an Air Date of august 2, 2008?
[/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_62 (week VARCHAR, air_date VARCHAR)
Question: Which Week has an Air Date of august 2, 2008?
Here is the SQLite query to answer to the question: Which Week 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_23915973_1 (branding VARCHAR, power_kw VARCHAR)
Question: What is the radio station branding when the power km is 5kw?
[/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_23915973_1 (branding VARCHAR, power_kw VARCHAR)
Question: What is the radio station branding when the power km is 5kw?
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_34 (position VARCHAR, round VARCHAR, school_club_team VARCHAR)
Question: Which Position has a Round of 4, and a School/Club Team of concordia?
[/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_34 (position VARCHAR, round VARCHAR, school_club_team VARCHAR)
Question: Which Position has a Round of 4, and a School/Club Team of concordia?
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_47 (country VARCHAR, player VARCHAR)
Question: what country has tiger woods
[/INST]
Here is the SQLite query to answer to the question: what country has ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (country VARCHAR, player VARCHAR)
Question: what country has tiger woods
Here is the SQLite query to answer to the question: what country has tiger woods:
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE film (title VARCHAR)
Question: How many films have the word 'Dummy' in their titles?
[/INST]
Here is the SQLite query to answer to the question: How many films have... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE film (title VARCHAR)
Question: How many films have the word 'Dummy' in their titles?
Here is the SQLite query to answer to the question: How many films have the word 'Du... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (no_2 VARCHAR, no_9 VARCHAR)
Question: What is No. 2, when No. 9 is Mia?
[/INST]
Here is the SQLite query to answer to the question: What is No. 2, wh... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (no_2 VARCHAR, no_9 VARCHAR)
Question: What is No. 2, when No. 9 is Mia?
Here is the SQLite query to answer to the question: What is No. 2, when No. 9 is M... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE browser (id VARCHAR, name VARCHAR); CREATE TABLE accelerator_compatible_browser (browser_id VARCHAR)
Question: What is the id and name of the browser that is compat... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE browser (id VARCHAR, name VARCHAR); CREATE TABLE accelerator_compatible_browser (browser_id VARCHAR)
Question: What is the id and name of the browser that is compatible 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_39 (result VARCHAR, competition VARCHAR)
Question: What was the result of the 2007 gulf cup of nations?
[/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_39 (result VARCHAR, competition VARCHAR)
Question: What was the result of the 2007 gulf cup of nations?
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_22577693_1 (winner VARCHAR, final_venue VARCHAR)
Question: Who was the winner if the final venue is Kowloon Cricket Club?
[/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_22577693_1 (winner VARCHAR, final_venue VARCHAR)
Question: Who was the winner if the final venue is Kowloon Cricket Club?
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_47 (home VARCHAR, date VARCHAR)
Question: Who was the home team on November 22?
[/INST]
Here is the SQLite query to answer to the question: Who was the h... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (home VARCHAR, date VARCHAR)
Question: Who was the home team on November 22?
Here is the SQLite query to answer to the question: Who was the home team on 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_name_24 (south VARCHAR, west VARCHAR, east VARCHAR)
Question: What is the south with ev lindau as the west and svg burgkirchen as the east?
[/INST]
Here is th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (south VARCHAR, west VARCHAR, east VARCHAR)
Question: What is the south with ev lindau as the west and svg burgkirchen as the east?
Here is the SQLite quer... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (game INTEGER, score VARCHAR, record VARCHAR)
Question: Score of 118β114, and a Record of 8β1 is what lowest game?
[/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_64 (game INTEGER, score VARCHAR, record VARCHAR)
Question: Score of 118β114, and a Record of 8β1 is what lowest game?
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_51 (sales INTEGER, album_title VARCHAR)
Question: What is the highest sales All Saints had?
[/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_51 (sales INTEGER, album_title VARCHAR)
Question: What is the highest sales All Saints had?
Here is the SQLite query to answer to the question: What is the hi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15430813_1 (original_air_date VARCHAR, no_in_season VARCHAR)
Question: How many original air dates were there for episode 17?
[/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_15430813_1 (original_air_date VARCHAR, no_in_season VARCHAR)
Question: How many original air dates were there for episode 17?
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_10015132_9 (no VARCHAR, years_in_toronto VARCHAR)
Question: What are the total amount of numbers on the Toronto team in 2005-06?
[/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_10015132_9 (no VARCHAR, years_in_toronto VARCHAR)
Question: What are the total amount of numbers on the Toronto team in 2005-06?
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_16527640_2 (rank_held_at_time_of_death VARCHAR, player VARCHAR)
Question: How many players named paddy rowan?
[/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_16527640_2 (rank_held_at_time_of_death VARCHAR, player VARCHAR)
Question: How many players named paddy rowan?
Here is the SQLite query to answer to the question: H... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (location VARCHAR, district VARCHAR, station_number VARCHAR)
Question: What is the location of the station at Huntingdonshire with a station 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_85 (location VARCHAR, district VARCHAR, station_number VARCHAR)
Question: What is the location of the station at Huntingdonshire with a station number of c17?
... | bugdaryan/sql-create-context-instruction | |
[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 (i_o_bus VARCHAR, socket VARCHAR)
Question: What is I/O bus when socket is socket g1bga-1288?
[/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_46 (i_o_bus VARCHAR, socket VARCHAR)
Question: What is I/O bus when socket is socket g1bga-1288?
Here is the SQLite query to answer to the question: What is 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_5 (rider VARCHAR, manufacturer VARCHAR, grid VARCHAR)
Question: Who is the driver of the car manufactured by ktm, who started in grid 1.
[/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_5 (rider VARCHAR, manufacturer VARCHAR, grid VARCHAR)
Question: Who is the driver of the car manufactured by ktm, who started in grid 1.
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_30 (bronze INTEGER, rank VARCHAR, total VARCHAR)
Question: What is the lowest Bronze with a 17 Rank and a Total less than 5
[/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_30 (bronze INTEGER, rank VARCHAR, total VARCHAR)
Question: What is the lowest Bronze with a 17 Rank and a Total less than 5
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 student (name VARCHAR, id VARCHAR); CREATE TABLE course (course_id VARCHAR, title VARCHAR); CREATE TABLE prereq (prereq_id VARCHAR, course_id VARCHAR); CREATE TABLE take... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE student (name VARCHAR, id VARCHAR); CREATE TABLE course (course_id VARCHAR, title VARCHAR); CREATE TABLE prereq (prereq_id VARCHAR, course_id VARCHAR); CREATE TABLE takes (id ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27369069_4 (soccer_stadium VARCHAR, varsity_name VARCHAR)
Question: What is the soccer stadium with the varsity name is citadins?
[/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_27369069_4 (soccer_stadium VARCHAR, varsity_name VARCHAR)
Question: What is the soccer stadium with the varsity name is citadins?
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_name_7 (place VARCHAR, score VARCHAR)
Question: Which Place has a Score of 71-70=141?
[/INST]
Here is the SQLite query to answer to the question: Which Place ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (place VARCHAR, score VARCHAR)
Question: Which Place has a Score of 71-70=141?
Here is the SQLite query to answer to the question: Which Place has a Score 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_77 (date VARCHAR, score VARCHAR)
Question: What's the date when the score was 690.3?
[/INST]
Here is the SQLite query to answer to the question: What's t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (date VARCHAR, score VARCHAR)
Question: What's the date when the score was 690.3?
Here is the SQLite query to answer to the question: What's the date 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_26920192_5 (fastest_lap VARCHAR, winning_driver VARCHAR)
Question: Who had the fastest lap when the winning driver is giorgio sanna?
[/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_26920192_5 (fastest_lap VARCHAR, winning_driver VARCHAR)
Question: Who had the fastest lap when the winning driver is giorgio sanna?
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_89 (year VARCHAR, chassis VARCHAR, points VARCHAR)
Question: Name the total number of year for chassis of kurtis kraft 4000 and points more than 2
[/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 (year VARCHAR, chassis VARCHAR, points VARCHAR)
Question: Name the total number of year for chassis of kurtis kraft 4000 and points more than 2
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_16225511_2 (wins VARCHAR, school VARCHAR)
Question: How many wins did Baylor have?
[/INST]
Here is the SQLite query to answer to the question: How many wins ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16225511_2 (wins VARCHAR, school VARCHAR)
Question: How many wins did Baylor have?
Here is the SQLite query to answer to the question: How many wins did Baylor 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_41 (points INTEGER, attendance VARCHAR, date VARCHAR)
Question: What's the sum of the points when attendance is 8,000 on february 22?
[/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_41 (points INTEGER, attendance VARCHAR, date VARCHAR)
Question: What's the sum of the points when attendance is 8,000 on february 22?
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_49 (opp_team VARCHAR, score VARCHAR)
Question: Who was the opposing team in the game with a score of 21-17?
[/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_49 (opp_team VARCHAR, score VARCHAR)
Question: Who was the opposing team in the game with a score of 21-17?
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_74 (elevator VARCHAR, elector VARCHAR)
Question: What's the elevator of Jacques D'euse?
[/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_74 (elevator VARCHAR, elector VARCHAR)
Question: What's the elevator of Jacques D'euse?
Here is the SQLite query to answer to the question: What's the elevato... | bugdaryan/sql-create-context-instruction | |
[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 (season VARCHAR, finals VARCHAR)
Question: Which Season has Finals of out of playoffs.?
[/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_88 (season VARCHAR, finals VARCHAR)
Question: Which Season has Finals of out of playoffs.?
Here is the SQLite query to answer to the question: Which Season 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_38 (opponent VARCHAR, competition VARCHAR, date VARCHAR)
Question: Which opponent is friendly and played on 15-08-2012?
[/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_38 (opponent VARCHAR, competition VARCHAR, date VARCHAR)
Question: Which opponent is friendly and played on 15-08-2012?
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_20 (group_a VARCHAR, region VARCHAR)
Question: What is the group A region with a region number of 2?
[/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_20 (group_a VARCHAR, region VARCHAR)
Question: What is the group A region with a region number of 2?
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 (area VARCHAR, authority VARCHAR, name VARCHAR)
Question: What is the area of Cromwell Primary school, which has a state authority?
[/INST]
Here is th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (area VARCHAR, authority VARCHAR, name VARCHAR)
Question: What is the area of Cromwell Primary school, which has a state authority?
Here is the SQLite quer... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (bronze VARCHAR, total VARCHAR, nation VARCHAR, gold VARCHAR, silver VARCHAR)
Question: How much Bronze has a Gold larger than 1, and a Silver smaller... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (bronze VARCHAR, total VARCHAR, nation VARCHAR, gold VARCHAR, silver VARCHAR)
Question: How much Bronze has a Gold larger than 1, and a Silver smaller than ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Addresses (address_id VARCHAR, zip_postcode VARCHAR); CREATE TABLE Teachers (email_address VARCHAR, address_id VARCHAR)
Question: What are the email addresses of te... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Addresses (address_id VARCHAR, zip_postcode VARCHAR); CREATE TABLE Teachers (email_address VARCHAR, address_id VARCHAR)
Question: What are the email addresses of teachers... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28859177_3 (original_air_date VARCHAR, directed_by VARCHAR, written_by VARCHAR)
Question: What is the original air date for episode graeme clifford directed a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28859177_3 (original_air_date VARCHAR, directed_by VARCHAR, written_by VARCHAR)
Question: What is the original air date for episode graeme clifford directed and lin... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (away_team VARCHAR, tie_no VARCHAR)
Question: What team was the Away team when the Tie no was 3?
[/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_55 (away_team VARCHAR, tie_no VARCHAR)
Question: What team was the Away team when the Tie no was 3?
Here is the SQLite query to answer to the question: What 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_47 (country VARCHAR, supermarkets VARCHAR)
Question: What country has 370 supermarkets?
[/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_47 (country VARCHAR, supermarkets VARCHAR)
Question: What country has 370 supermarkets?
Here is the SQLite query to answer to the question: What country has 3... | bugdaryan/sql-create-context-instruction | |
[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 (points INTEGER, chassis VARCHAR, year VARCHAR)
Question: What is the lowest amount of points held by the Epperly Indy roadster in 1959?
[/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_5 (points INTEGER, chassis VARCHAR, year VARCHAR)
Question: What is the lowest amount of points held by the Epperly Indy roadster in 1959?
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_58 (original_title VARCHAR, winner_and_nominees VARCHAR)
Question: What was the original title for the king's speech?
[/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_58 (original_title VARCHAR, winner_and_nominees VARCHAR)
Question: What was the original title for the king's speech?
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_59 (position VARCHAR, pick VARCHAR, player VARCHAR)
Question: What was the position of terry jones whose pick number was after 256?
[/INST]
Here is the S... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (position VARCHAR, pick VARCHAR, player VARCHAR)
Question: What was the position of terry jones whose pick number was after 256?
Here is the SQLite query t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Songs (Title VARCHAR, SongId VARCHAR); CREATE TABLE Performance (bandmate VARCHAR, SongId VARCHAR); CREATE TABLE Band (id VARCHAR, Lastname VARCHAR)
Question: Find ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Songs (Title VARCHAR, SongId VARCHAR); CREATE TABLE Performance (bandmate VARCHAR, SongId VARCHAR); CREATE TABLE Band (id VARCHAR, Lastname VARCHAR)
Question: Find all 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_43 (place VARCHAR, score VARCHAR, to_par VARCHAR)
Question: What place had a score smaller than 74 and a par of e?
[/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_43 (place VARCHAR, score VARCHAR, to_par VARCHAR)
Question: What place had a score smaller than 74 and a par of e?
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_2 (crowd VARCHAR, away_team VARCHAR)
Question: What was the crowd size for the game at Footscray?
[/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_2 (crowd VARCHAR, away_team VARCHAR)
Question: What was the crowd size for the game at Footscray?
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_49 (first_prize___ INTEGER, year VARCHAR)
Question: What was the top first place prize in 1997?
[/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_49 (first_prize___ INTEGER, year VARCHAR)
Question: What was the top first place prize in 1997?
Here is the SQLite query to answer to the question: What was 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_6 (losses INTEGER, against VARCHAR, wins VARCHAR, club VARCHAR)
Question: What is the sum of losses when wins is more than 6, club is camperdown and agai... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (losses INTEGER, against VARCHAR, wins VARCHAR, club VARCHAR)
Question: What is the sum of losses when wins is more than 6, club is camperdown and against 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 player (name_first VARCHAR, name_last VARCHAR, player_id VARCHAR); CREATE TABLE player_award (player_id VARCHAR)
Question: Which 3 players won the most player award... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE player (name_first VARCHAR, name_last VARCHAR, player_id VARCHAR); CREATE TABLE player_award (player_id VARCHAR)
Question: Which 3 players won the most player awards? Lis... | bugdaryan/sql-create-context-instruction | |
[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 (rank VARCHAR, nation VARCHAR)
Question: What is Denmark's rank?
[/INST]
Here is the SQLite query to answer to the question: What is Denmark's rank?:
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_87 (rank VARCHAR, nation VARCHAR)
Question: What is Denmark's rank?
Here is the SQLite query to answer to the question: What is Denmark's rank?:
```
SELECT ra... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (polyunsaturated_fat VARCHAR, saturated_fat VARCHAR)
Question: Name the polyunsaturated fat with a saturated fat of 25g
[/INST]
Here is the SQLite que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (polyunsaturated_fat VARCHAR, saturated_fat VARCHAR)
Question: Name the polyunsaturated fat with a saturated fat of 25g
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 PersonFriend (name VARCHAR, friend VARCHAR); CREATE TABLE Person (name VARCHAR, gender VARCHAR)
Question: Find the names of females who are friends with Zach
[/INST... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE PersonFriend (name VARCHAR, friend VARCHAR); CREATE TABLE Person (name VARCHAR, gender VARCHAR)
Question: Find the names of females who are friends with Zach
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_63 (date VARCHAR, tournament VARCHAR)
Question: What is the Date of the Rodez, France Tournament?
[/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_63 (date VARCHAR, tournament VARCHAR)
Question: What is the Date of the Rodez, France Tournament?
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 (date VARCHAR, terrain VARCHAR, stage VARCHAR)
Question: Which date has a Terrain of plain stage, and a Stage of 4?
[/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_name_34 (date VARCHAR, terrain VARCHAR, stage VARCHAR)
Question: Which date has a Terrain of plain stage, and a Stage of 4?
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_81 (drawn INTEGER, position VARCHAR, points VARCHAR, lost VARCHAR)
Question: what is the sum of drawn when points is less than 15, lost is 8 and position... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (drawn INTEGER, position VARCHAR, points VARCHAR, lost VARCHAR)
Question: what is the sum of drawn when points is less than 15, lost is 8 and position is mo... | bugdaryan/sql-create-context-instruction | |
[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 (ihsaa_class VARCHAR, school VARCHAR)
Question: What is the IHSAA class for Muncie Cowan?
[/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_27 (ihsaa_class VARCHAR, school VARCHAR)
Question: What is the IHSAA class for Muncie Cowan?
Here is the SQLite query to answer to the question: What is the 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_35 (to_par VARCHAR, score VARCHAR)
Question: What is the To par of the Player with a Score of 73-70-71-72=286?
[/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_35 (to_par VARCHAR, score VARCHAR)
Question: What is the To par of the Player with a Score of 73-70-71-72=286?
Here is the SQLite query to answer to the quest... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (total VARCHAR, bronze VARCHAR, host_city VARCHAR, gold VARCHAR)
Question: What's the Total for a Mexico City game with a Gold of less than 4 and a Bro... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (total VARCHAR, bronze VARCHAR, host_city VARCHAR, gold VARCHAR)
Question: What's the Total for a Mexico City game with a Gold of less than 4 and a Bronze 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_21 (date VARCHAR, race VARCHAR)
Question: On what date did Contac 12 Hours of Sebring take place?
[/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_21 (date VARCHAR, race VARCHAR)
Question: On what date did Contac 12 Hours of Sebring take place?
Here is the SQLite query to answer to the question: On what ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24431348_18 (points VARCHAR, seed VARCHAR)
Question: What the total amount of points won during seed 25?
[/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_24431348_18 (points VARCHAR, seed VARCHAR)
Question: What the total amount of points won during seed 25?
Here is the SQLite query to answer to the question: What 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_28 (to_par VARCHAR, player VARCHAR, total VARCHAR)
Question: What is the total number of To Par, when Player is "Julius Boros", and when Total is greater... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (to_par VARCHAR, player VARCHAR, total VARCHAR)
Question: What is the total number of To Par, when Player is "Julius Boros", and when Total is greater than ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27611593_5 (year INTEGER)
Question: When did the earliest tournament happened?
[/INST]
Here is the SQLite query to answer to the question: When did the earlie... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27611593_5 (year INTEGER)
Question: When did the earliest tournament happened?
Here is the SQLite query to answer to the question: When did the earliest tournament... | bugdaryan/sql-create-context-instruction | |
[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 (capacity INTEGER, city VARCHAR, stadium VARCHAR)
Question: Which Capacity has a City of london, and a Stadium of queen's club?
[/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_85 (capacity INTEGER, city VARCHAR, stadium VARCHAR)
Question: Which Capacity has a City of london, and a Stadium of queen's club?
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_29 (arranger VARCHAR, title VARCHAR)
Question: Who is the arranger for Ana Rouh?
[/INST]
Here is the SQLite query to answer to the question: Who is 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_29 (arranger VARCHAR, title VARCHAR)
Question: Who is the arranger for Ana Rouh?
Here is the SQLite query to answer to the question: Who is the arranger for 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_70 (bronze INTEGER, total VARCHAR, gold VARCHAR)
Question: How many bronze medals were won when the total was larger than 2 and the more than 2 gold meda... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (bronze INTEGER, total VARCHAR, gold VARCHAR)
Question: How many bronze medals were won when the total was larger than 2 and the more than 2 gold medals wer... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (result VARCHAR, game VARCHAR)
Question: Game of game 5 had what result?
[/INST]
Here is the SQLite query to answer to the question: Game of game 5 ha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (result VARCHAR, game VARCHAR)
Question: Game of game 5 had what result?
Here is the SQLite query to answer to the question: Game of game 5 had what result... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1346118_5 (district VARCHAR, candidates VARCHAR)
Question: Which district was the race between john i. nolan (r) 87% thomas f. feeley (s) 13%?
[/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_1346118_5 (district VARCHAR, candidates VARCHAR)
Question: Which district was the race between john i. nolan (r) 87% thomas f. feeley (s) 13%?
Here is the SQLite q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (screen_size VARCHAR, pixels VARCHAR, dimensions_wΓhΓd__mm_ VARCHAR)
Question: What is the screen size and pixel value when the dimensions are 115.5Γ83... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (screen_size VARCHAR, pixels VARCHAR, dimensions_wΓhΓd__mm_ VARCHAR)
Question: What is the screen size and pixel value when the dimensions are 115.5Γ83.7Γ102... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2077192_2 (french VARCHAR, english VARCHAR)
Question: What is the French translation for the English word "orange"?
[/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_2077192_2 (french VARCHAR, english VARCHAR)
Question: What is the French translation for the English word "orange"?
Here is the SQLite query to answer to the quest... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (record VARCHAR, date VARCHAR)
Question: On December 25, what was the record?
[/INST]
Here is the SQLite query to answer to the question: On December ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (record VARCHAR, date VARCHAR)
Question: On December 25, what was the record?
Here is the SQLite query to answer to the question: On December 25, 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_87 (field_goals INTEGER, touchdowns VARCHAR, player VARCHAR, points VARCHAR, extra_points VARCHAR)
Question: When Herb Graver played, how many field goal... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_87 (field_goals INTEGER, touchdowns VARCHAR, player VARCHAR, points VARCHAR, extra_points VARCHAR)
Question: When Herb Graver played, how many field goals were... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28730873_2 (charity VARCHAR, occupation VARCHAR)
Question: What is the charity for the celebrity with an occupation title of actor and singer?
[/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_28730873_2 (charity VARCHAR, occupation VARCHAR)
Question: What is the charity for the celebrity with an occupation title of actor and singer?
Here is the SQLite q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16570286_4 (player VARCHAR, best_bowling VARCHAR)
Question: How many players Bowled 4/125?
[/INST]
Here is the SQLite query to answer to the question: How man... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16570286_4 (player VARCHAR, best_bowling VARCHAR)
Question: How many players Bowled 4/125?
Here is the SQLite query to answer to the question: How many players Bow... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12094300_1 (interview VARCHAR, preliminaries VARCHAR)
Question: What is the score for interview when the preliminaries score is 8.425?
[/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_12094300_1 (interview VARCHAR, preliminaries VARCHAR)
Question: What is the score for interview when the preliminaries score is 8.425?
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_35 (team VARCHAR, score VARCHAR)
Question: What is the Team with a Score that is l 79β92 (ot)?
[/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_35 (team VARCHAR, score VARCHAR)
Question: What is the Team with a Score that is l 79β92 (ot)?
Here is the SQLite query to answer to the question: What is the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (home VARCHAR, score VARCHAR)
Question: What ist he Home with a Score that is 42-64?
[/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_69 (home VARCHAR, score VARCHAR)
Question: What ist he Home with a Score that is 42-64?
Here is the SQLite query to answer to the question: What ist he Home w... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (player VARCHAR, round VARCHAR)
Question: Who was the player in round 1?
[/INST]
Here is the SQLite query to answer to the question: Who was the playe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (player VARCHAR, round VARCHAR)
Question: Who was the player in round 1?
Here is the SQLite query to answer to the question: Who was the player in round 1?... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24122653_2 (episode VARCHAR, vote VARCHAR)
Question: What was the total number of episodes that had a 3-1 vote?
[/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_24122653_2 (episode VARCHAR, vote VARCHAR)
Question: What was the total number of episodes that had a 3-1 vote?
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_73 (wins VARCHAR, rank VARCHAR, player VARCHAR)
Question: What was the total number of wins with player Mike Hill with a rank bigger than 2?
[/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_73 (wins VARCHAR, rank VARCHAR, player VARCHAR)
Question: What was the total number of wins with player Mike Hill with a rank bigger than 2?
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_39 (show VARCHAR, date VARCHAR)
Question: Which Show is dated 9 June?
[/INST]
Here is the SQLite query to answer to the question: Which Show is dated 9 J... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (show VARCHAR, date VARCHAR)
Question: Which Show is dated 9 June?
Here is the SQLite query to answer to the question: Which Show is dated 9 June?:
```
SEL... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (date VARCHAR, save VARCHAR)
Question: On what date did a save of ||54,918||50β36 occur?
[/INST]
Here is the SQLite query to answer to the question: O... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (date VARCHAR, save VARCHAR)
Question: On what date did a save of ||54,918||50β36 occur?
Here is the SQLite query to answer to the question: On what date d... | bugdaryan/sql-create-context-instruction | |
[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 (home_team VARCHAR, away_team VARCHAR)
Question: What home team played against Fleetwood Town?
[/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_47 (home_team VARCHAR, away_team VARCHAR)
Question: What home team played against Fleetwood Town?
Here is the SQLite query to answer to the question: What hom... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15187735_10 (segment_b VARCHAR, segment_a VARCHAR)
Question: Name the segment b for s dress form
[/INST]
Here is the SQLite query to answer to the question: N... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15187735_10 (segment_b VARCHAR, segment_a VARCHAR)
Question: Name the segment b for s dress form
Here is the SQLite query to answer to the question: Name the segme... | bugdaryan/sql-create-context-instruction | |
[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 (title VARCHAR, developer VARCHAR)
Question: Which title was developed by Battlecry Studios?
[/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 (title VARCHAR, developer VARCHAR)
Question: Which title was developed by Battlecry Studios?
Here is the SQLite query to answer to the question: Which titl... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (class VARCHAR, wheel_arrangement VARCHAR, quantity_made VARCHAR)
Question: What is the locomotive class that has a wheel arrangement of 2-8-2 and a q... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (class VARCHAR, wheel_arrangement VARCHAR, quantity_made VARCHAR)
Question: What is the locomotive class that has a wheel arrangement of 2-8-2 and a quantit... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (result VARCHAR, week VARCHAR)
Question: What is the result from the game played on week 7?
[/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_45 (result VARCHAR, week VARCHAR)
Question: What is the result from the game played on week 7?
Here is the SQLite query to answer to the question: What is the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (t_score INTEGER, nation VARCHAR, e_score VARCHAR)
Question: What was the average T score when the E score was larger than 9.6 and the team was from S... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (t_score INTEGER, nation VARCHAR, e_score VARCHAR)
Question: What was the average T score when the E score was larger than 9.6 and the team was from Spain?
... | bugdaryan/sql-create-context-instruction | |
[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 (scored VARCHAR, position INTEGER)
Question: Name the Scored which has a Position larger than 6?
[/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_28 (scored VARCHAR, position INTEGER)
Question: Name the Scored which has a Position larger than 6?
Here is the SQLite query to answer to the question: Name t... | bugdaryan/sql-create-context-instruction |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.