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_25551880_2 (mountains_classification VARCHAR, winner VARCHAR)
Question: Who was awarded mountains classification when Alessandro petacchi won?
[/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_25551880_2 (mountains_classification VARCHAR, winner VARCHAR)
Question: Who was awarded mountains classification when Alessandro petacchi won?
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_8 (home_team VARCHAR, away_team VARCHAR)
Question: Who was the home team when walsall was the away team?
[/INST]
Here is the SQLite query to answer to th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (home_team VARCHAR, away_team VARCHAR)
Question: Who was the home team when walsall was the away team?
Here is the SQLite query to answer to the question: W... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (goal_diff INTEGER, losses VARCHAR, wins VARCHAR)
Question: Which team has a Losses value larger than 1 and a Wins value smaller than 0?
[/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_94 (goal_diff INTEGER, losses VARCHAR, wins VARCHAR)
Question: Which team has a Losses value larger than 1 and a Wins value smaller than 0?
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_99 (week_11_nov_6 VARCHAR, week_10_oct_30 VARCHAR)
Question: What was Week 11 when Week 10 had Nebraska (7-1)?
[/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_99 (week_11_nov_6 VARCHAR, week_10_oct_30 VARCHAR)
Question: What was Week 11 when Week 10 had Nebraska (7-1)?
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_30121075_1 (poor_law_union VARCHAR, townland VARCHAR)
Question: What is the poor law union when the townland is bohonagh?
[/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_30121075_1 (poor_law_union VARCHAR, townland VARCHAR)
Question: What is the poor law union when the townland is bohonagh?
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_53 (wins INTEGER, team VARCHAR, games_played VARCHAR)
Question: what is the sum of wins for the ottawa hockey club when the games played is less than 10?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (wins INTEGER, team VARCHAR, games_played VARCHAR)
Question: what is the sum of wins for the ottawa hockey club when the games played is less than 10?
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_5 (away_team VARCHAR, home_team VARCHAR)
Question: What was the away teams score when Hawthorn played as the home team?
[/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_5 (away_team VARCHAR, home_team VARCHAR)
Question: What was the away teams score when Hawthorn played as the home team?
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_23184448_3 (date VARCHAR, cyclones_points VARCHAR)
Question: When did the Cyclones get 46 points?
[/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_23184448_3 (date VARCHAR, cyclones_points VARCHAR)
Question: When did the Cyclones get 46 points?
Here is the SQLite query to answer to the question: When did 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_16 (lane INTEGER, name VARCHAR)
Question: What is the highest lane for nisha millet?
[/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_16 (lane INTEGER, name VARCHAR)
Question: What is the highest lane for nisha millet?
Here is the SQLite query to answer to the question: What is the highest 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_62 (venue VARCHAR, away_team VARCHAR)
Question: Where did Geelong play as the away team?
[/INST]
Here is the SQLite query to answer to the question: Wher... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (venue VARCHAR, away_team VARCHAR)
Question: Where did Geelong play as the away team?
Here is the SQLite query to answer to the question: Where did Geelong... | bugdaryan/sql-create-context-instruction | |
[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 (visitor VARCHAR, home VARCHAR)
Question: Name the visitor for home of ny rangers
[/INST]
Here is the SQLite query to answer to the question: Name the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (visitor VARCHAR, home VARCHAR)
Question: Name the visitor for home of ny rangers
Here is the SQLite query to answer to the question: Name the visitor for ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (visitor VARCHAR, home VARCHAR, date VARCHAR)
Question: Who is listed as the Visitor that has a Home of Boston Bruins and a Date of November 15?
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (visitor VARCHAR, home VARCHAR, date VARCHAR)
Question: Who is listed as the Visitor that has a Home of Boston Bruins and a Date of November 15?
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_24 (away_team VARCHAR, venue VARCHAR)
Question: What away team played at Kardinia Park?
[/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_24 (away_team VARCHAR, venue VARCHAR)
Question: What away team played at Kardinia Park?
Here is the SQLite query to answer to the question: What away team pla... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (date VARCHAR, field VARCHAR)
Question: What is the date of the game at Commerce Bank Ballpark?
[/INST]
Here is the SQLite query to answer to the ques... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (date VARCHAR, field VARCHAR)
Question: What is the date of the game at Commerce Bank Ballpark?
Here is the SQLite query to answer to the question: What is... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (points_1 INTEGER, team VARCHAR, played VARCHAR)
Question: What is the sum of Points 1, when Team is "Gainsborough Trinity", and when Played is greate... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (points_1 INTEGER, team VARCHAR, played VARCHAR)
Question: What is the sum of Points 1, when Team is "Gainsborough Trinity", and when Played is greater than... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11381701_3 (source VARCHAR, blackberry VARCHAR)
Question: Which source shows Blackberry at 2.9%?
[/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_11381701_3 (source VARCHAR, blackberry VARCHAR)
Question: Which source shows Blackberry at 2.9%?
Here is the SQLite query to answer to the question: Which source 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_51 (sing_pres VARCHAR, sing_pret VARCHAR, subj_pres VARCHAR)
Question: What is the singular present that is associated with a singular preterite of ou an... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_51 (sing_pres VARCHAR, sing_pret VARCHAR, subj_pres VARCHAR)
Question: What is the singular present that is associated with a singular preterite of ou and a su... | bugdaryan/sql-create-context-instruction | |
[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 (score VARCHAR, game VARCHAR)
Question: What was the final score of game 26?
[/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_64 (score VARCHAR, game VARCHAR)
Question: What was the final score of game 26?
Here is the SQLite query to answer to the question: What was the final score o... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (rank INTEGER, total VARCHAR, gold VARCHAR, bronze VARCHAR)
Question: Which Rank has a Gold of 3, and a Bronze of 4, and a Total larger than 8?
[/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 (rank INTEGER, total VARCHAR, gold VARCHAR, bronze VARCHAR)
Question: Which Rank has a Gold of 3, and a Bronze of 4, and a Total larger than 8?
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_6 (rank INTEGER, silver INTEGER)
Question: what is the rank when silver is less than 0?
[/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_6 (rank INTEGER, silver INTEGER)
Question: what is the rank when silver is less than 0?
Here is the SQLite query to answer to the question: what is the rank 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 TRANSACTIONS (investor_id VARCHAR); CREATE TABLE INVESTORS (investor_id VARCHAR)
Question: Show the ids of the investors who have at least two transactions.
[/INST]... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE TRANSACTIONS (investor_id VARCHAR); CREATE TABLE INVESTORS (investor_id VARCHAR)
Question: Show the ids of the investors who have at least two transactions.
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_72 (score VARCHAR, record VARCHAR)
Question: What was the score when the Spurs' record was 43-13?
[/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_72 (score VARCHAR, record VARCHAR)
Question: What was the score when the Spurs' record was 43-13?
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_26385848_1 (director VARCHAR, film_title VARCHAR)
Question: Who is the director for the film title Eldra?
[/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_26385848_1 (director VARCHAR, film_title VARCHAR)
Question: Who is the director for the film title Eldra?
Here is the SQLite query to answer to the question: Who ... | bugdaryan/sql-create-context-instruction | |
[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 (product VARCHAR)
Question: What is the 2003 statistic for general cargo?
[/INST]
Here is the SQLite query to answer to the question: What is the 2003... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (product VARCHAR)
Question: What is the 2003 statistic for general cargo?
Here is the SQLite query to answer to the question: What is the 2003 statistic 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_69 (away_team VARCHAR, crowd INTEGER)
Question: What away team played when the crowd was over 27,463 people?
[/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_69 (away_team VARCHAR, crowd INTEGER)
Question: What away team played when the crowd was over 27,463 people?
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_81 (runner_s__up VARCHAR, winning_score VARCHAR)
Question: Who was the runner-up when the winning score was –28 (66-67-68-64-67=332)?
[/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 (runner_s__up VARCHAR, winning_score VARCHAR)
Question: Who was the runner-up when the winning score was –28 (66-67-68-64-67=332)?
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 customers (customer_id VARCHAR, customer_name VARCHAR); CREATE TABLE order_items (product_id VARCHAR, order_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHA... | 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, customer_name VARCHAR); CREATE TABLE order_items (product_id VARCHAR, order_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR, ord... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (away_team VARCHAR, crowd INTEGER)
Question: What was the away team at the match where the crowd was larger than 30,000?
[/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_3 (away_team VARCHAR, crowd INTEGER)
Question: What was the away team at the match where the crowd was larger than 30,000?
Here is the SQLite query to answer ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (tournament VARCHAR)
Question: What is the 1993 value of the French open?
[/INST]
Here is the SQLite query to answer to the question: What is the 1993... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (tournament VARCHAR)
Question: What is the 1993 value of the French open?
Here is the SQLite query to answer to the question: What is the 1993 value of 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_77 (location VARCHAR, round VARCHAR, opponent VARCHAR)
Question: Where was the fight located that lasted 1 round against luiz claudio das dores?
[/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 (location VARCHAR, round VARCHAR, opponent VARCHAR)
Question: Where was the fight located that lasted 1 round against luiz claudio das dores?
Here is the S... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (pashto VARCHAR, malayalam VARCHAR)
Question: What is the Pashto word for the Malayalam word വ്യാഴം vyazham?
[/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 (pashto VARCHAR, malayalam VARCHAR)
Question: What is the Pashto word for the Malayalam word വ്യാഴം vyazham?
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_56 (name VARCHAR, authors VARCHAR)
Question: Who is The Author of zhou clarke zhang?
[/INST]
Here is the SQLite query to answer to the question: Who 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_56 (name VARCHAR, authors VARCHAR)
Question: Who is The Author of zhou clarke zhang?
Here is the SQLite query to answer to the question: Who is The Author 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_69 (total INTEGER, free VARCHAR, technical VARCHAR)
Question: What is the total for the person with free of 47.667, and technical less than 47.417?
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (total INTEGER, free VARCHAR, technical VARCHAR)
Question: What is the total for the person with free of 47.667, and technical less than 47.417?
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_78 (pick INTEGER, name VARCHAR, overall VARCHAR)
Question: What is the average pick number for jerry hackenbruck who was overall pick less than 282?
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (pick INTEGER, name VARCHAR, overall VARCHAR)
Question: What is the average pick number for jerry hackenbruck who was overall pick less than 282?
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_25 (block VARCHAR, area VARCHAR)
Question: Which Block does Northamptonshire Area have?
[/INST]
Here is the SQLite query to answer to the question: Which... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (block VARCHAR, area VARCHAR)
Question: Which Block does Northamptonshire Area have?
Here is the SQLite query to answer to the question: Which Block does N... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (moving_to VARCHAR, country VARCHAR)
Question: WHAT IS THE MOVING TO LOCATION WITH BEL AS COUNTRY?
[/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_27 (moving_to VARCHAR, country VARCHAR)
Question: WHAT IS THE MOVING TO LOCATION WITH BEL AS COUNTRY?
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_10 (home_team VARCHAR, result VARCHAR)
Question: Which Home Team has a Result of 124-101?
[/INST]
Here is the SQLite query to answer to the question: Whi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (home_team VARCHAR, result VARCHAR)
Question: Which Home Team has a Result of 124-101?
Here is the SQLite query to answer to the question: Which Home Team ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (Id VARCHAR)
Question: What is the total number of 1876(s), when 1872 is less than 1921, and when 1891 is less than 354?
[/INST]
Here is the SQLite qu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (Id VARCHAR)
Question: What is the total number of 1876(s), when 1872 is less than 1921, and when 1891 is less than 354?
Here is the SQLite query to answer... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (opened VARCHAR, major_series VARCHAR)
Question: What shows for opened for the Nascar Major Series?
[/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_84 (opened VARCHAR, major_series VARCHAR)
Question: What shows for opened for the Nascar Major Series?
Here is the SQLite query to answer to the question: Wha... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (frequency_mhz INTEGER, erp_w VARCHAR)
Question: Average frequency with ERP W of 62?
[/INST]
Here is the SQLite query to answer to the question: Avera... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (frequency_mhz INTEGER, erp_w VARCHAR)
Question: Average frequency with ERP W of 62?
Here is the SQLite query to answer to the question: 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_28 (points INTEGER, driver VARCHAR, laps VARCHAR)
Question: What was Scott Riggs points when he had more than 400 laps?
[/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_28 (points INTEGER, driver VARCHAR, laps VARCHAR)
Question: What was Scott Riggs points when he had more than 400 laps?
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_10 (yds_att VARCHAR, net_yds VARCHAR, rank VARCHAR)
Question: What is the total number of Yds/Att where Net Yds was 1818, and Rank was larger than 1?
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (yds_att VARCHAR, net_yds VARCHAR, rank VARCHAR)
Question: What is the total number of Yds/Att where Net Yds was 1818, and Rank was larger than 1?
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_90 (cultural_and_educational_panel INTEGER, industrial_and_commercial_panel VARCHAR, agricultural_panel VARCHAR)
Question: What is the total of the cultu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (cultural_and_educational_panel INTEGER, industrial_and_commercial_panel VARCHAR, agricultural_panel VARCHAR)
Question: What is the total of the cultural 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_22 (serial_no INTEGER, headquartered_city VARCHAR)
Question: What is the sum of the serial numbers for narowal city?
[/INST]
Here is the SQLite query to ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (serial_no INTEGER, headquartered_city VARCHAR)
Question: What is the sum of the serial numbers for narowal city?
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_40 (wins INTEGER, top_10 INTEGER)
Question: What is the lowest Wins with a Top-10 that is larger than 9?
[/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_40 (wins INTEGER, top_10 INTEGER)
Question: What is the lowest Wins with a Top-10 that is larger than 9?
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_2784232_1 (approximate_translation VARCHAR, morphological_category VARCHAR)
Question: What are the the approximate translations when the Morphological Categor... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2784232_1 (approximate_translation VARCHAR, morphological_category VARCHAR)
Question: What are the the approximate translations when the Morphological Category is 1... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (constellation VARCHAR, apparent_magnitude VARCHAR, ngc_number VARCHAR)
Question: Which Constellation has an Apparent magnitude larger that 7.7, 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_60 (constellation VARCHAR, apparent_magnitude VARCHAR, ngc_number VARCHAR)
Question: Which Constellation has an Apparent magnitude larger that 7.7, and an NGC ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_234886_3 (title VARCHAR, prod_code VARCHAR)
Question: What is the title of the episode with the production code 2-19?
[/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_234886_3 (title VARCHAR, prod_code VARCHAR)
Question: What is the title of the episode with the production code 2-19?
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_21 (week INTEGER, result VARCHAR)
Question: What week number saw a w 31-16 result?
[/INST]
Here is the SQLite query to answer to the question: What week ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (week INTEGER, result VARCHAR)
Question: What week number saw a w 31-16 result?
Here is the SQLite query to answer to the question: What week number saw 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_76 (finish VARCHAR, start VARCHAR)
Question: Name the finish for start of 28
[/INST]
Here is the SQLite query to answer to the question: Name the finish ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (finish VARCHAR, start VARCHAR)
Question: Name the finish for start of 28
Here is the SQLite query to answer to the question: Name the finish for start 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_2841865_2 (representative VARCHAR, congress VARCHAR)
Question: What name is listed under representative for the 112th congress?
[/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_2841865_2 (representative VARCHAR, congress VARCHAR)
Question: What name is listed under representative for the 112th congress?
Here is the SQLite query to answer ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (status VARCHAR, opposing_teams VARCHAR)
Question: What is the status of the Wales opposing team?
[/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_70 (status VARCHAR, opposing_teams VARCHAR)
Question: What is the status of the Wales opposing team?
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_159359_2 (start_date__1st_night_ VARCHAR, season VARCHAR)
Question: When are start dates (1st night) for the season of 1966?
[/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_159359_2 (start_date__1st_night_ VARCHAR, season VARCHAR)
Question: When are start dates (1st night) for the season of 1966?
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_55 (outcome VARCHAR, opponent VARCHAR)
Question: What is the outcome of the match with opponent Jade Curtis?
[/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_55 (outcome VARCHAR, opponent VARCHAR)
Question: What is the outcome of the match with opponent Jade Curtis?
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_57 (result VARCHAR, round VARCHAR)
Question: What is Result, when Round is SF?
[/INST]
Here is the SQLite query to answer to the question: What is Result... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (result VARCHAR, round VARCHAR)
Question: What is Result, when Round is SF?
Here is the SQLite query to answer to the question: What is Result, when Round ... | bugdaryan/sql-create-context-instruction | |
[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 (erp__analog__digital_ VARCHAR, transmitter_location VARCHAR)
Question: What is the ERP for the Mount Goonaneman transmitter?
[/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_6 (erp__analog__digital_ VARCHAR, transmitter_location VARCHAR)
Question: What is the ERP for the Mount Goonaneman transmitter?
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_58 (year INTEGER, team VARCHAR, wins VARCHAR)
Question: Which Year is the highest that has a Team of walker racing, and Wins larger than 1?
[/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_58 (year INTEGER, team VARCHAR, wins VARCHAR)
Question: Which Year is the highest that has a Team of walker racing, and Wins larger than 1?
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_13608101_1 (bush_number INTEGER, others_percentage VARCHAR)
Question: what is the maximum bush# with others% being 1.57%
[/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_13608101_1 (bush_number INTEGER, others_percentage VARCHAR)
Question: what is the maximum bush# with others% being 1.57%
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_66 (to_par VARCHAR, player VARCHAR)
Question: What is the To par when Lanny Wadkins is the player?
[/INST]
Here is the SQLite query to answer to the ques... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (to_par VARCHAR, player VARCHAR)
Question: What is the To par when Lanny Wadkins is the player?
Here is the SQLite query to answer to the question: What is... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Rating (stars INTEGER, mID VARCHAR); CREATE TABLE Movie (title VARCHAR, director VARCHAR, mID VARCHAR)
Question: For each director, return the director's name toget... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Rating (stars INTEGER, mID VARCHAR); CREATE TABLE Movie (title VARCHAR, director VARCHAR, mID VARCHAR)
Question: For each director, return the director's name together wi... | bugdaryan/sql-create-context-instruction | |
[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 (score VARCHAR, money___$__ VARCHAR)
Question: Which score has a prize of $400?
[/INST]
Here is the SQLite query to answer to the question: Which scor... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (score VARCHAR, money___$__ VARCHAR)
Question: Which score has a prize of $400?
Here is the SQLite query to answer to the question: Which score has a prize... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16654785_2 (average_climb___percentage_ INTEGER, name VARCHAR)
Question: What is the average climb for Tenbosse?
[/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_16654785_2 (average_climb___percentage_ INTEGER, name VARCHAR)
Question: What is the average climb for Tenbosse?
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_87 (profession VARCHAR, city VARCHAR)
Question: What is the profession of the housemate from Leskovac city?
[/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_87 (profession VARCHAR, city VARCHAR)
Question: What is the profession of the housemate from Leskovac city?
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_33 (team__number1 VARCHAR)
Question: Which 1st leg has a Team #1 of ummc ekaterinburg?
[/INST]
Here is the SQLite query to answer to the question: Which ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (team__number1 VARCHAR)
Question: Which 1st leg has a Team #1 of ummc ekaterinburg?
Here is the SQLite query to answer to the question: Which 1st leg has a... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23186738_6 (record VARCHAR, team VARCHAR)
Question: Name the record for houston
[/INST]
Here is the SQLite query to answer to the question: Name the record fo... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23186738_6 (record VARCHAR, team VARCHAR)
Question: Name the record for houston
Here is the SQLite query to answer to the question: Name the record for houston:
``... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (score VARCHAR, tournament VARCHAR)
Question: What score has zadar as the tournament?
[/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_27 (score VARCHAR, tournament VARCHAR)
Question: What score has zadar as the tournament?
Here is the SQLite query to answer to the question: What score has za... | bugdaryan/sql-create-context-instruction | |
[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 (year_left VARCHAR, team_name VARCHAR)
Question: What year did the Hornets leave the conference?
[/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_68 (year_left VARCHAR, team_name VARCHAR)
Question: What year did the Hornets leave the conference?
Here is the SQLite query to answer to the question: What y... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25643046_1 (location VARCHAR, origin_time VARCHAR)
Question: Where was the quake that began at 14:07?
[/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_25643046_1 (location VARCHAR, origin_time VARCHAR)
Question: Where was the quake that began at 14:07?
Here is the SQLite query to answer to the question: Where 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_17289604_38 (round_of_16 VARCHAR, round_of_32 VARCHAR)
Question: What was round of 16 when in round 32 it was koryttseva ( ukr ) w 2–6, 6–1, 7–5?
[/INST]
Her... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17289604_38 (round_of_16 VARCHAR, round_of_32 VARCHAR)
Question: What was round of 16 when in round 32 it was koryttseva ( ukr ) w 2–6, 6–1, 7–5?
Here is the SQLi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (date VARCHAR, catalog VARCHAR)
Question: What was the date for the catalog 32xa-112?
[/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_42 (date VARCHAR, catalog VARCHAR)
Question: What was the date for the catalog 32xa-112?
Here is the SQLite query to answer to the question: What was the 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_28561455_1 (no_in_series INTEGER, directed_by VARCHAR)
Question: What is the latest episode number that was directed by Tom Dicillo?
[/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_28561455_1 (no_in_series INTEGER, directed_by VARCHAR)
Question: What is the latest episode number that was directed by Tom Dicillo?
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_85 (appearances INTEGER, goals VARCHAR, nationality VARCHAR)
Question: What is the least amount of appearances by new zealand when they scored 4 goals?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (appearances INTEGER, goals VARCHAR, nationality VARCHAR)
Question: What is the least amount of appearances by new zealand when they scored 4 goals?
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_27293285_6 (points VARCHAR, won VARCHAR)
Question: For teams that won exactly 15, how many points were scored?
[/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_27293285_6 (points VARCHAR, won VARCHAR)
Question: For teams that won exactly 15, how many points were scored?
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_28138035_35 (year_location VARCHAR, mens_singles VARCHAR)
Question: In what year and location did Liu Guozheng win the Mens Singles?
[/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_28138035_35 (year_location VARCHAR, mens_singles VARCHAR)
Question: In what year and location did Liu Guozheng win the Mens Singles?
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_19072602_1 (score VARCHAR, team_europe VARCHAR)
Question: How many different scores did Team Europe get when Mika Koivuniemi played for them?
[/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_19072602_1 (score VARCHAR, team_europe VARCHAR)
Question: How many different scores did Team Europe get when Mika Koivuniemi played for them?
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 tracks (genre_id VARCHAR); CREATE TABLE genres (name VARCHAR, id VARCHAR)
Question: List the top 5 genres by number of tracks. List genres name and total tracks.
[/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE tracks (genre_id VARCHAR); CREATE TABLE genres (name VARCHAR, id VARCHAR)
Question: List the top 5 genres by number of tracks. List genres name and total tracks.
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_26 (original_name VARCHAR, film_title_used_in_nomination VARCHAR)
Question: What is the real name of the movie about love?
[/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_26 (original_name VARCHAR, film_title_used_in_nomination VARCHAR)
Question: What is the real name of the movie about love?
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 FLIGHTS (Airline VARCHAR); CREATE TABLE AIRLINES (Airline VARCHAR, uid VARCHAR)
Question: Find all airlines that have at least 10 flights.
[/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 FLIGHTS (Airline VARCHAR); CREATE TABLE AIRLINES (Airline VARCHAR, uid VARCHAR)
Question: Find all airlines that have at least 10 flights.
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_21256068_3 (venue VARCHAR, round VARCHAR)
Question: how many venues were played on in round 1
[/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_21256068_3 (venue VARCHAR, round VARCHAR)
Question: how many venues were played on in round 1
Here is the SQLite query to answer to the question: how many venues 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_48 (player VARCHAR, country VARCHAR, total VARCHAR)
Question: What is Player, when Country is "United States", and when Total is "154"?
[/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_48 (player VARCHAR, country VARCHAR, total VARCHAR)
Question: What is Player, when Country is "United States", and when Total is "154"?
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_92 (pick INTEGER, player VARCHAR)
Question: When was terry cook picked?
[/INST]
Here is the SQLite query to answer to the question: When was terry cook p... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (pick INTEGER, player VARCHAR)
Question: When was terry cook picked?
Here is the SQLite query to answer to the question: When was terry cook picked?:
```
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_16 (block INTEGER, weight VARCHAR, height VARCHAR)
Question: How many blocks have a weight greater than 82, and a height less than 199?
[/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_16 (block INTEGER, weight VARCHAR, height VARCHAR)
Question: How many blocks have a weight greater than 82, and a height less than 199?
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_78 (notes VARCHAR, displacement VARCHAR)
Question: What is the notes when the displacement is 220cid (3,604cc)?
[/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_78 (notes VARCHAR, displacement VARCHAR)
Question: What is the notes when the displacement is 220cid (3,604cc)?
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_24425976_2 (series VARCHAR, production_code VARCHAR)
Question: How many episodes in the series has a production code of 111?
[/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_24425976_2 (series VARCHAR, production_code VARCHAR)
Question: How many episodes in the series has a production code of 111?
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_29446183_2 (fourth_place VARCHAR, winner VARCHAR)
Question: How many teams came in fourth when Otsuka Pharmaceuticals won?
[/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_29446183_2 (fourth_place VARCHAR, winner VARCHAR)
Question: How many teams came in fourth when Otsuka Pharmaceuticals won?
Here is the SQLite query to answer to th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (tv_time VARCHAR, date VARCHAR)
Question: Which TV Time has a Date of january 2, 2005?
[/INST]
Here is the SQLite query to answer to the question: Whi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (tv_time VARCHAR, date VARCHAR)
Question: Which TV Time has a Date of january 2, 2005?
Here is the SQLite query to answer to the question: Which TV Time ha... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (tournament VARCHAR, runner_s__up VARCHAR)
Question: What tournament was Kirk Triplett a runner-up in?
[/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_38 (tournament VARCHAR, runner_s__up VARCHAR)
Question: What tournament was Kirk Triplett a runner-up in?
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_62 (losing_bonus VARCHAR, points_against VARCHAR)
Question: What Losing bonus has a Points against of 588?
[/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_62 (losing_bonus VARCHAR, points_against VARCHAR)
Question: What Losing bonus has a Points against of 588?
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_45 (primary_sponsor_s_ VARCHAR, driver_s_ VARCHAR)
Question: Who is Mike Wallace's primary Sponsor(s)?
[/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_45 (primary_sponsor_s_ VARCHAR, driver_s_ VARCHAR)
Question: Who is Mike Wallace's primary Sponsor(s)?
Here is the SQLite query to answer to the question: Who... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1973729_2 (current_conference VARCHAR, nickname VARCHAR)
Question: Which conference has the nickname Lions?
[/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_1973729_2 (current_conference VARCHAR, nickname VARCHAR)
Question: Which conference has the nickname Lions?
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_37 (pos VARCHAR, points VARCHAR, season VARCHAR)
Question: What is the position with 0 points in Season of 2007–08?
[/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_name_37 (pos VARCHAR, points VARCHAR, season VARCHAR)
Question: What is the position with 0 points in Season of 2007–08?
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_97 (enrollment VARCHAR, school VARCHAR)
Question: What is the total enrollment at Laville?
[/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_97 (enrollment VARCHAR, school VARCHAR)
Question: What is the total enrollment at Laville?
Here is the SQLite query to answer to the question: What is the tot... | bugdaryan/sql-create-context-instruction | |
[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 (interview_subject VARCHAR, centerfold_model VARCHAR)
Question: Which Interview subject has a Centerfold model of athena lundberg?
[/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_60 (interview_subject VARCHAR, centerfold_model VARCHAR)
Question: Which Interview subject has a Centerfold model of athena lundberg?
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 trip (start_station_name VARCHAR, start_station_id VARCHAR, start_date VARCHAR)
Question: Which start station had the most trips starting from August? Give me the n... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE trip (start_station_name VARCHAR, start_station_id VARCHAR, start_date VARCHAR)
Question: Which start station had the most trips starting from August? Give me the name 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_92 (chassis VARCHAR, engine VARCHAR)
Question: What chassis did the BRM V8 engine have?
[/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_92 (chassis VARCHAR, engine VARCHAR)
Question: What chassis did the BRM V8 engine have?
Here is the SQLite query to answer to the question: What chassis did t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE customers (state VARCHAR)
Question: How many customers in state of CA?
[/INST]
Here is the SQLite query to answer to the question: How many customers in state of CA... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE customers (state VARCHAR)
Question: How many customers in state of CA?
Here is the SQLite query to answer to the question: How many customers in state of CA?:
```
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_1341522_41 (incumbent VARCHAR, party VARCHAR, first_elected VARCHAR)
Question: How many republican incumbents first elected in 1974?
[/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_1341522_41 (incumbent VARCHAR, party VARCHAR, first_elected VARCHAR)
Question: How many republican incumbents first elected in 1974?
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_64 (martyred INTEGER, canonised VARCHAR, beatified VARCHAR, name VARCHAR)
Question: When was John Hoan Trinh Doan / St. John Hoan, who was beatified in 1... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (martyred INTEGER, canonised VARCHAR, beatified VARCHAR, name VARCHAR)
Question: When was John Hoan Trinh Doan / St. John Hoan, who was beatified in 1909 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_5 (result VARCHAR, round VARCHAR)
Question: What was the result of the second round?
[/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_5 (result VARCHAR, round VARCHAR)
Question: What was the result of the second round?
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_28 (away_team VARCHAR, attendance VARCHAR)
Question: Who was the away team when the attendance was 7,891?
[/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_28 (away_team VARCHAR, attendance VARCHAR)
Question: Who was the away team when the attendance was 7,891?
Here is the SQLite query to answer to the question: ... | 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.