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_17311759_5 (record VARCHAR, team VARCHAR)
Question: What is the record of wins and losses for Denver's ball club?
[/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_17311759_5 (record VARCHAR, team VARCHAR)
Question: What is the record of wins and losses for Denver's ball club?
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_18 (score VARCHAR, date VARCHAR, home VARCHAR, points VARCHAR)
Question: What is the Score of the Pittsburgh Home game on March 3 with 61 Points?
[/INST]... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (score VARCHAR, date VARCHAR, home VARCHAR, points VARCHAR)
Question: What is the Score of the Pittsburgh Home game on March 3 with 61 Points?
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 Sportsinfo (StuID VARCHAR, gamesplayed INTEGER)
Question: Show all student IDs with the number of sports and total number of games played
[/INST]
Here is the SQLite... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Sportsinfo (StuID VARCHAR, gamesplayed INTEGER)
Question: Show all student IDs with the number of sports and total number of games played
Here is the SQLite query to ans... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (fictional_narrator VARCHAR, published_as_serial VARCHAR)
Question: Which Fictional narrator has a Published as serial of february–july 1912, all-stor... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (fictional_narrator VARCHAR, published_as_serial VARCHAR)
Question: Which Fictional narrator has a Published as serial of february–july 1912, all-story?
He... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (total INTEGER, nation VARCHAR)
Question: What is total number of wins for England?
[/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_59 (total INTEGER, nation VARCHAR)
Question: What is total number of wins for England?
Here is the SQLite query to answer to the question: What is total numbe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Faculty (building VARCHAR, rank VARCHAR)
Question: Show all the buildings that have at least 10 professors.
[/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 Faculty (building VARCHAR, rank VARCHAR)
Question: Show all the buildings that have at least 10 professors.
Here is the SQLite query to answer to the question: Show all ... | bugdaryan/sql-create-context-instruction | |
[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 (position VARCHAR, points VARCHAR, series VARCHAR, season VARCHAR)
Question: What is Position, when Series is Queensland Formula Ford Championship, wh... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (position VARCHAR, points VARCHAR, series VARCHAR, season VARCHAR)
Question: What is Position, when Series is Queensland Formula Ford Championship, when Sea... | bugdaryan/sql-create-context-instruction | |
[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 (call_sign VARCHAR, city_of_license VARCHAR)
Question: What is Call Sign, when City of License is Brownfield, Texas?
[/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_51 (call_sign VARCHAR, city_of_license VARCHAR)
Question: What is Call Sign, when City of License is Brownfield, Texas?
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_85 (played VARCHAR, position VARCHAR, points VARCHAR)
Question: Which Played has a Position of 3, and a Points smaller than 15?
[/INST]
Here is the SQLit... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (played VARCHAR, position VARCHAR, points VARCHAR)
Question: Which Played has a Position of 3, and a Points smaller than 15?
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_50 (state VARCHAR, born VARCHAR, name VARCHAR)
Question: What state was maria cantwell born in after 1955?
[/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_50 (state VARCHAR, born VARCHAR, name VARCHAR)
Question: What state was maria cantwell born in after 1955?
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_7 (position VARCHAR, school_country VARCHAR)
Question: What is the position of the player from Temple?
[/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_7 (position VARCHAR, school_country VARCHAR)
Question: What is the position of the player from Temple?
Here is the SQLite query to answer to the question: Wha... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (Id VARCHAR)
Question: What is the 2006 value with a 2011 value greater than 4113 and a 2008 value less than 7181?
[/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 (Id VARCHAR)
Question: What is the 2006 value with a 2011 value greater than 4113 and a 2008 value less than 7181?
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_5 (team VARCHAR, replaced_by VARCHAR)
Question: What is Team, when Replaced By is "Omar Arellano"?
[/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_5 (team VARCHAR, replaced_by VARCHAR)
Question: What is Team, when Replaced By is "Omar Arellano"?
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_74 (venue VARCHAR, away_team VARCHAR)
Question: When the Away team is melbourne, what venue do they play at?
[/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_74 (venue VARCHAR, away_team VARCHAR)
Question: When the Away team is melbourne, what venue do they play at?
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_54 (roger_françois VARCHAR, world_record VARCHAR)
Question: What is the total amount of world records for Roger Francois?
[/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_54 (roger_françois VARCHAR, world_record VARCHAR)
Question: What is the total amount of world records for Roger Francois?
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_59 (rank INTEGER, time VARCHAR)
Question: What is the best rank with a time of 1:05.14.10?
[/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_59 (rank INTEGER, time VARCHAR)
Question: What is the best rank with a time of 1:05.14.10?
Here is the SQLite query to answer to the question: What is the bes... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (nfl_team VARCHAR, college VARCHAR)
Question: What is the NFL team for Toledo?
[/INST]
Here is the SQLite query to answer to the question: What 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_23 (nfl_team VARCHAR, college VARCHAR)
Question: What is the NFL team for Toledo?
Here is the SQLite query to answer to the question: What is the NFL team for... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14603057_2 (class_aAAAA VARCHAR, school_year VARCHAR)
Question: Who was the class AAAAA in 2008-09?
[/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_14603057_2 (class_aAAAA VARCHAR, school_year VARCHAR)
Question: Who was the class AAAAA in 2008-09?
Here is the SQLite query to answer to the question: Who was the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (crowd INTEGER, venue VARCHAR)
Question: What was the average crowd size at Victoria Park?
[/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_22 (crowd INTEGER, venue VARCHAR)
Question: What was the average crowd size at Victoria Park?
Here is the SQLite query to answer to the question: What was the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (round VARCHAR, player VARCHAR)
Question: What round did Jamie Cooke play in?
[/INST]
Here is the SQLite query to answer to the question: What round d... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (round VARCHAR, player VARCHAR)
Question: What round did Jamie Cooke play in?
Here is the SQLite query to answer to the question: What round did Jamie Cook... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11354111_3 (overall_rank VARCHAR, viewers__m_ VARCHAR)
Question: what's the overall rank with viewers (m) of 7.44
[/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_11354111_3 (overall_rank VARCHAR, viewers__m_ VARCHAR)
Question: what's the overall rank with viewers (m) of 7.44
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_28 (wins VARCHAR, top_25 VARCHAR, cuts_made VARCHAR)
Question: In the tournament with more than 6 top-25's and less than 13 cuts made, how many wins were... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (wins VARCHAR, top_25 VARCHAR, cuts_made VARCHAR)
Question: In the tournament with more than 6 top-25's and less than 13 cuts made, how many wins were there... | bugdaryan/sql-create-context-instruction | |
[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 (date VARCHAR, catalog VARCHAR, region VARCHAR)
Question: what is the date for catolog 88697185162 when the region is canada?
[/INST]
Here is the SQLit... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (date VARCHAR, catalog VARCHAR, region VARCHAR)
Question: what is the date for catolog 88697185162 when the region is canada?
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_11497980_1 (gvm__kg__technical_capacity VARCHAR, model VARCHAR)
Question: If the model is 15.180e, what is the GVM (kg) Technical Capacity?
[/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_11497980_1 (gvm__kg__technical_capacity VARCHAR, model VARCHAR)
Question: If the model is 15.180e, what is the GVM (kg) Technical Capacity?
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_91 (neon VARCHAR, atomic_property VARCHAR)
Question: Which Neon has Atomic property of average valence electron energy (avee)?
[/INST]
Here is the SQLite... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (neon VARCHAR, atomic_property VARCHAR)
Question: Which Neon has Atomic property of average valence electron energy (avee)?
Here is the SQLite query to ans... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17288869_7 (record VARCHAR, high_points VARCHAR)
Question: What was the final record for the game in which Dirk Nowitzki (19) had the high points?
[/INST]
Her... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17288869_7 (record VARCHAR, high_points VARCHAR)
Question: What was the final record for the game in which Dirk Nowitzki (19) had the high points?
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 person (name VARCHAR, friend VARCHAR, city VARCHAR); CREATE TABLE PersonFriend (name VARCHAR, friend VARCHAR, city VARCHAR)
Question: What is the total number of pe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE person (name VARCHAR, friend VARCHAR, city VARCHAR); CREATE TABLE PersonFriend (name VARCHAR, friend VARCHAR, city VARCHAR)
Question: What is the total number of people 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_23255941_1 (original_air_date VARCHAR, episode__number VARCHAR)
Question: How many original air dates did episode 12 have?h
[/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_23255941_1 (original_air_date VARCHAR, episode__number VARCHAR)
Question: How many original air dates did episode 12 have?h
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_47 (winner VARCHAR, win__number INTEGER)
Question: Who had more than 3 wins?
[/INST]
Here is the SQLite query to answer to the question: Who had more tha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (winner VARCHAR, win__number INTEGER)
Question: Who had more than 3 wins?
Here is the SQLite query to answer to the question: Who had more than 3 wins?:
``... | bugdaryan/sql-create-context-instruction | |
[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 (lost VARCHAR, played VARCHAR, against VARCHAR, drawn VARCHAR)
Question: What is the sum of lost when against is less than 37, drawn is more than 2, a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (lost VARCHAR, played VARCHAR, against VARCHAR, drawn VARCHAR)
Question: What is the sum of lost when against is less than 37, drawn is more than 2, and pla... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (heat_points VARCHAR, game VARCHAR, date VARCHAR)
Question: What is Heat Points, when Game is less than 80, and when Date is "April 26 (First Round)"?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (heat_points VARCHAR, game VARCHAR, date VARCHAR)
Question: What is Heat Points, when Game is less than 80, and when Date is "April 26 (First Round)"?
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_24910733_1 (title VARCHAR, written_by VARCHAR)
Question: What is the title when the writer is Emily Halpern?
[/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_24910733_1 (title VARCHAR, written_by VARCHAR)
Question: What is the title when the writer is Emily Halpern?
Here is the SQLite query to answer to the question: Wh... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (score_in_the_final VARCHAR, date VARCHAR)
Question: On the final date of April 5, 1995, what was the score?
[/INST]
Here is the SQLite query to answe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (score_in_the_final VARCHAR, date VARCHAR)
Question: On the final date of April 5, 1995, what was the score?
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_99 (result VARCHAR, year VARCHAR, category VARCHAR)
Question: What was album of the year after 2009?
[/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_99 (result VARCHAR, year VARCHAR, category VARCHAR)
Question: What was album of the year after 2009?
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_69 (date VARCHAR, pitcher VARCHAR, length VARCHAR)
Question: What was the date when the pitcher was Jason Marquis and the length was 410'?
[/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_69 (date VARCHAR, pitcher VARCHAR, length VARCHAR)
Question: What was the date when the pitcher was Jason Marquis and the length was 410'?
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_88 (moving_from VARCHAR, transfer_window VARCHAR, source VARCHAR)
Question: Where is the moving from location with a transfer window of summer and the so... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (moving_from VARCHAR, transfer_window VARCHAR, source VARCHAR)
Question: Where is the moving from location with a transfer window of summer and the source 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 country (Name VARCHAR, Continent VARCHAR, LifeExpectancy VARCHAR)
Question: What is the name of country that has the shortest life expectancy in Asia?
[/INST]
Here ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE country (Name VARCHAR, Continent VARCHAR, LifeExpectancy VARCHAR)
Question: What is the name of country that has the shortest life expectancy in Asia?
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_44 (record VARCHAR, date VARCHAR)
Question: What was the record on May 8?
[/INST]
Here is the SQLite query to answer to the question: What was the record... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_44 (record VARCHAR, date VARCHAR)
Question: What was the record on May 8?
Here is the SQLite query to answer to the question: What was the record on May 8?:
`... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17632217_1 (total_wins VARCHAR, runners_up VARCHAR)
Question: How many total wins with Shanghai as runner-up?
[/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_17632217_1 (total_wins VARCHAR, runners_up VARCHAR)
Question: How many total wins with Shanghai as runner-up?
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_60 (score VARCHAR, game__number VARCHAR)
Question: What was the score in game 81?
[/INST]
Here is the SQLite query to answer to the question: What was th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (score VARCHAR, game__number VARCHAR)
Question: What was the score in game 81?
Here is the SQLite query to answer to the question: What was the score in ga... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (record VARCHAR, opponent VARCHAR)
Question: What was the record at the game against the Los Angeles Rams?
[/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_25 (record VARCHAR, opponent VARCHAR)
Question: What was the record at the game against the Los Angeles Rams?
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_29 (land_area__hectares_ INTEGER, density__inh_km²_ VARCHAR, population VARCHAR)
Question: What is the average land area with a density of 815.48, and 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 (land_area__hectares_ INTEGER, density__inh_km²_ VARCHAR, population VARCHAR)
Question: What is the average land area with a density of 815.48, and a Popula... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE area_code_state (Id VARCHAR)
Question: How many states are there?
[/INST]
Here is the SQLite query to answer to the question: How many states are there?:
```
SELECT... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE area_code_state (Id VARCHAR)
Question: How many states are there?
Here is the SQLite query to answer to the question: How many states are there?:
```
SELECT COUNT(*) FRO... | bugdaryan/sql-create-context-instruction | |
[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 (ceremony VARCHAR, work VARCHAR)
Question: what ceremony did big titty milfs work in
[/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_35 (ceremony VARCHAR, work VARCHAR)
Question: what ceremony did big titty milfs work in
Here is the SQLite query to answer to the question: what ceremony did ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE country (Code VARCHAR, HeadOfState VARCHAR); CREATE TABLE countrylanguage (Language VARCHAR, CountryCode VARCHAR, IsOfficial VARCHAR)
Question: What is the official... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE country (Code VARCHAR, HeadOfState VARCHAR); CREATE TABLE countrylanguage (Language VARCHAR, CountryCode VARCHAR, IsOfficial VARCHAR)
Question: What is the official langu... | bugdaryan/sql-create-context-instruction | |
[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 (home_captain VARCHAR, venue VARCHAR)
Question: What is the Home Captain which has Waca Ground as a Venue
[/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_81 (home_captain VARCHAR, venue VARCHAR)
Question: What is the Home Captain which has Waca Ground as a Venue
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_4 (tournament VARCHAR)
Question: For the Australian Open, in 2007 the result was A, but what was the result in 2012?
[/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_4 (tournament VARCHAR)
Question: For the Australian Open, in 2007 the result was A, but what was the result in 2012?
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_57 (attendance INTEGER, week VARCHAR, date VARCHAR)
Question: What is the top attendance for weeks past 2 on october 29, 1961?
[/INST]
Here is the SQLite... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (attendance INTEGER, week VARCHAR, date VARCHAR)
Question: What is the top attendance for weeks past 2 on october 29, 1961?
Here is the SQLite query to ans... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (height VARCHAR, name VARCHAR)
Question: What is Height, when Name is "Manuela Zanchi"?
[/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_95 (height VARCHAR, name VARCHAR)
Question: What is Height, when Name is "Manuela Zanchi"?
Here is the SQLite query to answer to the question: What is Height,... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27155678_2 (gene_name VARCHAR, accession_number VARCHAR)
Question: Name the gene name for accession number bx897700.1
[/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_27155678_2 (gene_name VARCHAR, accession_number VARCHAR)
Question: Name the gene name for accession number bx897700.1
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_17 (driver VARCHAR, grid VARCHAR, time_retired VARCHAR)
Question: Who drove in grids more than 3 and exited in an accident?
[/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_17 (driver VARCHAR, grid VARCHAR, time_retired VARCHAR)
Question: Who drove in grids more than 3 and exited in an accident?
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_73 (title VARCHAR, type VARCHAR, year VARCHAR)
Question: Which Title has a Type of album and a Year larger than 1986?
[/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_73 (title VARCHAR, type VARCHAR, year VARCHAR)
Question: Which Title has a Type of album and a Year larger than 1986?
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_1463383_1 (left_bloc VARCHAR, social_democratic VARCHAR)
Question: What are all percentages of Left Block when there is a 28.7% Social Democratic?
[/INST]
Her... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1463383_1 (left_bloc VARCHAR, social_democratic VARCHAR)
Question: What are all percentages of Left Block when there is a 28.7% Social Democratic?
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_35 (sample_size INTEGER, date_s__administered VARCHAR)
Question: What is the highest sample size administered on October 18?
[/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_35 (sample_size INTEGER, date_s__administered VARCHAR)
Question: What is the highest sample size administered on October 18?
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_21795650_1 (poles VARCHAR, series VARCHAR)
Question: How many poles were there in the Italian Formula Renault 2.0 Winter Series?
[/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_21795650_1 (poles VARCHAR, series VARCHAR)
Question: How many poles were there in the Italian Formula Renault 2.0 Winter Series?
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_15431959_1 (original_air_date VARCHAR, written_by VARCHAR)
Question: What was the original air date of Stargate SG-1 written by Peter Deluise?
[/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_15431959_1 (original_air_date VARCHAR, written_by VARCHAR)
Question: What was the original air date of Stargate SG-1 written by Peter Deluise?
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_10236830_4 (nomination VARCHAR, film_name VARCHAR)
Question: Which nominations are connected to the film Totalitarian Romance?
[/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_10236830_4 (nomination VARCHAR, film_name VARCHAR)
Question: Which nominations are connected to the film Totalitarian Romance?
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_50 (h___a VARCHAR, date VARCHAR)
Question: What is the H/A of the game on 24 january 2009?
[/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_50 (h___a VARCHAR, date VARCHAR)
Question: What is the H/A of the game on 24 january 2009?
Here is the SQLite query to answer to the question: What is the H/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_15211468_1 (episode_title VARCHAR, episode_no VARCHAR)
Question: What is the episode title for the episode numbered #1.4?
[/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_15211468_1 (episode_title VARCHAR, episode_no VARCHAR)
Question: What is the episode title for the episode numbered #1.4?
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_93 (tyre VARCHAR, entrant VARCHAR, driver VARCHAR)
Question: What tyre did Mika Salo use for team Lotus?
[/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_93 (tyre VARCHAR, entrant VARCHAR, driver VARCHAR)
Question: What tyre did Mika Salo use for team Lotus?
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_96 (siena_2002 VARCHAR, president VARCHAR)
Question: what is siena 2002 when the president is andrew jackson?
[/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_96 (siena_2002 VARCHAR, president VARCHAR)
Question: what is siena 2002 when the president is andrew jackson?
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_14038363_1 (position VARCHAR, player VARCHAR)
Question: What is Roman Bragin's position?
[/INST]
Here is the SQLite query to answer to the question: What is ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14038363_1 (position VARCHAR, player VARCHAR)
Question: What is Roman Bragin's position?
Here is the SQLite query to answer to the question: What is Roman Bragin'... | bugdaryan/sql-create-context-instruction | |
[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 (quantity VARCHAR, class VARCHAR)
Question: What is the quantity of the aw class?
[/INST]
Here is the SQLite query to answer to the question: What 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_5 (quantity VARCHAR, class VARCHAR)
Question: What is the quantity of the aw class?
Here is the SQLite query to answer to the question: What is the quantity 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_36 (shoulder VARCHAR, length VARCHAR)
Question: What is the shoulder measurement of the gun with a length of 57.85 (2.278)?
[/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_36 (shoulder VARCHAR, length VARCHAR)
Question: What is the shoulder measurement of the gun with a length of 57.85 (2.278)?
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_2201724_1 (year INTEGER)
Question: What is Fred Stolle's final year of competing in a championship?
[/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_2201724_1 (year INTEGER)
Question: What is Fred Stolle's final year of competing in a championship?
Here is the SQLite query to answer to the question: What is Fr... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (hakhun VARCHAR, tikhak VARCHAR)
Question: Which Hakhun has a Tikhak of ʒu²?
[/INST]
Here is the SQLite query to answer to the question: Which Hakhun ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (hakhun VARCHAR, tikhak VARCHAR)
Question: Which Hakhun has a Tikhak of ʒu²?
Here is the SQLite query to answer to the question: Which Hakhun has a Tikhak ... | bugdaryan/sql-create-context-instruction | |
[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 (sport VARCHAR, venue VARCHAR)
Question: What sport happened at Wildcat Stadium?
[/INST]
Here is the SQLite query to answer to the question: What sport... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (sport VARCHAR, venue VARCHAR)
Question: What sport happened at Wildcat Stadium?
Here is the SQLite query to answer to the question: What sport happened at ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (overall INTEGER, name VARCHAR, pick VARCHAR)
Question: How many overalls have charley barnes as the name, with a pick less than 3?
[/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_90 (overall INTEGER, name VARCHAR, pick VARCHAR)
Question: How many overalls have charley barnes as the name, with a pick less than 3?
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_47 (loera VARCHAR, source VARCHAR, date VARCHAR)
Question: Which Loera has a Source of surveyusa, and a Date of may 16–may 18, 2008?
[/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_47 (loera VARCHAR, source VARCHAR, date VARCHAR)
Question: Which Loera has a Source of surveyusa, and a Date of may 16–may 18, 2008?
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 department (creation VARCHAR, name VARCHAR, budget_in_billions VARCHAR)
Question: List the creation year, name and budget of each department.
[/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 department (creation VARCHAR, name VARCHAR, budget_in_billions VARCHAR)
Question: List the creation year, name and budget of each department.
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_50 (valid_poll INTEGER, constituency VARCHAR)
Question: Name the least valid poll for munster
[/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_50 (valid_poll INTEGER, constituency VARCHAR)
Question: Name the least valid poll for munster
Here is the SQLite query to answer to the question: Name the lea... | bugdaryan/sql-create-context-instruction | |
[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 (competition VARCHAR, notes VARCHAR)
Question: Tell me the competition for half marathon
[/INST]
Here is the SQLite query to answer to the question: T... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (competition VARCHAR, notes VARCHAR)
Question: Tell me the competition for half marathon
Here is the SQLite query to answer to the question: Tell me the co... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE purchases (sales_details VARCHAR, purchase_details VARCHAR); CREATE TABLE sales (sales_details VARCHAR, purchase_details VARCHAR)
Question: What are the details of ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE purchases (sales_details VARCHAR, purchase_details VARCHAR); CREATE TABLE sales (sales_details VARCHAR, purchase_details VARCHAR)
Question: What are the details of all sa... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Documents_with_Expenses (document_id VARCHAR, budget_type_code VARCHAR); CREATE TABLE Documents (document_date VARCHAR, document_id VARCHAR)
Question: What are the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Documents_with_Expenses (document_id VARCHAR, budget_type_code VARCHAR); CREATE TABLE Documents (document_date VARCHAR, document_id VARCHAR)
Question: What are the dates ... | bugdaryan/sql-create-context-instruction | |
[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 (school_club_team VARCHAR, player VARCHAR)
Question: what is the school that hosts jim goodman
[/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_57 (school_club_team VARCHAR, player VARCHAR)
Question: what is the school that hosts jim goodman
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_78 (verb_meaning VARCHAR, part_1 VARCHAR)
Question: What is the verb meaning for Saugen in part 1?
[/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_78 (verb_meaning VARCHAR, part_1 VARCHAR)
Question: What is the verb meaning for Saugen in part 1?
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_2 (away_team VARCHAR, venue VARCHAR)
Question: Who was the away team at Junction Oval?
[/INST]
Here is the SQLite query to answer to the question: Who wa... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (away_team VARCHAR, venue VARCHAR)
Question: Who was the away team at Junction Oval?
Here is the SQLite query to answer to the question: Who was the away te... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1341930_38 (candidates VARCHAR, incumbent VARCHAR)
Question: How many incumbents come from alvin bush's district?
[/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_1341930_38 (candidates VARCHAR, incumbent VARCHAR)
Question: How many incumbents come from alvin bush's district?
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_39 (platelet_count VARCHAR, condition VARCHAR)
Question: Which Platelet count has a Condition of factor v deficiency?
[/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_39 (platelet_count VARCHAR, condition VARCHAR)
Question: Which Platelet count has a Condition of factor v deficiency?
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_2668199_2 (candidates VARCHAR, party VARCHAR, result VARCHAR, first_elected VARCHAR)
Question: Who were all the candidates when the results were re-elected, f... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2668199_2 (candidates VARCHAR, party VARCHAR, result VARCHAR, first_elected VARCHAR)
Question: Who were all the candidates when the results were re-elected, first e... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25800134_17 (writer_s_ VARCHAR, airdate VARCHAR)
Question: Who was the writer who wrote the episode that was aired on September 11, 1972?
[/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_25800134_17 (writer_s_ VARCHAR, airdate VARCHAR)
Question: Who was the writer who wrote the episode that was aired on September 11, 1972?
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_174266_6 (year VARCHAR)
Question: If the year is 2010, what is the minimum amount of years 5-9?
[/INST]
Here is the SQLite query to answer to the question: If... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_174266_6 (year VARCHAR)
Question: If the year is 2010, what is the minimum amount of years 5-9?
Here is the SQLite query to answer to the question: If the year 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_54 (opponent VARCHAR, week VARCHAR, date VARCHAR)
Question: Who was the opponent in a week over 8 on December 4, 1960?
[/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_54 (opponent VARCHAR, week VARCHAR, date VARCHAR)
Question: Who was the opponent in a week over 8 on December 4, 1960?
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_76 (constructor VARCHAR, driver VARCHAR)
Question: Who built the Jim Crawford car?
[/INST]
Here is the SQLite query to answer to the question: Who built ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (constructor VARCHAR, driver VARCHAR)
Question: Who built the Jim Crawford car?
Here is the SQLite query to answer to the question: Who built the Jim Crawf... | bugdaryan/sql-create-context-instruction | |
[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 (second VARCHAR, lead VARCHAR)
Question: Who is the Second when Michel Gribi is the lead?
[/INST]
Here is the SQLite query to answer to the question: ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (second VARCHAR, lead VARCHAR)
Question: Who is the Second when Michel Gribi is the lead?
Here is the SQLite query to answer to the question: Who is the Se... | bugdaryan/sql-create-context-instruction | |
[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 (crowd VARCHAR, home_team VARCHAR)
Question: What size was the crowd when Hawthorn was the home team?
[/INST]
Here is the SQLite query to answer to th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (crowd VARCHAR, home_team VARCHAR)
Question: What size was the crowd when Hawthorn was the home team?
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_2668352_14 (district VARCHAR, first_elected VARCHAR)
Question: Name the district for first elected 1810
[/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_2668352_14 (district VARCHAR, first_elected VARCHAR)
Question: Name the district for first elected 1810
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 table_16689920_1 (distance VARCHAR, jockey VARCHAR, date VARCHAR)
Question: What is the distance for jockey Kent Desormeaux on 6/7/08?
[/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_16689920_1 (distance VARCHAR, jockey VARCHAR, date VARCHAR)
Question: What is the distance for jockey Kent Desormeaux on 6/7/08?
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_9 (rank INTEGER, bronze INTEGER)
Question: What is the rank with 0 bronze?
[/INST]
Here is the SQLite query to answer to the question: What is the rank w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (rank INTEGER, bronze INTEGER)
Question: What is the rank with 0 bronze?
Here is the SQLite query to answer to the question: What is the rank with 0 bronze?... | bugdaryan/sql-create-context-instruction | |
[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 (high_points VARCHAR, game VARCHAR, team VARCHAR)
Question: What high points did San Francisco have in a game later than 69?
[/INST]
Here is the SQLit... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (high_points VARCHAR, game VARCHAR, team VARCHAR)
Question: What high points did San Francisco have in a game later than 69?
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 (team__number2 VARCHAR, team__number1 VARCHAR)
Question: Who played against Hapoel tel aviv when they were team #1?
[/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_89 (team__number2 VARCHAR, team__number1 VARCHAR)
Question: Who played against Hapoel tel aviv when they were team #1?
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_93 (game__number INTEGER, home VARCHAR)
Question: What is the first game that has a home team of Detroit?
[/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_93 (game__number INTEGER, home VARCHAR)
Question: What is the first game that has a home team of Detroit?
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_24 (rank INTEGER, lane VARCHAR, heat VARCHAR)
Question: Name the average rank with larger than 3 and heat more than 5
[/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_24 (rank INTEGER, lane VARCHAR, heat VARCHAR)
Question: Name the average rank with larger than 3 and heat more than 5
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_90 (venue VARCHAR, date VARCHAR)
Question: Which venue had a match played on August 16, 2006?
[/INST]
Here is the SQLite query to answer to the question:... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (venue VARCHAR, date VARCHAR)
Question: Which venue had a match played on August 16, 2006?
Here is the SQLite query to answer to the question: Which 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_19 (_percentage_gdp VARCHAR, surplus_deficit_ VARCHAR, income VARCHAR, year VARCHAR, expenditure VARCHAR)
Question: Which % GDP has a Year smaller than 2... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (_percentage_gdp VARCHAR, surplus_deficit_ VARCHAR, income VARCHAR, year VARCHAR, expenditure VARCHAR)
Question: Which % GDP has a Year smaller than 2011, 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_2523809_1 (power__kw_ VARCHAR, channel VARCHAR)
Question: What's the power output for channel tv-29?
[/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_2523809_1 (power__kw_ VARCHAR, channel VARCHAR)
Question: What's the power output for channel tv-29?
Here is the SQLite query to answer to the question: What's 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_13258876_2 (opponent VARCHAR, date VARCHAR)
Question: Who did the Seahawks play on September 4, 1983?
[/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_13258876_2 (opponent VARCHAR, date VARCHAR)
Question: Who did the Seahawks play on September 4, 1983?
Here is the SQLite query to answer to the question: Who did 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 employees (salary INTEGER)
Question: display all the information of the employees whose salary if within the range of smallest salary and 2500.
[/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 employees (salary INTEGER)
Question: display all the information of the employees whose salary if within the range of smallest salary and 2500.
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_12121208_1 (womens_singles VARCHAR, mens_singles VARCHAR)
Question: Who won the womens singles when Marc Zwiebler won the men's singles?
[/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_12121208_1 (womens_singles VARCHAR, mens_singles VARCHAR)
Question: Who won the womens singles when Marc Zwiebler won the men's singles?
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_27614707_1 (original_artist VARCHAR, theme VARCHAR)
Question: Who was the original artist of the Top 12 Men theme?
[/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_27614707_1 (original_artist VARCHAR, theme VARCHAR)
Question: Who was the original artist of the Top 12 Men theme?
Here is the SQLite query to answer to the questi... | 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.