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_53 (election VARCHAR)
Question: What 2nd Party has an Election of 1885?
[/INST]
Here is the SQLite query to answer to the question: What 2nd Party has an... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (election VARCHAR)
Question: What 2nd Party has an Election of 1885?
Here is the SQLite query to answer to the question: What 2nd Party has an Election 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_22580855_1 (written_by VARCHAR, series_no VARCHAR)
Question: who are the writer of the series episode number 170?
[/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_22580855_1 (written_by VARCHAR, series_no VARCHAR)
Question: who are the writer of the series episode number 170?
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_23014923_1 (season VARCHAR, minor__south__winners VARCHAR)
Question: What is the season date if the minor (South) winners is Bristol Sanctuary XI?
[/INST]
Her... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23014923_1 (season VARCHAR, minor__south__winners VARCHAR)
Question: What is the season date if the minor (South) winners is Bristol Sanctuary XI?
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_31 (percent_of_slovenes_1951 VARCHAR, village__german_ VARCHAR)
Question: What percentage of Slovenes lived in the village of Roach in 1951?
[/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_31 (percent_of_slovenes_1951 VARCHAR, village__german_ VARCHAR)
Question: What percentage of Slovenes lived in the village of Roach in 1951?
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_27 (playoffs VARCHAR, year VARCHAR)
Question: In 1924/25, who was in the playoffs?
[/INST]
Here is the SQLite query to answer to the question: In 1924/25... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (playoffs VARCHAR, year VARCHAR)
Question: In 1924/25, who was in the playoffs?
Here is the SQLite query to answer to the question: In 1924/25, who was in ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (points VARCHAR, engine VARCHAR, chassis VARCHAR)
Question: How many points did the Ford V8 with a Tyrrell 007 have?
[/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_3 (points VARCHAR, engine VARCHAR, chassis VARCHAR)
Question: How many points did the Ford V8 with a Tyrrell 007 have?
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_34 (home VARCHAR, time VARCHAR)
Question: What is the Home with a Time that is 12:00?
[/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_34 (home VARCHAR, time VARCHAR)
Question: What is the Home with a Time that is 12:00?
Here is the SQLite query to answer to the question: What is the Home wit... | bugdaryan/sql-create-context-instruction | |
[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 (away_team VARCHAR, venue VARCHAR)
Question: What is the score of the team that plays in lake oval?
[/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_85 (away_team VARCHAR, venue VARCHAR)
Question: What is the score of the team that plays in lake oval?
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_17 (skipper VARCHAR, combined_elapsed_time VARCHAR)
Question: Which skipper has a combine elapsed time of 174d 01h 11m 59s?
[/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_17 (skipper VARCHAR, combined_elapsed_time VARCHAR)
Question: Which skipper has a combine elapsed time of 174d 01h 11m 59s?
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_25 (record VARCHAR, time___et__ VARCHAR, opponent VARCHAR)
Question: Which Record has a Time (ET) of 1:00pm, and an Opponent of kansas city chiefs?
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (record VARCHAR, time___et__ VARCHAR, opponent VARCHAR)
Question: Which Record has a Time (ET) of 1:00pm, and an Opponent of kansas city chiefs?
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_1342218_17 (candidates VARCHAR, party VARCHAR, incumbent VARCHAR)
Question: List all candidates in the democratic party where the election had the incumbent F... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1342218_17 (candidates VARCHAR, party VARCHAR, incumbent VARCHAR)
Question: List all candidates in the democratic party where the election had the incumbent Frank C... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (ends VARCHAR, transfer_fee VARCHAR)
Question: What is the total number of ends when the transfer fee was dkk 14m?
[/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_80 (ends VARCHAR, transfer_fee VARCHAR)
Question: What is the total number of ends when the transfer fee was dkk 14m?
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_50 (title VARCHAR, production_code VARCHAR)
Question: What is the title of the episode with a production code of ad1b04?
[/INST]
Here is the SQLite query... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (title VARCHAR, production_code VARCHAR)
Question: What is the title of the episode with a production code of ad1b04?
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_78 (order_and_title VARCHAR, elevated VARCHAR, elector VARCHAR)
Question: With a date of May 1262 under elevated, Guillaume de Bray as the elector, what ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (order_and_title VARCHAR, elevated VARCHAR, elector VARCHAR)
Question: With a date of May 1262 under elevated, Guillaume de Bray as the elector, what is the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (years_in_orlando VARCHAR, player VARCHAR, nationality VARCHAR, position VARCHAR)
Question: Which Years in Orlando has a Nationality of united states,... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (years_in_orlando VARCHAR, player VARCHAR, nationality VARCHAR, position VARCHAR)
Question: Which Years in Orlando has a Nationality of united states, a Pos... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1446600_4 (date_successor_seated VARCHAR, district VARCHAR)
Question: What is the date the successor was seated for the georgia 6th district?
[/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_1446600_4 (date_successor_seated VARCHAR, district VARCHAR)
Question: What is the date the successor was seated for the georgia 6th district?
Here is the SQLite qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (week VARCHAR, date VARCHAR, attendance VARCHAR)
Question: How many Weeks are on september 8, 1980 and Attendances larger than 55,045? Question 4
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (week VARCHAR, date VARCHAR, attendance VARCHAR)
Question: How many Weeks are on september 8, 1980 and Attendances larger than 55,045? Question 4
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_17085724_1 (sarasota VARCHAR, indianapolis_concerts VARCHAR)
Question: Name the sarasota samantha sharpe
[/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_17085724_1 (sarasota VARCHAR, indianapolis_concerts VARCHAR)
Question: Name the sarasota samantha sharpe
Here is the SQLite query to answer to the question: Name 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 (result VARCHAR, category VARCHAR)
Question: What is the result of the choice tv actor: drama category?
[/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_22 (result VARCHAR, category VARCHAR)
Question: What is the result of the choice tv actor: drama category?
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_13 (week INTEGER, game_site VARCHAR, attendance VARCHAR)
Question: What week did the Jets play in the meadowlands with and attendance of 78,161?
[/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 (week INTEGER, game_site VARCHAR, attendance VARCHAR)
Question: What week did the Jets play in the meadowlands with and attendance of 78,161?
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_98 (rank INTEGER, react VARCHAR, time VARCHAR)
Question: Which Rank has a Reaction of 0.198, and a Time smaller than 46.3?
[/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_98 (rank INTEGER, react VARCHAR, time VARCHAR)
Question: Which Rank has a Reaction of 0.198, and a Time smaller than 46.3?
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_25933764_1 (w INTEGER, locale VARCHAR, Ontario VARCHAR)
Question: If the locale is Ontario, what is the W minimum?
[/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_25933764_1 (w INTEGER, locale VARCHAR, Ontario VARCHAR)
Question: If the locale is Ontario, what is the W minimum?
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_29163303_4 (surface VARCHAR, score VARCHAR)
Question: On what surface was it the year when the score was 6β1, 4β6, [12β10]?
[/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_29163303_4 (surface VARCHAR, score VARCHAR)
Question: On what surface was it the year when the score was 6β1, 4β6, [12β10]?
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_39 (date VARCHAR, type VARCHAR, pilot VARCHAR, record_description VARCHAR)
Question: Pilot of g.v. alfyorov, and a Record description of altitude with kg... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (date VARCHAR, type VARCHAR, pilot VARCHAR, record_description VARCHAR)
Question: Pilot of g.v. alfyorov, and a Record description of altitude with kg (lb) ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26375386_16 (couple VARCHAR, total VARCHAR)
Question: What couple had a total of 8?
[/INST]
Here is the SQLite query to answer to the question: What couple ha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26375386_16 (couple VARCHAR, total VARCHAR)
Question: What couple had a total of 8?
Here is the SQLite query to answer to the question: What couple had a total 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_30 (record VARCHAR, res VARCHAR, event VARCHAR)
Question: Which Record has the Res of win with the Event of extreme fighting 1?
[/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_30 (record VARCHAR, res VARCHAR, event VARCHAR)
Question: Which Record has the Res of win with the Event of extreme fighting 1?
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 authors (Id VARCHAR)
Question: How many authors are there?
[/INST]
Here is the SQLite query to answer to the question: How many authors are there?:
```
SELECT COUNT... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE authors (Id VARCHAR)
Question: How many authors are there?
Here is the SQLite query to answer to the question: How many authors are there?:
```
SELECT COUNT(*) FROM auth... | bugdaryan/sql-create-context-instruction | |
[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 (target VARCHAR, brand_name VARCHAR)
Question: What's the target for the brand mylotarg?
[/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_96 (target VARCHAR, brand_name VARCHAR)
Question: What's the target for the brand mylotarg?
Here is the SQLite query to answer to the question: What's the tar... | bugdaryan/sql-create-context-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_39 (description VARCHAR, _percentage_yes VARCHAR)
Question: What is the measure where the yes% is 44.06%?
[/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_256286_39 (description VARCHAR, _percentage_yes VARCHAR)
Question: What is the measure where the yes% is 44.06%?
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_22 (imprint VARCHAR, title VARCHAR)
Question: what is the imprint when the title is owari no chronicle (ahead series)?
[/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_22 (imprint VARCHAR, title VARCHAR)
Question: what is the imprint when the title is owari no chronicle (ahead series)?
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_14425454_1 (ground VARCHAR, crowd VARCHAR)
Question: What stadiums had an attendance of 8,256?
[/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_14425454_1 (ground VARCHAR, crowd VARCHAR)
Question: What stadiums had an attendance of 8,256?
Here is the SQLite query to answer to the question: What stadiums ha... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (wins INTEGER, events VARCHAR, cuts_made VARCHAR, top_25 VARCHAR)
Question: What is the highest number of wins a tournament with 1 cuts made, a top-25... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (wins INTEGER, events VARCHAR, cuts_made VARCHAR, top_25 VARCHAR)
Question: What is the highest number of wins a tournament with 1 cuts made, a top-25 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_69 (record VARCHAR, visitor VARCHAR)
Question: What is the record when the visitor is Buffalo?
[/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_69 (record VARCHAR, visitor VARCHAR)
Question: What is the record when the visitor is Buffalo?
Here is the SQLite query to answer to the question: What is the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (player VARCHAR, average VARCHAR)
Question: Which player has an average of 38.22?
[/INST]
Here is the SQLite query to answer to the question: Which pl... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (player VARCHAR, average VARCHAR)
Question: Which player has an average of 38.22?
Here is the SQLite query to answer to the question: Which player has an 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_1439096_1 (original_air_date__atv_ VARCHAR, episode_no VARCHAR)
Question: What was the original air date (atv) of episode 1?
[/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_1439096_1 (original_air_date__atv_ VARCHAR, episode_no VARCHAR)
Question: What was the original air date (atv) of episode 1?
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_63 (date VARCHAR, surface VARCHAR, event VARCHAR)
Question: When has a surface of road and an event of half marathon?
[/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_63 (date VARCHAR, surface VARCHAR, event VARCHAR)
Question: When has a surface of road and an event of half marathon?
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_51 (paper_type VARCHAR, illustration VARCHAR)
Question: What is the Paper Type with an Illustration with martin dee, ubc public affairs?
[/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_51 (paper_type VARCHAR, illustration VARCHAR)
Question: What is the Paper Type with an Illustration with martin dee, ubc public affairs?
Here is the SQLite qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (player VARCHAR, place VARCHAR, country VARCHAR, score VARCHAR)
Question: What Player has a Place of t10, a Country of united states, and a Score of 6... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (player VARCHAR, place VARCHAR, country VARCHAR, score VARCHAR)
Question: What Player has a Place of t10, a Country of united states, and a Score of 67-73=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_name_30 (time VARCHAR, record VARCHAR)
Question: What is the Time of the match with a Record of 3-3?
[/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_30 (time VARCHAR, record VARCHAR)
Question: What is the Time of the match with a Record of 3-3?
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_71 (team VARCHAR, previous_team VARCHAR, pos VARCHAR)
Question: Which Team has a Previous team of san diego rockets, and a Position of f?
[/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_71 (team VARCHAR, previous_team VARCHAR, pos VARCHAR)
Question: Which Team has a Previous team of san diego rockets, and a Position of f?
Here is the SQLite q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (date VARCHAR, surface VARCHAR, result VARCHAR)
Question: what is the date when the surface is clay and the result is 6β7 (4β7) , 1β6?
[/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_99 (date VARCHAR, surface VARCHAR, result VARCHAR)
Question: what is the date when the surface is clay and the result is 6β7 (4β7) , 1β6?
Here is the SQLite q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (losses VARCHAR, against VARCHAR, byes VARCHAR)
Question: Which Losses has an Against of 1101, and a Byes smaller than 0?
[/INST]
Here is the SQLite q... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (losses VARCHAR, against VARCHAR, byes VARCHAR)
Question: Which Losses has an Against of 1101, and a Byes smaller than 0?
Here is the SQLite query to answe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23793770_2 (title VARCHAR, total_viewers__in_millions_ VARCHAR)
Question: What was the name of the show that had 10.47 million total viewers?
[/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_23793770_2 (title VARCHAR, total_viewers__in_millions_ VARCHAR)
Question: What was the name of the show that had 10.47 million total viewers?
Here is the SQLite qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (number_of_seats INTEGER, current_status VARCHAR, quantity VARCHAR)
Question: What is the smallest number of seats in a vehicle currently retired and ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (number_of_seats INTEGER, current_status VARCHAR, quantity VARCHAR)
Question: What is the smallest number of seats in a vehicle currently retired and in qua... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (drawn VARCHAR, losing_bonus VARCHAR, played VARCHAR, points_against VARCHAR)
Question: For the club that had 453 points against, losing bonus of 5 an... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (drawn VARCHAR, losing_bonus VARCHAR, played VARCHAR, points_against VARCHAR)
Question: For the club that had 453 points against, losing bonus of 5 and play... | bugdaryan/sql-create-context-instruction | |
[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, date VARCHAR)
Question: What was the venue for the game on 18/03/2006?
[/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_28 (venue VARCHAR, date VARCHAR)
Question: What was the venue for the game on 18/03/2006?
Here is the SQLite query to answer to the question: What was the ven... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18278508_4 (status VARCHAR, main_contestant VARCHAR, date_performed VARCHAR)
Question: Name the status for karanvir bohra and date performed being july 30
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18278508_4 (status VARCHAR, main_contestant VARCHAR, date_performed VARCHAR)
Question: Name the status for karanvir bohra and date performed being july 30
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_2538117_12 (letters VARCHAR, founding_date VARCHAR)
Question: How many letters were given to the organization with a founding date of 1997-12-12?
[/INST]
Her... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2538117_12 (letters VARCHAR, founding_date VARCHAR)
Question: How many letters were given to the organization with a founding date of 1997-12-12?
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_50 (position VARCHAR, pick VARCHAR)
Question: WHAT POSITION HAS A 23 PICK?
[/INST]
Here is the SQLite query to answer to the question: WHAT POSITION HAS ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (position VARCHAR, pick VARCHAR)
Question: WHAT POSITION HAS A 23 PICK?
Here is the SQLite query to answer to the question: WHAT POSITION HAS A 23 PICK?:
`... | bugdaryan/sql-create-context-instruction | |
[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 (date_s__released VARCHAR, democratic_alternative VARCHAR, labour VARCHAR)
Question: Which date released had a Democratic Alternative value of 1% and ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (date_s__released VARCHAR, democratic_alternative VARCHAR, labour VARCHAR)
Question: Which date released had a Democratic Alternative value of 1% and Labour... | bugdaryan/sql-create-context-instruction | |
[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 (capacity__mw_ VARCHAR, notes VARCHAR)
Question: What is the total capacity (MW) of the farm that is noted as being under construction?
[/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_17 (capacity__mw_ VARCHAR, notes VARCHAR)
Question: What is the total capacity (MW) of the farm that is noted as being under construction?
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 Addresses (zip_postcode VARCHAR, city VARCHAR)
Question: What is the zip code of the address in the city Port Chelsea?
[/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 Addresses (zip_postcode VARCHAR, city VARCHAR)
Question: What is the zip code of the address in the city Port Chelsea?
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_30 (score VARCHAR, to_par VARCHAR, player VARCHAR)
Question: Which Score has a To par of β4, and a Player of duffy waldorf?
[/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_30 (score VARCHAR, to_par VARCHAR, player VARCHAR)
Question: Which Score has a To par of β4, and a Player of duffy waldorf?
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_57 (tournament VARCHAR, date VARCHAR)
Question: Which tournament was held on 9 Jun 2002?
[/INST]
Here is the SQLite query to answer to the question: Whic... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (tournament VARCHAR, date VARCHAR)
Question: Which tournament was held on 9 Jun 2002?
Here is the SQLite query to answer to the question: Which tournament ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE enroll (class_code VARCHAR); CREATE TABLE department (dept_code VARCHAR, dept_name VARCHAR); CREATE TABLE course (crs_code VARCHAR, dept_code VARCHAR); CREATE TABLE CLAS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE enroll (class_code VARCHAR); CREATE TABLE department (dept_code VARCHAR, dept_name VARCHAR); CREATE TABLE course (crs_code VARCHAR, dept_code VARCHAR); CREATE TABLE CLASS (cla... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (away_team VARCHAR, venue VARCHAR)
Question: What was the away score when they played at Brunswick Street Oval?
[/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_92 (away_team VARCHAR, venue VARCHAR)
Question: What was the away score when they played at Brunswick Street Oval?
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_254234_1 (areaΒ³ INTEGER, densityΒ² VARCHAR)
Question: What is the area of the province with a density of 533.59?
[/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_254234_1 (areaΒ³ INTEGER, densityΒ² VARCHAR)
Question: What is the area of the province with a density of 533.59?
Here is the SQLite query to answer to the question:... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (driver VARCHAR, laps VARCHAR, team VARCHAR)
Question: Which driver had less than 65 laps for Sigma Autosport?
[/INST]
Here is the SQLite query to ans... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (driver VARCHAR, laps VARCHAR, team VARCHAR)
Question: Which driver had less than 65 laps for Sigma Autosport?
Here is the SQLite query to answer to the qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20246201_9 (states___first_place VARCHAR, office VARCHAR)
Question: How many states-first place are there for the office of Governor?
[/INST]
Here is the SQLi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20246201_9 (states___first_place VARCHAR, office VARCHAR)
Question: How many states-first place are there for the office of Governor?
Here is the SQLite query to a... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (laps INTEGER, grid VARCHAR, time_retired VARCHAR)
Question: What is the lap total for the grid under 15 that retired due to transmission?
[/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_65 (laps INTEGER, grid VARCHAR, time_retired VARCHAR)
Question: What is the lap total for the grid under 15 that retired due to transmission?
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_39 (season VARCHAR, games VARCHAR)
Question: What season has a Games listed of 10?
[/INST]
Here is the SQLite query to answer to the question: What seaso... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (season VARCHAR, games VARCHAR)
Question: What season has a Games listed of 10?
Here is the SQLite query to answer to the question: What season has a Games... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19852975_3 (season__number INTEGER, arties_disguises VARCHAR)
Question: Name the season number for herr ostropolyer, pastry chef
[/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_19852975_3 (season__number INTEGER, arties_disguises VARCHAR)
Question: Name the season number for herr ostropolyer, pastry chef
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_11 (area__kmΒ²_ VARCHAR, gdp_per_capita__us$_ VARCHAR)
Question: What is the area of the nation with GDP per capita (US$) of 11,929?
[/INST]
Here is the S... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (area__kmΒ²_ VARCHAR, gdp_per_capita__us$_ VARCHAR)
Question: What is the area of the nation with GDP per capita (US$) of 11,929?
Here is the SQLite query t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (winning_team VARCHAR, site VARCHAR, date VARCHAR)
Question: Which winning team has Iowa city as the site, and december 3, 2006 as the 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_name_42 (winning_team VARCHAR, site VARCHAR, date VARCHAR)
Question: Which winning team has Iowa city as the site, and december 3, 2006 as the 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_70 (total INTEGER, silver INTEGER)
Question: Name the Total which has a Silver larger than 19?
[/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_70 (total INTEGER, silver INTEGER)
Question: Name the Total which has a Silver larger than 19?
Here is the SQLite query to answer to the question: Name the 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 Student_Course_Enrolment (student_id VARCHAR); CREATE TABLE Students (middle_name VARCHAR, student_id VARCHAR)
Question: Find the student ID and middle name for all... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Student_Course_Enrolment (student_id VARCHAR); CREATE TABLE Students (middle_name VARCHAR, student_id VARCHAR)
Question: Find the student ID and middle name for all 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 competition (Competition_type VARCHAR)
Question: List the most common type of competition.
[/INST]
Here is the SQLite query to answer to the question: List the most... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE competition (Competition_type VARCHAR)
Question: List the most common type of competition.
Here is the SQLite query to answer to the question: List the most common type ... | bugdaryan/sql-create-context-instruction | |
[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 (away_team VARCHAR, home_team VARCHAR)
Question: What was the opponent of the home team of essendon?
[/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_47 (away_team VARCHAR, home_team VARCHAR)
Question: What was the opponent of the home team of essendon?
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_24 (pick__number INTEGER, name VARCHAR, overall VARCHAR)
Question: Which highest pick number had Akeem Dent as a name and where the overall was less than... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (pick__number INTEGER, name VARCHAR, overall VARCHAR)
Question: Which highest pick number had Akeem Dent as a name and where the overall was less than 91?
... | bugdaryan/sql-create-context-instruction | |
[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 (crowd INTEGER, home_team VARCHAR)
Question: How many people were in the crowd at collingwood's home game?
[/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_46 (crowd INTEGER, home_team VARCHAR)
Question: How many people were in the crowd at collingwood's home game?
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 Ref_document_types (document_type_code VARCHAR, document_type_name VARCHAR)
Question: List all document type codes and document type names.
[/INST]
Here is the SQLi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Ref_document_types (document_type_code VARCHAR, document_type_name VARCHAR)
Question: List all document type codes and document type names.
Here is the SQLite query to a... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20693870_1 (others_percentage VARCHAR, mccain_percentage VARCHAR, mccain_number VARCHAR)
Question: What percentage was the others vote when McCain had 52.9% a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20693870_1 (others_percentage VARCHAR, mccain_percentage VARCHAR, mccain_number VARCHAR)
Question: What percentage was the others vote when McCain had 52.9% and les... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17325580_6 (location_attendance VARCHAR, date VARCHAR)
Question: What is every location attendance on the date December 12?
[/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_17325580_6 (location_attendance VARCHAR, date VARCHAR)
Question: What is every location attendance on the date December 12?
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_82 (annual_interchanges__millions__2011_12 INTEGER, railway_station VARCHAR)
Question: What's the highest annual interchange for wimbledon railway statio... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (annual_interchanges__millions__2011_12 INTEGER, railway_station VARCHAR)
Question: What's the highest annual interchange for wimbledon railway station?
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_27 (attendance INTEGER, venue VARCHAR, round VARCHAR)
Question: What is the lowest attendance at Venue H in Round R2?
[/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_27 (attendance INTEGER, venue VARCHAR, round VARCHAR)
Question: What is the lowest attendance at Venue H in Round R2?
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_21 (constructor VARCHAR, race VARCHAR)
Question: Who was the Constructor at the Argentine Grand Prix?
[/INST]
Here is the SQLite query to answer to the q... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (constructor VARCHAR, race VARCHAR)
Question: Who was the Constructor at the Argentine Grand Prix?
Here is the SQLite query to answer to the question: Who ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (score VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR)
Question: Can you tell me the Score that has the Country of united states, and the Pla... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (score VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR)
Question: Can you tell me the Score that has the Country of united states, and the Place 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_43 (week VARCHAR, attendance VARCHAR)
Question: which week had an attendance of 53,677?
[/INST]
Here is the SQLite query to answer to the question: which... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (week VARCHAR, attendance VARCHAR)
Question: which week had an attendance of 53,677?
Here is the SQLite query to answer to the question: which week had an ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (year INTEGER, work VARCHAR, award VARCHAR)
Question: Which Year is the highest one that has a Work of the clone, and an Award of contigo award?
[/INST... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (year INTEGER, work VARCHAR, award VARCHAR)
Question: Which Year is the highest one that has a Work of the clone, and an Award of contigo award?
Here is the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (home VARCHAR, record VARCHAR)
Question: What is the home of the team with a 16-8 record?
[/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_81 (home VARCHAR, record VARCHAR)
Question: What is the home of the team with a 16-8 record?
Here is the SQLite query to answer to the question: What is the 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_20 (bike VARCHAR, grid VARCHAR)
Question: What bike has 26 as the grid?
[/INST]
Here is the SQLite query to answer to the question: What bike has 26 as 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 (bike VARCHAR, grid VARCHAR)
Question: What bike has 26 as the grid?
Here is the SQLite query to answer to the question: What bike has 26 as the grid?:
```... | bugdaryan/sql-create-context-instruction | |
[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 (season VARCHAR, club VARCHAR)
Question: In what season was there a club of South Melbourne?
[/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_75 (season VARCHAR, club VARCHAR)
Question: In what season was there a club of South Melbourne?
Here is the SQLite query to answer to the question: In what se... | bugdaryan/sql-create-context-instruction | |
[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 (innings INTEGER, runs VARCHAR, matches VARCHAR)
Question: What is the largest number of innings with less than 342 runs and more than 4 matches?
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (innings INTEGER, runs VARCHAR, matches VARCHAR)
Question: What is the largest number of innings with less than 342 runs and more than 4 matches?
Here is t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (length_fuel VARCHAR, quantity VARCHAR)
Question: What is the Length/Fuel of the bus with a Quantity of 30?
[/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_22 (length_fuel VARCHAR, quantity VARCHAR)
Question: What is the Length/Fuel of the bus with a Quantity of 30?
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_65 (to_par VARCHAR, player VARCHAR)
Question: What is To Par, when Player is Greg Norman?
[/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_65 (to_par VARCHAR, player VARCHAR)
Question: What is To Par, when Player is Greg Norman?
Here is the SQLite query to answer to the question: What is To Par, ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (pick INTEGER, player VARCHAR, round VARCHAR)
Question: Zack Jordan has the lowest pick and a round of less than 28?
[/INST]
Here is the SQLite query ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (pick INTEGER, player VARCHAR, round VARCHAR)
Question: Zack Jordan has the lowest pick and a round of less than 28?
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_94 (date VARCHAR, opponent_in_final VARCHAR)
Question: What date has the opponent competing in the final of john mcenroe?
[/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_94 (date VARCHAR, opponent_in_final VARCHAR)
Question: What date has the opponent competing in the final of john mcenroe?
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_78 (award VARCHAR, director_s_ VARCHAR)
Question: Name the award for candida scott knight
[/INST]
Here is the SQLite query to answer to the question: Nam... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (award VARCHAR, director_s_ VARCHAR)
Question: Name the award for candida scott knight
Here is the SQLite query to answer to the question: Name the award f... | bugdaryan/sql-create-context-instruction | |
[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 (first_elected VARCHAR, incumbent VARCHAR)
Question: What is the total of the first elected year of incumbent norm dicks?
[/INST]
Here is the SQLite q... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (first_elected VARCHAR, incumbent VARCHAR)
Question: What is the total of the first elected year of incumbent norm dicks?
Here is the SQLite query to answe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25840200_1 (titles VARCHAR, notes VARCHAR)
Question: What was the title for the Undercard of Stevenson/Bellew?
[/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_25840200_1 (titles VARCHAR, notes VARCHAR)
Question: What was the title for the Undercard of Stevenson/Bellew?
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_79 (date__to_ VARCHAR, date__from_ VARCHAR)
Question: Which date has date started from 30 Sep 1913?
[/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_79 (date__to_ VARCHAR, date__from_ VARCHAR)
Question: Which date has date started from 30 Sep 1913?
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 table_21632864_1 (champions VARCHAR, third_place VARCHAR)
Question: who got the first position when Ehime Shimanami got the third position?
[/INST]
Here is the SQL... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21632864_1 (champions VARCHAR, third_place VARCHAR)
Question: who got the first position when Ehime Shimanami got the third position?
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_80 (date VARCHAR, tie_no VARCHAR)
Question: on what date was tie number 4?
[/INST]
Here is the SQLite query to answer to the question: on 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_name_80 (date VARCHAR, tie_no VARCHAR)
Question: on what date was tie number 4?
Here is the SQLite query to answer to the question: on what date was tie number 4?:... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (points INTEGER, draw VARCHAR, jury VARCHAR, artist VARCHAR)
Question: Jury larger than 6, and a Artist of zhenya rasskazova, and a Draw larger than 9... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (points INTEGER, draw VARCHAR, jury VARCHAR, artist VARCHAR)
Question: Jury larger than 6, and a Artist of zhenya rasskazova, and a Draw larger than 9 had 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_17355820_1 (title VARCHAR, season__number VARCHAR)
Question: How many episodes were there in season 19?
[/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_17355820_1 (title VARCHAR, season__number VARCHAR)
Question: How many episodes were there in season 19?
Here is the SQLite query to answer to the question: How man... | bugdaryan/sql-create-context-instruction | |
[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 (notable_for VARCHAR, connection_with_australia VARCHAR, name VARCHAR)
Question: What is the person born in Australia, rick springfield notable for?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (notable_for VARCHAR, connection_with_australia VARCHAR, name VARCHAR)
Question: What is the person born in Australia, rick springfield notable for?
Here 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_18600760_8 (latitude VARCHAR, geo_id VARCHAR)
Question: Name the latitude for 3809935740
[/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_18600760_8 (latitude VARCHAR, geo_id VARCHAR)
Question: Name the latitude for 3809935740
Here is the SQLite query to answer to the question: Name the latitude 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_1 (year INTEGER, date VARCHAR)
Question: What is the sum of the year for 5 february?
[/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_1 (year INTEGER, date VARCHAR)
Question: What is the sum of the year for 5 february?
Here is the SQLite query to answer to the question: What is the sum of 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_29218221_2 (rider VARCHAR, fri_3_june VARCHAR)
Question: Who was the rider with a Fri 3 June time of 18' 19.68 123.516mph?
[/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_29218221_2 (rider VARCHAR, fri_3_june VARCHAR)
Question: Who was the rider with a Fri 3 June time of 18' 19.68 123.516mph?
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_7 (league INTEGER, total VARCHAR)
Question: What is the sum of the value "League Cup", when the Total is less than 1, and when the League is less than 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 (league INTEGER, total VARCHAR)
Question: What is the sum of the value "League Cup", when the Total is less than 1, and when the League is less than 0?
Here... | bugdaryan/sql-create-context-instruction |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.