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 Has_allergy (StuID VARCHAR); CREATE TABLE Student (StuID VARCHAR)
Question: What are the student ids of students who don't have any allergies?
[/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 Has_allergy (StuID VARCHAR); CREATE TABLE Student (StuID VARCHAR)
Question: What are the student ids of students who don't have any allergies?
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_56 (opposition VARCHAR, stadium VARCHAR, attendance VARCHAR)
Question: Who's the opposition at westpac stadium when the attendance is 31,853?
[/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_56 (opposition VARCHAR, stadium VARCHAR, attendance VARCHAR)
Question: Who's the opposition at westpac stadium when the attendance is 31,853?
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_15 (time VARCHAR, event VARCHAR)
Question: Which Time has an Event of call to arms i?
[/INST]
Here is the SQLite query to answer to the question: Which T... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (time VARCHAR, event VARCHAR)
Question: Which Time has an Event of call to arms i?
Here is the SQLite query to answer to the question: Which Time has an Ev... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (date VARCHAR, time VARCHAR)
Question: What date did a game have a time of 3:44?
[/INST]
Here is the SQLite query to answer to the question: What date... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (date VARCHAR, time VARCHAR)
Question: What date did a game have a time of 3:44?
Here is the SQLite query to answer to the question: What date did a game 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_11 (school VARCHAR, location VARCHAR)
Question: What school is in Ligonier?
[/INST]
Here is the SQLite query to answer to the question: What school is in... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (school VARCHAR, location VARCHAR)
Question: What school is in Ligonier?
Here is the SQLite query to answer to the question: What school is in Ligonier?:
`... | bugdaryan/sql-create-context-instruction | |
[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 (callsign VARCHAR, on_air_id VARCHAR)
Question: What is 4zr's callsign?
[/INST]
Here is the SQLite query to answer to the question: What is 4zr's call... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (callsign VARCHAR, on_air_id VARCHAR)
Question: What is 4zr's callsign?
Here is the SQLite query to answer to the question: What is 4zr's callsign?:
```
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_76 (constructor VARCHAR, rider VARCHAR)
Question: Who was Constructor for rider Marco Melandri?
[/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_76 (constructor VARCHAR, rider VARCHAR)
Question: Who was Constructor for rider Marco Melandri?
Here is the SQLite query to answer to the question: Who was 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_41 (competition VARCHAR, venue VARCHAR, result VARCHAR)
Question: What Away Competition had a Result of lost 2-4?
[/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_41 (competition VARCHAR, venue VARCHAR, result VARCHAR)
Question: What Away Competition had a Result of lost 2-4?
Here is the SQLite query to answer to the qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (player VARCHAR, cfl_team VARCHAR)
Question: which player played on Team Hamilton?
[/INST]
Here is the SQLite query to answer to the question: which p... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (player VARCHAR, cfl_team VARCHAR)
Question: which player played on Team Hamilton?
Here is the SQLite query to answer to the question: which player played ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23394920_1 (station_type VARCHAR, callsign VARCHAR)
Question: When dxcc-tv is the call sign how many station types are there?
[/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_23394920_1 (station_type VARCHAR, callsign VARCHAR)
Question: When dxcc-tv is the call sign how many station types are there?
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_83 (attendance VARCHAR, date VARCHAR)
Question: How many were in Attendance on the Date May 29?
[/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_83 (attendance VARCHAR, date VARCHAR)
Question: How many were in Attendance on the Date May 29?
Here is the SQLite query to answer to the question: How many 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_78 (points VARCHAR, game VARCHAR, january VARCHAR)
Question: Name the total number of points for 44 game and january more than 15
[/INST]
Here is the SQL... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (points VARCHAR, game VARCHAR, january VARCHAR)
Question: Name the total number of points for 44 game and january more than 15
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_4 (publisher VARCHAR, title VARCHAR)
Question: Which publisher has Far Cry as the title?
[/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_4 (publisher VARCHAR, title VARCHAR)
Question: Which publisher has Far Cry as the title?
Here is the SQLite query to answer to the question: Which publisher 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_9 (cup_goals INTEGER, league_apps INTEGER)
Question: How many cup goals for the season with more than 34 league apps?
[/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_9 (cup_goals INTEGER, league_apps INTEGER)
Question: How many cup goals for the season with more than 34 league apps?
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_2 (country VARCHAR, place VARCHAR, player VARCHAR)
Question: Which Country has a Place of t10, and a Player of tony jacklin?
[/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_2 (country VARCHAR, place VARCHAR, player VARCHAR)
Question: Which Country has a Place of t10, and a Player of tony jacklin?
Here is the SQLite query to answe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (surface VARCHAR, championship VARCHAR, outcome VARCHAR)
Question: What surface has indian wells as the championship, with winner as the outcome?
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (surface VARCHAR, championship VARCHAR, outcome VARCHAR)
Question: What surface has indian wells as the championship, with winner as the outcome?
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_53 (attendance VARCHAR, record VARCHAR)
Question: What was the attendance for the game that has a record of 1-1?
[/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 (attendance VARCHAR, record VARCHAR)
Question: What was the attendance for the game that has a record of 1-1?
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_19850806_3 (winning_driver VARCHAR, winning_team VARCHAR)
Question: How many winning drivers are there when the winning team is Bryan herta autosport?
[/INST]... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19850806_3 (winning_driver VARCHAR, winning_team VARCHAR)
Question: How many winning drivers are there when the winning team is Bryan herta autosport?
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_1272844_2 (reward VARCHAR, finish VARCHAR)
Question: Who received the reward on the episode where the finish was "3rd voted out day 8"?
[/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_1272844_2 (reward VARCHAR, finish VARCHAR)
Question: Who received the reward on the episode where the finish was "3rd voted out day 8"?
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 CHARACTERISTICS (characteristic_id VARCHAR, characteristic_name VARCHAR); CREATE TABLE ref_colors (color_code VARCHAR, color_description VARCHAR); CREATE TABLE products ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE CHARACTERISTICS (characteristic_id VARCHAR, characteristic_name VARCHAR); CREATE TABLE ref_colors (color_code VARCHAR, color_description VARCHAR); CREATE TABLE products (produ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21458142_1 (total_copies_sold VARCHAR, release_date VARCHAR)
Question: How many copies were sold of the game released on october 23, 2008?
[/INST]
Here is the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21458142_1 (total_copies_sold VARCHAR, release_date VARCHAR)
Question: How many copies were sold of the game released on october 23, 2008?
Here is the SQLite query... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (date VARCHAR, region VARCHAR)
Question: What is the release Date for the New Zealand Region?
[/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_16 (date VARCHAR, region VARCHAR)
Question: What is the release Date for the New Zealand Region?
Here is the SQLite query to answer to the question: What 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_71 (trainer VARCHAR, year VARCHAR)
Question: Who was the trainer in 2013?
[/INST]
Here is the SQLite query to answer to the question: Who was the trainer... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (trainer VARCHAR, year VARCHAR)
Question: Who was the trainer in 2013?
Here is the SQLite query to answer to the question: Who was the trainer in 2013?:
``... | bugdaryan/sql-create-context-instruction | |
[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 (track INTEGER, song_title VARCHAR)
Question: Name the least track with song of little sister
[/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_67 (track INTEGER, song_title VARCHAR)
Question: Name the least track with song of little sister
Here is the SQLite query to answer to the question: Name 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_47 (gold INTEGER, nation VARCHAR, silver VARCHAR)
Question: Count the average Gold which has a Nation of sweden, and a Silver larger than 1?
[/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_47 (gold INTEGER, nation VARCHAR, silver VARCHAR)
Question: Count the average Gold which has a Nation of sweden, and a Silver larger than 1?
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_13 (visitor VARCHAR, date VARCHAR)
Question: Who is the visitor of the match on July 29?
[/INST]
Here is the SQLite query to answer to the question: Who ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (visitor VARCHAR, date VARCHAR)
Question: Who is the visitor of the match on July 29?
Here is the SQLite query to answer to the question: Who is the visito... | bugdaryan/sql-create-context-instruction | |
[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 (nation VARCHAR, silver VARCHAR, total VARCHAR, gold VARCHAR, bronze VARCHAR)
Question: Which Nation has a Gold larger than 0, and a Bronze smaller th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (nation VARCHAR, silver VARCHAR, total VARCHAR, gold VARCHAR, bronze VARCHAR)
Question: Which Nation has a Gold larger than 0, and a Bronze smaller than 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_name_76 (grid INTEGER, laps VARCHAR, manufacturer VARCHAR)
Question: If the manufacturer is Yamaha, and the laps driven were under 32, what's the average of a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (grid INTEGER, laps VARCHAR, manufacturer VARCHAR)
Question: If the manufacturer is Yamaha, and the laps driven were under 32, what's the average of all gri... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Apartment_Bookings (booking_start_date VARCHAR, booking_end_date VARCHAR)
Question: Show the start dates and end dates of all the apartment bookings.
[/INST]
Here i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Apartment_Bookings (booking_start_date VARCHAR, booking_end_date VARCHAR)
Question: Show the start dates and end dates of all the apartment bookings.
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_14929574_3 (us_viewers__million_ VARCHAR, directed_by VARCHAR)
Question: How many viewers did the episode directed by David Nutter draw in?
[/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_14929574_3 (us_viewers__million_ VARCHAR, directed_by VARCHAR)
Question: How many viewers did the episode directed by David Nutter draw in?
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_44 (position VARCHAR, team VARCHAR, player VARCHAR)
Question: WHAT IS THE POSITION WITH BOSTON RED SOX FOR COREY JENKINS?
[/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_44 (position VARCHAR, team VARCHAR, player VARCHAR)
Question: WHAT IS THE POSITION WITH BOSTON RED SOX FOR COREY JENKINS?
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_66 (time VARCHAR, lane VARCHAR)
Question: How much total time was in lane 4?
[/INST]
Here is the SQLite query to answer to the question: How much total t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (time VARCHAR, lane VARCHAR)
Question: How much total time was in lane 4?
Here is the SQLite query to answer to the question: How much total time was in la... | bugdaryan/sql-create-context-instruction | |
[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 (home_team VARCHAR, tie_no VARCHAR)
Question: WHAT IS THE HOME TEAM WITH A TIE NUMBER OF 7?
[/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_52 (home_team VARCHAR, tie_no VARCHAR)
Question: WHAT IS THE HOME TEAM WITH A TIE NUMBER OF 7?
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_58 (venue VARCHAR, year VARCHAR, home_team VARCHAR)
Question: What is the Venue of the 2009 St. Louis Rams Home game?
[/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_58 (venue VARCHAR, year VARCHAR, home_team VARCHAR)
Question: What is the Venue of the 2009 St. Louis Rams Home game?
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_10 (record VARCHAR, score VARCHAR)
Question: What is the record for the game with a score of 7–5?
[/INST]
Here is the SQLite query to answer to the quest... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (record VARCHAR, score VARCHAR)
Question: What is the record for the game with a score of 7–5?
Here is the SQLite query to answer to the question: What is ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (date VARCHAR, opponent VARCHAR)
Question: What day was the opponent Austria?
[/INST]
Here is the SQLite query to answer to the question: What day was ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (date VARCHAR, opponent VARCHAR)
Question: What day was the opponent Austria?
Here is the SQLite query to answer to the question: What day was the opponent ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE bank (branch_id VARCHAR, state VARCHAR); CREATE TABLE loan (amount INTEGER, branch_id VARCHAR)
Question: Find the total amount of loans provided by bank branches in... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE bank (branch_id VARCHAR, state VARCHAR); CREATE TABLE loan (amount INTEGER, branch_id VARCHAR)
Question: Find the total amount of loans provided by bank branches in 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_1 (time VARCHAR, date VARCHAR)
Question: Date of october 8 happened at what time?
[/INST]
Here is the SQLite query to answer to the question: Date of oct... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (time VARCHAR, date VARCHAR)
Question: Date of october 8 happened at what time?
Here is the SQLite query to answer to the question: Date of october 8 happen... | bugdaryan/sql-create-context-instruction | |
[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 (party VARCHAR, representative VARCHAR)
Question: Which party did Thomas L. Young belong to?
[/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_58 (party VARCHAR, representative VARCHAR)
Question: Which party did Thomas L. Young belong to?
Here is the SQLite query to answer to the question: Which part... | bugdaryan/sql-create-context-instruction | |
[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 (pick VARCHAR, name VARCHAR, round VARCHAR)
Question: WHAT PICK HAD STEVE HAMILTON IN ROUND LARGER THAN 2?
[/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_30 (pick VARCHAR, name VARCHAR, round VARCHAR)
Question: WHAT PICK HAD STEVE HAMILTON IN ROUND LARGER THAN 2?
Here is the SQLite query to answer to the questi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (date VARCHAR, points VARCHAR, visitor VARCHAR)
Question: On what date does visiting team Minnesota score higher than 47 points?
[/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_34 (date VARCHAR, points VARCHAR, visitor VARCHAR)
Question: On what date does visiting team Minnesota score higher than 47 points?
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_20726262_4 (no_in_series INTEGER, production_code VARCHAR)
Question: what i the maximum number in the series where the production code is 3wab07?
[/INST]
Here... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20726262_4 (no_in_series INTEGER, production_code VARCHAR)
Question: what i the maximum number in the series where the production code is 3wab07?
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_60 (poles INTEGER, season INTEGER)
Question: What is the lowest Poles with a Season that is larger than 2009?
[/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_60 (poles INTEGER, season INTEGER)
Question: What is the lowest Poles with a Season that is larger than 2009?
Here is the SQLite query to answer to the questi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (finish VARCHAR, to_par VARCHAR, year_s__won VARCHAR)
Question: What is Finish, when To Par is greater than 6, and when Year(s) Won is before 1961?
[/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (finish VARCHAR, to_par VARCHAR, year_s__won VARCHAR)
Question: What is Finish, when To Par is greater than 6, and when Year(s) Won is before 1961?
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_1977630_2 (él___ella___usted VARCHAR, vos__ VARCHAR, _ VARCHAR)
Question: What us the conjucated form(s) of el/ella/ usted when the Vos (*) is muelas / mol... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1977630_2 (él___ella___usted VARCHAR, vos__ VARCHAR, _ VARCHAR)
Question: What us the conjucated form(s) of el/ella/ usted when the Vos (*) is muelas / molás?
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_66 (wins INTEGER, rank VARCHAR, country VARCHAR, player VARCHAR)
Question: Which Wins is the highest one that has a Country of united states, and a Playe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (wins INTEGER, rank VARCHAR, country VARCHAR, player VARCHAR)
Question: Which Wins is the highest one that has a Country of united states, and a Player of 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_78 (result VARCHAR, date VARCHAR)
Question: What was the result of the match on December 9, 1962?
[/INST]
Here is the SQLite query to answer to the quest... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (result VARCHAR, date VARCHAR)
Question: What was the result of the match on December 9, 1962?
Here is the SQLite query to answer to the question: What was... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2679061_9 (nationality VARCHAR, pick__number VARCHAR)
Question: What was the nationality of player picked no. 168?
[/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_2679061_9 (nationality VARCHAR, pick__number VARCHAR)
Question: What was the nationality of player picked no. 168?
Here is the SQLite query to answer to the questi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (lane VARCHAR, name VARCHAR)
Question: What lane was Emily Seebohm in?
[/INST]
Here is the SQLite query to answer to the question: What lane was Emily ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (lane VARCHAR, name VARCHAR)
Question: What lane was Emily Seebohm in?
Here is the SQLite query to answer to the question: What lane was Emily Seebohm 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_14925084_1 (population_1891 VARCHAR, area_1891__statute_acres_ VARCHAR)
Question: Name the population 1891 for area being 175836
[/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_14925084_1 (population_1891 VARCHAR, area_1891__statute_acres_ VARCHAR)
Question: Name the population 1891 for area being 175836
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_49 (city VARCHAR, july VARCHAR)
Question: In what city is the July temperature 23/9°c (73/48°f)?
[/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_49 (city VARCHAR, july VARCHAR)
Question: In what city is the July temperature 23/9°c (73/48°f)?
Here is the SQLite query to answer to the question: In what c... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (bronze INTEGER, gold VARCHAR, total VARCHAR, silver VARCHAR)
Question: How many bronze medals has a total less than 3 with a silver less than 1 and g... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (bronze INTEGER, gold VARCHAR, total VARCHAR, silver VARCHAR)
Question: How many bronze medals has a total less than 3 with a silver less than 1 and gold mo... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17881033_1 (division_southwest VARCHAR, division_east VARCHAR)
Question: how many division southwest was there when division east was babi
[/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_17881033_1 (division_southwest VARCHAR, division_east VARCHAR)
Question: how many division southwest was there when division east was babi
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_76 (bsu_head_coach VARCHAR, opponent VARCHAR, year VARCHAR)
Question: Who is the BSU head coach of the tournament after 1994 with louisville as the oppon... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (bsu_head_coach VARCHAR, opponent VARCHAR, year VARCHAR)
Question: Who is the BSU head coach of the tournament after 1994 with louisville as the opponent?
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (tongyong VARCHAR, hanyu VARCHAR)
Question: Where in Tongyong is Hanyu Sanmin?
[/INST]
Here is the SQLite query to answer to the question: Where in To... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (tongyong VARCHAR, hanyu VARCHAR)
Question: Where in Tongyong is Hanyu Sanmin?
Here is the SQLite query to answer to the question: Where in Tongyong is Han... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23465864_5 (tues_25_aug VARCHAR, fri_28_aug VARCHAR)
Question: What is every value on Tuesday August 25 if August Friday 28 is 23' 54.54 94.684mph?
[/INST]
He... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23465864_5 (tues_25_aug VARCHAR, fri_28_aug VARCHAR)
Question: What is every value on Tuesday August 25 if August Friday 28 is 23' 54.54 94.684mph?
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_16886076_1 (coronie VARCHAR, marowijne VARCHAR)
Question: Name the coronie for marowijne being 6.8%
[/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_16886076_1 (coronie VARCHAR, marowijne VARCHAR)
Question: Name the coronie for marowijne being 6.8%
Here is the SQLite query to answer to the question: Name the co... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (races INTEGER, season VARCHAR, flaps VARCHAR)
Question: WHAT ARE THE RACES FOR 2010 WITH FLAPS LARGER THAN 6?
[/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_27 (races INTEGER, season VARCHAR, flaps VARCHAR)
Question: WHAT ARE THE RACES FOR 2010 WITH FLAPS LARGER THAN 6?
Here is the SQLite query to answer to the qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (home_team VARCHAR, venue VARCHAR)
Question: What is the home team's score at princes park?
[/INST]
Here is the SQLite query to answer to the question... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (home_team VARCHAR, venue VARCHAR)
Question: What is the home team's score at princes park?
Here is the SQLite query to answer to the question: What is the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17326036_5 (team VARCHAR, date VARCHAR)
Question: What team was the game on November 21 played against?
[/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_17326036_5 (team VARCHAR, date VARCHAR)
Question: What team was the game on November 21 played against?
Here is the SQLite query to answer to the question: What te... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23050383_1 (country VARCHAR)
Question: What is the 2008 rank of Djibouti?
[/INST]
Here is the SQLite query to answer to the question: What is the 2008 rank o... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23050383_1 (country VARCHAR)
Question: What is the 2008 rank of Djibouti?
Here is the SQLite query to answer to the question: What is the 2008 rank of Djibouti? :... | bugdaryan/sql-create-context-instruction | |
[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 (network VARCHAR, year VARCHAR)
Question: What's the network in 2011?
[/INST]
Here is the SQLite query to answer to the question: What's the network i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (network VARCHAR, year VARCHAR)
Question: What's the network in 2011?
Here is the SQLite query to answer to the question: What's the network in 2011?:
```
... | bugdaryan/sql-create-context-instruction | |
[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 (sideline_reporter_s_ VARCHAR, year VARCHAR, network VARCHAR, play_by_play VARCHAR)
Question: Who are the sideline reporter(s) on NBC with al michaels... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (sideline_reporter_s_ VARCHAR, year VARCHAR, network VARCHAR, play_by_play VARCHAR)
Question: Who are the sideline reporter(s) on NBC with al michaels on 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_8 (player VARCHAR, span VARCHAR)
Question: What is the player with a Span of 1998-2009?
[/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_8 (player VARCHAR, span VARCHAR)
Question: What is the player with a Span of 1998-2009?
Here is the SQLite query to answer to the question: What is the player... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2113721_7 (episodes INTEGER)
Question: What is the smallest number of episodes in a season?
[/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_2113721_7 (episodes INTEGER)
Question: What is the smallest number of episodes in a season?
Here is the SQLite query to answer to the question: What is the smalles... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17304308_1 (fin_pos VARCHAR, points VARCHAR, time_retired VARCHAR)
Question: Name the total number of fin pos for 12 points of accident
[/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_17304308_1 (fin_pos VARCHAR, points VARCHAR, time_retired VARCHAR)
Question: Name the total number of fin pos for 12 points of accident
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_66 (date VARCHAR, race_name VARCHAR)
Question: On what date was the I Dessau Autobahnspinne race?
[/INST]
Here is the SQLite query to answer to the quest... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (date VARCHAR, race_name VARCHAR)
Question: On what date was the I Dessau Autobahnspinne race?
Here is the SQLite query to answer to the question: On 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_32 (record VARCHAR, visitor VARCHAR, date VARCHAR)
Question: What is Record, when Visitor is "Chicago Black Hawks", and when Date is "April 17"?
[/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 (record VARCHAR, visitor VARCHAR, date VARCHAR)
Question: What is Record, when Visitor is "Chicago Black Hawks", and when Date is "April 17"?
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_83 (date VARCHAR, record VARCHAR)
Question: what team scored 65-87
[/INST]
Here is the SQLite query to answer to the question: what team scored 65-87:
``... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (date VARCHAR, record VARCHAR)
Question: what team scored 65-87
Here is the SQLite query to answer to the question: what team scored 65-87:
```
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_98 (_number_of_bids VARCHAR, conference VARCHAR)
Question: How many bids does Atlantic 10 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_name_98 (_number_of_bids VARCHAR, conference VARCHAR)
Question: How many bids does Atlantic 10 have?
Here is the SQLite query to answer to the question: How many b... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1341604_19 (incumbent VARCHAR, first_elected VARCHAR)
Question: Who's the incumbent in the district first elected in 1976?
[/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_1341604_19 (incumbent VARCHAR, first_elected VARCHAR)
Question: Who's the incumbent in the district first elected in 1976?
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_28019988_5 (series__number INTEGER)
Question: What is the highest numbered episode in the series?
[/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_28019988_5 (series__number INTEGER)
Question: What is the highest numbered episode in the series?
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_24489942_10 (rank VARCHAR, nationality VARCHAR)
Question: Name the rank for switzerland
[/INST]
Here is the SQLite query to answer to the question: Name the r... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24489942_10 (rank VARCHAR, nationality VARCHAR)
Question: Name the rank for switzerland
Here is the SQLite query to answer to the question: Name the rank for switz... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (wins INTEGER, points VARCHAR, year VARCHAR, class VARCHAR, team VARCHAR)
Question: What is the average wins in 250cc class for Bultaco with 8 points ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (wins INTEGER, points VARCHAR, year VARCHAR, class VARCHAR, team VARCHAR)
Question: What is the average wins in 250cc class for Bultaco with 8 points later ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25818630_1 (result___votes INTEGER, loss_gain VARCHAR)
Question: What is the largest vote result if loss/gain is -0.5%?
[/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_25818630_1 (result___votes INTEGER, loss_gain VARCHAR)
Question: What is the largest vote result if loss/gain is -0.5%?
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_14903491_1 (mens_singles VARCHAR, mixed_doubles VARCHAR)
Question: Name the mens singles for jeliazko valkov dobrinka peneva
[/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_14903491_1 (mens_singles VARCHAR, mixed_doubles VARCHAR)
Question: Name the mens singles for jeliazko valkov dobrinka peneva
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_46 (opponent_in_the_final VARCHAR, date VARCHAR)
Question: Who was the opponent in the final on 5 July 1992?
[/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_46 (opponent_in_the_final VARCHAR, date VARCHAR)
Question: Who was the opponent in the final on 5 July 1992?
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_22897453_1 (kr_narayanan__values_ VARCHAR, states VARCHAR)
Question: Name the k. r. narayanan values for pondicherry
[/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_22897453_1 (kr_narayanan__values_ VARCHAR, states VARCHAR)
Question: Name the k. r. narayanan values for pondicherry
Here is the SQLite query to answer to the ques... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (place VARCHAR, artist VARCHAR, votes VARCHAR)
Question: How many places did the artist Big Hit have with less than 2934 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_name_21 (place VARCHAR, artist VARCHAR, votes VARCHAR)
Question: How many places did the artist Big Hit have with less than 2934 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_21091145_1 (black_knights_points VARCHAR, game VARCHAR)
Question: Name the number of black knights points for 3 game
[/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_21091145_1 (black_knights_points VARCHAR, game VARCHAR)
Question: Name the number of black knights points for 3 game
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_84 (Id VARCHAR)
Question: What's the 1994 if 1995 has a 1R?
[/INST]
Here is the SQLite query to answer to the question: What's the 1994 if 1995 has a 1R?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (Id VARCHAR)
Question: What's the 1994 if 1995 has a 1R?
Here is the SQLite query to answer to the question: What's the 1994 if 1995 has a 1R?:
```
SELECT ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (tie_no VARCHAR, home_team VARCHAR)
Question: What is home team Chelsea's Tie no?
[/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_83 (tie_no VARCHAR, home_team VARCHAR)
Question: What is home team Chelsea's Tie no?
Here is the SQLite query to answer to the question: What is home team Che... | bugdaryan/sql-create-context-instruction | |
[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 (organisation VARCHAR, award VARCHAR, year VARCHAR, result VARCHAR)
Question: What is the organisation in 2011 that was nominated and the award of best... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (organisation VARCHAR, award VARCHAR, year VARCHAR, result VARCHAR)
Question: What is the organisation in 2011 that was nominated and the award of best info-... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (score VARCHAR, date VARCHAR)
Question: What was the score of the game on June 1?
[/INST]
Here is the SQLite query to answer to the question: What was... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (score VARCHAR, date VARCHAR)
Question: What was the score of the game on June 1?
Here is the SQLite query to answer to the question: What was the score 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_51 (date VARCHAR, points VARCHAR)
Question: What is the date of the game with 62 points?
[/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_51 (date VARCHAR, points VARCHAR)
Question: What is the date of the game with 62 points?
Here is the SQLite query to answer to the question: What is the 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_16201038_4 (last_5_meetings VARCHAR, overall_record VARCHAR)
Question: How many times did the team achieve an overrall record of mu, 21-19?
[/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_16201038_4 (last_5_meetings VARCHAR, overall_record VARCHAR)
Question: How many times did the team achieve an overrall record of mu, 21-19?
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_11 (agg VARCHAR)
Question: What was the 1st leg of the match that had an aggregate of 4-3?
[/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_11 (agg VARCHAR)
Question: What was the 1st leg of the match that had an aggregate of 4-3?
Here is the SQLite query to answer to the question: What was the 1s... | bugdaryan/sql-create-context-instruction | |
[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 (against VARCHAR, played INTEGER)
Question: How many Against have Played smaller than 18?
[/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_54 (against VARCHAR, played INTEGER)
Question: How many Against have Played smaller than 18?
Here is the SQLite query to answer to the question: How many Agai... | bugdaryan/sql-create-context-instruction | |
[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 (icao VARCHAR, airport VARCHAR)
Question: What is the ICAO of Lohausen airport?
[/INST]
Here is the SQLite query to answer to the question: What is the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (icao VARCHAR, airport VARCHAR)
Question: What is the ICAO of Lohausen airport?
Here is the SQLite query to answer to the question: What is the ICAO of Loha... | bugdaryan/sql-create-context-instruction | |
[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 (loss VARCHAR, opponent VARCHAR, score VARCHAR)
Question: What's the loss of the game with the opponent of the Nationals with a score of 7-1?
[/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 (loss VARCHAR, opponent VARCHAR, score VARCHAR)
Question: What's the loss of the game with the opponent of the Nationals with a score of 7-1?
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_17001658_7 (score VARCHAR, game VARCHAR)
Question: How many scores are listed for game 37?
[/INST]
Here is the SQLite query to answer to the question: How man... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17001658_7 (score VARCHAR, game VARCHAR)
Question: How many scores are listed for game 37?
Here is the SQLite query to answer to the question: How many scores are ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1965650_10 (pick__number INTEGER, nhl_team VARCHAR)
Question: What is Boston Bruins minimum pick?
[/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_1965650_10 (pick__number INTEGER, nhl_team VARCHAR)
Question: What is Boston Bruins minimum pick?
Here is the SQLite query to answer to the question: What is Bosto... | bugdaryan/sql-create-context-instruction | |
[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 (place INTEGER, lost INTEGER)
Question: what is the average place when lost is more than 12?
[/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_13 (place INTEGER, lost INTEGER)
Question: what is the average place when lost is more than 12?
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_11960610_7 (team VARCHAR, date VARCHAR)
Question: What team were the Bulls hosted by on December 7?
[/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_11960610_7 (team VARCHAR, date VARCHAR)
Question: What team were the Bulls hosted by on December 7?
Here is the SQLite query to answer to the question: What team 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_20 (district VARCHAR, first_elected VARCHAR, incumbent VARCHAR)
Question: Which District has a First elected of 1856, and an Incumbent of william kellogg... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (district VARCHAR, first_elected VARCHAR, incumbent VARCHAR)
Question: Which District has a First elected of 1856, and an Incumbent of william kellogg?
Her... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21321804_1 (cfl_team VARCHAR, pick__number VARCHAR)
Question: How many clf teams have a pick # of 5?
[/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_21321804_1 (cfl_team VARCHAR, pick__number VARCHAR)
Question: How many clf teams have a pick # of 5?
Here is the SQLite query to answer to the question: How many 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_62 (score_in_the_final VARCHAR, surface VARCHAR, partner VARCHAR)
Question: Which Score in the final has a Surface of clay, and a Partner of martin emmri... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (score_in_the_final VARCHAR, surface VARCHAR, partner VARCHAR)
Question: Which Score in the final has a Surface of clay, and a Partner of martin emmrich?
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_3 (byes INTEGER, against VARCHAR, wins VARCHAR)
Question: What is the least amount of Byes when there are more than 2 wins and 1946 against?
[/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_3 (byes INTEGER, against VARCHAR, wins VARCHAR)
Question: What is the least amount of Byes when there are more than 2 wins and 1946 against?
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_17596418_4 (p VARCHAR, moving_from VARCHAR)
Question: What is the P for the player moving from Everton?
[/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_17596418_4 (p VARCHAR, moving_from VARCHAR)
Question: What is the P for the player moving from Everton?
Here is the SQLite query to answer to the question: What is... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (lead VARCHAR, skip VARCHAR)
Question: Which Lead has a Skip of mike mcewen?
[/INST]
Here is the SQLite query to answer to the question: Which Lead ha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (lead VARCHAR, skip VARCHAR)
Question: Which Lead has a Skip of mike mcewen?
Here is the SQLite query to answer to the question: Which Lead has a Skip of m... | 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.