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_name_56 (to_par VARCHAR, finish VARCHAR)
Question: What is the To par of the player with a t14 Finish?
[/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_56 (to_par VARCHAR, finish VARCHAR)
Question: What is the To par of the player with a t14 Finish?
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_84 (engine_code VARCHAR, displacement__cm³_ VARCHAR, model_name VARCHAR)
Question: Which engine has a 2435 cm displacement and is named 2.4 (2001-2007)?
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (engine_code VARCHAR, displacement__cm³_ VARCHAR, model_name VARCHAR)
Question: Which engine has a 2435 cm displacement and is named 2.4 (2001-2007)?
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_77 (date_of_appointment VARCHAR, outgoing_manager VARCHAR)
Question: When was outgoing manager Zoltán Varga appointed?
[/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_77 (date_of_appointment VARCHAR, outgoing_manager VARCHAR)
Question: When was outgoing manager Zoltán Varga appointed?
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_16388230_1 (ground VARCHAR, away_team VARCHAR)
Question: The away team of Richmond played on what grounds?
[/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_16388230_1 (ground VARCHAR, away_team VARCHAR)
Question: The away team of Richmond played on what grounds?
Here is the SQLite query to answer to the question: 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_12 (opponent_in_the_final VARCHAR, tournament VARCHAR)
Question: What opponent in the final has rockford, Illinois as the tournament?
[/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_12 (opponent_in_the_final VARCHAR, tournament VARCHAR)
Question: What opponent in the final has rockford, Illinois as the tournament?
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_28 (rank VARCHAR, season VARCHAR)
Question: What rank for season 1?
[/INST]
Here is the SQLite query to answer to the question: What rank for season 1?:
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (rank VARCHAR, season VARCHAR)
Question: What rank for season 1?
Here is the SQLite query to answer to the question: What rank for season 1?:
```
SELECT ra... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (astc_member VARCHAR, aam_accredited VARCHAR, state VARCHAR, aam_member VARCHAR)
Question: What is ASTC Member, when State is Arkansas, when AAM Membe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (astc_member VARCHAR, aam_accredited VARCHAR, state VARCHAR, aam_member VARCHAR)
Question: What is ASTC Member, when State is Arkansas, when AAM Member is 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_28 (venue VARCHAR, away_team VARCHAR)
Question: Where was the game when Geelong was the away team?
[/INST]
Here is the SQLite query to answer to the ques... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (venue VARCHAR, away_team VARCHAR)
Question: Where was the game when Geelong was the away team?
Here is the SQLite query to answer to the question: Where 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_7 (date VARCHAR, delta VARCHAR)
Question: On what Date is Delta 0:40?
[/INST]
Here is the SQLite query to answer to the question: On what Date is Delta 0... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (date VARCHAR, delta VARCHAR)
Question: On what Date is Delta 0:40?
Here is the SQLite query to answer to the question: On what Date is Delta 0:40?:
```
SEL... | bugdaryan/sql-create-context-instruction | |
[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 (opponent VARCHAR, method VARCHAR)
Question: Which Opponent has a Method of submission?
[/INST]
Here is the SQLite query to answer to the question: Wh... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (opponent VARCHAR, method VARCHAR)
Question: Which Opponent has a Method of submission?
Here is the SQLite query to answer to the question: Which Opponent ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25711913_2 (touchdowns INTEGER, position VARCHAR)
Question: What was the minimum touchdowns of the Fullback player?
[/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_25711913_2 (touchdowns INTEGER, position VARCHAR)
Question: What was the minimum touchdowns of the Fullback player?
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_21 (draw VARCHAR, goal_diff VARCHAR, loss VARCHAR, point VARCHAR)
Question: How many total draws were there with a less than 8 loss, more than 30 points,... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (draw VARCHAR, goal_diff VARCHAR, loss VARCHAR, point VARCHAR)
Question: How many total draws were there with a less than 8 loss, more than 30 points, and a... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (points_difference VARCHAR, points VARCHAR)
Question: I want the points difference for points of 14
[/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_29 (points_difference VARCHAR, points VARCHAR)
Question: I want the points difference for points of 14
Here is the SQLite query to answer to the question: I 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_39 (constructor VARCHAR, driver VARCHAR)
Question: Who was the constructor of the car driven by Heikki Kovalainen?
[/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_39 (constructor VARCHAR, driver VARCHAR)
Question: Who was the constructor of the car driven by Heikki Kovalainen?
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_45 (time INTEGER, athlete VARCHAR)
Question: What is the athlete muna lee lowest time?
[/INST]
Here is the SQLite query to answer to the question: What i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (time INTEGER, athlete VARCHAR)
Question: What is the athlete muna lee lowest time?
Here is the SQLite query to answer to the question: What is the athlete... | bugdaryan/sql-create-context-instruction | |
[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 (name VARCHAR, games VARCHAR, medal VARCHAR)
Question: Which Name had a Games of 2008 beijing, and a Medal of gold?
[/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_37 (name VARCHAR, games VARCHAR, medal VARCHAR)
Question: Which Name had a Games of 2008 beijing, and a Medal of gold?
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_66 (date VARCHAR, year VARCHAR)
Question: What is the Date of the Int'l Debut of 1967?
[/INST]
Here is the SQLite query to answer to the question: What i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (date VARCHAR, year VARCHAR)
Question: What is the Date of the Int'l Debut of 1967?
Here is the SQLite query to answer to the question: What is the Date 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_98 (country VARCHAR, label VARCHAR, format VARCHAR)
Question: What Country with a MC Format has a ATCO Records Label?
[/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_98 (country VARCHAR, label VARCHAR, format VARCHAR)
Question: What Country with a MC Format has a ATCO Records Label?
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_55 (title VARCHAR, story VARCHAR)
Question: What was the title of the episode that martin worth wrote the story for?
[/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_55 (title VARCHAR, story VARCHAR)
Question: What was the title of the episode that martin worth wrote the story for?
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_42 (artist VARCHAR, certification VARCHAR)
Question: Which artist had a 4x platinum?
[/INST]
Here is the SQLite query to answer to the question: Which ar... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (artist VARCHAR, certification VARCHAR)
Question: Which artist had a 4x platinum?
Here is the SQLite query to answer to the question: Which artist had a 4x... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26914076_2 (teleplay_by VARCHAR, story_by VARCHAR)
Question: Name the teleplay for david simon & eric overmyer and tom piazza
[/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_26914076_2 (teleplay_by VARCHAR, story_by VARCHAR)
Question: Name the teleplay for david simon & eric overmyer and tom piazza
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_67 (date VARCHAR, away_team VARCHAR)
Question: What date is aston villa away?
[/INST]
Here is the SQLite query to answer to the question: What date is as... | 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: What date is aston villa away?
Here is the SQLite query to answer to the question: What date is aston villa awa... | bugdaryan/sql-create-context-instruction | |
[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 (total INTEGER, name VARCHAR, vuelta VARCHAR)
Question: What is the total for miguel induráin with a Vuelta larger than 1?
[/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_33 (total INTEGER, name VARCHAR, vuelta VARCHAR)
Question: What is the total for miguel induráin with a Vuelta larger than 1?
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_18442691_2 (album VARCHAR, no VARCHAR)
Question: When 35 is the number what is the album?
[/INST]
Here is the SQLite query to answer to the question: When 35 ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18442691_2 (album VARCHAR, no VARCHAR)
Question: When 35 is the number what is the album?
Here is the SQLite query to answer to the question: When 35 is the number... | bugdaryan/sql-create-context-instruction | |
[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 (record VARCHAR, visitor VARCHAR, score VARCHAR)
Question: Which Record has a Visitor of pittsburgh, and a Score of 4–0?
[/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_23 (record VARCHAR, visitor VARCHAR, score VARCHAR)
Question: Which Record has a Visitor of pittsburgh, and a Score of 4–0?
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_25316812_1 (rate_limit__p_ VARCHAR, budget_plans__£m_ VARCHAR)
Question: What is the rate limit when budget plans (£m) is limit agreed?
[/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_25316812_1 (rate_limit__p_ VARCHAR, budget_plans__£m_ VARCHAR)
Question: What is the rate limit when budget plans (£m) is limit agreed?
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_6 (region VARCHAR, date VARCHAR)
Question: Name the region for february 14, 2002
[/INST]
Here is the SQLite query to answer to the question: Name the reg... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (region VARCHAR, date VARCHAR)
Question: Name the region for february 14, 2002
Here is the SQLite query to answer to the question: Name the region for febru... | bugdaryan/sql-create-context-instruction | |
[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 (score VARCHAR, opponent VARCHAR, date VARCHAR)
Question: Name the score for the mariners opponent on may 10
[/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_20 (score VARCHAR, opponent VARCHAR, date VARCHAR)
Question: Name the score for the mariners opponent on may 10
Here is the SQLite query to answer to the ques... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (opponent VARCHAR, points VARCHAR, november VARCHAR)
Question: Which opponent has points less than 18, and a november greater than 11?
[/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_21 (opponent VARCHAR, points VARCHAR, november VARCHAR)
Question: Which opponent has points less than 18, and a november greater than 11?
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_29942205_1 (miss_international INTEGER)
Question: What is the lowest value in the miss international column?
[/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_29942205_1 (miss_international INTEGER)
Question: What is the lowest value in the miss international column?
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_name_38 (draws INTEGER, byes INTEGER)
Question: For the teams that had fewer than 1 Byes, what was the lowest number of Draws?
[/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_38 (draws INTEGER, byes INTEGER)
Question: For the teams that had fewer than 1 Byes, what was the lowest number of Draws?
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_39 (laid_down VARCHAR, launched VARCHAR)
Question: Name the laid down for launched being 16 february 1934
[/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_39 (laid_down VARCHAR, launched VARCHAR)
Question: Name the laid down for launched being 16 february 1934
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_57 (venue VARCHAR, date VARCHAR)
Question: What is the venue on 3 September 1972?
[/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_57 (venue VARCHAR, date VARCHAR)
Question: What is the venue on 3 September 1972?
Here is the SQLite query to answer to the question: What is the venue on 3 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_6 (field_goals VARCHAR, extra_points VARCHAR, touchdowns VARCHAR)
Question: What is the total number of field goals a player had when there were 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_6 (field_goals VARCHAR, extra_points VARCHAR, touchdowns VARCHAR)
Question: What is the total number of field goals a player had when there were more than 0 ex... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1942366_9 (low VARCHAR, high VARCHAR)
Question: What's the C_{low} value when C_{high} is 12.0?
[/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_1942366_9 (low VARCHAR, high VARCHAR)
Question: What's the C_{low} value when C_{high} is 12.0?
Here is the SQLite query to answer to the question: What's the C_{l... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE PersonFriend (name VARCHAR, friend VARCHAR, YEAR INTEGER)
Question: Find the name of persons who are friends with Alice for the shortest years.
[/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 PersonFriend (name VARCHAR, friend VARCHAR, YEAR INTEGER)
Question: Find the name of persons who are friends with Alice for the shortest years.
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_10 (time_retired VARCHAR, laps VARCHAR, driver VARCHAR)
Question: When the driver is innes ireland and they drove under 53 laps, what was the Time/Retire... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (time_retired VARCHAR, laps VARCHAR, driver VARCHAR)
Question: When the driver is innes ireland and they drove under 53 laps, what was the Time/Retired?
He... | bugdaryan/sql-create-context-instruction | |
[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 (crowd INTEGER, venue VARCHAR)
Question: What is the sum of crowd(s) at princes park?
[/INST]
Here is the SQLite query to answer to the question: What... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (crowd INTEGER, venue VARCHAR)
Question: What is the sum of crowd(s) at princes park?
Here is the SQLite query to answer to the question: What is the sum 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_22669044_8 (team VARCHAR, score VARCHAR)
Question: Name the team for w 115–104 (ot)
[/INST]
Here is the SQLite query to answer to the question: Name the team... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22669044_8 (team VARCHAR, score VARCHAR)
Question: Name the team for w 115–104 (ot)
Here is the SQLite query to answer to the question: Name the team for w 115–1... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1341897_6 (party VARCHAR, district VARCHAR)
Question: What party did the incumbent in the Arkansas 2 district belong to?
[/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_1341897_6 (party VARCHAR, district VARCHAR)
Question: What party did the incumbent in the Arkansas 2 district belong to?
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_7 (last_performance VARCHAR, style VARCHAR, name VARCHAR)
Question: What is the date of the Last Ballet Style Performance of Rhys kosakowski as Billy Ell... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (last_performance VARCHAR, style VARCHAR, name VARCHAR)
Question: What is the date of the Last Ballet Style Performance of Rhys kosakowski as Billy Elliot?
... | bugdaryan/sql-create-context-instruction | |
[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 (game_site VARCHAR, record VARCHAR)
Question: Where did they play on their bye week?
[/INST]
Here is the SQLite query to answer to the question: Where... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (game_site VARCHAR, record VARCHAR)
Question: Where did they play on their bye week?
Here is the SQLite query to answer to the question: Where did they pla... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (series VARCHAR, points VARCHAR, season VARCHAR, podiums VARCHAR)
Question: What Series has a season that is older than 2003 with a Podiums entry of 1... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (series VARCHAR, points VARCHAR, season VARCHAR, podiums VARCHAR)
Question: What Series has a season that is older than 2003 with a Podiums entry of 1 and a... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1368649_9 (spokesperson VARCHAR, year_s_ VARCHAR)
Question: Who was the spokesperson for France in 1970?
[/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_1368649_9 (spokesperson VARCHAR, year_s_ VARCHAR)
Question: Who was the spokesperson for France in 1970?
Here is the SQLite query to answer to the question: Who wa... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27279050_3 (country VARCHAR, last_current_driver_s__3_november_2013 VARCHAR)
Question: How many times is last/current driver(s) 3 november 2013 is adderly fon... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27279050_3 (country VARCHAR, last_current_driver_s__3_november_2013 VARCHAR)
Question: How many times is last/current driver(s) 3 november 2013 is adderly fong ( 20... | bugdaryan/sql-create-context-instruction | |
[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 (heat VARCHAR, time VARCHAR)
Question: At time 15:29.69 what was the heat?
[/INST]
Here is the SQLite query to answer to the question: At time 15:29.69... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (heat VARCHAR, time VARCHAR)
Question: At time 15:29.69 what was the heat?
Here is the SQLite query to answer to the question: At time 15:29.69 what was the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (first_party VARCHAR, second_member VARCHAR, second_party VARCHAR)
Question: Which of the first parties has second member as Charles Robert Colvile, ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (first_party VARCHAR, second_member VARCHAR, second_party VARCHAR)
Question: Which of the first parties has second member as Charles Robert Colvile, and a ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE train_station (station_id VARCHAR, train_id VARCHAR); CREATE TABLE station (station_id VARCHAR, location VARCHAR); CREATE TABLE train (name VARCHAR, time VARCHAR, train_... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE train_station (station_id VARCHAR, train_id VARCHAR); CREATE TABLE station (station_id VARCHAR, location VARCHAR); CREATE TABLE train (name VARCHAR, time VARCHAR, train_id VAR... | bugdaryan/sql-create-context-instruction | |
[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 (type VARCHAR, quantity VARCHAR)
Question: Which type has a quantity of 11?
[/INST]
Here is the SQLite query to answer to the question: Which type has... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (type VARCHAR, quantity VARCHAR)
Question: Which type has a quantity of 11?
Here is the SQLite query to answer to the question: Which type has a quantity 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_22879323_8 (high_assists VARCHAR, date VARCHAR)
Question: Who did the high assists in the game played on February 9?
[/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_22879323_8 (high_assists VARCHAR, date VARCHAR)
Question: Who did the high assists in the game played on February 9?
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_11960407_4 (date VARCHAR, high_rebounds VARCHAR)
Question: When did Chris Bosh (14) have the high rebounds?
[/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_11960407_4 (date VARCHAR, high_rebounds VARCHAR)
Question: When did Chris Bosh (14) have the high rebounds?
Here is the SQLite query to answer to the question: Whe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (home VARCHAR, date VARCHAR)
Question: Who was the home team on June 9?
[/INST]
Here is the SQLite query to answer to the question: Who was the home t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (home VARCHAR, date VARCHAR)
Question: Who was the home team on June 9?
Here is the SQLite query to answer to the question: Who was the home team on June 9... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (attendance INTEGER, score VARCHAR)
Question: How many Attendance in a match which scores 0:0 - 4:1 (pen)
[/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_98 (attendance INTEGER, score VARCHAR)
Question: How many Attendance in a match which scores 0:0 - 4:1 (pen)
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_60 (events INTEGER, player VARCHAR, earnings___$__ VARCHAR)
Question: Which Events have a Player of tom kite, and Earnings ($) smaller than 760,405?
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (events INTEGER, player VARCHAR, earnings___$__ VARCHAR)
Question: Which Events have a Player of tom kite, and Earnings ($) smaller than 760,405?
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_13564637_5 (points_against VARCHAR, tries_for VARCHAR)
Question: How many numbers were recorded points against when the tries were for 43?
[/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_13564637_5 (points_against VARCHAR, tries_for VARCHAR)
Question: How many numbers were recorded points against when the tries were for 43?
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_1359212_2 (winner VARCHAR, second_place VARCHAR)
Question: where is hte second place winner from united kingdom?
[/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_1359212_2 (winner VARCHAR, second_place VARCHAR)
Question: where is hte second place winner from united kingdom?
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_86 (percentage VARCHAR, district VARCHAR, party VARCHAR)
Question: Which Percentage has a District larger than 2, and a Party of independent?
[/INST]
Her... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (percentage VARCHAR, district VARCHAR, party VARCHAR)
Question: Which Percentage has a District larger than 2, and a Party of independent?
Here is the SQLi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (fa_cup VARCHAR, other_ VARCHAR, c_ VARCHAR)
Question: The other [C] of 0 12 0 (0) belongs to what FA Cup?
[/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_36 (fa_cup VARCHAR, other_ VARCHAR, c_ VARCHAR)
Question: The other [C] of 0 12 0 (0) belongs to what FA Cup?
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_47 (player VARCHAR, school_club_team VARCHAR)
Question: Who played for Memphis State?
[/INST]
Here is the SQLite query to answer to the question: Who pla... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (player VARCHAR, school_club_team VARCHAR)
Question: Who played for Memphis State?
Here is the SQLite query to answer to the question: Who played for Memph... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1304443_2 (others_percentage VARCHAR, bush_percentage VARCHAR)
Question: What's the percentage of votes for other candidates in the county where Bush got 51.6... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1304443_2 (others_percentage VARCHAR, bush_percentage VARCHAR)
Question: What's the percentage of votes for other candidates in the county where Bush got 51.6% of 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_15 (final_year INTEGER, notes VARCHAR)
Question: What is the total of Final year that has a Notes of replaced by i-96?
[/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_15 (final_year INTEGER, notes VARCHAR)
Question: What is the total of Final year that has a Notes of replaced by i-96?
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_22 (year INTEGER, score_final VARCHAR, rank_final VARCHAR, competition_description VARCHAR)
Question: How many years have a Rank-Final smaller than 7, an... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (year INTEGER, score_final VARCHAR, rank_final VARCHAR, competition_description VARCHAR)
Question: How many years have a Rank-Final smaller than 7, and a 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_91 (home VARCHAR, visitor VARCHAR, date VARCHAR)
Question: Who was the home team that played against the Boston Bruins on January 11?
[/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_91 (home VARCHAR, visitor VARCHAR, date VARCHAR)
Question: Who was the home team that played against the Boston Bruins on January 11?
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_24887326_8 (away_team VARCHAR, home_team VARCHAR)
Question: Who played as the away team when coventry city was the home team?
[/INST]
Here is the SQLite query... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24887326_8 (away_team VARCHAR, home_team VARCHAR)
Question: Who played as the away team when coventry city was the home team?
Here is the SQLite query to answer to... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (laps VARCHAR, driver VARCHAR)
Question: what is the number of laps when the driver is ron flockhart?
[/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_5 (laps VARCHAR, driver VARCHAR)
Question: what is the number of laps when the driver is ron flockhart?
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_name_71 (name VARCHAR, construction_completed VARCHAR)
Question: What name completed construction on 09/19/2008?
[/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_71 (name VARCHAR, construction_completed VARCHAR)
Question: What name completed construction on 09/19/2008?
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_20 (team__number1 VARCHAR, team__number2 VARCHAR)
Question: Who was Team #1 when Team #2 was galatasaray cc i̇stanbul?
[/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_20 (team__number1 VARCHAR, team__number2 VARCHAR)
Question: Who was Team #1 when Team #2 was galatasaray cc i̇stanbul?
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_59 (third VARCHAR, lead VARCHAR)
Question: When did holger höhne come in third?
[/INST]
Here is the SQLite query to answer to the question: When did holg... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (third VARCHAR, lead VARCHAR)
Question: When did holger höhne come in third?
Here is the SQLite query to answer to the question: When did holger höhne come... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (team VARCHAR, laps VARCHAR, year VARCHAR)
Question: Name the team with laps more than 333 and year less than 2004
[/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_84 (team VARCHAR, laps VARCHAR, year VARCHAR)
Question: Name the team with laps more than 333 and year less than 2004
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_64 (crowd INTEGER, away_team VARCHAR)
Question: What was the largest crowd where Carlton was the away team?
[/INST]
Here is the SQLite query to answer to... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (crowd INTEGER, away_team VARCHAR)
Question: What was the largest crowd where Carlton was the away team?
Here is the SQLite query to answer to the question... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16201038_3 (at_opponents_venue VARCHAR, missouri_vs VARCHAR)
Question: Name the total number of opponets venue for oklahoma
[/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_16201038_3 (at_opponents_venue VARCHAR, missouri_vs VARCHAR)
Question: Name the total number of opponets venue for oklahoma
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_73 (date VARCHAR, record VARCHAR)
Question: WHich Date has a Record of 2–7–0–1?
[/INST]
Here is the SQLite query to answer to the question: WHich Date ha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (date VARCHAR, record VARCHAR)
Question: WHich Date has a Record of 2–7–0–1?
Here is the SQLite query to answer to the question: WHich Date has a Record 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_75 (rank INTEGER, bronze VARCHAR, gold VARCHAR)
Question: What is the rank of the nation that has more than 1 Bronze medals and fewer than 4 Gold medals?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (rank INTEGER, bronze VARCHAR, gold VARCHAR)
Question: What is the rank of the nation that has more than 1 Bronze medals and fewer than 4 Gold medals?
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_97 (played INTEGER, pd_per_game VARCHAR, loss VARCHAR)
Question: Which Played has a PD per game larger than 6.28, and a Loss smaller than 4?
[/INST]
Here... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (played INTEGER, pd_per_game VARCHAR, loss VARCHAR)
Question: Which Played has a PD per game larger than 6.28, and a Loss smaller than 4?
Here is the SQLit... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (location VARCHAR, date VARCHAR)
Question: What was the location on October 16?
[/INST]
Here is the SQLite query to answer to the question: What was 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 (location VARCHAR, date VARCHAR)
Question: What was the location on October 16?
Here is the SQLite query to answer to the question: What was the location 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_84 (country VARCHAR, icao VARCHAR)
Question: Tell me the country for ICAO of tjig
[/INST]
Here is the SQLite query to answer to the question: Tell me the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (country VARCHAR, icao VARCHAR)
Question: Tell me the country for ICAO of tjig
Here is the SQLite query to answer to the question: Tell me the country 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_76 (event VARCHAR, notes VARCHAR)
Question: What Event goes with Notes 53.76?
[/INST]
Here is the SQLite query to answer to the question: What Event goes... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (event VARCHAR, notes VARCHAR)
Question: What Event goes with Notes 53.76?
Here is the SQLite query to answer to the question: What Event goes with Notes 5... | bugdaryan/sql-create-context-instruction | |
[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 (venue VARCHAR, away_team VARCHAR)
Question: What venue did geelong play an away game?
[/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_90 (venue VARCHAR, away_team VARCHAR)
Question: What venue did geelong play an away game?
Here is the SQLite query to answer to the question: What venue did g... | bugdaryan/sql-create-context-instruction | |
[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 (generation VARCHAR, birthday VARCHAR)
Question: What generation is the member born on 1992.12.23 in?
[/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_4 (generation VARCHAR, birthday VARCHAR)
Question: What generation is the member born on 1992.12.23 in?
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_21312959_1 (written_by VARCHAR, no_in_series VARCHAR)
Question: Who are the writers for the episode number in series 129?
[/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_21312959_1 (written_by VARCHAR, no_in_series VARCHAR)
Question: Who are the writers for the episode number in series 129?
Here is the SQLite query to answer to the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (laps INTEGER, time_retired VARCHAR, grid VARCHAR, constructor VARCHAR)
Question: How many laps with a grid larger than 7 did a Lotus - Ford do with a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (laps INTEGER, time_retired VARCHAR, grid VARCHAR, constructor VARCHAR)
Question: How many laps with a grid larger than 7 did a Lotus - Ford do with a 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_name_99 (frequency VARCHAR, model_number VARCHAR)
Question: What is the Frequency for Model Number c3 850?
[/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_99 (frequency VARCHAR, model_number VARCHAR)
Question: What is the Frequency for Model Number c3 850?
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_23286112_8 (game INTEGER, date VARCHAR)
Question: Name the least game for january 29
[/INST]
Here is the SQLite query to answer to the question: Name the leas... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23286112_8 (game INTEGER, date VARCHAR)
Question: Name the least game for january 29
Here is the SQLite query to answer to the question: Name the least game for ja... | bugdaryan/sql-create-context-instruction | |
[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 (crowd VARCHAR, home_team VARCHAR)
Question: What was the attendance when Fitzroy played as home team?
[/INST]
Here is the SQLite query to answer to th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (crowd VARCHAR, home_team VARCHAR)
Question: What was the attendance when Fitzroy played as home team?
Here is the SQLite query to answer to the question: W... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2668254_25 (district VARCHAR, first_elected VARCHAR)
Question: How many district has a candidate that was first elected on 1811?
[/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_2668254_25 (district VARCHAR, first_elected VARCHAR)
Question: How many district has a candidate that was first elected on 1811?
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_97 (date VARCHAR, type VARCHAR, round VARCHAR)
Question: When has a Type of tko, and a Round of 1 (6)
[/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_97 (date VARCHAR, type VARCHAR, round VARCHAR)
Question: When has a Type of tko, and a Round of 1 (6)
Here is the SQLite query to answer to the question: When... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (date VARCHAR, venue VARCHAR)
Question: When was victoria park used as a venue?
[/INST]
Here is the SQLite query to answer to the question: When was v... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (date VARCHAR, venue VARCHAR)
Question: When was victoria park used as a venue?
Here is the SQLite query to answer to the question: When was victoria park ... | bugdaryan/sql-create-context-instruction | |
[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 (urban_population__2010_ INTEGER, city VARCHAR)
Question: What is the urban population for the city of Fuzhou?
[/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_7 (urban_population__2010_ INTEGER, city VARCHAR)
Question: What is the urban population for the city of Fuzhou?
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_41 (venue VARCHAR, date VARCHAR)
Question: What is the venue of the game that was played on 23 October 1966?
[/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_41 (venue VARCHAR, date VARCHAR)
Question: What is the venue of the game that was played on 23 October 1966?
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_46 (position VARCHAR, pick VARCHAR, college VARCHAR)
Question: Which position was picked before 63, for Oklahoma College?
[/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_46 (position VARCHAR, pick VARCHAR, college VARCHAR)
Question: Which position was picked before 63, for Oklahoma College?
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_1341930_5 (result VARCHAR, first_elected VARCHAR)
Question: What is the result for first elected in 1944
[/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_1341930_5 (result VARCHAR, first_elected VARCHAR)
Question: What is the result for first elected in 1944
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_4 (round VARCHAR, player VARCHAR, pick VARCHAR, draft VARCHAR)
Question: Which Round was Player Adam Cracknell Picked after 231 in a Draft year after 198... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (round VARCHAR, player VARCHAR, pick VARCHAR, draft VARCHAR)
Question: Which Round was Player Adam Cracknell Picked after 231 in a Draft year after 1988?
He... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (season INTEGER, venue VARCHAR, drivers VARCHAR)
Question: What is the average Season when the venue was circuit de nevers magny-cours, and Drivers wa... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (season INTEGER, venue VARCHAR, drivers VARCHAR)
Question: What is the average Season when the venue was circuit de nevers magny-cours, and Drivers was more... | bugdaryan/sql-create-context-instruction | |
[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 (attendance INTEGER, record VARCHAR)
Question: What was the attendance when their record stood at 0-2-2?
[/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_5 (attendance INTEGER, record VARCHAR)
Question: What was the attendance when their record stood at 0-2-2?
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 district (headquartered_city VARCHAR, district_id VARCHAR); CREATE TABLE store_district (store_id VARCHAR, district_id VARCHAR); CREATE TABLE store (store_id VARCHAR)
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE district (headquartered_city VARCHAR, district_id VARCHAR); CREATE TABLE store_district (store_id VARCHAR, district_id VARCHAR); CREATE TABLE store (store_id VARCHAR)
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_82 (week INTEGER, result VARCHAR)
Question: How many Weeks have a Result of w 17–13?
[/INST]
Here is the SQLite query to answer to the question: How many... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (week INTEGER, result VARCHAR)
Question: How many Weeks have a Result of w 17–13?
Here is the SQLite query to answer to the question: How many Weeks have 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_72 (director VARCHAR, title VARCHAR, platform_s_ VARCHAR, year VARCHAR)
Question: Who was the director of Battalion Wars 2 which was released on GCN afte... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (director VARCHAR, title VARCHAR, platform_s_ VARCHAR, year VARCHAR)
Question: Who was the director of Battalion Wars 2 which was released on GCN after 2004... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1341586_39 (party VARCHAR, district VARCHAR)
Question: what's party with district being pennsylvania 21
[/INST]
Here is the SQLite query to answer to the ques... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1341586_39 (party VARCHAR, district VARCHAR)
Question: what's party with district being pennsylvania 21
Here is the SQLite query to answer to the question: what'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_54 (country VARCHAR, player VARCHAR)
Question: What country is Curtis Strange from?
[/INST]
Here is the SQLite query to answer to the question: What coun... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (country VARCHAR, player VARCHAR)
Question: What country is Curtis Strange from?
Here is the SQLite query to answer to the question: What country is Curtis... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE stadium (name VARCHAR, stadium_id VARCHAR); CREATE TABLE concert (stadium_id VARCHAR, year VARCHAR); CREATE TABLE stadium (name VARCHAR)
Question: Show names for al... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE stadium (name VARCHAR, stadium_id VARCHAR); CREATE TABLE concert (stadium_id VARCHAR, year VARCHAR); CREATE TABLE stadium (name VARCHAR)
Question: Show names for all stad... | 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.