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_26060884_2 (burglary VARCHAR, forcible_rape VARCHAR)
Question: How many burglary crimes were committed if the forcible rapes were 1233?
[/INST]
Here is the SQ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26060884_2 (burglary VARCHAR, forcible_rape VARCHAR)
Question: How many burglary crimes were committed if the forcible rapes were 1233?
Here is the SQLite query to... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (laps INTEGER, grid VARCHAR)
Question: what is the least laps when the grid is 5?
[/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_94 (laps INTEGER, grid VARCHAR)
Question: what is the least laps when the grid is 5?
Here is the SQLite query to answer to the question: what is the least lap... | bugdaryan/sql-create-context-instruction | |
[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 (to_par VARCHAR, player VARCHAR)
Question: What is Tiger Woods' to par?
[/INST]
Here is the SQLite query to answer to the question: What is Tiger Wood... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (to_par VARCHAR, player VARCHAR)
Question: What is Tiger Woods' to par?
Here is the SQLite query to answer to the question: What is Tiger Woods' to par?:
`... | bugdaryan/sql-create-context-instruction | |
[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 (year VARCHAR, wins VARCHAR)
Question: What year has 2 wins?
[/INST]
Here is the SQLite query to answer to the question: What year has 2 wins?:
```
SE... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (year VARCHAR, wins VARCHAR)
Question: What year has 2 wins?
Here is the SQLite query to answer to the question: What year has 2 wins?:
```
SELECT year FRO... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (date VARCHAR, visitor VARCHAR)
Question: What was the date of the match against the visiting team, Toronto?
[/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 (date VARCHAR, visitor VARCHAR)
Question: What was the date of the match against the visiting team, Toronto?
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_2362486_1 (championship VARCHAR, score_in_the_final VARCHAR)
Question: Which championship had a final score of 6–4, 2–6, 6–4, 7–6(3)?
[/INST]
Here is the SQLi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2362486_1 (championship VARCHAR, score_in_the_final VARCHAR)
Question: Which championship had a final score of 6–4, 2–6, 6–4, 7–6(3)?
Here is the SQLite query to 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_85 (score VARCHAR, date VARCHAR)
Question: What is the score of the game on January 18?
[/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_85 (score VARCHAR, date VARCHAR)
Question: What is the score of the game on January 18?
Here is the SQLite query to answer to the question: What is the score ... | bugdaryan/sql-create-context-instruction | |
[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 (attendance VARCHAR, date VARCHAR)
Question: How many people attended the match on 1/11?
[/INST]
Here is the SQLite query to answer to the question: 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 (attendance VARCHAR, date VARCHAR)
Question: How many people attended the match on 1/11?
Here is the SQLite query to answer to the question: How many peopl... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1515346_2 (country VARCHAR, player VARCHAR)
Question: For which country does Keith Fergus play?
[/INST]
Here is the SQLite query to answer to the question: Fo... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1515346_2 (country VARCHAR, player VARCHAR)
Question: For which country does Keith Fergus play?
Here is the SQLite query to answer to the question: For which count... | bugdaryan/sql-create-context-instruction | |
[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 (result VARCHAR, opponent VARCHAR)
Question: Which Result has an Opponent of steve walker?
[/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_4 (result VARCHAR, opponent VARCHAR)
Question: Which Result has an Opponent of steve walker?
Here is the SQLite query to answer to the question: Which 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 table_name_28 (hits INTEGER, year VARCHAR, player VARCHAR)
Question: Name the least hits for year less than 1920 and player of ed delahanty
[/INST]
Here is the SQLi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (hits INTEGER, year VARCHAR, player VARCHAR)
Question: Name the least hits for year less than 1920 and player of ed delahanty
Here is the SQLite query to 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_158282_1 (senate_seats VARCHAR, political_leader VARCHAR)
Question: How many categories of Senate Seats does Emile Roemer have?
[/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_158282_1 (senate_seats VARCHAR, political_leader VARCHAR)
Question: How many categories of Senate Seats does Emile Roemer have?
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_25401_15 (proto_italo_western_1 VARCHAR, english VARCHAR)
Question: What is every entry for Proto-Italo-Western 1 when door is English?
[/INST]
Here is the SQ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25401_15 (proto_italo_western_1 VARCHAR, english VARCHAR)
Question: What is every entry for Proto-Italo-Western 1 when door is English?
Here is the SQLite query to... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (floors VARCHAR, location VARCHAR, name VARCHAR)
Question: Which Floors have a Location of ljubljana, and a Name of tr3?
[/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_61 (floors VARCHAR, location VARCHAR, name VARCHAR)
Question: Which Floors have a Location of ljubljana, and a Name of tr3?
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_74 (team VARCHAR, record VARCHAR)
Question: Which Team has a Record of 17–8?
[/INST]
Here is the SQLite query to answer to the question: Which Team has a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (team VARCHAR, record VARCHAR)
Question: Which Team has a Record of 17–8?
Here is the SQLite query to answer to the question: Which Team has a Record of 17... | bugdaryan/sql-create-context-instruction | |
[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 (ethernet_ports VARCHAR, name VARCHAR)
Question: What is the ethernet ports of the m1500 appliance?
[/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_5 (ethernet_ports VARCHAR, name VARCHAR)
Question: What is the ethernet ports of the m1500 appliance?
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_27603010_14 (points VARCHAR, team__number1 VARCHAR)
Question: What was Team 1 Junior's points?
[/INST]
Here is the SQLite query to answer to the question: Wha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27603010_14 (points VARCHAR, team__number1 VARCHAR)
Question: What was Team 1 Junior's points?
Here is the SQLite query to answer to the question: What was Team 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 shop (LOCATION VARCHAR)
Question: Find the number of shops in each location.
[/INST]
Here is the SQLite query to answer to the question: Find the number of shops in... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE shop (LOCATION VARCHAR)
Question: Find the number of shops in each location.
Here is the SQLite query to answer to the question: Find the number of shops in each locatio... | bugdaryan/sql-create-context-instruction | |
[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 (pop_density__per_km2_ INTEGER, district VARCHAR, s_barangay VARCHAR)
Question: What is the lowest population density for the district of Santa Cruz a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (pop_density__per_km2_ INTEGER, district VARCHAR, s_barangay VARCHAR)
Question: What is the lowest population density for the district of Santa Cruz and a B... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (away VARCHAR, home VARCHAR)
Question: What away has 1-4 as the home?
[/INST]
Here is the SQLite query to answer to the question: What away has 1-4 as... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (away VARCHAR, home VARCHAR)
Question: What away has 1-4 as the home?
Here is the SQLite query to answer to the question: What away has 1-4 as the home?:
`... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1784514_1 (year_established INTEGER, number_of_powiats VARCHAR)
Question: What is the latest year established that had 5 powiats?
[/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_1784514_1 (year_established INTEGER, number_of_powiats VARCHAR)
Question: What is the latest year established that had 5 powiats?
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_72 (year INTEGER, nation_represented VARCHAR)
Question: What is the latest result where a person from the Philippines won?
[/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_72 (year INTEGER, nation_represented VARCHAR)
Question: What is the latest result where a person from the Philippines won?
Here is the SQLite query to answer ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (team VARCHAR, score VARCHAR)
Question: Which Team has a Score of 108-105 (ot)?
[/INST]
Here is the SQLite query to answer to the question: Which Team ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (team VARCHAR, score VARCHAR)
Question: Which Team has a Score of 108-105 (ot)?
Here is the SQLite query to answer to the question: Which Team has a 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_3 (inhabitants VARCHAR, election VARCHAR, party VARCHAR, mayor VARCHAR)
Question: How many Inhabitants were in the democratic party for an election befor... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (inhabitants VARCHAR, election VARCHAR, party VARCHAR, mayor VARCHAR)
Question: How many Inhabitants were in the democratic party for an election before 2009... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (tournament VARCHAR, runner_s__up VARCHAR)
Question: Which tournament had a runner-up of Val Skinner?
[/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_20 (tournament VARCHAR, runner_s__up VARCHAR)
Question: Which tournament had a runner-up of Val Skinner?
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_37 (run_4 VARCHAR, athletes VARCHAR)
Question: Which Run 4 has Athletes of alexandru frimu & costel rădulescu?
[/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_37 (run_4 VARCHAR, athletes VARCHAR)
Question: Which Run 4 has Athletes of alexandru frimu & costel rădulescu?
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_1341522_41 (party VARCHAR, incumbent VARCHAR)
Question: What party does ron klink represent?
[/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_1341522_41 (party VARCHAR, incumbent VARCHAR)
Question: What party does ron klink represent?
Here is the SQLite query to answer to the question: What party 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_name_14 (rank VARCHAR, points VARCHAR)
Question: What is the highest 2nd in (m) that has a Rank more than 2 and Points more than 249.3
[/INST]
Here is the SQL... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (rank VARCHAR, points VARCHAR)
Question: What is the highest 2nd in (m) that has a Rank more than 2 and Points more than 249.3
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_206217_2 (epoch__utc_ VARCHAR, inclination__deg___to_moon_equator_ VARCHAR)
Question: What is every value of epoch if inclination is 90.063603?
[/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_206217_2 (epoch__utc_ VARCHAR, inclination__deg___to_moon_equator_ VARCHAR)
Question: What is every value of epoch if inclination is 90.063603?
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_53 (vote__percentage INTEGER, election VARCHAR)
Question: Name the most vote % with election of 1946
[/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_53 (vote__percentage INTEGER, election VARCHAR)
Question: Name the most vote % with election of 1946
Here is the SQLite query to answer to the question: Name ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (player VARCHAR, score VARCHAR)
Question: Which player had a score of 70?
[/INST]
Here is the SQLite query to answer to the question: Which player had... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (player VARCHAR, score VARCHAR)
Question: Which player had a score of 70?
Here is the SQLite query to answer to the question: Which player had a score of 7... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (home_team VARCHAR, venue VARCHAR)
Question: Which home team plays at the Western Oval?
[/INST]
Here is the SQLite query to answer to the question: Wh... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (home_team VARCHAR, venue VARCHAR)
Question: Which home team plays at the Western Oval?
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_53 (away_team VARCHAR, home_team VARCHAR)
Question: What is the away team that features a home team of south melbourne?
[/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_53 (away_team VARCHAR, home_team VARCHAR)
Question: What is the away team that features a home team of south melbourne?
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_3 (state VARCHAR, electorate VARCHAR)
Question: What state shows for Cunningham?
[/INST]
Here is the SQLite query to answer to the question: What state s... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (state VARCHAR, electorate VARCHAR)
Question: What state shows for Cunningham?
Here is the SQLite query to answer to the question: What state shows for Cunn... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14649522_1 (nfl_team VARCHAR, player VARCHAR)
Question: Which team does Robert Brooks play with?
[/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_14649522_1 (nfl_team VARCHAR, player VARCHAR)
Question: Which team does Robert Brooks play with?
Here is the SQLite query to answer to the question: Which team doe... | bugdaryan/sql-create-context-instruction | |
[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 (first_exercise INTEGER, second_exercise VARCHAR)
Question: What is the total for the first exercise and has 18 as the second exercise?
[/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_2 (first_exercise INTEGER, second_exercise VARCHAR)
Question: What is the total for the first exercise and has 18 as the second exercise?
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_6 (rebounds INTEGER, name VARCHAR, games VARCHAR)
Question: How many Rebounds did Novica Veličković get in less than 22 Games?
[/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_6 (rebounds INTEGER, name VARCHAR, games VARCHAR)
Question: How many Rebounds did Novica Veličković get in less than 22 Games?
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_38 (record VARCHAR, date VARCHAR)
Question: What was the record at the game on November 13, 1932?
[/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_38 (record VARCHAR, date VARCHAR)
Question: What was the record at the game on November 13, 1932?
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_10294071_1 (ties_played INTEGER, player VARCHAR)
Question: what is the maximum ties played where player is josip palada category:articles with hcards
[/INST]
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10294071_1 (ties_played INTEGER, player VARCHAR)
Question: what is the maximum ties played where player is josip palada category:articles with hcards
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_28 (opponent VARCHAR, week VARCHAR, date VARCHAR)
Question: Who was the opponent in a week below 3 on September 23, 1960?
[/INST]
Here is the SQLite quer... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (opponent VARCHAR, week VARCHAR, date VARCHAR)
Question: Who was the opponent in a week below 3 on September 23, 1960?
Here is the SQLite query to answer t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (away_team VARCHAR, ground VARCHAR)
Question: Which Away team has a Ground of gabba?
[/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_65 (away_team VARCHAR, ground VARCHAR)
Question: Which Away team has a Ground of gabba?
Here is the SQLite query to answer to the question: Which Away team 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_2511876_1 (league VARCHAR, year VARCHAR)
Question: Name the league for 2003
[/INST]
Here is the SQLite query to answer to the question: Name the league for 20... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2511876_1 (league VARCHAR, year VARCHAR)
Question: Name the league for 2003
Here is the SQLite query to answer to the question: Name the league for 2003:
```
SELEC... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_32 (score VARCHAR, date VARCHAR, venue VARCHAR, competition VARCHAR)
Question: what is the score when the venue is stade général seyni kountché, niamey, ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_32 (score VARCHAR, date VARCHAR, venue VARCHAR, competition VARCHAR)
Question: what is the score when the venue is stade général seyni kountché, niamey, the co... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (time VARCHAR, country VARCHAR)
Question: What is the Time of the Rowers from Belgium?
[/INST]
Here is the SQLite query to answer to the question: Wha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (time VARCHAR, country VARCHAR)
Question: What is the Time of the Rowers from Belgium?
Here is the SQLite query to answer to the question: What is the Time... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26250199_1 (theme VARCHAR, episode VARCHAR)
Question: In episode Top 16 (8 Men), what are the themes?
[/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_26250199_1 (theme VARCHAR, episode VARCHAR)
Question: In episode Top 16 (8 Men), what are the themes?
Here is the SQLite query to answer to the question: In episod... | bugdaryan/sql-create-context-instruction | |
[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 (transfer_fee VARCHAR, status VARCHAR, country VARCHAR)
Question: Name the transfer fee for transfer status for fra
[/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_24 (transfer_fee VARCHAR, status VARCHAR, country VARCHAR)
Question: Name the transfer fee for transfer status for fra
Here is the SQLite query to answer to t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (emit__nm_ VARCHAR, mass__g_mol_ VARCHAR)
Question: Which Emission (in nanometers) that has a molar mass of 1078 g/mol?
[/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_86 (emit__nm_ VARCHAR, mass__g_mol_ VARCHAR)
Question: Which Emission (in nanometers) that has a molar mass of 1078 g/mol?
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_83 (eliminated VARCHAR, week__number INTEGER)
Question: Tell me the eliminated for week # larger than 4
[/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_83 (eliminated VARCHAR, week__number INTEGER)
Question: Tell me the eliminated for week # larger than 4
Here is the SQLite query to answer to the question: Te... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (date VARCHAR, week VARCHAR, result VARCHAR)
Question: When was the game before week 15 with the result of bye?
[/INST]
Here is the SQLite query to an... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (date VARCHAR, week VARCHAR, result VARCHAR)
Question: When was the game before week 15 with the result of bye?
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_24 (player VARCHAR, rank VARCHAR)
Question: Which player has rank 1?
[/INST]
Here is the SQLite query to answer to the question: Which player has rank 1?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (player VARCHAR, rank VARCHAR)
Question: Which player has rank 1?
Here is the SQLite query to answer to the question: Which player has rank 1?:
```
SELECT ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (place VARCHAR, player VARCHAR)
Question: In what place did Dave Barr score?
[/INST]
Here is the SQLite query to answer to the question: In what place ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (place VARCHAR, player VARCHAR)
Question: In what place did Dave Barr score?
Here is the SQLite query to answer to the question: In what place did Dave Barr... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (company_or_product_name VARCHAR, episode VARCHAR, investing_dragon_s_ VARCHAR)
Question: What is the name of the Company or Product that is Episode 3... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (company_or_product_name VARCHAR, episode VARCHAR, investing_dragon_s_ VARCHAR)
Question: What is the name of the Company or Product that is Episode 3 and 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_57 (rank VARCHAR, highest_floor INTEGER)
Question: What is the Rank of the building that has a Highest floor larger than 50?
[/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_57 (rank VARCHAR, highest_floor INTEGER)
Question: What is the Rank of the building that has a Highest floor larger than 50?
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 Highschooler (id VARCHAR); CREATE TABLE Friend (student_id VARCHAR); CREATE TABLE Highschooler (grade INTEGER, id VARCHAR)
Question: Find the average grade of all s... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Highschooler (id VARCHAR); CREATE TABLE Friend (student_id VARCHAR); CREATE TABLE Highschooler (grade INTEGER, id VARCHAR)
Question: Find the average grade of all student... | bugdaryan/sql-create-context-instruction | |
[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 (october VARCHAR, february VARCHAR)
Question: Who is the october playmate with February playmate Cristy Thom?
[/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_51 (october VARCHAR, february VARCHAR)
Question: Who is the october playmate with February playmate Cristy Thom?
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_77 (total VARCHAR, fa_cup VARCHAR)
Question: What is Total, when FA Cup is 1 0 (3)?
[/INST]
Here is the SQLite query to answer to the question: What is T... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (total VARCHAR, fa_cup VARCHAR)
Question: What is Total, when FA Cup is 1 0 (3)?
Here is the SQLite query to answer to the question: What is Total, when FA... | bugdaryan/sql-create-context-instruction | |
[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 (lunar_landing_site VARCHAR, duration_on_lunar_surface VARCHAR)
Question: Where was the landing site when the duration on the lunar surface was 21:31?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (lunar_landing_site VARCHAR, duration_on_lunar_surface VARCHAR)
Question: Where was the landing site when the duration on the lunar surface was 21:31?
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_31 (crowd VARCHAR, home_team VARCHAR)
Question: What was the attendance for the North Melbourne's home game?
[/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_31 (crowd VARCHAR, home_team VARCHAR)
Question: What was the attendance for the North Melbourne's home game?
Here is the SQLite query to answer to the questio... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (bronze VARCHAR, total VARCHAR, silver VARCHAR)
Question: How many bronze medals did the team have with 0 total silver and less than 3 total medals?
[/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (bronze VARCHAR, total VARCHAR, silver VARCHAR)
Question: How many bronze medals did the team have with 0 total silver and less than 3 total medals?
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_45 (category VARCHAR, award VARCHAR, title VARCHAR, year VARCHAR, result VARCHAR)
Question: Which Category has a Year larger than 1996, and a Result of w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (category VARCHAR, award VARCHAR, title VARCHAR, year VARCHAR, result VARCHAR)
Question: Which Category has a Year larger than 1996, and a Result of won, 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_90 (degree VARCHAR, award_year VARCHAR, award VARCHAR)
Question: Tell me the degree for chemistry 1965
[/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_90 (degree VARCHAR, award_year VARCHAR, award VARCHAR)
Question: Tell me the degree for chemistry 1965
Here is the SQLite query to answer to the question: Tel... | bugdaryan/sql-create-context-instruction | |
[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 (position VARCHAR, year VARCHAR, notes VARCHAR)
Question: What position did he finish after 1998 and a note time of 2:31:40?
[/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_71 (position VARCHAR, year VARCHAR, notes VARCHAR)
Question: What position did he finish after 1998 and a note time of 2:31:40?
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_8 (championship VARCHAR, opponent VARCHAR)
Question: What was the championship during the match with the opponent of richard fromberg?
[/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_8 (championship VARCHAR, opponent VARCHAR)
Question: What was the championship during the match with the opponent of richard fromberg?
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_72 (driver VARCHAR, points VARCHAR)
Question: Which river had 26 points?
[/INST]
Here is the SQLite query to answer to the question: Which river had 26 p... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (driver VARCHAR, points VARCHAR)
Question: Which river had 26 points?
Here is the SQLite query to answer to the question: Which river had 26 points?:
```
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_28 (year INTEGER, country VARCHAR, location VARCHAR)
Question: What is the average Year, when Country is "U.S.", and when Location is "Edmond , OK"?
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (year INTEGER, country VARCHAR, location VARCHAR)
Question: What is the average Year, when Country is "U.S.", and when Location is "Edmond , OK"?
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_2279413_1 (pct_route_available VARCHAR, country VARCHAR)
Question: In Tangier Zone, what is the PCT route availibility?
[/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_2279413_1 (pct_route_available VARCHAR, country VARCHAR)
Question: In Tangier Zone, what is the PCT route availibility?
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_14624447_24 (name VARCHAR, position VARCHAR)
Question: What are all names for the position FS?
[/INST]
Here is the SQLite query to answer to the question: Wha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14624447_24 (name VARCHAR, position VARCHAR)
Question: What are all names for the position FS?
Here is the SQLite query to answer to the question: What are all nam... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (language VARCHAR, category VARCHAR, original_title VARCHAR)
Question: What language was the film Pelle Erobreren, which received the best actor nomin... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (language VARCHAR, category VARCHAR, original_title VARCHAR)
Question: What language was the film Pelle Erobreren, which received the best actor nomination,... | bugdaryan/sql-create-context-instruction | |
[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 (assists INTEGER, club VARCHAR, points VARCHAR)
Question: How many Assists have a Club of adler mannheim, and Points larger than 57?
[/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_60 (assists INTEGER, club VARCHAR, points VARCHAR)
Question: How many Assists have a Club of adler mannheim, and Points larger than 57?
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_74 (pick INTEGER, player VARCHAR, round VARCHAR)
Question: What was the average pick with Ed O'Bannon and a round smaller than 1?
[/INST]
Here is the SQL... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (pick INTEGER, player VARCHAR, round VARCHAR)
Question: What was the average pick with Ed O'Bannon and a round smaller than 1?
Here is the SQLite query to ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11206787_5 (highest VARCHAR, stadium VARCHAR)
Question: What is the highest of balmoor/
[/INST]
Here is the SQLite query to answer to the question: What is th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11206787_5 (highest VARCHAR, stadium VARCHAR)
Question: What is the highest of balmoor/
Here is the SQLite query to answer to the question: What is the highest 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_87 (week VARCHAR, record VARCHAR)
Question: Which week led to a record of 4-10?
[/INST]
Here is the SQLite query to answer to the question: Which week le... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_87 (week VARCHAR, record VARCHAR)
Question: Which week led to a record of 4-10?
Here is the SQLite query to answer to the question: Which week led to a record... | bugdaryan/sql-create-context-instruction | |
[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 (laps VARCHAR, points VARCHAR)
Question: Which Laps have Points of 29?
[/INST]
Here is the SQLite query to answer to the question: Which Laps have Poi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (laps VARCHAR, points VARCHAR)
Question: Which Laps have Points of 29?
Here is the SQLite query to answer to the question: Which Laps have Points of 29?:
`... | bugdaryan/sql-create-context-instruction | |
[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 (max_pressure VARCHAR, muzzle_energy VARCHAR)
Question: What is the max pressure for the 468ft•lbf (634 j) muzzle energy?
[/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_99 (max_pressure VARCHAR, muzzle_energy VARCHAR)
Question: What is the max pressure for the 468ft•lbf (634 j) muzzle energy?
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_93 (year INTEGER, winning_team VARCHAR, usa_captain VARCHAR)
Question: What is the highest year that Europe won, when the USA's Captain was Kathy Whitwor... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (year INTEGER, winning_team VARCHAR, usa_captain VARCHAR)
Question: What is the highest year that Europe won, when the USA's Captain was Kathy Whitworth?
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_18077713_1 (revenue__us_$million_ VARCHAR, net_profit__us_$m_ VARCHAR)
Question: How many dollars is the revenue when the net profit is 55.4 million dollars?
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18077713_1 (revenue__us_$million_ VARCHAR, net_profit__us_$m_ VARCHAR)
Question: How many dollars is the revenue when the net profit is 55.4 million dollars?
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_2362606_1 (score_in_final VARCHAR, year VARCHAR)
Question: What was the score in the final in 1988?
[/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_2362606_1 (score_in_final VARCHAR, year VARCHAR)
Question: What was the score in the final in 1988?
Here is the SQLite query to answer to the question: What was th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (attendance VARCHAR, location VARCHAR, date VARCHAR)
Question: For the game that was played on october 22 in west side grounds, what is the total atte... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (attendance VARCHAR, location VARCHAR, date VARCHAR)
Question: For the game that was played on october 22 in west side grounds, what is the total attendance... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12226390_6 (title VARCHAR, production_code VARCHAR)
Question: What's the title of the episode with a production code 136?
[/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_12226390_6 (title VARCHAR, production_code VARCHAR)
Question: What's the title of the episode with a production code 136?
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_27987623_3 (episode VARCHAR, order VARCHAR)
Question: Which episode was #1 in the order?
[/INST]
Here is the SQLite query to answer to the question: Which epi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27987623_3 (episode VARCHAR, order VARCHAR)
Question: Which episode was #1 in the order?
Here is the SQLite query to answer to the question: Which episode was #1 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_13 (game INTEGER, score VARCHAR)
Question: What Game had a Score of 129–105?
[/INST]
Here is the SQLite query to answer to the question: What Game had a ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (game INTEGER, score VARCHAR)
Question: What Game had a Score of 129–105?
Here is the SQLite query to answer to the question: What Game had a Score of 129–... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10797463_1 (village__german_ VARCHAR, percent_of_slovenes_1991 VARCHAR)
Question: How many villages had 21.7% of slovenes in 1991?
[/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_10797463_1 (village__german_ VARCHAR, percent_of_slovenes_1991 VARCHAR)
Question: How many villages had 21.7% of slovenes in 1991?
Here is the SQLite query to answ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE trip (start_station_name VARCHAR, end_station_name VARCHAR, id VARCHAR)
Question: Give me the start station and end station for the trips with the three oldest id.
... | 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, end_station_name VARCHAR, id VARCHAR)
Question: Give me the start station and end station for the trips with the three oldest id.
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_6 (class VARCHAR, quantity VARCHAR)
Question: What is the class with 1 quantity?
[/INST]
Here is the SQLite query to answer to the question: What is the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (class VARCHAR, quantity VARCHAR)
Question: What is the class with 1 quantity?
Here is the SQLite query to answer to the question: What is the class with 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 singer (Name VARCHAR, Net_Worth_Millions VARCHAR)
Question: List the name of singers in ascending order of net worth.
[/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 singer (Name VARCHAR, Net_Worth_Millions VARCHAR)
Question: List the name of singers in ascending order of net worth.
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_73 (laps VARCHAR, driver VARCHAR)
Question: How many laps did Eddie Irvine have?
[/INST]
Here is the SQLite query to answer to the question: How many lap... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (laps VARCHAR, driver VARCHAR)
Question: How many laps did Eddie Irvine have?
Here is the SQLite query to answer to the question: How many laps did Eddie 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_83 (date__closing_ VARCHAR, year INTEGER)
Question: What is Date (Closing), when Year is greater than 2011?
[/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_83 (date__closing_ VARCHAR, year INTEGER)
Question: What is Date (Closing), when Year is greater than 2011?
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_2150068_1 (launch_date__utc_ VARCHAR, diameter_m_ VARCHAR, usage VARCHAR, mass_kg_ VARCHAR)
Question: What was the launch date for the sattelite with ado that... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2150068_1 (launch_date__utc_ VARCHAR, diameter_m_ VARCHAR, usage VARCHAR, mass_kg_ VARCHAR)
Question: What was the launch date for the sattelite with ado that was 4... | bugdaryan/sql-create-context-instruction | |
[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 (sign VARCHAR, latin_motto VARCHAR)
Question: Which astrological sign has the Latin motto of Vita?
[/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_21 (sign VARCHAR, latin_motto VARCHAR)
Question: Which astrological sign has the Latin motto of Vita?
Here is the SQLite query to answer to the question: Whic... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28715942_2 (original_artist VARCHAR, track VARCHAR)
Question: Who were the original artist(s) on harder to breathe?
[/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_28715942_2 (original_artist VARCHAR, track VARCHAR)
Question: Who were the original artist(s) on harder to breathe?
Here is the SQLite query to answer to the quest... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (grid INTEGER, constructor VARCHAR, laps VARCHAR)
Question: When the laps are 31 and the constructor was honda, what's the sum of all grid values?
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (grid INTEGER, constructor VARCHAR, laps VARCHAR)
Question: When the laps are 31 and the constructor was honda, what's the sum of all grid values?
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_20042805_2 (hadeda_ibis VARCHAR, ostrich VARCHAR)
Question: What is the Hadeda Ibis when the Ostrich is Dark Chanting Goshawk?
[/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_20042805_2 (hadeda_ibis VARCHAR, ostrich VARCHAR)
Question: What is the Hadeda Ibis when the Ostrich is Dark Chanting Goshawk?
Here is the SQLite query to answer t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (date VARCHAR, winning_driver VARCHAR)
Question: What date was the winning driver Antonio Ascari?
[/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_27 (date VARCHAR, winning_driver VARCHAR)
Question: What date was the winning driver Antonio Ascari?
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_1558077_8 (number_of_s_eva INTEGER)
Question: Name the most number of s eva
[/INST]
Here is the SQLite query to answer to the question: Name the most number o... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1558077_8 (number_of_s_eva INTEGER)
Question: Name the most number of s eva
Here is the SQLite query to answer to the question: Name the most number of s eva:
```
... | bugdaryan/sql-create-context-instruction | |
[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 (nationality VARCHAR, player VARCHAR)
Question: Dave Curry has what Nationality?
[/INST]
Here is the SQLite query to answer to the question: Dave Curr... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (nationality VARCHAR, player VARCHAR)
Question: Dave Curry has what Nationality?
Here is the SQLite query to answer to the question: Dave Curry has what Na... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (pick VARCHAR, hometown_school VARCHAR)
Question: What number pick was the player with the hometown school of concordia college?
[/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_name_96 (pick VARCHAR, hometown_school VARCHAR)
Question: What number pick was the player with the hometown school of concordia college?
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_name_3 (average_points_per_race_entered INTEGER, driver VARCHAR, entries VARCHAR)
Question: What is the lowest average points per race entered of driver kimi ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (average_points_per_race_entered INTEGER, driver VARCHAR, entries VARCHAR)
Question: What is the lowest average points per race entered of driver kimi räikkö... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_256286_18 (meas_num VARCHAR, type VARCHAR)
Question: what is the measure number for the init type?
[/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_256286_18 (meas_num VARCHAR, type VARCHAR)
Question: what is the measure number for the init type?
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_13258851_2 (date VARCHAR, opponent VARCHAR)
Question: What was the date of the game against Kansas City Chiefs?
[/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_13258851_2 (date VARCHAR, opponent VARCHAR)
Question: What was the date of the game against Kansas City Chiefs?
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_67 (date VARCHAR, away_team VARCHAR)
Question: Which date has an Away team of fitzroy?
[/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_67 (date VARCHAR, away_team VARCHAR)
Question: Which date has an Away team of fitzroy?
Here is the SQLite query to answer to the question: Which date has an A... | 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.