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_23887174_1 (province__ashkharh_ VARCHAR, center VARCHAR)
Question: How many different provinces is Baghaberd the center of?
[/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_23887174_1 (province__ashkharh_ VARCHAR, center VARCHAR)
Question: How many different provinces is Baghaberd the center of?
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_38 (dennis_kucinich VARCHAR, _percentage_of_all VARCHAR)
Question: What is Dennis Kucinich, when % of All is "53%"?
[/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_38 (dennis_kucinich VARCHAR, _percentage_of_all VARCHAR)
Question: What is Dennis Kucinich, when % of All is "53%"?
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_18055005_1 (no_in_series VARCHAR, viewers__millions_ VARCHAR, written_by VARCHAR)
Question: What's the series number of the episode originally viewed by 4.1 m... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18055005_1 (no_in_series VARCHAR, viewers__millions_ VARCHAR, written_by VARCHAR)
Question: What's the series number of the episode originally viewed by 4.1 million... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (score VARCHAR, tie_no VARCHAR)
Question: What was the score for Tie no. 6?
[/INST]
Here is the SQLite query to answer to the question: What was 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_27 (score VARCHAR, tie_no VARCHAR)
Question: What was the score for Tie no. 6?
Here is the SQLite query to answer to the question: What was the score for Tie ... | bugdaryan/sql-create-context-instruction | |
[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 (high_assists VARCHAR, location_attendance VARCHAR)
Question: What high assists have uic pavilion 3,520 as the location/attendance?
[/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_31 (high_assists VARCHAR, location_attendance VARCHAR)
Question: What high assists have uic pavilion 3,520 as the location/attendance?
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_48 (no_vote VARCHAR, state VARCHAR)
Question: How many no votes did North Dakota have?
[/INST]
Here is the SQLite query to answer to the question: How ma... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (no_vote VARCHAR, state VARCHAR)
Question: How many no votes did North Dakota have?
Here is the SQLite query to answer to the question: How many no votes d... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1566850_9 (centerfold_model VARCHAR, date VARCHAR)
Question: How many centerfolds were in the 9-98 issue?
[/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_1566850_9 (centerfold_model VARCHAR, date VARCHAR)
Question: How many centerfolds were in the 9-98 issue?
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_name_24 (laps VARCHAR, time_retired VARCHAR)
Question: How many laps were ridden in the race that had a Time/Retired of +37.351?
[/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_24 (laps VARCHAR, time_retired VARCHAR)
Question: How many laps were ridden in the race that had a Time/Retired of +37.351?
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_73 (years VARCHAR, jersey_number_s_ VARCHAR)
Question: What is the Years of the player with Jersey Number(s) of 44?
[/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_73 (years VARCHAR, jersey_number_s_ VARCHAR)
Question: What is the Years of the player with Jersey Number(s) of 44?
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_75 (final_ladder_position VARCHAR, finals_qualification VARCHAR, teams VARCHAR)
Question: What's the ladder position when team is less than 10 and the Fi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (final_ladder_position VARCHAR, finals_qualification VARCHAR, teams VARCHAR)
Question: What's the ladder position when team is less than 10 and the Finals 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_97 (high_rebounds VARCHAR, game VARCHAR)
Question: Which High rebounds has a Game of 76?
[/INST]
Here is the SQLite query to answer to the question: Whic... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (high_rebounds VARCHAR, game VARCHAR)
Question: Which High rebounds has a Game of 76?
Here is the SQLite query to answer to the question: Which High reboun... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26282750_1 (film_festival VARCHAR, participants_recipients VARCHAR)
Question: What Film Festival had participants/recipients of Isao Tomita?
[/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_26282750_1 (film_festival VARCHAR, participants_recipients VARCHAR)
Question: What Film Festival had participants/recipients of Isao Tomita?
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_33 (tournament VARCHAR)
Question: Name the 2010 for 2008 of 1r and tournament of us open
[/INST]
Here is the SQLite query to answer to the question: Name... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (tournament VARCHAR)
Question: Name the 2010 for 2008 of 1r and tournament of us open
Here is the SQLite query to answer to the question: Name the 2010 for... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (home_team VARCHAR)
Question: What was Melbourne's score as the home team?
[/INST]
Here is the SQLite query to answer to the question: What was Melbou... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (home_team VARCHAR)
Question: What was Melbourne's score as the home team?
Here is the SQLite query to answer to the question: What was Melbourne's score 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_2781227_9 (position VARCHAR, college_junior_club_team VARCHAR)
Question: What position does krylja sovetov (russia) play?
[/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_2781227_9 (position VARCHAR, college_junior_club_team VARCHAR)
Question: What position does krylja sovetov (russia) play?
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_1015914_24 (who_two VARCHAR, you_two VARCHAR)
Question: What is who-two when you two is ngipelngu?
[/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_1015914_24 (who_two VARCHAR, you_two VARCHAR)
Question: What is who-two when you two is ngipelngu?
Here is the SQLite query to answer to the question: What is who-... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (points INTEGER, games INTEGER)
Question: What is the low point total when there are over 5 games?
[/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_56 (points INTEGER, games INTEGER)
Question: What is the low point total when there are over 5 games?
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_20090682_4 (pos INTEGER, driver VARCHAR)
Question: what is the lowest position of brendan sole
[/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_20090682_4 (pos INTEGER, driver VARCHAR)
Question: what is the lowest position of brendan sole
Here is the SQLite query to answer to the question: what is the lowe... | bugdaryan/sql-create-context-instruction | |
[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 (league_division VARCHAR, club VARCHAR)
Question: What league is Sun Source in?
[/INST]
Here is the SQLite query to answer to the question: What league... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (league_division VARCHAR, club VARCHAR)
Question: What league is Sun Source in?
Here is the SQLite query to answer to the question: What league is Sun Sourc... | bugdaryan/sql-create-context-instruction | |
[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 (height__m_ INTEGER, class VARCHAR, prom__m_ VARCHAR)
Question: Tell me the lowest height for class of hewitt and prom less than 148
[/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_37 (height__m_ INTEGER, class VARCHAR, prom__m_ VARCHAR)
Question: Tell me the lowest height for class of hewitt and prom less than 148
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_38 (season VARCHAR, away VARCHAR, league VARCHAR, home VARCHAR)
Question: What season has a regionalliga süd league, a 1-0 home, and an away of 2-3?
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (season VARCHAR, away VARCHAR, league VARCHAR, home VARCHAR)
Question: What season has a regionalliga süd league, a 1-0 home, and an away of 2-3?
Here is t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (crowd VARCHAR, away_team VARCHAR)
Question: How large was the crowd when Carlton was the away team?
[/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_26 (crowd VARCHAR, away_team VARCHAR)
Question: How large was the crowd when Carlton was the away team?
Here is the SQLite query to answer to the question: Ho... | bugdaryan/sql-create-context-instruction | |
[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 (rank__week_ VARCHAR, viewers__millions_ VARCHAR, rank__night_ VARCHAR, rating VARCHAR)
Question: What is the weekly rank of the episode with more tha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (rank__week_ VARCHAR, viewers__millions_ VARCHAR, rank__night_ VARCHAR, rating VARCHAR)
Question: What is the weekly rank of the episode with more than 7.14... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Aircraft (name VARCHAR, aid VARCHAR); CREATE TABLE Flight (aid VARCHAR)
Question: Show names for all aircraft with at least two flights.
[/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 Aircraft (name VARCHAR, aid VARCHAR); CREATE TABLE Flight (aid VARCHAR)
Question: Show names for all aircraft with at least two flights.
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 table_25703_2 (birth_2012 INTEGER, january_december_2012 VARCHAR)
Question: What were the total number of 2012 births for the January–December 2012 Tver Oblast regi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25703_2 (birth_2012 INTEGER, january_december_2012 VARCHAR)
Question: What were the total number of 2012 births for the January–December 2012 Tver Oblast region?
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_62 (nationality VARCHAR, ship VARCHAR)
Question: Which nationality has a Ship of minteh?
[/INST]
Here is the SQLite query to answer to the question: Whic... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (nationality VARCHAR, ship VARCHAR)
Question: Which nationality has a Ship of minteh?
Here is the SQLite query to answer to the question: Which nationality... | bugdaryan/sql-create-context-instruction | |
[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 (starts INTEGER, money_list_rank VARCHAR, top_25 VARCHAR)
Question: What is the average number of starts when the money list rank is 108 and the rank ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (starts INTEGER, money_list_rank VARCHAR, top_25 VARCHAR)
Question: What is the average number of starts when the money list rank is 108 and the rank in 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_28498999_3 (after VARCHAR, player VARCHAR)
Question: What is the after for the player kevin streelman?
[/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_28498999_3 (after VARCHAR, player VARCHAR)
Question: What is the after for the player kevin streelman?
Here is the SQLite query to answer to the question: What is ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (closed INTEGER, city VARCHAR, capacity VARCHAR)
Question: Tell me the sum of closed for city of pittsburgh and capacity larger than 59,000
[/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_73 (closed INTEGER, city VARCHAR, capacity VARCHAR)
Question: Tell me the sum of closed for city of pittsburgh and capacity larger than 59,000
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_32 (country VARCHAR, stadium VARCHAR)
Question: Timsah arena is in what country?
[/INST]
Here is the SQLite query to answer to the question: Timsah arena... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_32 (country VARCHAR, stadium VARCHAR)
Question: Timsah arena is in what country?
Here is the SQLite query to answer to the question: Timsah arena is in what c... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (avg_g VARCHAR, gp_gs VARCHAR, effic VARCHAR)
Question: Avg/G that has a GP-GS of 13–13, and a Effic smaller than 114.23 has what total of numbers?
[/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (avg_g VARCHAR, gp_gs VARCHAR, effic VARCHAR)
Question: Avg/G that has a GP-GS of 13–13, and a Effic smaller than 114.23 has what total of numbers?
Here is... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (tournament VARCHAR)
Question: What is Tournament, when 2003 is "A"?
[/INST]
Here is the SQLite query to answer to the question: What is Tournament, w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (tournament VARCHAR)
Question: What is Tournament, when 2003 is "A"?
Here is the SQLite query to answer to the question: What is Tournament, when 2003 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_43 (gold_medals VARCHAR, total_medals INTEGER)
Question: How many gold medals for the school with less than 1 total?
[/INST]
Here is the SQLite query to ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (gold_medals VARCHAR, total_medals INTEGER)
Question: How many gold medals for the school with less than 1 total?
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_29250534_1 (manager VARCHAR, club VARCHAR)
Question: Who is the manager for the fc inter club?
[/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_29250534_1 (manager VARCHAR, club VARCHAR)
Question: Who is the manager for the fc inter club?
Here is the SQLite query to answer to the question: Who is the manag... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (record VARCHAR, decision VARCHAR, date VARCHAR)
Question: What was the record for the game on November 28 when the decision was Backstrom?
[/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_69 (record VARCHAR, decision VARCHAR, date VARCHAR)
Question: What was the record for the game on November 28 when the decision was Backstrom?
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_13015539_1 (points VARCHAR, lost VARCHAR)
Question: What is the total points for the tean with 8 losses?
[/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_13015539_1 (points VARCHAR, lost VARCHAR)
Question: What is the total points for the tean with 8 losses?
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_75 (bleeding_time VARCHAR, condition VARCHAR)
Question: Which Bleeding has a Condition of congenital afibrinogenemia?
[/INST]
Here is the SQLite query to... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (bleeding_time VARCHAR, condition VARCHAR)
Question: Which Bleeding has a Condition of congenital afibrinogenemia?
Here is the SQLite query to answer to th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28286776_52 (cap_s_ VARCHAR, club_s_ VARCHAR)
Question: How many caps figures are there for Norwich City, Coventry City?
[/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_28286776_52 (cap_s_ VARCHAR, club_s_ VARCHAR)
Question: How many caps figures are there for Norwich City, Coventry City?
Here is the SQLite query to answer to the ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE professor (dept_code VARCHAR); CREATE TABLE department (dept_name VARCHAR, dept_code VARCHAR)
Question: What is the name of department where has the smallest number... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE professor (dept_code VARCHAR); CREATE TABLE department (dept_name VARCHAR, dept_code VARCHAR)
Question: What is the name of department where has the smallest number of pr... | bugdaryan/sql-create-context-instruction | |
[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 (silver INTEGER, gold VARCHAR, rank VARCHAR)
Question: What is the average number of silver medals for countries with 0 gold and rank under 3?
[/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 (silver INTEGER, gold VARCHAR, rank VARCHAR)
Question: What is the average number of silver medals for countries with 0 gold and rank under 3?
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_13 (ship_size VARCHAR)
Question: What was the cargo value in 2004 for ship size?
[/INST]
Here is the SQLite query to answer to the question: What was the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (ship_size VARCHAR)
Question: What was the cargo value in 2004 for ship size?
Here is the SQLite query to answer to the question: What was the cargo value ... | bugdaryan/sql-create-context-instruction | |
[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 (role VARCHAR, first_us_national_tour VARCHAR)
Question: Which Role has a First US National Tour of roger bart?
[/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_19 (role VARCHAR, first_us_national_tour VARCHAR)
Question: Which Role has a First US National Tour of roger bart?
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_1 (player VARCHAR, place VARCHAR)
Question: What is the Place 2 Player?
[/INST]
Here is the SQLite query to answer to the question: What is the Place 2 P... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (player VARCHAR, place VARCHAR)
Question: What is the Place 2 Player?
Here is the SQLite query to answer to the question: What is the Place 2 Player?:
```
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_17480471_3 (gatchaman VARCHAR, eagle_riders VARCHAR)
Question: Which gatchaman has eagle riders as lukan?
[/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_17480471_3 (gatchaman VARCHAR, eagle_riders VARCHAR)
Question: Which gatchaman has eagle riders as lukan?
Here is the SQLite query to answer to the question: Whi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18365784_3 (going_to VARCHAR, calling_at VARCHAR)
Question: What was the train destination when it has a calling at Boston, Sleaford, Nottingham Victoria?
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18365784_3 (going_to VARCHAR, calling_at VARCHAR)
Question: What was the train destination when it has a calling at Boston, Sleaford, Nottingham Victoria?
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_74 (frequency VARCHAR, branding VARCHAR)
Question: What is the frequency for the station with the branding of 94dot3 home radio Palawan?
[/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_74 (frequency VARCHAR, branding VARCHAR)
Question: What is the frequency for the station with the branding of 94dot3 home radio Palawan?
Here is the SQLite qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE course (dept_name VARCHAR)
Question: Find the names of the top 3 departments that provide the largest amount of courses?
[/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 course (dept_name VARCHAR)
Question: Find the names of the top 3 departments that provide the largest amount of courses?
Here is the SQLite query to answer to the questi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (points INTEGER, attendance VARCHAR)
Question: What is the lowest number of points scored when there were 1,500 in attendance?
[/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_50 (points INTEGER, attendance VARCHAR)
Question: What is the lowest number of points scored when there were 1,500 in attendance?
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_11964047_5 (record VARCHAR, streak VARCHAR, leading_scorer VARCHAR)
Question: what is the total number of record where streak is l2 and leading scorer is roy ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11964047_5 (record VARCHAR, streak VARCHAR, leading_scorer VARCHAR)
Question: what is the total number of record where streak is l2 and leading scorer is roy : 23
... | bugdaryan/sql-create-context-instruction | |
[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 (silver INTEGER, nation VARCHAR, total VARCHAR)
Question: What is the least amount of silver for Italy with a total less than 5?
[/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_83 (silver INTEGER, nation VARCHAR, total VARCHAR)
Question: What is the least amount of silver for Italy with a total less than 5?
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_31 (home_team VARCHAR, venue VARCHAR)
Question: What is the home teams score at Victoria 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_31 (home_team VARCHAR, venue VARCHAR)
Question: What is the home teams score at Victoria Park?
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_21 (pos VARCHAR, first_round VARCHAR)
Question: What position does the player with a first round score of 35.7 play?
[/INST]
Here is the SQLite query to ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (pos VARCHAR, first_round VARCHAR)
Question: What position does the player with a first round score of 35.7 play?
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_31 (position VARCHAR, cfl_team VARCHAR)
Question: What position did the player from the saskatchewan roughriders (via toronto) play?
[/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_31 (position VARCHAR, cfl_team VARCHAR)
Question: What position did the player from the saskatchewan roughriders (via toronto) play?
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_40 (time VARCHAR, laps VARCHAR, rider VARCHAR)
Question: Which Time has Laps smaller than 28, and a Rider of nicky hayden?
[/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_40 (time VARCHAR, laps VARCHAR, rider VARCHAR)
Question: Which Time has Laps smaller than 28, and a Rider of nicky hayden?
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_25391981_20 (episode VARCHAR, rating VARCHAR)
Question: For what episode was the rating/share for 18-49 at 2.8/8
[/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_25391981_20 (episode VARCHAR, rating VARCHAR)
Question: For what episode was the rating/share for 18-49 at 2.8/8
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 artist (country VARCHAR)
Question: What are all distinct country for artists?
[/INST]
Here is the SQLite query to answer to the question: What are all distinct coun... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE artist (country VARCHAR)
Question: What are all distinct country for artists?
Here is the SQLite query to answer to the question: What are all distinct country for artis... | bugdaryan/sql-create-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_size VARCHAR)
Question: Show all product sizes.
[/INST]
Here is the SQLite query to answer to the question: Show all product sizes.:
```
SELECT DI... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Products (product_size VARCHAR)
Question: Show all product sizes.
Here is the SQLite query to answer to the question: Show all product sizes.:
```
SELECT DISTINCT produc... | bugdaryan/sql-create-context-instruction | |
[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 (package_option VARCHAR, television_service VARCHAR)
Question: What is Package/Option, when Television Service is Sky Inside?
[/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_74 (package_option VARCHAR, television_service VARCHAR)
Question: What is Package/Option, when Television Service is Sky Inside?
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_86 (position VARCHAR, home_town VARCHAR)
Question: What is the Position of the Player from Temple Hills, MD?
[/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_86 (position VARCHAR, home_town VARCHAR)
Question: What is the Position of the Player from Temple Hills, MD?
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_51 (attendance INTEGER, home VARCHAR)
Question: What was the attendance of the match with motagua as the home team?
[/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_51 (attendance INTEGER, home VARCHAR)
Question: What was the attendance of the match with motagua as the home team?
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_81 (bronze VARCHAR, gold VARCHAR, total VARCHAR, rank VARCHAR)
Question: How many bronzes have a total less than 11, with 11 as the rank, and a gold less... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (bronze VARCHAR, gold VARCHAR, total VARCHAR, rank VARCHAR)
Question: How many bronzes have a total less than 11, with 11 as the rank, and a gold less than ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (yards INTEGER, game_time VARCHAR, date VARCHAR)
Question: Game time of 2nd quarter (0:00), and a Date of november 8, 1971 has how many average yards?
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (yards INTEGER, game_time VARCHAR, date VARCHAR)
Question: Game time of 2nd quarter (0:00), and a Date of november 8, 1971 has how many average yards?
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_52 (away_team VARCHAR)
Question: What was North Melbourne's score when they were the home team?
[/INST]
Here is the SQLite query to answer to the questio... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (away_team VARCHAR)
Question: What was North Melbourne's score when they were the home team?
Here is the SQLite query to answer to the question: What was 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_10 (second VARCHAR, team VARCHAR, third VARCHAR)
Question: Who is the second on the North America team for which Cathy Overton-Clapham the third?
[/INST]... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (second VARCHAR, team VARCHAR, third VARCHAR)
Question: Who is the second on the North America team for which Cathy Overton-Clapham the third?
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_8 (label VARCHAR, format VARCHAR, date VARCHAR, region VARCHAR)
Question: What is the Label of the CD released in Germany on June 6, 2005?
[/INST]
Here i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (label VARCHAR, format VARCHAR, date VARCHAR, region VARCHAR)
Question: What is the Label of the CD released in Germany on June 6, 2005?
Here is the SQLite ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (attendance INTEGER, venue VARCHAR, result VARCHAR)
Question: what was the attendance for a home venue and a w 3-0 result?
[/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_34 (attendance INTEGER, venue VARCHAR, result VARCHAR)
Question: what was the attendance for a home venue and a w 3-0 result?
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 table_name_70 (fips_code INTEGER, area VARCHAR, population__2010_ VARCHAR)
Question: What is the FIPS code for the municipality that has an area of 114.76 sq mi (29... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (fips_code INTEGER, area VARCHAR, population__2010_ VARCHAR)
Question: What is the FIPS code for the municipality that has an area of 114.76 sq mi (297.23 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_99 (record VARCHAR, home VARCHAR, visitor VARCHAR)
Question: What record has detroit as the home and mtl. maroons as the visitor?
[/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_99 (record VARCHAR, home VARCHAR, visitor VARCHAR)
Question: What record has detroit as the home and mtl. maroons as the visitor?
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_13036251_1 (the_mole VARCHAR, airdate VARCHAR)
Question: what's the the mole with airdate being 5 january 2012
[/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_13036251_1 (the_mole VARCHAR, airdate VARCHAR)
Question: what's the the mole with airdate being 5 january 2012
Here is the SQLite query to answer to the question:... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (week VARCHAR, date VARCHAR)
Question: What week has December 19, 2004 as the date?
[/INST]
Here is the SQLite query to answer to the question: What w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (week VARCHAR, date VARCHAR)
Question: What week has December 19, 2004 as the date?
Here is the SQLite query to answer to the question: What week has Decem... | bugdaryan/sql-create-context-instruction | |
[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 (lane INTEGER, rank VARCHAR, nationality VARCHAR)
Question: What is the highest lane with a rank larger than 2 in Guyana?
[/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_31 (lane INTEGER, rank VARCHAR, nationality VARCHAR)
Question: What is the highest lane with a rank larger than 2 in Guyana?
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_66 (constructor VARCHAR, grid VARCHAR)
Question: Who was the contstructor of the car having a grid of 20?
[/INST]
Here is the SQLite query to answer to t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (constructor VARCHAR, grid VARCHAR)
Question: Who was the contstructor of the car having a grid of 20?
Here is the SQLite query to answer to the question: ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (film_title_used_in_nomination VARCHAR, country VARCHAR)
Question: What title did the film from Colombia use in its nomination?
[/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_name_33 (film_title_used_in_nomination VARCHAR, country VARCHAR)
Question: What title did the film from Colombia use in its nomination?
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_23286112_7 (score VARCHAR, date VARCHAR)
Question: What is the score for the date of December 7?
[/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_23286112_7 (score VARCHAR, date VARCHAR)
Question: What is the score for the date of December 7?
Here is the SQLite query to answer to the question: What is the sc... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE genres (id VARCHAR, name VARCHAR); CREATE TABLE tracks (name VARCHAR, genre_id VARCHAR)
Question: List the name of tracks belongs to genre Rock or genre Jazz.
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE genres (id VARCHAR, name VARCHAR); CREATE TABLE tracks (name VARCHAR, genre_id VARCHAR)
Question: List the name of tracks belongs to genre Rock or genre Jazz.
Here is th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (nation VARCHAR, bronze VARCHAR, total VARCHAR, gold VARCHAR)
Question: What is the Nation when there is a total less than 27, gold is less than 1, an... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (nation VARCHAR, bronze VARCHAR, total VARCHAR, gold VARCHAR)
Question: What is the Nation when there is a total less than 27, gold is less than 1, and bron... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE editor (Age VARCHAR)
Question: What are the different ages of editors? Show each age along with the number of editors of that age.
[/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 editor (Age VARCHAR)
Question: What are the different ages of editors? Show each age along with the number of editors of that age.
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_38 (area_2006_km² INTEGER, area_1996_km² INTEGER)
Question: Which area 2006 km² has an area 1996 km² smaller than 17.31?
[/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_38 (area_2006_km² INTEGER, area_1996_km² INTEGER)
Question: Which area 2006 km² has an area 1996 km² smaller than 17.31?
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_7 (draw INTEGER, played VARCHAR, lost VARCHAR)
Question: What is the least ties when they played less than 14 games, and a lost less than 8 of them?
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (draw INTEGER, played VARCHAR, lost VARCHAR)
Question: What is the least ties when they played less than 14 games, and a lost less than 8 of them?
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_1341690_43 (candidates VARCHAR, district VARCHAR)
Question: Name the candidates for texas 20
[/INST]
Here is the SQLite query to answer to the question: Name ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1341690_43 (candidates VARCHAR, district VARCHAR)
Question: Name the candidates for texas 20
Here is the SQLite query to answer to the question: Name the candidate... | bugdaryan/sql-create-context-instruction | |
[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 (venue VARCHAR, year VARCHAR, notes VARCHAR)
Question: What is the venue of the team race that was after 2008?
[/INST]
Here is the SQLite query to ans... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (venue VARCHAR, year VARCHAR, notes VARCHAR)
Question: What is the venue of the team race that was after 2008?
Here is the SQLite query to answer to the qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (week INTEGER, date VARCHAR, attendance VARCHAR)
Question: What is the sum of the weeks that games occured on october 21, 1974 and less than 50,623 fa... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (week INTEGER, date VARCHAR, attendance VARCHAR)
Question: What is the sum of the weeks that games occured on october 21, 1974 and less than 50,623 fans att... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1341640_11 (first_elected INTEGER, district VARCHAR)
Question: What is the earliest first elected for district georgia 1?
[/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_1341640_11 (first_elected INTEGER, district VARCHAR)
Question: What is the earliest first elected for district georgia 1?
Here is the SQLite query to answer to the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (two_mora_word VARCHAR, gloss VARCHAR, accented_mora VARCHAR)
Question: What is the two-mora word with a low tone accented mora and a gloss of /˩kusuꜜ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (two_mora_word VARCHAR, gloss VARCHAR, accented_mora VARCHAR)
Question: What is the two-mora word with a low tone accented mora and a gloss of /˩kusuꜜri/ [k... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2791668_1 (title VARCHAR, written_by VARCHAR)
Question: what is the name of the episode whose writer is philippe browning?
[/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_2791668_1 (title VARCHAR, written_by VARCHAR)
Question: what is the name of the episode whose writer is philippe browning?
Here is the SQLite query to answer to th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (color_commentator_s_ VARCHAR, year VARCHAR)
Question: Who is the color commentator in 2008?
[/INST]
Here is the SQLite query to answer to the questio... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (color_commentator_s_ VARCHAR, year VARCHAR)
Question: Who is the color commentator in 2008?
Here is the SQLite query to answer to the question: Who 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_1131183_2 (number_of_jews__wjc_ VARCHAR, rank__arda_ VARCHAR)
Question: What is the number of jews where the rank is 1?
[/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_1131183_2 (number_of_jews__wjc_ VARCHAR, rank__arda_ VARCHAR)
Question: What is the number of jews where the rank is 1?
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_88 (batting_style VARCHAR, player VARCHAR)
Question: What batting style does player Shahid Afridi have?
[/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_88 (batting_style VARCHAR, player VARCHAR)
Question: What batting style does player Shahid Afridi have?
Here is the SQLite query to answer to the question: 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_27956_3 (national_rank VARCHAR, percentage_change_yoy VARCHAR)
Question: Name the total number of rank for percentage change yoy 13.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_27956_3 (national_rank VARCHAR, percentage_change_yoy VARCHAR)
Question: Name the total number of rank for percentage change yoy 13.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_30057479_1 (researched_at VARCHAR, geometry VARCHAR)
Question: Where was d: ~100nm, l: 1 μm geometry researched?
[/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_30057479_1 (researched_at VARCHAR, geometry VARCHAR)
Question: Where was d: ~100nm, l: 1 μm geometry researched?
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_28190363_1 (network VARCHAR, judges VARCHAR, presenter_s_ VARCHAR)
Question: How many networks are there whose version of the shows includes judges tba and th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28190363_1 (network VARCHAR, judges VARCHAR, presenter_s_ VARCHAR)
Question: How many networks are there whose version of the shows includes judges tba and the pres... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (sack INTEGER, player VARCHAR, fumr VARCHAR)
Question: what is the total sack for mike green when fumr is less than 0?
[/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_40 (sack INTEGER, player VARCHAR, fumr VARCHAR)
Question: what is the total sack for mike green when fumr is less than 0?
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_53 (label VARCHAR, country VARCHAR, format VARCHAR)
Question: Which Label has a Country of canada, and a Format of cd/digital download?
[/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_53 (label VARCHAR, country VARCHAR, format VARCHAR)
Question: Which Label has a Country of canada, and a Format of cd/digital download?
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_9 (crowd VARCHAR, ground VARCHAR, home_team VARCHAR)
Question: How much is the crowd attending at colonial stadium where Hawthorn plays?
[/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_9 (crowd VARCHAR, ground VARCHAR, home_team VARCHAR)
Question: How much is the crowd attending at colonial stadium where Hawthorn plays?
Here is the SQLite qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (model_number VARCHAR, socket VARCHAR)
Question: What model number uses standard voltage socket?
[/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_48 (model_number VARCHAR, socket VARCHAR)
Question: What model number uses standard voltage socket?
Here is the SQLite query to answer to the question: What m... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (pick INTEGER, position VARCHAR)
Question: What's the highest pick for SS position?
[/INST]
Here is the SQLite query to answer to the question: What's... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (pick INTEGER, position VARCHAR)
Question: What's the highest pick for SS position?
Here is the SQLite query to answer to the question: What's the highest ... | bugdaryan/sql-create-context-instruction | |
[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 (silver VARCHAR, rank VARCHAR, bronze VARCHAR)
Question: How many silver medals had a rank of 3 with bronze larger than 0?
[/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_90 (silver VARCHAR, rank VARCHAR, bronze VARCHAR)
Question: How many silver medals had a rank of 3 with bronze larger than 0?
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 table_name_29 (conference VARCHAR, awards VARCHAR)
Question: Where the Vancouver Grizzlies is the awards, what is the conference?
[/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_29 (conference VARCHAR, awards VARCHAR)
Question: Where the Vancouver Grizzlies is the awards, what is the conference?
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_97 (interview_subject VARCHAR)
Question: Who was the 20 Questions section aimed at when the Interview Subject was Camille Paglia?
[/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_97 (interview_subject VARCHAR)
Question: Who was the 20 Questions section aimed at when the Interview Subject was Camille Paglia?
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_1013168_2 (successor VARCHAR, date_of_successors_formal_installation VARCHAR)
Question: Who was the succesor that was formally installed on November 8, 1978?
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1013168_2 (successor VARCHAR, date_of_successors_formal_installation VARCHAR)
Question: Who was the succesor that was formally installed on November 8, 1978?
Here ... | 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.