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_62 (home_team VARCHAR, away_team VARCHAR)
Question: When the Away team of essendon was playing, what was the Home team's score?
[/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_62 (home_team VARCHAR, away_team VARCHAR)
Question: When the Away team of essendon was playing, what was the Home team's score?
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_91 (serial VARCHAR, outcome VARCHAR, date VARCHAR)
Question: On 1959-01-27 when outcome was failure, what is the serial?
[/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_91 (serial VARCHAR, outcome VARCHAR, date VARCHAR)
Question: On 1959-01-27 when outcome was failure, what is the serial?
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_65 (transfer_window VARCHAR, status VARCHAR, country VARCHAR)
Question: What is the transfer window with a status of transfer from the country of Wal?
[/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (transfer_window VARCHAR, status VARCHAR, country VARCHAR)
Question: What is the transfer window with a status of transfer from the country of Wal?
Here is... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_87 (result VARCHAR, date VARCHAR)
Question: What was the result on October 20, 2002?
[/INST]
Here is the SQLite query to answer to the question: What was... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_87 (result VARCHAR, date VARCHAR)
Question: What was the result on October 20, 2002?
Here is the SQLite query to answer to the question: What was the result o... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (date VARCHAR, surface VARCHAR, tournament VARCHAR)
Question: What date was the game played on the hard surface at the Tournament of Sweden f2?
[/INST... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (date VARCHAR, surface VARCHAR, tournament VARCHAR)
Question: What date was the game played on the hard surface at the Tournament of Sweden f2?
Here is the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (winner VARCHAR, date VARCHAR)
Question: What is Winner, when Date is 5 Sep?
[/INST]
Here is the SQLite query to answer to the question: What is Winne... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (winner VARCHAR, date VARCHAR)
Question: What is Winner, when Date is 5 Sep?
Here is the SQLite query to answer to the question: What is Winner, when Date ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (date VARCHAR, winning_driver VARCHAR)
Question: What date was Rodger Ward the winning driver?
[/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_48 (date VARCHAR, winning_driver VARCHAR)
Question: What date was Rodger Ward the winning driver?
Here is the SQLite query to answer to the question: What dat... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (method VARCHAR, result VARCHAR, opponent VARCHAR)
Question: Which method resulting in a win against Ed Mahone?
[/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_77 (method VARCHAR, result VARCHAR, opponent VARCHAR)
Question: Which method resulting in a win against Ed Mahone?
Here is the SQLite query to answer to the q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (champion VARCHAR, location VARCHAR, year VARCHAR)
Question: Who was the Champion in Snellville, GA in 2006?
[/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_46 (champion VARCHAR, location VARCHAR, year VARCHAR)
Question: Who was the Champion in Snellville, GA in 2006?
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_9 (last_title VARCHAR, area_province VARCHAR, first_season VARCHAR)
Question: Name the last title for greater buenos aires and first season of 1920
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (last_title VARCHAR, area_province VARCHAR, first_season VARCHAR)
Question: Name the last title for greater buenos aires and first season of 1920
Here is th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29296103_10 (tournament VARCHAR, champion VARCHAR)
Question: which tournament was the champion pat cash 4–6, 6–4, 6–3?
[/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_29296103_10 (tournament VARCHAR, champion VARCHAR)
Question: which tournament was the champion pat cash 4–6, 6–4, 6–3?
Here is the SQLite query to answer to the qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (loss VARCHAR, date VARCHAR)
Question: What was the loss for June 2?
[/INST]
Here is the SQLite query to answer to the question: What was the loss for... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (loss VARCHAR, date VARCHAR)
Question: What was the loss for June 2?
Here is the SQLite query to answer to the question: What was the loss for June 2?:
```... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (free VARCHAR, genitive_3 VARCHAR)
Question: Which Free polite has a Genitive 3 of *n(i)-ami?
[/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_40 (free VARCHAR, genitive_3 VARCHAR)
Question: Which Free polite has a Genitive 3 of *n(i)-ami?
Here is the SQLite query to answer to the question: Which Fre... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (away_team VARCHAR, crowd INTEGER)
Question: What did the away team score when the crowd was larger than 6,872?
[/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_55 (away_team VARCHAR, crowd INTEGER)
Question: What did the away team score when the crowd was larger than 6,872?
Here is the SQLite query to answer to the q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (electors INTEGER, share_of_votes VARCHAR)
Question: What is the total of electors when the share of votes was 11,0%?
[/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_70 (electors INTEGER, share_of_votes VARCHAR)
Question: What is the total of electors when the share of votes was 11,0%?
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_2668352_11 (first_elected INTEGER)
Question: Name the least first elected
[/INST]
Here is the SQLite query to answer to the question: Name the least first ele... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2668352_11 (first_elected INTEGER)
Question: Name the least first elected
Here is the SQLite query to answer to the question: Name the least first elected:
```
SEL... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (position VARCHAR, overall VARCHAR, mlb_team VARCHAR)
Question: Which position was more than 421 overall for the St. Louis Cardinals?
[/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_45 (position VARCHAR, overall VARCHAR, mlb_team VARCHAR)
Question: Which position was more than 421 overall for the St. Louis Cardinals?
Here is the SQLite qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (school_year VARCHAR, class_aAAA VARCHAR, dickinson VARCHAR)
Question: What School Year has a Class AAAA of Dickinson?
[/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_61 (school_year VARCHAR, class_aAAA VARCHAR, dickinson VARCHAR)
Question: What School Year has a Class AAAA of Dickinson?
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_94 (director VARCHAR, title VARCHAR)
Question: Who is the Director of Fish Tales?
[/INST]
Here is the SQLite query to answer to the question: Who 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_94 (director VARCHAR, title VARCHAR)
Question: Who is the Director of Fish Tales?
Here is the SQLite query to answer to the question: Who is the Director of 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_11 (round INTEGER, pick VARCHAR, college VARCHAR, overall VARCHAR)
Question: What is the sum of the rounds where the draft pick came from the college of ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (round INTEGER, pick VARCHAR, college VARCHAR, overall VARCHAR)
Question: What is the sum of the rounds where the draft pick came from the college of tennes... | bugdaryan/sql-create-context-instruction | |
[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 (home_team VARCHAR, away_team VARCHAR)
Question: Who is the home team when the away team is newcastle united?
[/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_16 (home_team VARCHAR, away_team VARCHAR)
Question: Who is the home team when the away team is newcastle united?
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_58 (venue VARCHAR, home_team VARCHAR)
Question: What is Home team Venue for the hawthorn team?
[/INST]
Here is the SQLite query to answer to the question... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (venue VARCHAR, home_team VARCHAR)
Question: What is Home team Venue for the hawthorn team?
Here is the SQLite query to answer to the question: What is 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_78 (record VARCHAR, date VARCHAR)
Question: What was the Record on September 21?
[/INST]
Here is the SQLite query to answer to the question: What was the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (record VARCHAR, date VARCHAR)
Question: What was the Record on September 21?
Here is the SQLite query to answer to the question: What was the Record on 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_67 (nation VARCHAR, date VARCHAR)
Question: What is Nation, when Date is "2004-07-22"?
[/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_67 (nation VARCHAR, date VARCHAR)
Question: What is Nation, when Date is "2004-07-22"?
Here is the SQLite query to answer to the question: What is Nation, whe... | bugdaryan/sql-create-context-instruction | |
[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 (pick__number VARCHAR, position VARCHAR, college VARCHAR)
Question: What was the pick number for the wide receiver drafted from Michigan State?
[/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 (pick__number VARCHAR, position VARCHAR, college VARCHAR)
Question: What was the pick number for the wide receiver drafted from Michigan State?
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 institution (institution VARCHAR, LOCATION VARCHAR, founded VARCHAR, TYPE VARCHAR)
Question: Show the names and locations of institutions that are founded after 199... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE institution (institution VARCHAR, LOCATION VARCHAR, founded VARCHAR, TYPE VARCHAR)
Question: Show the names and locations of institutions that are founded after 1990 and ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (lyrics__l____music__m_ VARCHAR, place VARCHAR)
Question: Who did the Lyrics (l) / Music (m) for the song in 23 Place?
[/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_76 (lyrics__l____music__m_ VARCHAR, place VARCHAR)
Question: Who did the Lyrics (l) / Music (m) for the song in 23 Place?
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 organizations (uk_vat_number INTEGER); CREATE TABLE individuals (individual_last_name VARCHAR, individual_id VARCHAR); CREATE TABLE organizations (organization_id VARCHA... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE organizations (uk_vat_number INTEGER); CREATE TABLE individuals (individual_last_name VARCHAR, individual_id VARCHAR); CREATE TABLE organizations (organization_id VARCHAR, uk_... | bugdaryan/sql-create-context-instruction | |
[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 (occupational_pensions VARCHAR, working_tax_credit VARCHAR, employment___salaries_ VARCHAR, _wages_ VARCHAR, other_income_sources VARCHAR, state_pensions V... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (occupational_pensions VARCHAR, working_tax_credit VARCHAR, employment___salaries_ VARCHAR, _wages_ VARCHAR, other_income_sources VARCHAR, state_pensions VARCHAR... | bugdaryan/sql-create-context-instruction | |
[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 (record VARCHAR, visitor VARCHAR, date VARCHAR)
Question: On April 22 when the Los Angeles Kings where visitors what was the record?
[/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_59 (record VARCHAR, visitor VARCHAR, date VARCHAR)
Question: On April 22 when the Los Angeles Kings where visitors what was the record?
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_94 (f_laps VARCHAR, wins VARCHAR, points VARCHAR, poles VARCHAR)
Question: What F/Laps listing has entries of n/a Points, 1 Poles, and 0 Wins?
[/INST]
He... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (f_laps VARCHAR, wins VARCHAR, points VARCHAR, poles VARCHAR)
Question: What F/Laps listing has entries of n/a Points, 1 Poles, and 0 Wins?
Here is the SQL... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (tie_no VARCHAR, date VARCHAR)
Question: Which Tie number was played on 9 January 1956?
[/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_69 (tie_no VARCHAR, date VARCHAR)
Question: Which Tie number was played on 9 January 1956?
Here is the SQLite query to answer to the question: Which Tie 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 table_23235767_1 (score_in_the_final VARCHAR, opponent_in_the_final VARCHAR, championship VARCHAR)
Question: What is every score in the final for opponent in final ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23235767_1 (score_in_the_final VARCHAR, opponent_in_the_final VARCHAR, championship VARCHAR)
Question: What is every score in the final for opponent in final John M... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2597876_2 (top_10 VARCHAR, team_s_ VARCHAR, avg_finish VARCHAR)
Question: What is every value of Top 10 when team is #10 Phil Parsons Racing and average finis... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2597876_2 (top_10 VARCHAR, team_s_ VARCHAR, avg_finish VARCHAR)
Question: What is every value of Top 10 when team is #10 Phil Parsons Racing and average finish is 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_2668347_17 (first_elected INTEGER)
Question: Name the most first elected
[/INST]
Here is the SQLite query to answer to the question: Name the most first elect... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2668347_17 (first_elected INTEGER)
Question: Name the most first elected
Here is the SQLite query to answer to the question: Name the most first elected:
```
SELEC... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (drawn INTEGER, lost INTEGER)
Question: Lost larger than 4 is what highest drawn?
[/INST]
Here is the SQLite query to answer to the question: Lost lar... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (drawn INTEGER, lost INTEGER)
Question: Lost larger than 4 is what highest drawn?
Here is the SQLite query to answer to the question: Lost larger than 4 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 matches (winner_name VARCHAR, tourney_name VARCHAR, winner_rank_points VARCHAR)
Question: Find the name of the winner who has the highest rank points and participat... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE matches (winner_name VARCHAR, tourney_name VARCHAR, winner_rank_points VARCHAR)
Question: Find the name of the winner who has the highest rank points and participated in ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE farm_competition (Theme VARCHAR, YEAR VARCHAR)
Question: What are the themes of farm competitions sorted by year in ascending order?
[/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 farm_competition (Theme VARCHAR, YEAR VARCHAR)
Question: What are the themes of farm competitions sorted by year in ascending order?
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_46 (score VARCHAR, home_team VARCHAR)
Question: What is home team Maine Road's score?
[/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_name_46 (score VARCHAR, home_team VARCHAR)
Question: What is home team Maine Road's score?
Here is the SQLite query to answer to the question: What is home team Ma... | bugdaryan/sql-create-context-instruction | |
[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 (country VARCHAR, winter_olympics VARCHAR)
Question: what is the country for the 1972 winter olympics?
[/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_7 (country VARCHAR, winter_olympics VARCHAR)
Question: what is the country for the 1972 winter olympics?
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_26736342_1 (no_in_series INTEGER, us_viewers__millions_ VARCHAR)
Question: What is the earliest episode that was watched by 1.32 million viewers?
[/INST]
Here... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26736342_1 (no_in_series INTEGER, us_viewers__millions_ VARCHAR)
Question: What is the earliest episode that was watched by 1.32 million viewers?
Here is the SQLit... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (constructor VARCHAR, driver VARCHAR)
Question: who is the constructor when the driver is jenson button?
[/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_55 (constructor VARCHAR, driver VARCHAR)
Question: who is the constructor when the driver is jenson button?
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_5 (date VARCHAR, opponent_in_the_final VARCHAR)
Question: Name the date for opponent in the final being ignasi villacampa
[/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_5 (date VARCHAR, opponent_in_the_final VARCHAR)
Question: Name the date for opponent in the final being ignasi villacampa
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_96 (games INTEGER, name VARCHAR, pts_game VARCHAR, points VARCHAR)
Question: Can you tell me the lowest Games that has the Pts/game larger than 1.4 and t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (games INTEGER, name VARCHAR, pts_game VARCHAR, points VARCHAR)
Question: Can you tell me the lowest Games that has the Pts/game larger than 1.4 and the Poi... | bugdaryan/sql-create-context-instruction | |
[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 (floors INTEGER, height VARCHAR, building VARCHAR)
Question: What is the largest amount of floors in the 70m (233ft) Tupper building (educational)?
[/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (floors INTEGER, height VARCHAR, building VARCHAR)
Question: What is the largest amount of floors in the 70m (233ft) Tupper building (educational)?
Here is... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (title VARCHAR, series__number VARCHAR, production_code VARCHAR)
Question: Tell me the title for the production code less than 706 with series number ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (title VARCHAR, series__number VARCHAR, production_code VARCHAR)
Question: Tell me the title for the production code less than 706 with series number more 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_1939214_1 (year VARCHAR, league VARCHAR, regular_season VARCHAR)
Question: In what year did the team compete in the 2nd, Northeast season of the USL PDL Leagu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1939214_1 (year VARCHAR, league VARCHAR, regular_season VARCHAR)
Question: In what year did the team compete in the 2nd, Northeast season of the USL PDL League?
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_40 (result VARCHAR, director VARCHAR, project VARCHAR)
Question: What result does the project Once Upon A Time In The West, directed by Sergio Leone have... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (result VARCHAR, director VARCHAR, project VARCHAR)
Question: What result does the project Once Upon A Time In The West, directed by Sergio Leone have?
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_211615_2 (cancelled VARCHAR, station VARCHAR)
Question: Name the number of cancelled for turnham green
[/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_211615_2 (cancelled VARCHAR, station VARCHAR)
Question: Name the number of cancelled for turnham green
Here is the SQLite query to answer to the question: Name 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_11244302_1 (time_slot__est_ VARCHAR, rating VARCHAR)
Question: What time slots have a 6.3 rating
[/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_11244302_1 (time_slot__est_ VARCHAR, rating VARCHAR)
Question: What time slots have a 6.3 rating
Here is the SQLite query to answer to the question: What time slot... | bugdaryan/sql-create-context-instruction | |
[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 (runner_up VARCHAR)
Question: What shows for 3rd place when Runner-up shows as runner-up?
[/INST]
Here is the SQLite query to answer to the question: ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (runner_up VARCHAR)
Question: What shows for 3rd place when Runner-up shows as runner-up?
Here is the SQLite query to answer to the question: What shows fo... | bugdaryan/sql-create-context-instruction | |
[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 (quantity VARCHAR, type VARCHAR)
Question: How much Quantity has a Type of 1′c1′ h2t?
[/INST]
Here is the SQLite query to answer to the question: How ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (quantity VARCHAR, type VARCHAR)
Question: How much Quantity has a Type of 1′c1′ h2t?
Here is the SQLite query to answer to the question: How much Quantity... | bugdaryan/sql-create-context-instruction | |
[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 (main_wins VARCHAR, team VARCHAR)
Question: How many main wins for France?
[/INST]
Here is the SQLite query to answer to the question: How many main w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (main_wins VARCHAR, team VARCHAR)
Question: How many main wins for France?
Here is the SQLite query to answer to the question: How many main wins for Franc... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (date VARCHAR, venue VARCHAR)
Question: When was there a game at Arden Street Oval?
[/INST]
Here is the SQLite query to answer to the question: When w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (date VARCHAR, venue VARCHAR)
Question: When was there a game at Arden Street Oval?
Here is the SQLite query to answer to the question: When was there a 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_86 (record VARCHAR, high_rebounds VARCHAR, high_assists VARCHAR)
Question: What is Record, when High Rebounds is "Marcus Camby (15)", and when High Assis... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (record VARCHAR, high_rebounds VARCHAR, high_assists VARCHAR)
Question: What is Record, when High Rebounds is "Marcus Camby (15)", and when High Assists 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 Documents (document_type_code VARCHAR)
Question: What is the document type code with most number of documents?
[/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 Documents (document_type_code VARCHAR)
Question: What is the document type code with most number of documents?
Here is the SQLite query to answer to the question: What i... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (rank INTEGER, country VARCHAR, total VARCHAR)
Question: What is the lowest Rank of Denmark County with a Total smaller than 1?
[/INST]
Here is the SQL... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (rank INTEGER, country VARCHAR, total VARCHAR)
Question: What is the lowest Rank of Denmark County with a Total smaller than 1?
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_32 (tournament VARCHAR)
Question: What tournament shows 2013 as 2r, and a 2010 as 1r?
[/INST]
Here is the SQLite query to answer to the question: What to... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_32 (tournament VARCHAR)
Question: What tournament shows 2013 as 2r, and a 2010 as 1r?
Here is the SQLite query to answer to the question: What tournament show... | bugdaryan/sql-create-context-instruction | |
[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 (number_of_networks VARCHAR, size_of_rest_bit_field VARCHAR)
Question: What is the number of networks when the size of rest bit field is 8?
[/INST]
He... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (number_of_networks VARCHAR, size_of_rest_bit_field VARCHAR)
Question: What is the number of networks when the size of rest bit field is 8?
Here is the SQL... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (melbourne VARCHAR, sydney VARCHAR, auckland VARCHAR, gold_coast VARCHAR, perth VARCHAR)
Question: What is the result for Melbourne when Gold Coast, Pe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (melbourne VARCHAR, sydney VARCHAR, auckland VARCHAR, gold_coast VARCHAR, perth VARCHAR)
Question: What is the result for Melbourne when Gold Coast, Perth, 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_84 (Id VARCHAR)
Question: What is the highest 2003 value with a 1990 greater than 74, a 125 value in 1985, and a 1995 value greater than 130?
[/INST]
Her... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (Id VARCHAR)
Question: What is the highest 2003 value with a 1990 greater than 74, a 125 value in 1985, and a 1995 value greater than 130?
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_22570439_1 (written_by VARCHAR, directed_by VARCHAR)
Question: How many written by have wendey stanzler as the director?
[/INST]
Here is the SQLite query to a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22570439_1 (written_by VARCHAR, directed_by VARCHAR)
Question: How many written by have wendey stanzler as the director?
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_65 (bronze VARCHAR, gold VARCHAR, games VARCHAR, total VARCHAR, silver VARCHAR)
Question: Which Bronze has a Total larger than 7 and a Silver of 3, 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_65 (bronze VARCHAR, gold VARCHAR, games VARCHAR, total VARCHAR, silver VARCHAR)
Question: Which Bronze has a Total larger than 7 and a Silver of 3, and a Games... | bugdaryan/sql-create-context-instruction | |
[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 (college VARCHAR, player VARCHAR)
Question: what college has paul seiler as a player?
[/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_22 (college VARCHAR, player VARCHAR)
Question: what college has paul seiler as a player?
Here is the SQLite query to answer to the question: what college has ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (ice_level_reporters VARCHAR, colour_commentator_s_ VARCHAR, year VARCHAR)
Question: Which ice level reporter has Harry Neale for the colour commentat... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (ice_level_reporters VARCHAR, colour_commentator_s_ VARCHAR, year VARCHAR)
Question: Which ice level reporter has Harry Neale for the colour commentator aft... | bugdaryan/sql-create-context-instruction | |
[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 (best VARCHAR, matches VARCHAR, runs VARCHAR)
Question: Name the best when runs of 1088 and matches more than 11
[/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_4 (best VARCHAR, matches VARCHAR, runs VARCHAR)
Question: Name the best when runs of 1088 and matches more than 11
Here is the SQLite query to answer to the q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (player VARCHAR, place VARCHAR)
Question: What is Player, when Place is 2?
[/INST]
Here is the SQLite query to answer to the question: What is Player,... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (player VARCHAR, place VARCHAR)
Question: What is Player, when Place is 2?
Here is the SQLite query to answer to the question: What is Player, when Place i... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (rank_points VARCHAR, event VARCHAR, total VARCHAR)
Question: The event WC Rio De Janeiro with a total of 16 has what as rank points?
[/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_85 (rank_points VARCHAR, event VARCHAR, total VARCHAR)
Question: The event WC Rio De Janeiro with a total of 16 has what as rank points?
Here is the SQLite qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (score VARCHAR, opponent VARCHAR)
Question: What was the score in the match against Sanaz Marand?
[/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_54 (score VARCHAR, opponent VARCHAR)
Question: What was the score in the match against Sanaz Marand?
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_19763199_3 (total_votes INTEGER)
Question: What is the least total votes?
[/INST]
Here is the SQLite query to answer to the question: What is the least total ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19763199_3 (total_votes INTEGER)
Question: What is the least total votes?
Here is the SQLite query to answer to the question: What is the least total votes?:
```
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_10 (events INTEGER, tournament VARCHAR, wins VARCHAR)
Question: During the PGA Championship, what's the lowest amount of events with wins greater than 0?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (events INTEGER, tournament VARCHAR, wins VARCHAR)
Question: During the PGA Championship, what's the lowest amount of events with wins greater than 0?
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_83 (Id VARCHAR)
Question: What's the 2007 result when 2003 is a?
[/INST]
Here is the SQLite query to answer to the question: What's the 2007 result when ... | 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's the 2007 result when 2003 is a?
Here is the SQLite query to answer to the question: What's the 2007 result when 2003 is 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_19 (period INTEGER, element VARCHAR)
Question: Which highest period's element is platinum?
[/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_19 (period INTEGER, element VARCHAR)
Question: Which highest period's element is platinum?
Here is the SQLite query to answer to the question: Which highest p... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE country (SurfaceArea INTEGER, Continent VARCHAR)
Question: What is the total surface area of the continents Asia and Europe?
[/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 country (SurfaceArea INTEGER, Continent VARCHAR)
Question: What is the total surface area of the continents Asia and Europe?
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_22 (_number_of_constituency_votes INTEGER, election VARCHAR)
Question: What is the highest # Of Constituency Votes, when Election is 2005?
[/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_22 (_number_of_constituency_votes INTEGER, election VARCHAR)
Question: What is the highest # Of Constituency Votes, when Election is 2005?
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_57 (player VARCHAR, pick VARCHAR)
Question: What was the name of the player for pick 402?
[/INST]
Here is the SQLite query to answer to the question: Wha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (player VARCHAR, pick VARCHAR)
Question: What was the name of the player for pick 402?
Here is the SQLite query to answer to the question: What was the nam... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE farm_competition (Official_Name VARCHAR, City_ID VARCHAR, Host_city_ID VARCHAR); CREATE TABLE city (Official_Name VARCHAR, City_ID VARCHAR, Host_city_ID VARCHAR)
Qu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE farm_competition (Official_Name VARCHAR, City_ID VARCHAR, Host_city_ID VARCHAR); CREATE TABLE city (Official_Name VARCHAR, City_ID VARCHAR, Host_city_ID VARCHAR)
Question... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (overall INTEGER, pick__number VARCHAR, position VARCHAR, round VARCHAR)
Question: Position of defensive tackle, and a Round of 4, and a Pick # smalle... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (overall INTEGER, pick__number VARCHAR, position VARCHAR, round VARCHAR)
Question: Position of defensive tackle, and a Round of 4, and a Pick # smaller than... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2400842_1 (directed_by VARCHAR, prod__number VARCHAR)
Question: Who directed the epsiode with production number 109?
[/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_2400842_1 (directed_by VARCHAR, prod__number VARCHAR)
Question: Who directed the epsiode with production number 109?
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_6 (parent_magazine VARCHAR, title VARCHAR, frequency VARCHAR, magazine_type VARCHAR)
Question: What was the parent magazine for the manga magazine, denge... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (parent_magazine VARCHAR, title VARCHAR, frequency VARCHAR, magazine_type VARCHAR)
Question: What was the parent magazine for the manga magazine, dengeki moe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1881642_1 (date_released VARCHAR, green_communist VARCHAR)
Question: What date did the Green-Communists receive 5.7%?
[/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_1881642_1 (date_released VARCHAR, green_communist VARCHAR)
Question: What date did the Green-Communists receive 5.7%?
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_1342292_4 (district VARCHAR, first_elected VARCHAR)
Question: What district had someone first elected in 1932?
[/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_1342292_4 (district VARCHAR, first_elected VARCHAR)
Question: What district had someone first elected in 1932?
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_58 (points_against VARCHAR, club VARCHAR)
Question: What is the Points against for the ystradgynlais rfc club?
[/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_58 (points_against VARCHAR, club VARCHAR)
Question: What is the Points against for the ystradgynlais rfc club?
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_39 (attendance VARCHAR, date VARCHAR)
Question: On August 22, how many people came to the game?
[/INST]
Here is the SQLite query to answer to the questio... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (attendance VARCHAR, date VARCHAR)
Question: On August 22, how many people came to the game?
Here is the SQLite query to answer to the question: On August ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25244412_2 (state VARCHAR, total_electricity__gw·h_ VARCHAR)
Question: What was the state with the total electricity generated is 38380 gw-h?
[/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_25244412_2 (state VARCHAR, total_electricity__gw·h_ VARCHAR)
Question: What was the state with the total electricity generated is 38380 gw-h?
Here is the SQLite qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13943239_1 (viewers__millions_ VARCHAR, episode VARCHAR)
Question: How much audience did the 7th Pride of Britain Awards ceremony have?
[/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_13943239_1 (viewers__millions_ VARCHAR, episode VARCHAR)
Question: How much audience did the 7th Pride of Britain Awards ceremony have?
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_67 (employee__real_name_ VARCHAR, pick__number INTEGER)
Question: What is the real name of the Pick # that is greater than 9?
[/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_67 (employee__real_name_ VARCHAR, pick__number INTEGER)
Question: What is the real name of the Pick # that is greater than 9?
Here is the SQLite query to answ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE WINE (Grape VARCHAR, Appelation VARCHAR, Name VARCHAR, Score INTEGER)
Question: List the grape, appelation and name of wines whose score is higher than 93 ordered b... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE WINE (Grape VARCHAR, Appelation VARCHAR, Name VARCHAR, Score INTEGER)
Question: List the grape, appelation and name of wines whose score is higher than 93 ordered by Name... | bugdaryan/sql-create-context-instruction | |
[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 (score VARCHAR, date VARCHAR)
Question: What was the score for the final played on 2 July 2012?
[/INST]
Here is the SQLite query to answer to the quest... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (score VARCHAR, date VARCHAR)
Question: What was the score for the final played on 2 July 2012?
Here is the SQLite query to answer to the question: What was... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (Id VARCHAR)
Question: What is 1998, when 1997 is "3R", and when 1992 is "A"?
[/INST]
Here is the SQLite query to answer to the question: What is 1998... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (Id VARCHAR)
Question: What is 1998, when 1997 is "3R", and when 1992 is "A"?
Here is the SQLite query to answer to the question: What is 1998, when 1997 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 Person (city VARCHAR)
Question: How many different cities are they from?
[/INST]
Here is the SQLite query to answer to the question: How many different cities are t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Person (city VARCHAR)
Question: How many different cities are they from?
Here is the SQLite query to answer to the question: How many different cities are they from?:
``... | bugdaryan/sql-create-context-instruction | |
[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 (year INTEGER, points VARCHAR, rank VARCHAR)
Question: What earliest year with points larger than 68 and a rank of 7th?
[/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_71 (year INTEGER, points VARCHAR, rank VARCHAR)
Question: What earliest year with points larger than 68 and a rank of 7th?
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_21434618_1 (team__number2 VARCHAR)
Question: give the 1st leg score against ilisiakos
[/INST]
Here is the SQLite query to answer to the question: give the 1st... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21434618_1 (team__number2 VARCHAR)
Question: give the 1st leg score against ilisiakos
Here is the SQLite query to answer to the question: give the 1st leg score ag... | bugdaryan/sql-create-context-instruction | |
[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 (opponent VARCHAR, res VARCHAR, time VARCHAR)
Question: Which Opponent had a Win as Res and a Time of 1:10?
[/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_44 (opponent VARCHAR, res VARCHAR, time VARCHAR)
Question: Which Opponent had a Win as Res and a Time of 1:10?
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_44 (televote INTEGER, artist VARCHAR, place VARCHAR)
Question: What is the total of televote for the artist Pokeris when the place was less than 10?
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_44 (televote INTEGER, artist VARCHAR, place VARCHAR)
Question: What is the total of televote for the artist Pokeris when the place was less than 10?
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_40 (mascot VARCHAR, year_left VARCHAR, location VARCHAR)
Question: What's the mascot in Huntington after the year 2000?
[/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_40 (mascot VARCHAR, year_left VARCHAR, location VARCHAR)
Question: What's the mascot in Huntington after the year 2000?
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_41 (tournament VARCHAR)
Question: Which 2004 has a Tournament of french open?
[/INST]
Here is the SQLite query to answer to the question: Which 2004 has ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (tournament VARCHAR)
Question: Which 2004 has a Tournament of french open?
Here is the SQLite query to answer to the question: Which 2004 has a Tournament ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (games VARCHAR, medal VARCHAR, event VARCHAR)
Question: At which games did Tunisia win a bronze in the men's 1500 m freestyle?
[/INST]
Here is the SQL... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (games VARCHAR, medal VARCHAR, event VARCHAR)
Question: At which games did Tunisia win a bronze in the men's 1500 m freestyle?
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_14308895_2 (last_competed INTEGER, country_territory VARCHAR)
Question: when did new zealand last compete?
[/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_14308895_2 (last_competed INTEGER, country_territory VARCHAR)
Question: when did new zealand last compete?
Here is the SQLite query to answer to the question: when... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (subject INTEGER, plural VARCHAR)
Question: What subject has a plural of am(ô)ra (we)?
[/INST]
Here is the SQLite query to answer to the question: Wha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (subject INTEGER, plural VARCHAR)
Question: What subject has a plural of am(ô)ra (we)?
Here is the SQLite query to answer to the question: What subject has... | 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.