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_23453931_5 (location VARCHAR, opponent VARCHAR)
Question: Name the location of buffalo sabres
[/INST]
Here is the SQLite query to answer to the question: Name... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23453931_5 (location VARCHAR, opponent VARCHAR)
Question: Name the location of buffalo sabres
Here is the SQLite query to answer to the question: Name the location... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19401346_1 (no_in_season VARCHAR, original_air_date VARCHAR)
Question: What's the season number of the episode originally aired on October 14, 2008?
[/INST]
H... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19401346_1 (no_in_season VARCHAR, original_air_date VARCHAR)
Question: What's the season number of the episode originally aired on October 14, 2008?
Here is the SQ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17467578_1 (original_airdate VARCHAR, us_viewers__million_ VARCHAR)
Question: What was the original airdate of the episode "The Cold Turkey", which was viewed... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17467578_1 (original_airdate VARCHAR, us_viewers__million_ VARCHAR)
Question: What was the original airdate of the episode "The Cold Turkey", which was viewed by 3.... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (team VARCHAR, score VARCHAR)
Question: What is the Team with a Score that is w 101–97 (2ot)?
[/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_17 (team VARCHAR, score VARCHAR)
Question: What is the Team with a Score that is w 101–97 (2ot)?
Here is the SQLite query to answer to the question: What is t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (cyl VARCHAR, engine VARCHAR)
Question: Engine 2.3 16v has how many cylinders?
[/INST]
Here is the SQLite query to answer to the question: Engine 2.3 1... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (cyl VARCHAR, engine VARCHAR)
Question: Engine 2.3 16v has how many cylinders?
Here is the SQLite query to answer to the question: Engine 2.3 16v has how 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 vocals (songid VARCHAR); CREATE TABLE songs (songid VARCHAR)
Question: What are the vocal types used in song "Badlands"?
[/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 vocals (songid VARCHAR); CREATE TABLE songs (songid VARCHAR)
Question: What are the vocal types used in song "Badlands"?
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_21 (frequency_mhz INTEGER, city_of_license VARCHAR, erp_w VARCHAR)
Question: In Los Banos, California, when the ERP W is than 10, what is the average Fre... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (frequency_mhz INTEGER, city_of_license VARCHAR, erp_w VARCHAR)
Question: In Los Banos, California, when the ERP W is than 10, what is the average Frequency... | bugdaryan/sql-create-context-instruction | |
[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 (holding VARCHAR, component VARCHAR)
Question: What is the holding of the customers?
[/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_56 (holding VARCHAR, component VARCHAR)
Question: What is the holding of the customers?
Here is the SQLite query to answer to the question: What is the holdin... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12834315_4 (barrel_twist VARCHAR, colt_model_no VARCHAR)
Question: Name the barrel twist for colt model mt6400
[/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_12834315_4 (barrel_twist VARCHAR, colt_model_no VARCHAR)
Question: Name the barrel twist for colt model mt6400
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_82 (visiting_team VARCHAR, stadium VARCHAR)
Question: Which Visiting Team has a Stadium of servus centre?
[/INST]
Here is the SQLite query to answer to t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (visiting_team VARCHAR, stadium VARCHAR)
Question: Which Visiting Team has a Stadium of servus centre?
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_10798928_1 (director VARCHAR, original_title VARCHAR)
Question: Who directed Dulcinea?
[/INST]
Here is the SQLite query to answer to the question: Who directe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10798928_1 (director VARCHAR, original_title VARCHAR)
Question: Who directed Dulcinea?
Here is the SQLite query to answer to the question: Who directed Dulcinea?:
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (grid INTEGER, time VARCHAR, laps VARCHAR)
Question: What is the highest grid that has +44.866 as the time, with laps greater than 25?
[/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_80 (grid INTEGER, time VARCHAR, laps VARCHAR)
Question: What is the highest grid that has +44.866 as the time, with laps greater than 25?
Here is the SQLite q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (civil_liberties_2012 INTEGER, political_rights_2011 VARCHAR, status_2011 VARCHAR, political_rights_2012 VARCHAR)
Question: What is the average 2012 c... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (civil_liberties_2012 INTEGER, political_rights_2011 VARCHAR, status_2011 VARCHAR, political_rights_2012 VARCHAR)
Question: What is the average 2012 civil l... | bugdaryan/sql-create-context-instruction | |
[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 (game VARCHAR, genre VARCHAR)
Question: When the genre is fighting what is the game?
[/INST]
Here is the SQLite query to answer to the question: When ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (game VARCHAR, genre VARCHAR)
Question: When the genre is fighting what is the game?
Here is the SQLite query to answer to the question: When the genre 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_13741576_4 (try_bonus VARCHAR, tries_against VARCHAR)
Question: Name the try bonus for tries against is 70
[/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_13741576_4 (try_bonus VARCHAR, tries_against VARCHAR)
Question: Name the try bonus for tries against is 70
Here is the SQLite query to answer to the question: 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_86 (rank INTEGER, bronze INTEGER)
Question: Name the average rank for when bronze is more than 1
[/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_86 (rank INTEGER, bronze INTEGER)
Question: Name the average rank for when bronze is more than 1
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_name_60 (name VARCHAR, rank VARCHAR, placings VARCHAR)
Question: Who has a rank great than 3 and a placing of 64?
[/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_60 (name VARCHAR, rank VARCHAR, placings VARCHAR)
Question: Who has a rank great than 3 and a placing of 64?
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_80 (total_apps VARCHAR, league_apps VARCHAR)
Question: what is the total apps when the league apps is 4 (2)?
[/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_80 (total_apps VARCHAR, league_apps VARCHAR)
Question: what is the total apps when the league apps is 4 (2)?
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_25038931_1 (minutes INTEGER, starts VARCHAR)
Question: List the total play time for 11 starts.
[/INST]
Here is the SQLite query to answer to the question: Lis... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25038931_1 (minutes INTEGER, starts VARCHAR)
Question: List the total play time for 11 starts.
Here is the SQLite query to answer to the question: List the total 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 table_2112766_1 (episode VARCHAR, viewers__in_millions_ VARCHAR)
Question: how many episode have 8.4 millions viewer.
[/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_2112766_1 (episode VARCHAR, viewers__in_millions_ VARCHAR)
Question: how many episode have 8.4 millions viewer.
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_90 (loss VARCHAR, series VARCHAR)
Question: Name the loss for series 2-2
[/INST]
Here is the SQLite query to answer to the question: Name the loss for se... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (loss VARCHAR, series VARCHAR)
Question: Name the loss for series 2-2
Here is the SQLite query to answer to the question: Name the loss for series 2-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_45 (population VARCHAR, area__km²_ VARCHAR)
Question: What is the total population for the 3,616km area?
[/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_45 (population VARCHAR, area__km²_ VARCHAR)
Question: What is the total population for the 3,616km area?
Here is the SQLite query to answer to the question: W... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (points VARCHAR, year VARCHAR)
Question: How many points did the 2005 1st place team receive?
[/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_90 (points VARCHAR, year VARCHAR)
Question: How many points did the 2005 1st place team receive?
Here is the SQLite query to answer to the question: How many ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26914759_3 (incoming_manager VARCHAR, position_in_table VARCHAR)
Question: who was the incoming manager for the 12th position in the table
[/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_26914759_3 (incoming_manager VARCHAR, position_in_table VARCHAR)
Question: who was the incoming manager for the 12th position in the table
Here is the SQLite query... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (high_school VARCHAR, utah_mr_basketball VARCHAR, year VARCHAR)
Question: Where did Tyler Haws, 2009 Utah Mr. Basketball, go to high school?
[/INST]
H... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (high_school VARCHAR, utah_mr_basketball VARCHAR, year VARCHAR)
Question: Where did Tyler Haws, 2009 Utah Mr. Basketball, go to high school?
Here is the SQ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (method VARCHAR, opponent VARCHAR)
Question: What was the method used when the opponent was Tyson Griffin?
[/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_75 (method VARCHAR, opponent VARCHAR)
Question: What was the method used when the opponent was Tyson Griffin?
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_78 (result VARCHAR, record VARCHAR, kickoff_ VARCHAR, a_ VARCHAR)
Question: What's the result when the kickoff was 4:00 and the record was 4-8?
[/INST]
H... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (result VARCHAR, record VARCHAR, kickoff_ VARCHAR, a_ VARCHAR)
Question: What's the result when the kickoff was 4:00 and the record was 4-8?
Here is the SQ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (rank INTEGER, gold VARCHAR, bronze VARCHAR, total VARCHAR)
Question: What is the average rank of a country with less than 13 bronze medals, a total o... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (rank INTEGER, gold VARCHAR, bronze VARCHAR, total VARCHAR)
Question: What is the average rank of a country with less than 13 bronze medals, a total of 11 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_name_1 (comp VARCHAR, date VARCHAR)
Question: What's the comp for 1998-04-22?
[/INST]
Here is the SQLite query to answer to the question: What's the comp for ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (comp VARCHAR, date VARCHAR)
Question: What's the comp for 1998-04-22?
Here is the SQLite query to answer to the question: What's the comp for 1998-04-22?:
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE weather (zip_code VARCHAR, mean_temperature_f INTEGER, date VARCHAR)
Question: For each zip code, return the average mean temperature of August there.
[/INST]
Here ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE weather (zip_code VARCHAR, mean_temperature_f INTEGER, date VARCHAR)
Question: For each zip code, return the average mean temperature of August there.
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_96 (position VARCHAR, time VARCHAR, venue VARCHAR)
Question: What position has a time over 38.61 at the gothenburg venue?
[/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_96 (position VARCHAR, time VARCHAR, venue VARCHAR)
Question: What position has a time over 38.61 at the gothenburg venue?
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_72 (name VARCHAR, rank VARCHAR)
Question: Who is at rank 9?
[/INST]
Here is the SQLite query to answer to the question: Who is at rank 9?:
```
SELECT nam... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (name VARCHAR, rank VARCHAR)
Question: Who is at rank 9?
Here is the SQLite query to answer to the question: Who is at rank 9?:
```
SELECT name FROM table_... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2273738_1 (type VARCHAR, local_authority VARCHAR)
Question: Leeds City Council is the local authority for what type of location?
[/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_2273738_1 (type VARCHAR, local_authority VARCHAR)
Question: Leeds City Council is the local authority for what type of location?
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 customers (customer_id VARCHAR); CREATE TABLE addresses (city VARCHAR, address_id VARCHAR); CREATE TABLE customer_addresses (customer_id VARCHAR, address_id VARCHAR)
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE customers (customer_id VARCHAR); CREATE TABLE addresses (city VARCHAR, address_id VARCHAR); CREATE TABLE customer_addresses (customer_id VARCHAR, address_id VARCHAR)
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_16575609_3 (college VARCHAR, player VARCHAR)
Question: What college does Jean-Nicolas Carriere play for?
[/INST]
Here is the SQLite query to answer to the que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16575609_3 (college VARCHAR, player VARCHAR)
Question: What college does Jean-Nicolas Carriere play for?
Here is the SQLite query to answer to the question: What c... | bugdaryan/sql-create-context-instruction | |
[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 (nationality VARCHAR, goals VARCHAR, apps VARCHAR)
Question: What is the Nationality of the Player with more than 8 Goals and Apps of 52?
[/INST]
Here ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (nationality VARCHAR, goals VARCHAR, apps VARCHAR)
Question: What is the Nationality of the Player with more than 8 Goals and Apps of 52?
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_2259285_1 (winning_pct__percentage VARCHAR, goals_for VARCHAR)
Question: What was the winning % when there were 322 goals?
[/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_2259285_1 (winning_pct__percentage VARCHAR, goals_for VARCHAR)
Question: What was the winning % when there were 322 goals?
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_12 (rider VARCHAR, rank VARCHAR, speed VARCHAR)
Question: Who has a Rank larger than 3 with a speed of 119.838mph?
[/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_12 (rider VARCHAR, rank VARCHAR, speed VARCHAR)
Question: Who has a Rank larger than 3 with a speed of 119.838mph?
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_23285805_6 (score VARCHAR, record VARCHAR)
Question: What was the score with the team record was 15-25?
[/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_23285805_6 (score VARCHAR, record VARCHAR)
Question: What was the score with the team record was 15-25?
Here is the SQLite query to answer to the question: What wa... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE people (People_ID VARCHAR, Height VARCHAR); CREATE TABLE poker_player (Money_Rank VARCHAR, People_ID VARCHAR)
Question: What is the money rank of the tallest poker ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE people (People_ID VARCHAR, Height VARCHAR); CREATE TABLE poker_player (Money_Rank VARCHAR, People_ID VARCHAR)
Question: What is the money rank of the tallest poker player... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2077192_2 (italian VARCHAR, english VARCHAR)
Question: What is the Italian word for the English word "otter"?
[/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_2077192_2 (italian VARCHAR, english VARCHAR)
Question: What is the Italian word for the English word "otter"?
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_29486189_4 (representative VARCHAR, residence VARCHAR)
Question: who is beavercreek's representative
[/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_29486189_4 (representative VARCHAR, residence VARCHAR)
Question: who is beavercreek's representative
Here is the SQLite query to answer to the question: who is bea... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Customer_Orders (customer_id VARCHAR, order_date INTEGER, order_status_code VARCHAR)
Question: Find the ids of all distinct customers who made order after some orde... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Customer_Orders (customer_id VARCHAR, order_date INTEGER, order_status_code VARCHAR)
Question: Find the ids of all distinct customers who made order after some orders tha... | bugdaryan/sql-create-context-instruction | |
[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 (draws INTEGER, ballarat_fl VARCHAR, against VARCHAR)
Question: What was the highest number of Draws scored by Sebastapol when the value for Against w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (draws INTEGER, ballarat_fl VARCHAR, against VARCHAR)
Question: What was the highest number of Draws scored by Sebastapol when the value for Against was les... | bugdaryan/sql-create-context-instruction | |
[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 (name VARCHAR, winning_constructor VARCHAR, circuit VARCHAR)
Question: What is the name for the Monza circuit race were Bugatti was the winning constr... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_51 (name VARCHAR, winning_constructor VARCHAR, circuit VARCHAR)
Question: What is the name for the Monza circuit race were Bugatti was the winning constructor?... | bugdaryan/sql-create-context-instruction | |
[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 (season VARCHAR, event_type VARCHAR, location VARCHAR)
Question: In what season did he compete in the Grand Prix in Kuala Lumpur?
[/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_81 (season VARCHAR, event_type VARCHAR, location VARCHAR)
Question: In what season did he compete in the Grand Prix in Kuala Lumpur?
Here is the SQLite query ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (last_performance VARCHAR, name VARCHAR, status VARCHAR, style VARCHAR)
Question: what last performance has past status, ballet as style and tommy batc... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (last_performance VARCHAR, name VARCHAR, status VARCHAR, style VARCHAR)
Question: what last performance has past status, ballet as style and tommy batchelor?... | bugdaryan/sql-create-context-instruction | |
[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 (country VARCHAR, airport VARCHAR)
Question: In what country is Hiroshima Airport located?
[/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_69 (country VARCHAR, airport VARCHAR)
Question: In what country is Hiroshima Airport located?
Here is the SQLite query to answer to the question: In what coun... | bugdaryan/sql-create-context-instruction | |
[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 (nationality VARCHAR, time VARCHAR)
Question: What is the nationality with a 13.21 time?
[/INST]
Here is the SQLite query to answer to the question: W... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (nationality VARCHAR, time VARCHAR)
Question: What is the nationality with a 13.21 time?
Here is the SQLite query to answer to the question: What is the na... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20524090_1 (obama_percentage VARCHAR, mccain_percentage VARCHAR)
Question: What was Obama's percentage in those places where McCain's percentage was 55.46%?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20524090_1 (obama_percentage VARCHAR, mccain_percentage VARCHAR)
Question: What was Obama's percentage in those places where McCain's percentage was 55.46%?
Here i... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (date VARCHAR, result VARCHAR)
Question: Which Date had a Result of 7–20?
[/INST]
Here is the SQLite query to answer to the question: Which Date had a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (date VARCHAR, result VARCHAR)
Question: Which Date had a Result of 7–20?
Here is the SQLite query to answer to the question: Which Date had a Result of 7–... | bugdaryan/sql-create-context-instruction | |
[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 (record VARCHAR, date VARCHAR)
Question: What was the record at the game held on December 24, 2005?
[/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_11 (record VARCHAR, date VARCHAR)
Question: What was the record at the game held on December 24, 2005?
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_10420426_1 (poles VARCHAR, team VARCHAR)
Question: What is the total number of poles for arden international?
[/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_10420426_1 (poles VARCHAR, team VARCHAR)
Question: What is the total number of poles for arden international?
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 (fcc_info VARCHAR, erp_w VARCHAR)
Question: What FCC info is listed for the ERP W of 2?
[/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_96 (fcc_info VARCHAR, erp_w VARCHAR)
Question: What FCC info is listed for the ERP W of 2?
Here is the SQLite query to answer to the question: What FCC info 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_1771753_3 (average_speed__mph_ VARCHAR, driver VARCHAR)
Question: When tony kanaan is the driver what is the average speed miles per hour?
[/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_1771753_3 (average_speed__mph_ VARCHAR, driver VARCHAR)
Question: When tony kanaan is the driver what is the average speed miles per hour?
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_19534677_1 (_number VARCHAR, creators VARCHAR)
Question: Name the # for bill finger edmond hamilton dick sprang , et al.
[/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_19534677_1 (_number VARCHAR, creators VARCHAR)
Question: Name the # for bill finger edmond hamilton dick sprang , et al.
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_88 (driver VARCHAR, laps VARCHAR, grid VARCHAR)
Question: Which driver had a grid of 18 with 68 laps?
[/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_name_88 (driver VARCHAR, laps VARCHAR, grid VARCHAR)
Question: Which driver had a grid of 18 with 68 laps?
Here is the SQLite query to answer to the question: Whic... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_232458_1 (city___municipality VARCHAR, pop_density__per_km²_ VARCHAR)
Question: What is the name of the city/municipality if the population is 1,388.88?
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_232458_1 (city___municipality VARCHAR, pop_density__per_km²_ VARCHAR)
Question: What is the name of the city/municipality if the population is 1,388.88?
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_name_30 (population VARCHAR, height__m_ VARCHAR, area___ha__ VARCHAR)
Question: What is the Population of the group that has a Height (m) of 15 and an Area (h... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (population VARCHAR, height__m_ VARCHAR, area___ha__ VARCHAR)
Question: What is the Population of the group that has a Height (m) of 15 and an Area (ha) of ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (other VARCHAR, firefox VARCHAR)
Question: What percentage of users were using other browsers according to the source that reported 21.22% were using ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (other VARCHAR, firefox VARCHAR)
Question: What percentage of users were using other browsers according to the source that reported 21.22% were using Firefo... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1012730_1 (avg_finish VARCHAR, year VARCHAR)
Question: In 2012 what was the average finish?
[/INST]
Here is the SQLite query to answer to the question: In 201... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1012730_1 (avg_finish VARCHAR, year VARCHAR)
Question: In 2012 what was the average finish?
Here is the SQLite query to answer to the question: In 2012 what was th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (score VARCHAR, competition VARCHAR)
Question: What's the score of the friendly competition?
[/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_18 (score VARCHAR, competition VARCHAR)
Question: What's the score of the friendly competition?
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_name_55 (socket VARCHAR, model_number VARCHAR)
Question: What is the socket of the model atom e680t?
[/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_55 (socket VARCHAR, model_number VARCHAR)
Question: What is the socket of the model atom e680t?
Here is the SQLite query to answer to the question: What is th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (d_42_√ VARCHAR, d_49_√ VARCHAR)
Question: Name the D 42 √ for when it has D 49 √ of r 12
[/INST]
Here is the SQLite query to answer to the question: ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (d_42_√ VARCHAR, d_49_√ VARCHAR)
Question: Name the D 42 √ for when it has D 49 √ of r 12
Here is the SQLite query to answer to the question: Name the D 42... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15740666_6 (current_streak VARCHAR, last_meeting VARCHAR)
Question: if they played last on 12/5/1987 what is their record
[/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_15740666_6 (current_streak VARCHAR, last_meeting VARCHAR)
Question: if they played last on 12/5/1987 what is their record
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_68 (away_team VARCHAR, home_team VARCHAR)
Question: Who was Hawthorn's away opponent?
[/INST]
Here is the SQLite query to answer to the question: Who was... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (away_team VARCHAR, home_team VARCHAR)
Question: Who was Hawthorn's away opponent?
Here is the SQLite query to answer to the question: Who was Hawthorn's 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_90 (round INTEGER, player VARCHAR)
Question: what is the highest round when the player is troy creurer (d)?
[/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_90 (round INTEGER, player VARCHAR)
Question: what is the highest round when the player is troy creurer (d)?
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_76 (opposing_teams VARCHAR, status VARCHAR)
Question: Who was the opposing team when the status is second test?
[/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_76 (opposing_teams VARCHAR, status VARCHAR)
Question: Who was the opposing team when the status is second test?
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 (to_par VARCHAR, country VARCHAR)
Question: What is the To Par score for the player from France?
[/INST]
Here is the SQLite query to answer to the que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (to_par VARCHAR, country VARCHAR)
Question: What is the To Par score for the player from France?
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_10 (chosen_by VARCHAR, couple VARCHAR, choreographer_s_ VARCHAR)
Question: What is Chosen By, when Couple is Katee Shean Joshua Allen, and when Choreogra... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (chosen_by VARCHAR, couple VARCHAR, choreographer_s_ VARCHAR)
Question: What is Chosen By, when Couple is Katee Shean Joshua Allen, and when Choreographer(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_14242137_11 (season VARCHAR, regionalliga_nord VARCHAR)
Question: what's the season with regionalliga nord being vfb oldenburg
[/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_14242137_11 (season VARCHAR, regionalliga_nord VARCHAR)
Question: what's the season with regionalliga nord being vfb oldenburg
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_25 (premiere INTEGER, finale VARCHAR, peak VARCHAR, rank VARCHAR)
Question: What is the lowest Premiere peaking at more than 35 with a Rank of 10 and Fin... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (premiere INTEGER, finale VARCHAR, peak VARCHAR, rank VARCHAR)
Question: What is the lowest Premiere peaking at more than 35 with a Rank of 10 and Finale gr... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE locations (city VARCHAR, state_province VARCHAR, location_id VARCHAR); CREATE TABLE departments (department_name VARCHAR, location_id VARCHAR)
Question: display the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE locations (city VARCHAR, state_province VARCHAR, location_id VARCHAR); CREATE TABLE departments (department_name VARCHAR, location_id VARCHAR)
Question: display the depar... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_262508_1 (nickname VARCHAR, institution VARCHAR)
Question: What is Briar Cliff University's nickname?
[/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_262508_1 (nickname VARCHAR, institution VARCHAR)
Question: What is Briar Cliff University's nickname?
Here is the SQLite query to answer to the question: What is B... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1620397_2 (author VARCHAR, series_sorted VARCHAR)
Question: Name the author for 6y/ae
[/INST]
Here is the SQLite query to answer to the question: Name the aut... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1620397_2 (author VARCHAR, series_sorted VARCHAR)
Question: Name the author for 6y/ae
Here is the SQLite query to answer to the question: Name the author for 6y/ae... | bugdaryan/sql-create-context-instruction | |
[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 (total INTEGER, bronze VARCHAR, nation VARCHAR)
Question: What is the lowest total when the Bronze metals are larger than 0 and the nation is France (... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (total INTEGER, bronze VARCHAR, nation VARCHAR)
Question: What is the lowest total when the Bronze metals are larger than 0 and the nation is France (fra)?
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10646790_2 (record VARCHAR, stadium VARCHAR)
Question: How many records are there at the War Memorial Stadium?
[/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_10646790_2 (record VARCHAR, stadium VARCHAR)
Question: How many records are there at the War Memorial Stadium?
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_34 (combination_classification VARCHAR, points_classification VARCHAR, team_classification VARCHAR)
Question: Which Combination classification has Points... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (combination_classification VARCHAR, points_classification VARCHAR, team_classification VARCHAR)
Question: Which Combination classification has Points class... | bugdaryan/sql-create-context-instruction | |
[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 (extra_points_1_point INTEGER, total_points INTEGER)
Question: Which Extra points 1 point is the highest one that has a Total Points smaller than 8?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (extra_points_1_point INTEGER, total_points INTEGER)
Question: Which Extra points 1 point is the highest one that has a Total Points smaller than 8?
Here i... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (home_ground VARCHAR, region VARCHAR)
Question: What is the home ground in region NZL?
[/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_40 (home_ground VARCHAR, region VARCHAR)
Question: What is the home ground in region NZL?
Here is the SQLite query to answer to the question: What is the home... | bugdaryan/sql-create-context-instruction | |
[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 (club_province VARCHAR, caps VARCHAR)
Question: Which club has 1 cap?
[/INST]
Here is the SQLite query to answer to the question: Which club has 1 cap... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (club_province VARCHAR, caps VARCHAR)
Question: Which club has 1 cap?
Here is the SQLite query to answer to the question: Which club has 1 cap?:
```
SELECT... | bugdaryan/sql-create-context-instruction | |
[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 (city VARCHAR, state VARCHAR, school VARCHAR)
Question: Which City has a State of massachusetts, and a School of northeastern university?
[/INST]
Here... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (city VARCHAR, state VARCHAR, school VARCHAR)
Question: Which City has a State of massachusetts, and a School of northeastern university?
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_83 (away_team VARCHAR, crowd INTEGER)
Question: Which Venue has a crowd larger than 25,000?
[/INST]
Here is the SQLite query to answer to the question: W... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (away_team VARCHAR, crowd INTEGER)
Question: Which Venue has a crowd larger than 25,000?
Here is the SQLite query to answer to the question: Which Venue ha... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (away_team VARCHAR, home_team VARCHAR)
Question: When the home team was geelong, what did the away team score?
[/INST]
Here is the SQLite query to ans... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (away_team VARCHAR, home_team VARCHAR)
Question: When the home team was geelong, what did the away team score?
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_15038373_1 (license VARCHAR, software VARCHAR)
Question: What is hte license for beeone smod/hms software?
[/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_15038373_1 (license VARCHAR, software VARCHAR)
Question: What is hte license for beeone smod/hms software?
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_40 (roll INTEGER, decile VARCHAR, name VARCHAR)
Question: What is the smallest roll with a Decile larger than 6, and a Name of broomfield school?
[/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 (roll INTEGER, decile VARCHAR, name VARCHAR)
Question: What is the smallest roll with a Decile larger than 6, and a Name of broomfield school?
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_64 (money___ INTEGER, player VARCHAR)
Question: What is the lowest amount of money that Craig Stadler won?
[/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_64 (money___ INTEGER, player VARCHAR)
Question: What is the lowest amount of money that Craig Stadler won?
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_26416704_1 (incumbent VARCHAR, party VARCHAR, elected VARCHAR, status VARCHAR)
Question: Who is the incumbent when the elected year is 2004, the status is re-... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26416704_1 (incumbent VARCHAR, party VARCHAR, elected VARCHAR, status VARCHAR)
Question: Who is the incumbent when the elected year is 2004, the status is re-electe... | bugdaryan/sql-create-context-instruction | |
[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 (location VARCHAR, attendance VARCHAR)
Question: What location has 51,212 as the attendance?
[/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_60 (location VARCHAR, attendance VARCHAR)
Question: What location has 51,212 as the attendance?
Here is the SQLite query to answer to the question: What locat... | bugdaryan/sql-create-context-instruction | |
[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 (commissioned VARCHAR, nvr_page VARCHAR)
Question: What is the Commissioned date of the ship in NVR Page MCM02?
[/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_29 (commissioned VARCHAR, nvr_page VARCHAR)
Question: What is the Commissioned date of the ship in NVR Page MCM02?
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_19 (opened INTEGER, manufacturer VARCHAR)
Question: Which average Opened has a Manufacturer of vekoma?
[/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_19 (opened INTEGER, manufacturer VARCHAR)
Question: Which average Opened has a Manufacturer of vekoma?
Here is the SQLite query to answer to the question: Whi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (venue VARCHAR, position VARCHAR)
Question: What is the venue of the race where Lineth Chepkurui placed 4th?
[/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_12 (venue VARCHAR, position VARCHAR)
Question: What is the venue of the race where Lineth Chepkurui placed 4th?
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_64 (points INTEGER, goals_conceded VARCHAR, position VARCHAR)
Question: What is the average number of points of the club with more than 23 goals conceded... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (points INTEGER, goals_conceded VARCHAR, position VARCHAR)
Question: What is the average number of points of the club with more than 23 goals conceded and 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_59 (record VARCHAR, game VARCHAR, visitor VARCHAR, decision VARCHAR)
Question: Which game later than number 32 had both Ellis for the decision and Nashvi... | 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, game VARCHAR, visitor VARCHAR, decision VARCHAR)
Question: Which game later than number 32 had both Ellis for the decision and Nashville as... | bugdaryan/sql-create-context-instruction | |
[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 (course VARCHAR, jockey VARCHAR)
Question: Which course had a jockey of Royston FFrench?
[/INST]
Here is the SQLite query to answer to the question: W... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (course VARCHAR, jockey VARCHAR)
Question: Which course had a jockey of Royston FFrench?
Here is the SQLite query to answer to the question: Which course 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_79 (current_branch_opened INTEGER, neighborhood VARCHAR)
Question: What is the highest Current Branch Opened, when Neighborhood is W. Portland Park?
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (current_branch_opened INTEGER, neighborhood VARCHAR)
Question: What is the highest Current Branch Opened, when Neighborhood is W. Portland Park?
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_50 (league_goals VARCHAR, league_apps VARCHAR, fa_cup_goals VARCHAR, fa_cup_apps VARCHAR)
Question: what is the league goals when the fa cup goals is hig... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (league_goals VARCHAR, league_apps VARCHAR, fa_cup_goals VARCHAR, fa_cup_apps VARCHAR)
Question: what is the league goals when the fa cup goals is higher 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_2387461_1 (games_played VARCHAR, points_per_game VARCHAR)
Question: How many games played have 4.7 as points per game?
[/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_2387461_1 (games_played VARCHAR, points_per_game VARCHAR)
Question: How many games played have 4.7 as points per game?
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_42 (floors INTEGER, height__m_ VARCHAR)
Question: What are the fewest floors for the building that has a height of 116 meters?
[/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_42 (floors INTEGER, height__m_ VARCHAR)
Question: What are the fewest floors for the building that has a height of 116 meters?
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_29141354_4 (first_broadcast VARCHAR, jamie_and_johns_guest VARCHAR)
Question: When id the episode broadcast with Mark Webber as Jamie and John's guest?
[/INST... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29141354_4 (first_broadcast VARCHAR, jamie_and_johns_guest VARCHAR)
Question: When id the episode broadcast with Mark Webber as Jamie and John's guest?
Here is the... | bugdaryan/sql-create-context-instruction |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.