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_1342233_43 (result VARCHAR, candidates VARCHAR)
Question: What was the result of the election featuring r. ewing thomason (d) unopposed?
[/INST]
Here is the S... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1342233_43 (result VARCHAR, candidates VARCHAR)
Question: What was the result of the election featuring r. ewing thomason (d) unopposed?
Here is the SQLite query t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16400024_1 (socket VARCHAR, sspec_number VARCHAR)
Question: What is the socket location for sSPEC number sl3f7(kc0)sl3fj(kc0)?
[/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_16400024_1 (socket VARCHAR, sspec_number VARCHAR)
Question: What is the socket location for sSPEC number sl3f7(kc0)sl3fj(kc0)?
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_27592654_2 (province VARCHAR, electorate VARCHAR)
Question: What was the province if the electorate was Collingwood?
[/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_27592654_2 (province VARCHAR, electorate VARCHAR)
Question: What was the province if the electorate was Collingwood?
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_14219514_1 (home__1st_leg_ VARCHAR)
Question: How many 2nd legs are there where home (1st leg) is Independiente?
[/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_14219514_1 (home__1st_leg_ VARCHAR)
Question: How many 2nd legs are there where home (1st leg) is Independiente?
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_64 (gold VARCHAR, nation VARCHAR, rank VARCHAR)
Question: How many gold medals for germany (GER) having a rank less than 15?
[/INST]
Here is the SQLite q... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (gold VARCHAR, nation VARCHAR, rank VARCHAR)
Question: How many gold medals for germany (GER) having a rank less than 15?
Here is the SQLite query to answe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (kit_manufacturer VARCHAR, captain VARCHAR)
Question: What company is the kit manufacturer that Gareth Southgate belongs to?
[/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_50 (kit_manufacturer VARCHAR, captain VARCHAR)
Question: What company is the kit manufacturer that Gareth Southgate belongs to?
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 ship (Id VARCHAR)
Question: How many ships are there?
[/INST]
Here is the SQLite query to answer to the question: How many ships are there?:
```
SELECT COUNT(*) FRO... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE ship (Id VARCHAR)
Question: How many ships are there?
Here is the SQLite query to answer to the question: How many ships are there?:
```
SELECT COUNT(*) FROM ship
``` | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (venue VARCHAR, opponents VARCHAR, date VARCHAR)
Question: Where was the game played on 3 january 2009 against east fife?
[/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_2 (venue VARCHAR, opponents VARCHAR, date VARCHAR)
Question: Where was the game played on 3 january 2009 against east fife?
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_24 (co_drivers VARCHAR, year VARCHAR)
Question: Who was the Co-Driver of the winner of 1992's race?
[/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_24 (co_drivers VARCHAR, year VARCHAR)
Question: Who was the Co-Driver of the winner of 1992's race?
Here is the SQLite query to answer to the question: Who 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 table_name_35 (example_code__huc_ INTEGER, level VARCHAR, example_name VARCHAR, digits VARCHAR)
Question: What is the mean huc example code when the example name's ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (example_code__huc_ INTEGER, level VARCHAR, example_name VARCHAR, digits VARCHAR)
Question: What is the mean huc example code when the example name's lower ... | bugdaryan/sql-create-context-instruction | |
[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 (draws INTEGER, goal_difference VARCHAR, losses VARCHAR)
Question: For a goal difference greater than 3 and fewer than 8 losses, what is the most draw... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (draws INTEGER, goal_difference VARCHAR, losses VARCHAR)
Question: For a goal difference greater than 3 and fewer than 8 losses, what is the most draws scor... | bugdaryan/sql-create-context-instruction | |
[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 (reception VARCHAR, long INTEGER)
Question: How many receptions were smaller than 7?
[/INST]
Here is the SQLite query to answer to the question: How m... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (reception VARCHAR, long INTEGER)
Question: How many receptions were smaller than 7?
Here is the SQLite query to answer to the question: How many reception... | bugdaryan/sql-create-context-instruction | |
[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 (week_5 VARCHAR, week_3 VARCHAR)
Question: Who was the girl on week 5 that came after week 3's Mikaela James?
[/INST]
Here is the SQLite query to answ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (week_5 VARCHAR, week_3 VARCHAR)
Question: Who was the girl on week 5 that came after week 3's Mikaela James?
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_81 (l_100km_combined INTEGER, mpg_uk_extra_urban VARCHAR, l_100km_urban__cold_ VARCHAR, mpg_uk_combined VARCHAR)
Question: What's the average L/km combin... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (l_100km_combined INTEGER, mpg_uk_extra_urban VARCHAR, l_100km_urban__cold_ VARCHAR, mpg_uk_combined VARCHAR)
Question: What's the average L/km combines whe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24348134_3 (regular_season_winner VARCHAR, tournament_winner VARCHAR)
Question: What team won the regular season when georgia state won the tournament?
[/INST... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24348134_3 (regular_season_winner VARCHAR, tournament_winner VARCHAR)
Question: What team won the regular season when georgia state won the tournament?
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_24384861_1 (dual_voltage VARCHAR, version VARCHAR)
Question: Does the sounddock series I v2 have dual voltage?
[/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_24384861_1 (dual_voltage VARCHAR, version VARCHAR)
Question: Does the sounddock series I v2 have dual voltage?
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_70 (home_team VARCHAR, tie_no VARCHAR)
Question: Who is the home team with a tie no. 12?
[/INST]
Here is the SQLite query to answer to the question: Who ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (home_team VARCHAR, tie_no VARCHAR)
Question: Who is the home team with a tie no. 12?
Here is the SQLite query to answer to the question: Who is the home t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11907963_6 (score VARCHAR, high_rebounds VARCHAR)
Question: What was the score for the game in which Emeka Okafor (10) had high rebounds?
[/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_11907963_6 (score VARCHAR, high_rebounds VARCHAR)
Question: What was the score for the game in which Emeka Okafor (10) had high rebounds?
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_35 (location VARCHAR, score VARCHAR)
Question: What is the location of the game with a 115-105 score?
[/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_35 (location VARCHAR, score VARCHAR)
Question: What is the location of the game with a 115-105 score?
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_26 (extra_points INTEGER, player VARCHAR, touchdowns VARCHAR)
Question: Which Extra points is the lowest one that has a Player of rheinschild, and Touchd... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (extra_points INTEGER, player VARCHAR, touchdowns VARCHAR)
Question: Which Extra points is the lowest one that has a Player of rheinschild, and Touchdowns 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_39 (points INTEGER, lost VARCHAR)
Question: What is the highest Points with a Lost total of 8?
[/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_39 (points INTEGER, lost VARCHAR)
Question: What is the highest Points with a Lost total of 8?
Here is the SQLite query to answer to the question: What 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_99 (matches INTEGER, clubs VARCHAR)
Question: What is the lowest number of matches that has a Clubs of 46 → 32?
[/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_99 (matches INTEGER, clubs VARCHAR)
Question: What is the lowest number of matches that has a Clubs of 46 → 32?
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_29 (hull_no VARCHAR, commissioned__decommissioned VARCHAR)
Question: Name the hull number of Commissioned– Decommissioned of 1973–1996
[/INST]
Here is th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (hull_no VARCHAR, commissioned__decommissioned VARCHAR)
Question: Name the hull number of Commissioned– Decommissioned of 1973–1996
Here is the SQLite quer... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2562572_30 (type VARCHAR, settlement VARCHAR)
Question: What type of settlement is rabe?
[/INST]
Here is the SQLite query to answer to the question: What type... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2562572_30 (type VARCHAR, settlement VARCHAR)
Question: What type of settlement is rabe?
Here is the SQLite query to answer to the question: What type of settlemen... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE AIRLINES (Country VARCHAR)
Question: How many airlines are from USA?
[/INST]
Here is the SQLite query to answer to the question: How many airlines are from USA?:
``... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE AIRLINES (Country VARCHAR)
Question: How many airlines are from USA?
Here is the SQLite query to answer to the question: How many airlines are from USA?:
```
SELECT 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_37 (b_score INTEGER, a_score VARCHAR, total VARCHAR)
Question: what is the sum of the b score when the a score is 6.6 and the total is 15.6?
[/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_37 (b_score INTEGER, a_score VARCHAR, total VARCHAR)
Question: what is the sum of the b score when the a score is 6.6 and the total is 15.6?
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_8 (source VARCHAR, date VARCHAR, race_winners VARCHAR, gp_winner VARCHAR)
Question: What source has a race winner of ben adriaenssen / ben van den bogaar... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (source VARCHAR, date VARCHAR, race_winners VARCHAR, gp_winner VARCHAR)
Question: What source has a race winner of ben adriaenssen / ben van den bogaart, and... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (evening_gown INTEGER, interview VARCHAR, average VARCHAR, swimsuit VARCHAR)
Question: Name the most evening gown for average less than 8.793 with int... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (evening_gown INTEGER, interview VARCHAR, average VARCHAR, swimsuit VARCHAR)
Question: Name the most evening gown for average less than 8.793 with interview... | bugdaryan/sql-create-context-instruction | |
[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 (weekly_rank VARCHAR, official_ratings__millions_ VARCHAR)
Question: Which Weekly Rank has an Official ratings (millions) of 11.58?
[/INST]
Here is th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (weekly_rank VARCHAR, official_ratings__millions_ VARCHAR)
Question: Which Weekly Rank has an Official ratings (millions) of 11.58?
Here is the SQLite quer... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (date VARCHAR, away VARCHAR)
Question: What is Date, when Away is High Park Demons?
[/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_6 (date VARCHAR, away VARCHAR)
Question: What is Date, when Away is High Park Demons?
Here is the SQLite query to answer to the question: What is Date, when 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_74 (label VARCHAR, year VARCHAR)
Question: Which label's year was 1990?
[/INST]
Here is the SQLite query to answer to the question: Which label's year wa... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (label VARCHAR, year VARCHAR)
Question: Which label's year was 1990?
Here is the SQLite query to answer to the question: Which label's year was 1990?:
```
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_261642_3 (g__μs_km_ VARCHAR, frequency__hz_ VARCHAR)
Question: What is the g (μs/km)when the frequency (hz) is 100k?
[/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_261642_3 (g__μs_km_ VARCHAR, frequency__hz_ VARCHAR)
Question: What is the g (μs/km)when the frequency (hz) is 100k?
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_45 (rank INTEGER, name VARCHAR, games VARCHAR)
Question: What is the sum of Rank, when Name is Will Solomon, and when Games is greater than 21?
[/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_45 (rank INTEGER, name VARCHAR, games VARCHAR)
Question: What is the sum of Rank, when Name is Will Solomon, and when Games is greater than 21?
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_91 (week_2 VARCHAR, week_1 VARCHAR)
Question: What kind of Week 2 that has a Week 1 of mandy ashford?
[/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_91 (week_2 VARCHAR, week_1 VARCHAR)
Question: What kind of Week 2 that has a Week 1 of mandy ashford?
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_34 (game INTEGER, time VARCHAR)
Question: What game had the highest score and a time of 2:35?
[/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_34 (game INTEGER, time VARCHAR)
Question: What game had the highest score and a time of 2:35?
Here is the SQLite query to answer to the question: What game 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_37 (away_team VARCHAR, home_team VARCHAR)
Question: What is the name of the away team that played Geelong?
[/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_37 (away_team VARCHAR, home_team VARCHAR)
Question: What is the name of the away team that played Geelong?
Here is the SQLite query to answer to the question:... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (collaboration VARCHAR, name VARCHAR, indication VARCHAR)
Question: What company collaborated in SBI-087 for rheumatoid arthritis?
[/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_7 (collaboration VARCHAR, name VARCHAR, indication VARCHAR)
Question: What company collaborated in SBI-087 for rheumatoid arthritis?
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_1183842_1 (joined VARCHAR, location VARCHAR)
Question: Boca Raton, Florida had what joined amount?
[/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_1183842_1 (joined VARCHAR, location VARCHAR)
Question: Boca Raton, Florida had what joined amount?
Here is the SQLite query to answer to the question: Boca Raton, ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (outcome VARCHAR, score_in_the_final VARCHAR)
Question: Which Outcome has a Score in the final of 1–6, 6–4, 7–5?
[/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_61 (outcome VARCHAR, score_in_the_final VARCHAR)
Question: Which Outcome has a Score in the final of 1–6, 6–4, 7–5?
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 (crowd VARCHAR, venue VARCHAR)
Question: What is the Crowd for the Venue of Princes Park?
[/INST]
Here is the SQLite query to answer to the question: ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (crowd VARCHAR, venue VARCHAR)
Question: What is the Crowd for the Venue of Princes Park?
Here is the SQLite query to answer to the question: What is the 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_94 (result VARCHAR, runner_up VARCHAR, final_venue VARCHAR)
Question: What was the Result in Green Lane with Kirkburton as the Runner-up?
[/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_94 (result VARCHAR, runner_up VARCHAR, final_venue VARCHAR)
Question: What was the Result in Green Lane with Kirkburton as the Runner-up?
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_58 (nation VARCHAR, bronze VARCHAR, total VARCHAR, silver VARCHAR)
Question: What nation has a total less than 11, more than 1 silver and less than 1 bro... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (nation VARCHAR, bronze VARCHAR, total VARCHAR, silver VARCHAR)
Question: What nation has a total less than 11, more than 1 silver and less than 1 bronze?
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (name VARCHAR, constituency_number VARCHAR)
Question: What is the name of constituency 5?
[/INST]
Here is the SQLite query to answer to the question: ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (name VARCHAR, constituency_number VARCHAR)
Question: What is the name of constituency 5?
Here is the SQLite query to answer to the question: What is the 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_78 (opponent VARCHAR, result VARCHAR)
Question: Who was the Opponent with a Result of l 17–24?
[/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_78 (opponent VARCHAR, result VARCHAR)
Question: Who was the Opponent with a Result of l 17–24?
Here is the SQLite query to answer to the question: Who was the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17288825_7 (location_attendance VARCHAR, high_assists VARCHAR)
Question: At what location and what was the attendance when Rafer Alston (10) achieved high ass... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17288825_7 (location_attendance VARCHAR, high_assists VARCHAR)
Question: At what location and what was the attendance when Rafer Alston (10) achieved high assists? ... | bugdaryan/sql-create-context-instruction | |
[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 (score VARCHAR, home_team VARCHAR)
Question: What is the score of the home team, bath city?
[/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_16 (score VARCHAR, home_team VARCHAR)
Question: What is the score of the home team, bath city?
Here is the SQLite query to answer to the question: What 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_4 (date VARCHAR, event VARCHAR, acts VARCHAR, year VARCHAR)
Question: Tell me the date for acts of 6 bands and year larger than 1981 for monsters of rock... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (date VARCHAR, event VARCHAR, acts VARCHAR, year VARCHAR)
Question: Tell me the date for acts of 6 bands and year larger than 1981 for monsters of rock
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_12 (bronze INTEGER, rank VARCHAR, total VARCHAR, silver VARCHAR)
Question: I want the average bronze for total of 19 and silver of 8 with rank of 31
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (bronze INTEGER, rank VARCHAR, total VARCHAR, silver VARCHAR)
Question: I want the average bronze for total of 19 and silver of 8 with rank of 31
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 products (product_type_code VARCHAR, product_name VARCHAR, product_price VARCHAR)
Question: Show the product type and name for the products with price higher than 1... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE products (product_type_code VARCHAR, product_name VARCHAR, product_price VARCHAR)
Question: Show the product type and name for the products with price higher than 1000 or... | bugdaryan/sql-create-context-instruction | |
[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 (film_title_used_in_nomination VARCHAR, original_title VARCHAR)
Question: What is the nomination title used for the original film, Zwartboek?
[/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 (film_title_used_in_nomination VARCHAR, original_title VARCHAR)
Question: What is the nomination title used for the original film, Zwartboek?
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_84 (home_team VARCHAR, away_team VARCHAR)
Question: When the Away team was hawthorn, what's the Home team?
[/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_84 (home_team VARCHAR, away_team VARCHAR)
Question: When the Away team was hawthorn, what's the Home team?
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_27533947_1 (games_won VARCHAR, best_winning_average VARCHAR)
Question: How many players had a best winning average of 20?
[/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_27533947_1 (games_won VARCHAR, best_winning_average VARCHAR)
Question: How many players had a best winning average of 20?
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 Payments (Amount_Payment INTEGER)
Question: What is the total amount of payment?
[/INST]
Here is the SQLite query to answer to the question: What is the total amoun... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Payments (Amount_Payment INTEGER)
Question: What is the total amount of payment?
Here is the SQLite query to answer to the question: What is the total amount of payment?... | bugdaryan/sql-create-context-instruction | |
[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 (crowd INTEGER, away_team VARCHAR)
Question: What was the attendance when North Melbourne was the away team?
[/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_77 (crowd INTEGER, away_team VARCHAR)
Question: What was the attendance when North Melbourne was the away team?
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_34 (to_par VARCHAR, country VARCHAR, score VARCHAR)
Question: What's the to par for england when the score is less than 71?
[/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_34 (to_par VARCHAR, country VARCHAR, score VARCHAR)
Question: What's the to par for england when the score is less than 71?
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_27539535_4 (game INTEGER, score VARCHAR)
Question: What is the least entry for game if the score is 1-0?
[/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_27539535_4 (game INTEGER, score VARCHAR)
Question: What is the least entry for game if the score is 1-0?
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_21 (round VARCHAR, college VARCHAR)
Question: Which round goes to Stanford college?
[/INST]
Here is the SQLite query to answer to the question: Which rou... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (round VARCHAR, college VARCHAR)
Question: Which round goes to Stanford college?
Here is the SQLite query to answer to the question: Which round goes to St... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (realization VARCHAR, gloss VARCHAR)
Question: Name the realization for 'to be, to do'
[/INST]
Here is the SQLite query to answer to the question: Nam... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (realization VARCHAR, gloss VARCHAR)
Question: Name the realization for 'to be, to do'
Here is the SQLite query to answer to the question: Name the realiza... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE shop (address VARCHAR, open_year VARCHAR)
Question: Show the shop addresses ordered by their opening year.
[/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 shop (address VARCHAR, open_year VARCHAR)
Question: Show the shop addresses ordered by their opening year.
Here is the SQLite query to answer to the question: Show 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_89 (order INTEGER, built VARCHAR)
Question: with build 5/69-6/69 what's the order?
[/INST]
Here is the SQLite query to answer to the question: with build... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (order INTEGER, built VARCHAR)
Question: with build 5/69-6/69 what's the order?
Here is the SQLite query to answer to the question: with build 5/69-6/69 wh... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (Id VARCHAR)
Question: What is the 2007 when the 2010 is 3r?
[/INST]
Here is the SQLite query to answer to the question: What is the 2007 when the 201... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (Id VARCHAR)
Question: What is the 2007 when the 2010 is 3r?
Here is the SQLite query to answer to the question: What is the 2007 when the 2010 is 3r?:
```... | bugdaryan/sql-create-context-instruction | |
[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 (losses VARCHAR, games VARCHAR, team_name VARCHAR, season VARCHAR)
Question: What's the total losses for the vancouver burrards in the 1947 season with... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (losses VARCHAR, games VARCHAR, team_name VARCHAR, season VARCHAR)
Question: What's the total losses for the vancouver burrards in the 1947 season with fewer... | bugdaryan/sql-create-context-instruction | |
[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 (chinese VARCHAR, pali VARCHAR)
Question: Which Chinese has a Pali of atappa?
[/INST]
Here is the SQLite query to answer to the question: Which Chines... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (chinese VARCHAR, pali VARCHAR)
Question: Which Chinese has a Pali of atappa?
Here is the SQLite query to answer to the question: Which Chinese has a Pali ... | bugdaryan/sql-create-context-instruction | |
[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 (tournament VARCHAR)
Question: What is 2007, when Tournament is "Madrid"?
[/INST]
Here is the SQLite query to answer to the question: What is 2007, wh... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (tournament VARCHAR)
Question: What is 2007, when Tournament is "Madrid"?
Here is the SQLite query to answer to the question: What is 2007, when Tournament... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (winner VARCHAR, course VARCHAR)
Question: Who won the Granada course?
[/INST]
Here is the SQLite query to answer to the question: Who won the Granada... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (winner VARCHAR, course VARCHAR)
Question: Who won the Granada course?
Here is the SQLite query to answer to the question: Who won the Granada course?:
```... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26362472_1 (left_office VARCHAR, election_number VARCHAR)
Question: What is the date in which a politician who left office on 1840-10-11 for a politician whos... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26362472_1 (left_office VARCHAR, election_number VARCHAR)
Question: What is the date in which a politician who left office on 1840-10-11 for a politician whose elec... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20745746_1 (_number VARCHAR, record VARCHAR)
Question: How many games resulted in a loss?
[/INST]
Here is the SQLite query to answer to the question: How many... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20745746_1 (_number VARCHAR, record VARCHAR)
Question: How many games resulted in a loss?
Here is the SQLite query to answer to the question: How many games result... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Lessons (staff_id VARCHAR); CREATE TABLE Staff (staff_id VARCHAR, first_name VARCHAR)
Question: How many lessons taught by staff whose first name has letter 'a' in ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Lessons (staff_id VARCHAR); CREATE TABLE Staff (staff_id VARCHAR, first_name VARCHAR)
Question: How many lessons taught by staff whose first name has letter 'a' in it?
H... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (attendance VARCHAR, result VARCHAR, week VARCHAR)
Question: Name for me the total number in attendance for week before 2 and result of t 24-24
[/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 (attendance VARCHAR, result VARCHAR, week VARCHAR)
Question: Name for me the total number in attendance for week before 2 and result of t 24-24
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_2293510_1 (total__million_€__ VARCHAR, ppp__million_€_ VARCHAR)
Question: What's the total (in million €) in the region where PPP is 21779 million €?
[/INST]
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2293510_1 (total__million_€__ VARCHAR, ppp__million_€_ VARCHAR)
Question: What's the total (in million €) in the region where PPP is 21779 million €?
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_42 (rank INTEGER, location VARCHAR, current_seating_capacity VARCHAR)
Question: What is Lowest Rank, when Location is Rio De Janeiro, Brazil, and when Cu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (rank INTEGER, location VARCHAR, current_seating_capacity VARCHAR)
Question: What is Lowest Rank, when Location is Rio De Janeiro, Brazil, and when Current ... | bugdaryan/sql-create-context-instruction | |
[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 (Id VARCHAR)
Question: What is the 1952 rate when the 1954 is more than 4.2?
[/INST]
Here is the SQLite query to answer to the question: What is the 1... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (Id VARCHAR)
Question: What is the 1952 rate when the 1954 is more than 4.2?
Here is the SQLite query to answer to the question: What is the 1952 rate when... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE candidate (name VARCHAR, people_id VARCHAR); CREATE TABLE people (name VARCHAR, people_id VARCHAR)
Question: what are the names of people who did not participate in... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE candidate (name VARCHAR, people_id VARCHAR); CREATE TABLE people (name VARCHAR, people_id VARCHAR)
Question: what are the names of people who did not participate in the 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_22654139_3 (year INTEGER, reporters VARCHAR)
Question: What is the latest year with reporters Lesley Visser and Robin Roberts?
[/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_22654139_3 (year INTEGER, reporters VARCHAR)
Question: What is the latest year with reporters Lesley Visser and Robin Roberts?
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_24399615_10 (bbc_three_weekly_ranking VARCHAR, cable_rank VARCHAR)
Question: List the number of bbc rankings with cable rankings of 6.
[/INST]
Here is the SQL... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24399615_10 (bbc_three_weekly_ranking VARCHAR, cable_rank VARCHAR)
Question: List the number of bbc rankings with cable rankings of 6.
Here is the SQLite query to ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10568553_1 (location VARCHAR, roads_intersected VARCHAR)
Question: Where does Route 24 intersect?
[/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_10568553_1 (location VARCHAR, roads_intersected VARCHAR)
Question: Where does Route 24 intersect?
Here is the SQLite query to answer to the question: Where does Ro... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27700530_5 (high_points VARCHAR, date VARCHAR)
Question: Who had the high point total on october 20?
[/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_27700530_5 (high_points VARCHAR, date VARCHAR)
Question: Who had the high point total on october 20?
Here is the SQLite query to answer to the question: Who had 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_38 (tries_for INTEGER, team VARCHAR, points_against VARCHAR)
Question: What Tries for has a Team of neath, and Points against larger than 109?
[/INST]
He... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (tries_for INTEGER, team VARCHAR, points_against VARCHAR)
Question: What Tries for has a Team of neath, and Points against larger than 109?
Here is the SQL... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (points VARCHAR, wins VARCHAR, team VARCHAR, class VARCHAR, year VARCHAR)
Question: How many points numbers had a class of 250cc, a year prior to 1978... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (points VARCHAR, wins VARCHAR, team VARCHAR, class VARCHAR, year VARCHAR)
Question: How many points numbers had a class of 250cc, a year prior to 1978, Yama... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (points INTEGER, scored VARCHAR, wins VARCHAR)
Question: What is the sum of points for teams with 10 goals scored and under 3 wins?
[/INST]
Here is th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (points INTEGER, scored VARCHAR, wins VARCHAR)
Question: What is the sum of points for teams with 10 goals scored and under 3 wins?
Here is the SQLite quer... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (body_length_mm INTEGER, lead_pitch_mm INTEGER)
Question: Which Body Length/mm has a Lead Pitch/mm smaller than 0.5?
[/INST]
Here is the SQLite query t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (body_length_mm INTEGER, lead_pitch_mm INTEGER)
Question: Which Body Length/mm has a Lead Pitch/mm smaller than 0.5?
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_1820752_1 (signal_power___kw__ VARCHAR, arrival_date VARCHAR)
Question: If the arrival date is January 2059, what is the total amount of signal power?
[/INST]... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1820752_1 (signal_power___kw__ VARCHAR, arrival_date VARCHAR)
Question: If the arrival date is January 2059, what is the total amount of signal power?
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_38 (team VARCHAR, make VARCHAR, drivers VARCHAR)
Question: When driver yuji tachikawa had a make of lexus, what team did he represent?
[/INST]
Here is th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (team VARCHAR, make VARCHAR, drivers VARCHAR)
Question: When driver yuji tachikawa had a make of lexus, what team did he represent?
Here is the SQLite quer... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15352382_1 (drawn VARCHAR, team VARCHAR)
Question: How many Drawn does the team Portuguesa Santista have?
[/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_15352382_1 (drawn VARCHAR, team VARCHAR)
Question: How many Drawn does the team Portuguesa Santista have?
Here is the SQLite query to answer to the question: How 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_13050822_2 (time VARCHAR, stage VARCHAR)
Question: What is the time for stage ss18?
[/INST]
Here is the SQLite query to answer to the question: What is the ti... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13050822_2 (time VARCHAR, stage VARCHAR)
Question: What is the time for stage ss18?
Here is the SQLite query to answer to the question: What is the time for stage ... | bugdaryan/sql-create-context-instruction | |
[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 (constructor VARCHAR, race VARCHAR, winning_driver VARCHAR, pole_position VARCHAR)
Question: I want the constructor for winning driver of jim clark, p... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (constructor VARCHAR, race VARCHAR, winning_driver VARCHAR, pole_position VARCHAR)
Question: I want the constructor for winning driver of jim clark, pole po... | bugdaryan/sql-create-context-instruction | |
[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 (league VARCHAR, total INTEGER)
Question: What's the total for a league cup less than 1?
[/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_30 (league VARCHAR, total INTEGER)
Question: What's the total for a league cup less than 1?
Here is the SQLite query to answer to the question: What's 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_17244483_1 (time_retired VARCHAR, car_no VARCHAR)
Question: Car number 15 earned what time?
[/INST]
Here is the SQLite query to answer to the question: Car nu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17244483_1 (time_retired VARCHAR, car_no VARCHAR)
Question: Car number 15 earned what time?
Here is the SQLite query to answer to the question: Car number 15 earne... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (top_25 INTEGER, tournament VARCHAR, events VARCHAR)
Question: What is the top-25 of the U.S. open, which has less than 7 events?
[/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_93 (top_25 INTEGER, tournament VARCHAR, events VARCHAR)
Question: What is the top-25 of the U.S. open, which has less than 7 events?
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_1876825_2 (no_in_series VARCHAR, original_air_date VARCHAR)
Question: Name the total number of series for march 19, 2000
[/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_1876825_2 (no_in_series VARCHAR, original_air_date VARCHAR)
Question: Name the total number of series for march 19, 2000
Here is the SQLite query to answer to the ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (attendance VARCHAR, date VARCHAR)
Question: Name the total number in attendance for may 1
[/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_68 (attendance VARCHAR, date VARCHAR)
Question: Name the total number in attendance for may 1
Here is the SQLite query to answer to the question: Name 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 Companies (Id VARCHAR)
Question: How many companies are there?
[/INST]
Here is the SQLite query to answer to the question: How many companies are there?:
```
SELECT... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Companies (Id VARCHAR)
Question: How many companies are there?
Here is the SQLite query to answer to the question: How many companies are there?:
```
SELECT COUNT(*) FRO... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1341568_14 (incumbent VARCHAR, elected VARCHAR, party VARCHAR)
Question: What Republican incumbent was elected in 1974?
[/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_1341568_14 (incumbent VARCHAR, elected VARCHAR, party VARCHAR)
Question: What Republican incumbent was elected in 1974?
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_43 (host_city VARCHAR, hosts VARCHAR)
Question: What is the host city that has Alicia Keys listed as a host?
[/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_43 (host_city VARCHAR, hosts VARCHAR)
Question: What is the host city that has Alicia Keys listed as a host?
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_3 (points INTEGER, chassis VARCHAR)
Question: What is the low point total for arrows a22 chassis?
[/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_3 (points INTEGER, chassis VARCHAR)
Question: What is the low point total for arrows a22 chassis?
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 county (County_name VARCHAR, Population VARCHAR)
Question: Show the county name and population of all counties.
[/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 county (County_name VARCHAR, Population VARCHAR)
Question: Show the county name and population of all counties.
Here is the SQLite query to answer to the question: Show ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14999879_2 (college VARCHAR, player VARCHAR)
Question: What college did steve justice attend?
[/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_14999879_2 (college VARCHAR, player VARCHAR)
Question: What college did steve justice attend?
Here is the SQLite query to answer to the question: What college did ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (lane INTEGER, country VARCHAR, react VARCHAR)
Question: What is the lowest lane for Nigeria, with a react less than 0.133?
[/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_17 (lane INTEGER, country VARCHAR, react VARCHAR)
Question: What is the lowest lane for Nigeria, with a react less than 0.133?
Here is the SQLite query to ans... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (inscription VARCHAR, identification VARCHAR)
Question: What is the name of the inscription where Virgil is listed as the identification?
[/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_57 (inscription VARCHAR, identification VARCHAR)
Question: What is the name of the inscription where Virgil is listed as the identification?
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_20354_5 (abbr VARCHAR, transcription VARCHAR)
Question: What's the abbreviation for the month whose transcription is Kumphaphan?
[/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_20354_5 (abbr VARCHAR, transcription VARCHAR)
Question: What's the abbreviation for the month whose transcription is Kumphaphan?
Here is the SQLite query to answer... | 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.