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_91 (original_title VARCHAR, title_in_english VARCHAR)
Question: The Last Metro refers to which Original Title?
[/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_91 (original_title VARCHAR, title_in_english VARCHAR)
Question: The Last Metro refers to which Original Title?
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_37 (game VARCHAR, season VARCHAR, result VARCHAR, opponent VARCHAR)
Question: Which Game has a Result of win, and an Opponent of new hampshire, and a Sea... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (game VARCHAR, season VARCHAR, result VARCHAR, opponent VARCHAR)
Question: Which Game has a Result of win, and an Opponent of new hampshire, and a Season sm... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26099252_1 (vp9___webm__ VARCHAR, vp8___webm__ VARCHAR)
Question: When vp8 ( webm ) is 4.4, how much is vp9 ( webm )
[/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_26099252_1 (vp9___webm__ VARCHAR, vp8___webm__ VARCHAR)
Question: When vp8 ( webm ) is 4.4, how much is vp9 ( webm )
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_93 (country VARCHAR, rank VARCHAR)
Question: Which country has a rank of 2?
[/INST]
Here is the SQLite query to answer to the question: Which 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_93 (country VARCHAR, rank VARCHAR)
Question: Which country has a rank of 2?
Here is the SQLite query to answer to the question: Which country has a rank of 2?... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1974443_1 (enrollment INTEGER, institution VARCHAR)
Question: What is the maximum enrollment for Concordia University?
[/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_1974443_1 (enrollment INTEGER, institution VARCHAR)
Question: What is the maximum enrollment for Concordia University?
Here is the SQLite query to answer to the qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (country VARCHAR, entities VARCHAR)
Question: Which Country has Entities of emsa?
[/INST]
Here is the SQLite query to answer to the question: Which Co... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (country VARCHAR, entities VARCHAR)
Question: Which Country has Entities of emsa?
Here is the SQLite query to answer to the question: Which Country has Ent... | bugdaryan/sql-create-context-instruction | |
[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 (appointment VARCHAR, credentials_presented VARCHAR)
Question: What day was the appointment when Credentials Presented was jul 2, 1969?
[/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_79 (appointment VARCHAR, credentials_presented VARCHAR)
Question: What day was the appointment when Credentials Presented was jul 2, 1969?
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_17641314_3 (location_denotes_location_of_school_by_seattle_neighborhood VARCHAR, _does_not_necessary_correspond_with_attendance_area VARCHAR, school VARCHAR)
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17641314_3 (location_denotes_location_of_school_by_seattle_neighborhood VARCHAR, _does_not_necessary_correspond_with_attendance_area VARCHAR, school VARCHAR)
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_98 (mintage VARCHAR, issue_price VARCHAR, artist VARCHAR, year VARCHAR)
Question: What mintage for the royal canadian mint engravers before 2008 that has... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (mintage VARCHAR, issue_price VARCHAR, artist VARCHAR, year VARCHAR)
Question: What mintage for the royal canadian mint engravers before 2008 that has an 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_27734769_8 (date VARCHAR, high_assists VARCHAR)
Question: what is the date the high assists was andre miller (7)?
[/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_27734769_8 (date VARCHAR, high_assists VARCHAR)
Question: what is the date the high assists was andre miller (7)?
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_15187735_4 (episode INTEGER, segment_d VARCHAR)
Question: What is the last episode which has segment d as blown glass?
[/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_15187735_4 (episode INTEGER, segment_d VARCHAR)
Question: What is the last episode which has segment d as blown glass?
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_1007688_1 (typhoid_fever VARCHAR, year VARCHAR)
Question: what is the typhoid fever number for the year 1929
[/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_1007688_1 (typhoid_fever VARCHAR, year VARCHAR)
Question: what is the typhoid fever number for the year 1929
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_95 (points VARCHAR, driver VARCHAR)
Question: What is the total number of points of driver enrique bernoldi (r)?
[/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_95 (points VARCHAR, driver VARCHAR)
Question: What is the total number of points of driver enrique bernoldi (r)?
Here is the SQLite query to answer to the que... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (percent_of_slovenes_1991 VARCHAR, village__slovenian_ VARCHAR)
Question: What was Rut's Slovenes percentage in 1991?
[/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_76 (percent_of_slovenes_1991 VARCHAR, village__slovenian_ VARCHAR)
Question: What was Rut's Slovenes percentage in 1991?
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_57 (home_team VARCHAR, away_team VARCHAR)
Question: Which Home team has an Away team of everton?
[/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_57 (home_team VARCHAR, away_team VARCHAR)
Question: Which Home team has an Away team of everton?
Here is the SQLite query to answer to the question: Which 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_name_19 (home_team VARCHAR, venue VARCHAR)
Question: Who is the home team that played at MCG?
[/INST]
Here is the SQLite query to answer to the question: Who ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (home_team VARCHAR, venue VARCHAR)
Question: Who is the home team that played at MCG?
Here is the SQLite query to answer to the question: Who is the home 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 (type VARCHAR, themed_land VARCHAR, opened_in VARCHAR)
Question: What type ride is Wild Asia that opened in 2000?
[/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 (type VARCHAR, themed_land VARCHAR, opened_in VARCHAR)
Question: What type ride is Wild Asia that opened in 2000?
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_24162080_3 (date_of_appointment VARCHAR, team VARCHAR)
Question: When 1. fc köln is the team what is the date of appointment?
[/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_24162080_3 (date_of_appointment VARCHAR, team VARCHAR)
Question: When 1. fc köln is the team what is the date of appointment?
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_3 (martin_mcguinness VARCHAR, seán_gallagher VARCHAR)
Question: What is the Martin mcGuinness with a Sean Gallagher that is 29.6%?
[/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_3 (martin_mcguinness VARCHAR, seán_gallagher VARCHAR)
Question: What is the Martin mcGuinness with a Sean Gallagher that is 29.6%?
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_43 (score VARCHAR, opponent VARCHAR)
Question: What was the score of the match against duk-hee lee?
[/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_43 (score VARCHAR, opponent VARCHAR)
Question: What was the score of the match against duk-hee lee?
Here is the SQLite query to answer to the question: What 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_13169136_1 (year INTEGER)
Question: What is the most recent year?
[/INST]
Here is the SQLite query to answer to the question: What is the most recent year?:
`... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13169136_1 (year INTEGER)
Question: What is the most recent year?
Here is the SQLite query to answer to the question: What is the most recent year?:
```
SELECT MAX... | bugdaryan/sql-create-context-instruction | |
[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 (january VARCHAR, opponent VARCHAR, game VARCHAR)
Question: What is the total number in January when the St. Louis Blues had a game smaller than 42?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (january VARCHAR, opponent VARCHAR, game VARCHAR)
Question: What is the total number in January when the St. Louis Blues had a game smaller than 42?
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_19215259_1 (location VARCHAR, power__kw_ VARCHAR, frequency VARCHAR)
Question: Where is the frequency 102.3mhz and 5kw power?
[/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_19215259_1 (location VARCHAR, power__kw_ VARCHAR, frequency VARCHAR)
Question: Where is the frequency 102.3mhz and 5kw power?
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_49 (time VARCHAR, winner VARCHAR)
Question: What was the winning time for the winning horse, Kentucky ii?
[/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_49 (time VARCHAR, winner VARCHAR)
Question: What was the winning time for the winning horse, Kentucky ii?
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_6 (margin_of_victory VARCHAR, tournament VARCHAR)
Question: What was Olazabal's margin of victory int he Ebel European Masters Swiss Open?
[/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_6 (margin_of_victory VARCHAR, tournament VARCHAR)
Question: What was Olazabal's margin of victory int he Ebel European Masters Swiss Open?
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_26555737_1 (result VARCHAR, director VARCHAR)
Question: When hany abu-assad category:articles with hcards is the director what is the result?
[/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_26555737_1 (result VARCHAR, director VARCHAR)
Question: When hany abu-assad category:articles with hcards is the director what is the result?
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_73 (no_in_season VARCHAR, directed_by VARCHAR, no_in_series VARCHAR)
Question: What is the total number in the season for the #30 Robert Berlinger series... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (no_in_season VARCHAR, directed_by VARCHAR, no_in_series VARCHAR)
Question: What is the total number in the season for the #30 Robert Berlinger series?
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_7 (frequency VARCHAR, multiplier VARCHAR)
Question: Which Frequency has a Multiplier of 6×?
[/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_7 (frequency VARCHAR, multiplier VARCHAR)
Question: Which Frequency has a Multiplier of 6×?
Here is the SQLite query to answer to the question: Which Frequenc... | bugdaryan/sql-create-context-instruction | |
[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 (silver INTEGER, bronze VARCHAR, gold VARCHAR, rank VARCHAR)
Question: Which Silver is the lowest one that has a Gold larger than 0, and a Rank of tot... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (silver INTEGER, bronze VARCHAR, gold VARCHAR, rank VARCHAR)
Question: Which Silver is the lowest one that has a Gold larger than 0, and a Rank of total, 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_76 (laps VARCHAR, time_retired VARCHAR)
Question: What is the number of laps for the Time/Retired of +16.445?
[/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_76 (laps VARCHAR, time_retired VARCHAR)
Question: What is the number of laps for the Time/Retired of +16.445?
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_35 (home_team VARCHAR)
Question: Name the home team score for south melbourne home team
[/INST]
Here is the SQLite query to answer to the question: Name ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (home_team VARCHAR)
Question: Name the home team score for south melbourne home team
Here is the SQLite query to answer to the question: Name the home team... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (voltage VARCHAR, l2_cache VARCHAR, turbo VARCHAR)
Question: What is the voltage when the L2 cache is 2 × 256 kb and the turbo is 5/8?
[/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_71 (voltage VARCHAR, l2_cache VARCHAR, turbo VARCHAR)
Question: What is the voltage when the L2 cache is 2 × 256 kb and the turbo is 5/8?
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_24 (venue VARCHAR, goal VARCHAR)
Question: What is the Venue for Goal number 1?
[/INST]
Here is the SQLite query to answer to the question: What is the V... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (venue VARCHAR, goal VARCHAR)
Question: What is the Venue for Goal number 1?
Here is the SQLite query to answer to the question: What is the Venue for Goal... | bugdaryan/sql-create-context-instruction | |
[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 (cuts_made INTEGER, events INTEGER)
Question: What are the lowest cuts made that have events less than 4?
[/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_84 (cuts_made INTEGER, events INTEGER)
Question: What are the lowest cuts made that have events less than 4?
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_51 (record VARCHAR, attendance VARCHAR)
Question: Which record has 64,053 as the attendance?
[/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_51 (record VARCHAR, attendance VARCHAR)
Question: Which record has 64,053 as the attendance?
Here is the SQLite query to answer to the question: Which record ... | bugdaryan/sql-create-context-instruction | |
[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 (Group VARCHAR, name VARCHAR)
Question: What is Group Song, when Name is Alice 林芯糸?
[/INST]
Here is the SQLite query to answer to the question: What i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (Group VARCHAR, name VARCHAR)
Question: What is Group Song, when Name is Alice 林芯糸?
Here is the SQLite query to answer to the question: What is Group Song,... | bugdaryan/sql-create-context-instruction | |
[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 (verb_meaning VARCHAR, part_3 VARCHAR)
Question: What is the verb meaning for Gaben in part 3?
[/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_89 (verb_meaning VARCHAR, part_3 VARCHAR)
Question: What is the verb meaning for Gaben in part 3?
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_11884814_3 (country VARCHAR, swimsuit VARCHAR)
Question: Which country had the swimsuit score 9.67?
[/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_11884814_3 (country VARCHAR, swimsuit VARCHAR)
Question: Which country had the swimsuit score 9.67?
Here is the SQLite query to answer to the question: Which count... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE park (park_name VARCHAR, park_id VARCHAR); CREATE TABLE home_game (park_id VARCHAR, year VARCHAR, attendance VARCHAR)
Question: Which park had most attendances in 2... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE park (park_name VARCHAR, park_id VARCHAR); CREATE TABLE home_game (park_id VARCHAR, year VARCHAR, attendance VARCHAR)
Question: Which park had most attendances in 2008?
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Aircraft (aid VARCHAR, name VARCHAR, distance VARCHAR)
Question: Show the id and name of the aircraft with the maximum distance.
[/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 Aircraft (aid VARCHAR, name VARCHAR, distance VARCHAR)
Question: Show the id and name of the aircraft with the maximum distance.
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_1341663_19 (district VARCHAR, incumbent VARCHAR)
Question: What district did Dave Treen serve?
[/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_1341663_19 (district VARCHAR, incumbent VARCHAR)
Question: What district did Dave Treen serve?
Here is the SQLite query to answer to the question: What district di... | bugdaryan/sql-create-context-instruction | |
[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 (class VARCHAR, laps VARCHAR, team VARCHAR)
Question: What is the class of team liqui moly equipe, which has less than 71 laps?
[/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 (class VARCHAR, laps VARCHAR, team VARCHAR)
Question: What is the class of team liqui moly equipe, which has less than 71 laps?
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_12303563_2 (runners_up VARCHAR, nation VARCHAR)
Question: what's the runners-up with nation being malaysia
[/INST]
Here is the SQLite query to answer to the q... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12303563_2 (runners_up VARCHAR, nation VARCHAR)
Question: what's the runners-up with nation being malaysia
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_83 (provider VARCHAR, free_or_pay VARCHAR, transmission VARCHAR)
Question: Which provider is pay with analogue cable?
[/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_83 (provider VARCHAR, free_or_pay VARCHAR, transmission VARCHAR)
Question: Which provider is pay with analogue cable?
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_84 (surface VARCHAR, championship VARCHAR)
Question: What surface was the Australian Open (1) played on?
[/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_84 (surface VARCHAR, championship VARCHAR)
Question: What surface was the Australian Open (1) played on?
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_90 (rank INTEGER, total VARCHAR, bronze VARCHAR, gold VARCHAR)
Question: Name the sum of rank for bronze less than 1 and gold of 1 with total less than 1... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (rank INTEGER, total VARCHAR, bronze VARCHAR, gold VARCHAR)
Question: Name the sum of rank for bronze less than 1 and gold of 1 with total less than 1
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_70 (region VARCHAR, date VARCHAR, catalog VARCHAR)
Question: What region has a 2002 date, and a Catalog dos 195?
[/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_70 (region VARCHAR, date VARCHAR, catalog VARCHAR)
Question: What region has a 2002 date, and a Catalog dos 195?
Here is the SQLite query to answer to the que... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (bronze INTEGER, gold VARCHAR, silver VARCHAR, rank VARCHAR)
Question: What is the total number of bronzes associated with 1 silver, ranks under 6 and... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (bronze INTEGER, gold VARCHAR, silver VARCHAR, rank VARCHAR)
Question: What is the total number of bronzes associated with 1 silver, ranks under 6 and under... | bugdaryan/sql-create-context-instruction | |
[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 (points INTEGER, home VARCHAR)
Question: What is the lowest amount of points of the game with toronto as the home team?
[/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_99 (points INTEGER, home VARCHAR)
Question: What is the lowest amount of points of the game with toronto as the home team?
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_35 (away_team VARCHAR, venue VARCHAR)
Question: What team has a Venue at Lake Oval?
[/INST]
Here is the SQLite query to answer to the question: What team... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (away_team VARCHAR, venue VARCHAR)
Question: What team has a Venue at Lake Oval?
Here is the SQLite query to answer to the question: What team has a Venue ... | bugdaryan/sql-create-context-instruction | |
[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 (tournament VARCHAR)
Question: Name the 2009 for wta premier mandatory tournaments
[/INST]
Here is the SQLite query to answer to the question: Name th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (tournament VARCHAR)
Question: Name the 2009 for wta premier mandatory tournaments
Here is the SQLite query to answer to the question: Name the 2009 for wt... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14962287_2 (years VARCHAR, total VARCHAR)
Question: What years have a total of 139?
[/INST]
Here is the SQLite query to answer to the question: What years hav... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14962287_2 (years VARCHAR, total VARCHAR)
Question: What years have a total of 139?
Here is the SQLite query to answer to the question: What years have 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_name_93 (genre VARCHAR, station VARCHAR)
Question: Which genre is the fly fm station?
[/INST]
Here is the SQLite query to answer to the question: Which genre ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (genre VARCHAR, station VARCHAR)
Question: Which genre is the fly fm station?
Here is the SQLite query to answer to the question: Which genre is the fly fm... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25551880_2 (winner VARCHAR, mountains_classification VARCHAR)
Question: How many winners were there when the mountains classification was not awarded?
[/INST... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25551880_2 (winner VARCHAR, mountains_classification VARCHAR)
Question: How many winners were there when the mountains classification was not awarded?
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_11251601_2 (percentage_of_global_total VARCHAR, country VARCHAR)
Question: WHAT PERCENTAGE OF GLOBAL TOTAL EMISSIONS DID INDIA PRODUCE?
[/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_11251601_2 (percentage_of_global_total VARCHAR, country VARCHAR)
Question: WHAT PERCENTAGE OF GLOBAL TOTAL EMISSIONS DID INDIA PRODUCE?
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_59 (model_number VARCHAR, fsb_speed VARCHAR)
Question: Name the Model Number which has a FSB Speed of 400 mhz?
[/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_59 (model_number VARCHAR, fsb_speed VARCHAR)
Question: Name the Model Number which has a FSB Speed of 400 mhz?
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_17282875_3 (team__number1 VARCHAR)
Question: When they played San Lorenzo, what was the score of the second leg?
[/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_17282875_3 (team__number1 VARCHAR)
Question: When they played San Lorenzo, what was the score of the second leg?
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_49 (place VARCHAR, player VARCHAR)
Question: What Place has a Player of bernhard langer?
[/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_49 (place VARCHAR, player VARCHAR)
Question: What Place has a Player of bernhard langer?
Here is the SQLite query to answer to the question: What Place has 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_78 (turbo VARCHAR, model_number VARCHAR, l2_cache VARCHAR, release_date VARCHAR)
Question: What turbo has a L2 cache of 4 × 256 kb, a release date of Jun... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (turbo VARCHAR, model_number VARCHAR, l2_cache VARCHAR, release_date VARCHAR)
Question: What turbo has a L2 cache of 4 × 256 kb, a release date of June 2013... | bugdaryan/sql-create-context-instruction | |
[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 (chart_peak VARCHAR, recorded VARCHAR)
Question: Which Chart peak was Recorded on 2/19/69?
[/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_64 (chart_peak VARCHAR, recorded VARCHAR)
Question: Which Chart peak was Recorded on 2/19/69?
Here is the SQLite query to answer to the question: Which Chart ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (score VARCHAR, date VARCHAR)
Question: What was the score on April 25?
[/INST]
Here is the SQLite query to answer to the question: What was the score ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (score VARCHAR, date VARCHAR)
Question: What was the score on April 25?
Here is the SQLite query to answer to the question: What was the score on April 25?:... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15463188_7 (school_club_team VARCHAR, season VARCHAR)
Question: Namethe school team for season 2008
[/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_15463188_7 (school_club_team VARCHAR, season VARCHAR)
Question: Namethe school team for season 2008
Here is the SQLite query to answer to the question: Namethe sch... | bugdaryan/sql-create-context-instruction | |
[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 (home_team VARCHAR, away_team VARCHAR)
Question: What is the Home team with an Away team that is oxford united?
[/INST]
Here is the SQLite query to an... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_87 (home_team VARCHAR, away_team VARCHAR)
Question: What is the Home team with an Away team that is oxford united?
Here is the SQLite query to answer to the q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_269920_17 (l3_cache__mb_ INTEGER, model VARCHAR, qpi_speed__gt_s_ VARCHAR, speed__ghz_ VARCHAR)
Question: What is the maximum L3 cache of the processor whose ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_269920_17 (l3_cache__mb_ INTEGER, model VARCHAR, qpi_speed__gt_s_ VARCHAR, speed__ghz_ VARCHAR)
Question: What is the maximum L3 cache of the processor whose speed ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_32 (score VARCHAR, venue VARCHAR, result VARCHAR)
Question: What was the score in the venue of Seoul that resulted in 8-0?
[/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_32 (score VARCHAR, venue VARCHAR, result VARCHAR)
Question: What was the score in the venue of Seoul that resulted in 8-0?
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_1532779_1 (muslim___percentage_of_total_population_ VARCHAR, population_of_england_and_wales_000 VARCHAR)
Question: What is the muslim percentage of the 49634... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1532779_1 (muslim___percentage_of_total_population_ VARCHAR, population_of_england_and_wales_000 VARCHAR)
Question: What is the muslim percentage of the 49634 popul... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (played INTEGER, points VARCHAR, lost VARCHAR, drawn VARCHAR)
Question: What is the total number of games played with 3 losses, 1 or more drawns and 1... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (played INTEGER, points VARCHAR, lost VARCHAR, drawn VARCHAR)
Question: What is the total number of games played with 3 losses, 1 or more drawns and 10 or 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_54 (date VARCHAR, region VARCHAR)
Question: Which date has a region of united kingdom?
[/INST]
Here is the SQLite query to answer to the question: Which ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (date VARCHAR, region VARCHAR)
Question: Which date has a region of united kingdom?
Here is the SQLite query to answer to the question: Which date has a 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_8 (name VARCHAR, team VARCHAR, wsu_year_s_ VARCHAR)
Question: What is Name, when Team is New York Knicks, and when WSU Year(s) is 1965-68?
[/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_8 (name VARCHAR, team VARCHAR, wsu_year_s_ VARCHAR)
Question: What is Name, when Team is New York Knicks, and when WSU Year(s) is 1965-68?
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_10413597_5 (original_air_date VARCHAR, setting VARCHAR)
Question: What was the original air date of an episode set in 1544?
[/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_10413597_5 (original_air_date VARCHAR, setting VARCHAR)
Question: What was the original air date of an episode set in 1544?
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_42 (grid INTEGER, team VARCHAR, laps VARCHAR)
Question: Which Grid is the lowest one that has a Team of germany, and Laps smaller than 45?
[/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_42 (grid INTEGER, team VARCHAR, laps VARCHAR)
Question: Which Grid is the lowest one that has a Team of germany, and Laps smaller than 45?
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_26 (date VARCHAR, result VARCHAR)
Question: When was the game with a result of w 27-24 (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_26 (date VARCHAR, result VARCHAR)
Question: When was the game with a result of w 27-24 (ot)?
Here is the SQLite query to answer to the question: When was the ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10015132_3 (years_in_toronto VARCHAR, school_club_team VARCHAR)
Question: When did the player from Hawaii play for Toronto?
[/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_10015132_3 (years_in_toronto VARCHAR, school_club_team VARCHAR)
Question: When did the player from Hawaii play for Toronto?
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_13 (opponent VARCHAR, record VARCHAR, score VARCHAR, decision VARCHAR)
Question: What was the opponent when the score was 3 - 2, and the decision was Ra... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (opponent VARCHAR, record VARCHAR, score VARCHAR, decision VARCHAR)
Question: What was the opponent when the score was 3 - 2, and the decision was Raycroft... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26454128_9 (points VARCHAR, distance__metres_ VARCHAR)
Question: What is the total number of times points were listed when the distance was 41.05 metres?
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26454128_9 (points VARCHAR, distance__metres_ VARCHAR)
Question: What is the total number of times points were listed when the distance was 41.05 metres?
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_71 (record VARCHAR, opponent VARCHAR)
Question: Name the record with opponent of christian nielson
[/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_71 (record VARCHAR, opponent VARCHAR)
Question: Name the record with opponent of christian nielson
Here is the SQLite query to answer to the question: Name 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 campuses (campus VARCHAR, id VARCHAR); CREATE TABLE degrees (degrees INTEGER, campus VARCHAR, year VARCHAR)
Question: report the total number of degrees granted bet... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE campuses (campus VARCHAR, id VARCHAR); CREATE TABLE degrees (degrees INTEGER, campus VARCHAR, year VARCHAR)
Question: report the total number of degrees granted between 1... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (outgoing_manager VARCHAR, replaced_by VARCHAR)
Question: Who is the outgoing manager when they were replaced by pablo centrone?
[/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_16 (outgoing_manager VARCHAR, replaced_by VARCHAR)
Question: Who is the outgoing manager when they were replaced by pablo centrone?
Here is the SQLite query t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27969432_2 (title VARCHAR, written_by VARCHAR)
Question: What is the name of the episode written by alison cross?
[/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_27969432_2 (title VARCHAR, written_by VARCHAR)
Question: What is the name of the episode written by alison cross?
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_7 (total__kg_ INTEGER, snatch VARCHAR, bodyweight VARCHAR)
Question: What is the total for the player with more snatches than 87.5 and bodyweight more th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (total__kg_ INTEGER, snatch VARCHAR, bodyweight VARCHAR)
Question: What is the total for the player with more snatches than 87.5 and bodyweight more than 74.... | bugdaryan/sql-create-context-instruction | |
[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 (rider VARCHAR, time VARCHAR, bike VARCHAR, laps VARCHAR, grid VARCHAR)
Question: Who was the rider with more than 5 laps on a grid bigger than 29 on ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (rider VARCHAR, time VARCHAR, bike VARCHAR, laps VARCHAR, grid VARCHAR)
Question: Who was the rider with more than 5 laps on a grid bigger than 29 on a Hond... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (laps VARCHAR, pos VARCHAR)
Question: Name the total number of laps for 23rd position
[/INST]
Here is the SQLite query to answer to the question: Name... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (laps VARCHAR, pos VARCHAR)
Question: Name the total number of laps for 23rd position
Here is the SQLite query to answer to the question: Name the total nu... | bugdaryan/sql-create-context-instruction | |
[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 (aprende VARCHAR, centennial VARCHAR)
Question: WHich kind of Aprende has a Centennial of 1988?
[/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_35 (aprende VARCHAR, centennial VARCHAR)
Question: WHich kind of Aprende has a Centennial of 1988?
Here is the SQLite query to answer to the question: WHich k... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17103729_7 (location_attendance VARCHAR, score VARCHAR)
Question: With a score of 68-85, what is the location and attendance?
[/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_17103729_7 (location_attendance VARCHAR, score VARCHAR)
Question: With a score of 68-85, what is the location and attendance?
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_84 (nation VARCHAR, performance VARCHAR)
Question: Which nation ran a time of 9.69 seconds?
[/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_84 (nation VARCHAR, performance VARCHAR)
Question: Which nation ran a time of 9.69 seconds?
Here is the SQLite query to answer to the question: Which nation r... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1558077_8 (lunar_blastoff_date VARCHAR, mission_name VARCHAR)
Question: Name the total number of luna blastoff date for apollo 11
[/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_1558077_8 (lunar_blastoff_date VARCHAR, mission_name VARCHAR)
Question: Name the total number of luna blastoff date for apollo 11
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 school (school_name VARCHAR, LOCATION VARCHAR, mascot VARCHAR)
Question: List the name, location, mascot for all schools.
[/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 school (school_name VARCHAR, LOCATION VARCHAR, mascot VARCHAR)
Question: List the name, location, mascot for all schools.
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_6 (year INTEGER, position VARCHAR)
Question: Which Year has a Position of 4th?
[/INST]
Here is the SQLite query to answer to the question: Which Year has... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (year INTEGER, position VARCHAR)
Question: Which Year has a Position of 4th?
Here is the SQLite query to answer to the question: Which Year has a Position 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_24 (rank INTEGER, time VARCHAR)
Question: What is the rank of the rider with time of 1:41.40.55?
[/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_24 (rank INTEGER, time VARCHAR)
Question: What is the rank of the rider with time of 1:41.40.55?
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_name_93 (launch_date VARCHAR, deorbit_date VARCHAR)
Question: When did the ATV that deorbited on 29 september 2008, launch?
[/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_93 (launch_date VARCHAR, deorbit_date VARCHAR)
Question: When did the ATV that deorbited on 29 september 2008, launch?
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_18626383_2 (height__cm_ VARCHAR, contestant VARCHAR)
Question: When valora roucek is the contestant how many heights in centimeters are there?
[/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_18626383_2 (height__cm_ VARCHAR, contestant VARCHAR)
Question: When valora roucek is the contestant how many heights in centimeters are there?
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_40 (attendance INTEGER, date VARCHAR)
Question: What was the average attendance on October 12?
[/INST]
Here is the SQLite query to answer to the question... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (attendance INTEGER, date VARCHAR)
Question: What was the average attendance on October 12?
Here is the SQLite query to answer to the question: What was 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_30 (tournament VARCHAR, score VARCHAR)
Question: Which tournament has a Score of 6-4, 6-4?
[/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_30 (tournament VARCHAR, score VARCHAR)
Question: Which tournament has a Score of 6-4, 6-4?
Here is the SQLite query to answer to the question: Which tournamen... | bugdaryan/sql-create-context-instruction | |
[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 (driver VARCHAR, laps VARCHAR, time_retired VARCHAR)
Question: Which Driver has Laps larger than 78, and a Time/Retired of + 1:09.4?
[/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_99 (driver VARCHAR, laps VARCHAR, time_retired VARCHAR)
Question: Which Driver has Laps larger than 78, and a Time/Retired of + 1:09.4?
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_39 (lost VARCHAR, points VARCHAR, drawn VARCHAR)
Question: Which Lost has Points smaller than 12, and a Drawn larger than 1?
[/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_39 (lost VARCHAR, points VARCHAR, drawn VARCHAR)
Question: Which Lost has Points smaller than 12, and a Drawn larger than 1?
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_68 (time VARCHAR, event VARCHAR)
Question: How long was the time for the Legacy Fighting Championship 12?
[/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_68 (time VARCHAR, event VARCHAR)
Question: How long was the time for the Legacy Fighting Championship 12?
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_29 (played INTEGER, position VARCHAR, goals_against VARCHAR, draws VARCHAR, goals_for VARCHAR)
Question: Which Played has Draws smaller than 7, and Goals... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (played INTEGER, position VARCHAR, goals_against VARCHAR, draws VARCHAR, goals_for VARCHAR)
Question: Which Played has Draws smaller than 7, and Goals for 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_12 (nominating_festival VARCHAR, country VARCHAR)
Question: Which nominating festival did Russia enter?
[/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_12 (nominating_festival VARCHAR, country VARCHAR)
Question: Which nominating festival did Russia enter?
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_27756164_8 (location_attendance VARCHAR, team VARCHAR)
Question: When the team is chicago what is the location attendence?
[/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_27756164_8 (location_attendance VARCHAR, team VARCHAR)
Question: When the team is chicago what is the location attendence?
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_7 (game INTEGER, date VARCHAR, attendance VARCHAR)
Question: What average game was held on february 24 and has an attendance smaller than 16,541?
[/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 (game INTEGER, date VARCHAR, attendance VARCHAR)
Question: What average game was held on february 24 and has an attendance smaller than 16,541?
Here is the ... | 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.