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_36 (team VARCHAR, game VARCHAR, score VARCHAR)
Question: What team played before game 71 and had a score w 91–86 (ot)?
[/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_36 (team VARCHAR, game VARCHAR, score VARCHAR)
Question: What team played before game 71 and had a score w 91–86 (ot)?
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 Assets (maintenance_contract_id VARCHAR); CREATE TABLE Maintenance_Contracts (maintenance_contract_id VARCHAR)
Question: How many assets does each maintenance contr... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Assets (maintenance_contract_id VARCHAR); CREATE TABLE Maintenance_Contracts (maintenance_contract_id VARCHAR)
Question: How many assets does each maintenance contract 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_4 (opponent VARCHAR, save VARCHAR)
Question: Who played against Save Of Ni Fu-Deh?
[/INST]
Here is the SQLite query to answer to the question: Who played... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (opponent VARCHAR, save VARCHAR)
Question: Who played against Save Of Ni Fu-Deh?
Here is the SQLite query to answer to the question: Who played against Save... | bugdaryan/sql-create-context-instruction | |
[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 (game VARCHAR, points VARCHAR, october VARCHAR)
Question: How many games have Points smaller than 4, and an October smaller than 5?
[/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_51 (game VARCHAR, points VARCHAR, october VARCHAR)
Question: How many games have Points smaller than 4, and an October smaller than 5?
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_95 (venue VARCHAR, city VARCHAR)
Question: What venue is in the city of Durham?
[/INST]
Here is the SQLite query to answer to the question: What venue is... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (venue VARCHAR, city VARCHAR)
Question: What venue is in the city of Durham?
Here is the SQLite query to answer to the question: What venue is in the city ... | bugdaryan/sql-create-context-instruction | |
[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 with a Date with 14 april 2002?
[/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_57 (venue VARCHAR, date VARCHAR)
Question: What is the Venue with a Date with 14 april 2002?
Here is the SQLite query to answer to the question: What is the V... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1139835_9 (runner_up VARCHAR, score VARCHAR)
Question: Who are all the runner ups when the score is 9.12 (66) – 5.6 (36)?
[/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_1139835_9 (runner_up VARCHAR, score VARCHAR)
Question: Who are all the runner ups when the score is 9.12 (66) – 5.6 (36)?
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_71 (place VARCHAR, player VARCHAR, score VARCHAR)
Question: What place does Fred Funk, who has a score of 69-69=138, have?
[/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_71 (place VARCHAR, player VARCHAR, score VARCHAR)
Question: What place does Fred Funk, who has a score of 69-69=138, have?
Here is the SQLite query to answer ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (date VARCHAR, match VARCHAR)
Question: What date was match 5?
[/INST]
Here is the SQLite query to answer to the question: What date was match 5?:
```... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (date VARCHAR, match VARCHAR)
Question: What date was match 5?
Here is the SQLite query to answer to the question: What date was match 5?:
```
SELECT date ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (per_capita_withdrawal__m_3__p_yr_ INTEGER, agricultural_use__m_3__p_yr__in__percentage_ VARCHAR, total_freshwater_withdrawal__km_3__yr_ VARCHAR)
Ques... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (per_capita_withdrawal__m_3__p_yr_ INTEGER, agricultural_use__m_3__p_yr__in__percentage_ VARCHAR, total_freshwater_withdrawal__km_3__yr_ VARCHAR)
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_52 (year_of_issue VARCHAR, issue_price VARCHAR)
Question: How many years was the issue price $19.95?
[/INST]
Here is the SQLite query to answer to the qu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (year_of_issue VARCHAR, issue_price VARCHAR)
Question: How many years was the issue price $19.95?
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_67 (score VARCHAR, date VARCHAR, away_team VARCHAR)
Question: What is Score, when Date is "13 March 1985", and when Away Team is "Millwall"?
[/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_67 (score VARCHAR, date VARCHAR, away_team VARCHAR)
Question: What is Score, when Date is "13 March 1985", and when Away Team is "Millwall"?
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_120778_2 (percent_yes VARCHAR, voted_yes VARCHAR)
Question: what's the percent yes where voted yes is 2410119
[/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_120778_2 (percent_yes VARCHAR, voted_yes VARCHAR)
Question: what's the percent yes where voted yes is 2410119
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_51 (rank VARCHAR, class VARCHAR, year VARCHAR)
Question: What was the rank of the 1983 team in the 250cc class?
[/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_51 (rank VARCHAR, class VARCHAR, year VARCHAR)
Question: What was the rank of the 1983 team in the 250cc class?
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_19 (date VARCHAR, away_team VARCHAR)
Question: On what date does Essendon play as the away team?
[/INST]
Here is the SQLite query to answer to the questi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (date VARCHAR, away_team VARCHAR)
Question: On what date does Essendon play as the away team?
Here is the SQLite query to answer to the question: On what 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 election (District VARCHAR); CREATE TABLE county (County_name VARCHAR, County_id VARCHAR)
Question: Show the names of counties that have at least two delegates.
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE election (District VARCHAR); CREATE TABLE county (County_name VARCHAR, County_id VARCHAR)
Question: Show the names of counties that have at least two delegates.
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_27813010_2 (weeks_in_top_10 INTEGER)
Question: How long has the longest song spent in the top 10?
[/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_27813010_2 (weeks_in_top_10 INTEGER)
Question: How long has the longest song spent in the top 10?
Here is the SQLite query to answer to the question: How long has ... | bugdaryan/sql-create-context-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 (home_team VARCHAR, away_team VARCHAR)
Question: What home team played the West Coast 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_16388230_1 (home_team VARCHAR, away_team VARCHAR)
Question: What home team played the West Coast away team?
Here is the SQLite query to answer to the question: Wha... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (country VARCHAR, play VARCHAR)
Question: What is the Country of the Play Electra?
[/INST]
Here is the SQLite query to answer to the question: What is... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (country VARCHAR, play VARCHAR)
Question: What is the Country of the Play Electra?
Here is the SQLite query to answer to the question: What is the Country ... | bugdaryan/sql-create-context-instruction | |
[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 (time_retired VARCHAR, driver VARCHAR, grid VARCHAR, laps VARCHAR)
Question: What is the time/retired for a grid larger than 11, laps larger than 41, ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_32 (time_retired VARCHAR, driver VARCHAR, grid VARCHAR, laps VARCHAR)
Question: What is the time/retired for a grid larger than 11, laps larger than 41, and ni... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (location VARCHAR, aircraft VARCHAR)
Question: What was the location of the Ju-52 aircraft?
[/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_61 (location VARCHAR, aircraft VARCHAR)
Question: What was the location of the Ju-52 aircraft?
Here is the SQLite query to answer to the question: What was th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (bronze INTEGER, nation VARCHAR, total VARCHAR)
Question: What is the average Bronze, when Nation is "North Korea", and when Total is greater than 5?
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (bronze INTEGER, nation VARCHAR, total VARCHAR)
Question: What is the average Bronze, when Nation is "North Korea", and when Total is greater than 5?
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_83 (tournament VARCHAR)
Question: What's the 2012 during Wimbledon and had a Q3 in 2008?
[/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_83 (tournament VARCHAR)
Question: What's the 2012 during Wimbledon and had a Q3 in 2008?
Here is the SQLite query to answer to the question: What's the 2012 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_name_6 (country VARCHAR, score VARCHAR)
Question: What country did the player who scored 73-73-65=211 come from?
[/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_6 (country VARCHAR, score VARCHAR)
Question: What country did the player who scored 73-73-65=211 come from?
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_25 (played VARCHAR, bp VARCHAR, pts_agst VARCHAR)
Question: B.P. of 0, and a Pts Agst smaller than 247 has how many total number of played?
[/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_25 (played VARCHAR, bp VARCHAR, pts_agst VARCHAR)
Question: B.P. of 0, and a Pts Agst smaller than 247 has how many total number of played?
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_49 (highest_point VARCHAR, rank VARCHAR)
Question: What is the highest amount of points for rank 95?
[/INST]
Here is the SQLite query to answer to the qu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (highest_point VARCHAR, rank VARCHAR)
Question: What is the highest amount of points for rank 95?
Here is the SQLite query to answer to the question: What ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (average VARCHAR, county VARCHAR, rank VARCHAR)
Question: What is the average total in the county of tipperary with a rank less than 1?
[/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_47 (average VARCHAR, county VARCHAR, rank VARCHAR)
Question: What is the average total in the county of tipperary with a rank less than 1?
Here is the SQLite ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (time VARCHAR, rank VARCHAR, react VARCHAR, athlete VARCHAR)
Question: How much Time has a Reaction of 0.155, and an Athlete of kristof beyens, and a ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (time VARCHAR, rank VARCHAR, react VARCHAR, athlete VARCHAR)
Question: How much Time has a Reaction of 0.155, and an Athlete of kristof beyens, and a Rank 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_75 (competition VARCHAR, venue VARCHAR, notes VARCHAR, year VARCHAR)
Question: Prior to 2004, what was the name of the competition that took place in Joh... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (competition VARCHAR, venue VARCHAR, notes VARCHAR, year VARCHAR)
Question: Prior to 2004, what was the name of the competition that took place in Johannesb... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1342256_10 (district VARCHAR, first_elected VARCHAR)
Question: How many districts have an incumbent first elected in 1940?
[/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_1342256_10 (district VARCHAR, first_elected VARCHAR)
Question: How many districts have an incumbent first elected in 1940?
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 film (title VARCHAR, Studio VARCHAR)
Question: Find the titles and studios of the films that are produced by some film studios that contained the word "Universal".
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE film (title VARCHAR, Studio VARCHAR)
Question: Find the titles and studios of the films that are produced by some film studios that contained the word "Universal".
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_16388230_1 (date VARCHAR, home_team VARCHAR)
Question: How many days did Hawthorn play as a home team?
[/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_16388230_1 (date VARCHAR, home_team VARCHAR)
Question: How many days did Hawthorn play as a home team?
Here is the SQLite query to answer to the question: How many... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17641206_2 (written_by VARCHAR, viewership VARCHAR)
Question: How many people wrote the episode that had 6.34 million viewers?
[/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_17641206_2 (written_by VARCHAR, viewership VARCHAR)
Question: How many people wrote the episode that had 6.34 million viewers?
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_1850282_7 (bocas_is VARCHAR, species VARCHAR)
Question: Name the bocas for chironius multiventris septentrionalis
[/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_1850282_7 (bocas_is VARCHAR, species VARCHAR)
Question: Name the bocas for chironius multiventris septentrionalis
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_67 (tournament VARCHAR)
Question: What 1976 has a Tournament of overall win – loss?
[/INST]
Here is the SQLite query to answer to the question: What 1976... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (tournament VARCHAR)
Question: What 1976 has a Tournament of overall win – loss?
Here is the SQLite query to answer to the question: What 1976 has a Tourna... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28634206_1 (total INTEGER, country VARCHAR)
Question: How many placements in total does russia have?
[/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_28634206_1 (total INTEGER, country VARCHAR)
Question: How many placements in total does russia have?
Here is the SQLite query to answer to the question: How many p... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (score VARCHAR, tie_no VARCHAR)
Question: What was the score when the Tie no was 6?
[/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_89 (score VARCHAR, tie_no VARCHAR)
Question: What was the score when the Tie no was 6?
Here is the SQLite query to answer to the question: What was the score ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27756314_8 (date VARCHAR, game VARCHAR)
Question: What is the date for the game 35?
[/INST]
Here is the SQLite query to answer to the question: What is the da... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27756314_8 (date VARCHAR, game VARCHAR)
Question: What is the date for the game 35?
Here is the SQLite query to answer to the question: What is the date for the ga... | bugdaryan/sql-create-context-instruction | |
[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 (attendance VARCHAR, visitor VARCHAR)
Question: Name the attendance for when the washington wizards was visiting
[/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_71 (attendance VARCHAR, visitor VARCHAR)
Question: Name the attendance for when the washington wizards was visiting
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 follows (f1 VARCHAR, f2 VARCHAR); CREATE TABLE user_profiles (uid VARCHAR, name VARCHAR)
Question: Find the id of users who are followed by Mary and Susan.
[/INST]
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE follows (f1 VARCHAR, f2 VARCHAR); CREATE TABLE user_profiles (uid VARCHAR, name VARCHAR)
Question: Find the id of users who are followed by Mary and Susan.
Here is the S... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (attendance VARCHAR, record VARCHAR)
Question: What was the attendance at the game when the record was 74-77?
[/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_5 (attendance VARCHAR, record VARCHAR)
Question: What was the attendance at the game when the record was 74-77?
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_88 (score VARCHAR, away_team VARCHAR)
Question: What was the score fore the away team Dartford?
[/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_88 (score VARCHAR, away_team VARCHAR)
Question: What was the score fore the away team Dartford?
Here is the SQLite query to answer to the question: What was 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_79 (opponent VARCHAR, game_site VARCHAR)
Question: Who is the opponent on the game that will be played at metropolitan stadium?
[/INST]
Here is the SQLit... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (opponent VARCHAR, game_site VARCHAR)
Question: Who is the opponent on the game that will be played at metropolitan stadium?
Here is the SQLite query to an... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (to_par INTEGER, total INTEGER)
Question: What is the to par for the player with fewer than 148 total points?
[/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_53 (to_par INTEGER, total INTEGER)
Question: What is the to par for the player with fewer than 148 total points?
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_1342315_17 (district VARCHAR, incumbent VARCHAR)
Question: How many districts for rené l. derouen?
[/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_1342315_17 (district VARCHAR, incumbent VARCHAR)
Question: How many districts for rené l. derouen?
Here is the SQLite query to answer to the question: How many dis... | bugdaryan/sql-create-context-instruction | |
[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 (date VARCHAR, visiting_team VARCHAR, year VARCHAR)
Question: What date was the visiting team of Los Angeles Rams, earlier than 1958?
[/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_58 (date VARCHAR, visiting_team VARCHAR, year VARCHAR)
Question: What date was the visiting team of Los Angeles Rams, earlier than 1958?
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_16295365_2 (round_eliminated VARCHAR, conf_record VARCHAR)
Question: Name the round eliminated where conference record is 12-6
[/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_16295365_2 (round_eliminated VARCHAR, conf_record VARCHAR)
Question: Name the round eliminated where conference record is 12-6
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_13 (us VARCHAR, album VARCHAR, year VARCHAR)
Question: What was the best album in 1965?
[/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_13 (us VARCHAR, album VARCHAR, year VARCHAR)
Question: What was the best album in 1965?
Here is the SQLite query to answer to the question: What was the best ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2454589_1 (last_title VARCHAR, home_city VARCHAR)
Question: Name the last title for cuenca
[/INST]
Here is the SQLite query to answer to the question: Name th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2454589_1 (last_title VARCHAR, home_city VARCHAR)
Question: Name the last title for cuenca
Here is the SQLite query to answer to the question: Name the last title ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (round VARCHAR, time VARCHAR, event VARCHAR)
Question: How many rounds had a time of 5:00 at UFC 155?
[/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_25 (round VARCHAR, time VARCHAR, event VARCHAR)
Question: How many rounds had a time of 5:00 at UFC 155?
Here is the SQLite query to answer to the question: 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_37 (nationality VARCHAR, lane VARCHAR, rank VARCHAR)
Question: What is the Nationality of the Swimmer in Lane 4 or larger with a Rank of 5 or more?
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (nationality VARCHAR, lane VARCHAR, rank VARCHAR)
Question: What is the Nationality of the Swimmer in Lane 4 or larger with a Rank of 5 or more?
Here is th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (game INTEGER, date VARCHAR)
Question: What is the average Game with a Date that is june 14?
[/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_24 (game INTEGER, date VARCHAR)
Question: What is the average Game with a Date that is june 14?
Here is the SQLite query to answer to the question: What 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_97 (launched VARCHAR, name VARCHAR)
Question: what is the name of the builder who launched in danaide
[/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 (launched VARCHAR, name VARCHAR)
Question: what is the name of the builder who launched in danaide
Here is the SQLite query to answer to the question: what... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (airport VARCHAR, iata VARCHAR)
Question: What is the airport when the iata is tbj?
[/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_77 (airport VARCHAR, iata VARCHAR)
Question: What is the airport when the iata is tbj?
Here is the SQLite query to answer to the question: What is the airport... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2076533_1 (founded INTEGER, school VARCHAR)
Question: Name the least founded for gutenberg college
[/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_2076533_1 (founded INTEGER, school VARCHAR)
Question: Name the least founded for gutenberg college
Here is the SQLite query to answer to the question: Name the lea... | bugdaryan/sql-create-context-instruction | |
[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 (geo_id INTEGER, water__sqmi_ VARCHAR, township VARCHAR, land___sqmi__ VARCHAR, latitude VARCHAR)
Question: what is the geo id when the land (sqmi) 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 (geo_id INTEGER, water__sqmi_ VARCHAR, township VARCHAR, land___sqmi__ VARCHAR, latitude VARCHAR)
Question: what is the geo id when the land (sqmi) is less ... | bugdaryan/sql-create-context-instruction | |
[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 (award VARCHAR, result VARCHAR, year VARCHAR)
Question: What award was Trent Tesoro nominated for in 2007?
[/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_2 (award VARCHAR, result VARCHAR, year VARCHAR)
Question: What award was Trent Tesoro nominated for in 2007?
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_56 (time_retired VARCHAR, driver VARCHAR)
Question: what is the time/retired for driver richard attwood?
[/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_56 (time_retired VARCHAR, driver VARCHAR)
Question: what is the time/retired for driver richard attwood?
Here is the SQLite query to answer to the question: w... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (score_in_the_final VARCHAR, date VARCHAR, opponent_in_the_final VARCHAR)
Question: What was the Score in the Final against Opponent in the Final Manu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (score_in_the_final VARCHAR, date VARCHAR, opponent_in_the_final VARCHAR)
Question: What was the Score in the Final against Opponent in the Final Manuel Ora... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24910733_1 (directed_by VARCHAR, us_viewers__millions_ VARCHAR)
Question: Who is the director when there is 11.21 million viewers?
[/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_24910733_1 (directed_by VARCHAR, us_viewers__millions_ VARCHAR)
Question: Who is the director when there is 11.21 million viewers?
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_45 (points INTEGER, november VARCHAR)
Question: How many points have November of 15?
[/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_45 (points INTEGER, november VARCHAR)
Question: How many points have November of 15?
Here is the SQLite query to answer to the question: How many points have ... | bugdaryan/sql-create-context-instruction | |
[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 (band VARCHAR, frequency VARCHAR)
Question: Name the band with frequency of 102.3
[/INST]
Here is the SQLite query to answer to the question: Name the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (band VARCHAR, frequency VARCHAR)
Question: Name the band with frequency of 102.3
Here is the SQLite query to answer to the question: Name the band with fr... | bugdaryan/sql-create-context-instruction | |
[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 (high_assists VARCHAR, score VARCHAR)
Question: What were the high assists when the score was l 86–94 (ot)?
[/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_62 (high_assists VARCHAR, score VARCHAR)
Question: What were the high assists when the score was l 86–94 (ot)?
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_32 (year INTEGER, cargo__tonnes_ VARCHAR)
Question: What year had cargo tonnes of 13 585?
[/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_32 (year INTEGER, cargo__tonnes_ VARCHAR)
Question: What year had cargo tonnes of 13 585?
Here is the SQLite query to answer to the question: What year had ca... | bugdaryan/sql-create-context-instruction | |
[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, event VARCHAR)
Question: What date was the 1500 m freestyle competition?
[/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 (date VARCHAR, event VARCHAR)
Question: What date was the 1500 m freestyle competition?
Here is the SQLite query to answer to the question: What date was 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_69 (lost INTEGER, _percentage_pts INTEGER)
Question: When the points scored was over 110.25%, what's the average amount lost?
[/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_69 (lost INTEGER, _percentage_pts INTEGER)
Question: When the points scored was over 110.25%, what's the average amount lost?
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_14389782_2 (winning_pct VARCHAR, jersey_no VARCHAR)
Question: What is the winning pct for jersey 15?
[/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_14389782_2 (winning_pct VARCHAR, jersey_no VARCHAR)
Question: What is the winning pct for jersey 15?
Here is the SQLite query to answer to the question: What 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_35 (league_apps VARCHAR, fa_cup_apps VARCHAR, league_goals VARCHAR, position VARCHAR)
Question: Tell me the league apps with league goals less than 2 and... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (league_apps VARCHAR, fa_cup_apps VARCHAR, league_goals VARCHAR, position VARCHAR)
Question: Tell me the league apps with league goals less than 2 and posit... | bugdaryan/sql-create-context-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_12 (date VARCHAR, series VARCHAR)
Question: What date was the series 0-2?
[/INST]
Here is the SQLite query to answer to the question: What date was t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23286112_12 (date VARCHAR, series VARCHAR)
Question: What date was the series 0-2?
Here is the SQLite query to answer to the question: What date was the series 0-2... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14855908_3 (episodes INTEGER, dvd_name VARCHAR)
Question: How many episodes were released in the season 1 DVD?
[/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_14855908_3 (episodes INTEGER, dvd_name VARCHAR)
Question: How many episodes were released in the season 1 DVD?
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 customers (town_city VARCHAR, customer_type_code VARCHAR)
Question: Which city has the least number of customers whose type code is "Good Credit Rating"?
[/INST]
He... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE customers (town_city VARCHAR, customer_type_code VARCHAR)
Question: Which city has the least number of customers whose type code is "Good Credit Rating"?
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_75 (points INTEGER, difference VARCHAR, lost VARCHAR)
Question: What was the total number of Points when the value Difference was 13, and when the value ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (points INTEGER, difference VARCHAR, lost VARCHAR)
Question: What was the total number of Points when the value Difference was 13, and when the value Lost w... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (attendance INTEGER, opponent VARCHAR, week VARCHAR)
Question: What is the largest attendance number when the Chicago Cardinals were the opponent and ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (attendance INTEGER, opponent VARCHAR, week VARCHAR)
Question: What is the largest attendance number when the Chicago Cardinals were the opponent and the we... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (lungchang VARCHAR, halang VARCHAR, rera VARCHAR)
Question: Which Lungchang has a Halang of ʒɯ², and a Rera of ʒo²?
[/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_85 (lungchang VARCHAR, halang VARCHAR, rera VARCHAR)
Question: Which Lungchang has a Halang of ʒɯ², and a Rera of ʒo²?
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_81 (seat INTEGER, series_3 VARCHAR)
Question: What is the seat number when Series 3 shows Dana Bérová?
[/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_81 (seat INTEGER, series_3 VARCHAR)
Question: What is the seat number when Series 3 shows Dana Bérová?
Here is the SQLite query to answer to the question: Wha... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE race (CLASS VARCHAR)
Question: What are the distinct classes that races can have?
[/INST]
Here is the SQLite query to answer to the question: What are the distinct ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE race (CLASS VARCHAR)
Question: What are the distinct classes that races can have?
Here is the SQLite query to answer to the question: What are the distinct classes that ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_256286_19 (yes_votes INTEGER, no_votes VARCHAR)
Question: What is the largest number of yest votes for the measure with 61307 no votes?
[/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_256286_19 (yes_votes INTEGER, no_votes VARCHAR)
Question: What is the largest number of yest votes for the measure with 61307 no votes?
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_15 (grid INTEGER, driver VARCHAR, laps VARCHAR)
Question: What is the largest grid with a Driver of ralph firman, and a Lap smaller than 18?
[/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_15 (grid INTEGER, driver VARCHAR, laps VARCHAR)
Question: What is the largest grid with a Driver of ralph firman, and a Lap smaller than 18?
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_11 (overall_record VARCHAR, since_beginning_of_big_12 VARCHAR)
Question: What is the Overall Record when Since Beginning of Big 12 is ou, 27-3?
[/INST]
H... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (overall_record VARCHAR, since_beginning_of_big_12 VARCHAR)
Question: What is the Overall Record when Since Beginning of Big 12 is ou, 27-3?
Here is the SQ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (studio VARCHAR, gross_rental VARCHAR)
Question: What is the Studio of the Film with a Gross rental of $7,500,000?
[/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_33 (studio VARCHAR, gross_rental VARCHAR)
Question: What is the Studio of the Film with a Gross rental of $7,500,000?
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_12828723_4 (drawn VARCHAR, won VARCHAR)
Question: what is the drawn when the won is 12?
[/INST]
Here is the SQLite query to answer to the question: what is th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12828723_4 (drawn VARCHAR, won VARCHAR)
Question: what is the drawn when the won is 12?
Here is the SQLite query to answer to the question: what is the drawn 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_22170495_7 (title VARCHAR, original_airing VARCHAR)
Question: Which episodes originally aired on April 19, 2010?
[/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_22170495_7 (title VARCHAR, original_airing VARCHAR)
Question: Which episodes originally aired on April 19, 2010?
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_21 (record VARCHAR, event VARCHAR)
Question: Which Record has an Event of tpf 5: stars and strikes?
[/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_21 (record VARCHAR, event VARCHAR)
Question: Which Record has an Event of tpf 5: stars and strikes?
Here is the SQLite query to answer to the question: Which ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE publication (Price VARCHAR, Publisher VARCHAR)
Question: Show the prices of publications whose publisher is either "Person" or "Wiley"
[/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 publication (Price VARCHAR, Publisher VARCHAR)
Question: Show the prices of publications whose publisher is either "Person" or "Wiley"
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_87 (call_sign VARCHAR, state VARCHAR, frequency VARCHAR)
Question: What is the call sign for 90.9 FM which is in Florida?
[/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_87 (call_sign VARCHAR, state VARCHAR, frequency VARCHAR)
Question: What is the call sign for 90.9 FM which is in Florida?
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_34 (nationality VARCHAR, player VARCHAR)
Question: What nationality is Gerry Methe?
[/INST]
Here is the SQLite query to answer to the question: What nati... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (nationality VARCHAR, player VARCHAR)
Question: What nationality is Gerry Methe?
Here is the SQLite query to answer to the question: What nationality is Ge... | bugdaryan/sql-create-context-instruction | |
[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 (status VARCHAR, net_capacity VARCHAR)
Question: What is the status of the unit with a net capacity of 1212 MW?
[/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_50 (status VARCHAR, net_capacity VARCHAR)
Question: What is the status of the unit with a net capacity of 1212 MW?
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_18 (outcome VARCHAR, surface VARCHAR, partner VARCHAR)
Question: What was the outcome of the tournament with Akiko Yonemura as a partner on a hard surfac... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (outcome VARCHAR, surface VARCHAR, partner VARCHAR)
Question: What was the outcome of the tournament with Akiko Yonemura as a partner on a hard surface?
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_70 (took_office INTEGER, name VARCHAR, up_for_reelection VARCHAR)
Question: What was the earliest year that Yvette Alexander took office and was up for r... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (took_office INTEGER, name VARCHAR, up_for_reelection VARCHAR)
Question: What was the earliest year that Yvette Alexander took office and was up for reelect... | bugdaryan/sql-create-context-instruction | |
[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 (date VARCHAR, time___gmt__ VARCHAR)
Question: Which date has time (GMT) of 23:34?
[/INST]
Here is the SQLite query to answer to the question: Which d... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (date VARCHAR, time___gmt__ VARCHAR)
Question: Which date has time (GMT) of 23:34?
Here is the SQLite query to answer to the question: Which date has 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_88 (place VARCHAR, player VARCHAR)
Question: What is Place, when Player is "Arnold Palmer"?
[/INST]
Here is the SQLite query to answer to the question: W... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (place VARCHAR, player VARCHAR)
Question: What is Place, when Player is "Arnold Palmer"?
Here is the SQLite query to answer to the question: What is Place,... | bugdaryan/sql-create-context-instruction | |
[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 (goals_for INTEGER, draws VARCHAR, played VARCHAR)
Question: How many goals have more than 38 played and more than 9 draws?
[/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_5 (goals_for INTEGER, draws VARCHAR, played VARCHAR)
Question: How many goals have more than 38 played and more than 9 draws?
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_1284347_2 (distance VARCHAR, race VARCHAR)
Question: How many races is different distances does Rosehill Guineas compete in?
[/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_1284347_2 (distance VARCHAR, race VARCHAR)
Question: How many races is different distances does Rosehill Guineas compete in?
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_17 (to_par VARCHAR, country VARCHAR, player VARCHAR)
Question: What was the To par for United States golfer fred couples?
[/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_17 (to_par VARCHAR, country VARCHAR, player VARCHAR)
Question: What was the To par for United States golfer fred couples?
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_86 (total__kg_ VARCHAR, snatch VARCHAR)
Question: What's the Total (kg) of a Snatch of 132.5?
[/INST]
Here is the SQLite query to answer to the question:... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (total__kg_ VARCHAR, snatch VARCHAR)
Question: What's the Total (kg) of a Snatch of 132.5?
Here is the SQLite query to answer to the question: What's the 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_11642945_1 (director VARCHAR, original_air_date VARCHAR)
Question: If the Original Air Date is 10January2008, what directors released on that date?
[/INST]
H... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11642945_1 (director VARCHAR, original_air_date VARCHAR)
Question: If the Original Air Date is 10January2008, what directors released on that date?
Here is the SQ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (date VARCHAR, home_team VARCHAR)
Question: When did South Melbourne play at home?
[/INST]
Here is the SQLite query to answer to the question: When did... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (date VARCHAR, home_team VARCHAR)
Question: When did South Melbourne play at home?
Here is the SQLite query to answer to the question: When did South Melbou... | bugdaryan/sql-create-context-instruction | |
[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 (constructor VARCHAR, circuit VARCHAR)
Question: Who is the constructor whose circuit was Oulton Park?
[/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_71 (constructor VARCHAR, circuit VARCHAR)
Question: Who is the constructor whose circuit was Oulton Park?
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_12 (score VARCHAR, home VARCHAR, date VARCHAR)
Question: What's the Score with a Home of Scotland and Date of 24 February?
[/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_12 (score VARCHAR, home VARCHAR, date VARCHAR)
Question: What's the Score with a Home of Scotland and Date of 24 February?
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_20095300_1 (weight__st VARCHAR, _lb_ VARCHAR, name VARCHAR)
Question: How much does Point Barrow weight?
[/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_20095300_1 (weight__st VARCHAR, _lb_ VARCHAR, name VARCHAR)
Question: How much does Point Barrow weight?
Here is the SQLite query to answer to the question: How mu... | 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.