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_50 (fatalities VARCHAR, country VARCHAR)
Question: How many fatalities does Italy have?
[/INST]
Here is the SQLite query to answer to the question: How m... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (fatalities VARCHAR, country VARCHAR)
Question: How many fatalities does Italy have?
Here is the SQLite query to answer to the question: How many fatalitie... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_175980_2 (season VARCHAR, finale VARCHAR)
Question: What seasons had a finale on May 25, 2004?
[/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_175980_2 (season VARCHAR, finale VARCHAR)
Question: What seasons had a finale on May 25, 2004?
Here is the SQLite query to answer to the question: What seasons had... | bugdaryan/sql-create-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 (advisor VARCHAR)
Question: Show all advisors and corresponding number of students.
[/INST]
Here is the SQLite query to answer to the question: Show all adv... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Student (advisor VARCHAR)
Question: Show all advisors and corresponding number of students.
Here is the SQLite query to answer to the question: Show all advisors and cor... | bugdaryan/sql-create-context-instruction | |
[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 (venue VARCHAR, date VARCHAR)
Question: What was the Venue on June 8, 2005?
[/INST]
Here is the SQLite query to answer to the question: What was the Ve... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (venue VARCHAR, date VARCHAR)
Question: What was the Venue on June 8, 2005?
Here is the SQLite query to answer to the question: What was the Venue on June 8... | bugdaryan/sql-create-context-instruction | |
[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 (home_team VARCHAR, away_team VARCHAR)
Question: What was the home teams score while playing the away team of south melbourne?
[/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_73 (home_team VARCHAR, away_team VARCHAR)
Question: What was the home teams score while playing the away team of south melbourne?
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_22297198_3 (replaced_by VARCHAR, date_of_vacancy VARCHAR)
Question: Who was the replacement manager for the vacancy of 12 Dec 2009?
[/INST]
Here is the SQLite... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22297198_3 (replaced_by VARCHAR, date_of_vacancy VARCHAR)
Question: Who was the replacement manager for the vacancy of 12 Dec 2009?
Here is the SQLite query to ans... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (heat INTEGER, time VARCHAR)
Question: What is the lowest heat number for a swimmer with a time of 2:34.94?
[/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_5 (heat INTEGER, time VARCHAR)
Question: What is the lowest heat number for a swimmer with a time of 2:34.94?
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_12113888_1 (built VARCHAR, number VARCHAR)
Question: What is the built data for number 34?
[/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_12113888_1 (built VARCHAR, number VARCHAR)
Question: What is the built data for number 34?
Here is the SQLite query to answer to the question: What is the built da... | bugdaryan/sql-create-context-instruction | |
[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 (score VARCHAR, away_team VARCHAR)
Question: What score has west ham united as the away team?
[/INST]
Here is the SQLite query to answer to the questi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (score VARCHAR, away_team VARCHAR)
Question: What score has west ham united as the away team?
Here is the SQLite query to answer to the question: What scor... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (team_1 VARCHAR, team_2 VARCHAR)
Question: What was the name of the Team 1, where the Team 2 was Stade De Reims (d2)?
[/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_93 (team_1 VARCHAR, team_2 VARCHAR)
Question: What was the name of the Team 1, where the Team 2 was Stade De Reims (d2)?
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_22123920_4 (dates__mdy_ VARCHAR, gross_sales VARCHAR)
Question: Which specific dates encompass the time period when "The Show Girl Must Go On" showed a gross ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22123920_4 (dates__mdy_ VARCHAR, gross_sales VARCHAR)
Question: Which specific dates encompass the time period when "The Show Girl Must Go On" showed a gross sales ... | bugdaryan/sql-create-context-instruction | |
[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 (wins VARCHAR, rank VARCHAR, college VARCHAR, losses VARCHAR, first_season VARCHAR)
Question: How many wins were there for Washington State College wi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (wins VARCHAR, rank VARCHAR, college VARCHAR, losses VARCHAR, first_season VARCHAR)
Question: How many wins were there for Washington State College with los... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12962773_12 (player VARCHAR, height VARCHAR)
Question: WHat is the number for the player whose height is 2.01?
[/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_12962773_12 (player VARCHAR, height VARCHAR)
Question: WHat is the number for the player whose height is 2.01?
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_73 (shot_volume__cm_3__ INTEGER, shot_diameter__cm_ INTEGER)
Question: what is the average shot volume (cm 3) when the shot diameter (cm) is less than 6.... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (shot_volume__cm_3__ INTEGER, shot_diameter__cm_ INTEGER)
Question: what is the average shot volume (cm 3) when the shot diameter (cm) is less than 6.04?
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 (year__ceremony_ VARCHAR, director VARCHAR)
Question: What is Year (Ceremony), when Director is "Wang Siu-Di"?
[/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_66 (year__ceremony_ VARCHAR, director VARCHAR)
Question: What is Year (Ceremony), when Director is "Wang Siu-Di"?
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_88 (winning_constructor VARCHAR, winning_driver VARCHAR)
Question: What was the constructor when riccardo patrese was the winning driver?
[/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_88 (winning_constructor VARCHAR, winning_driver VARCHAR)
Question: What was the constructor when riccardo patrese was the winning driver?
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_25716397_1 (directed_by VARCHAR, series_no VARCHAR)
Question: How many directors of episode 55?
[/INST]
Here is the SQLite query to answer to the question: Ho... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25716397_1 (directed_by VARCHAR, series_no VARCHAR)
Question: How many directors of episode 55?
Here is the SQLite query to answer to the question: How many direct... | bugdaryan/sql-create-context-instruction | |
[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 (winning_constructor VARCHAR, winning_driver VARCHAR)
Question: Who is the winner constructor with driver riccardo patrese?
[/INST]
Here is the SQLite... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (winning_constructor VARCHAR, winning_driver VARCHAR)
Question: Who is the winner constructor with driver riccardo patrese?
Here is the SQLite query to ans... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (venue VARCHAR, date VARCHAR)
Question: At which venue did the game on 28 october 2013 take place?
[/INST]
Here is the SQLite query to answer to the qu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (venue VARCHAR, date VARCHAR)
Question: At which venue did the game on 28 october 2013 take place?
Here is the SQLite query to answer to the question: At 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_29 (title VARCHAR, box_office VARCHAR)
Question: What movie earned $1,659,542 at the box office?
[/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_29 (title VARCHAR, box_office VARCHAR)
Question: What movie earned $1,659,542 at the box office?
Here is the SQLite query to answer to the question: What movi... | bugdaryan/sql-create-context-instruction | |
[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 (tournament VARCHAR, runner_up VARCHAR)
Question: Which Tournament has Pat Cash as a runner-up?
[/INST]
Here is the SQLite query to answer to the ques... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (tournament VARCHAR, runner_up VARCHAR)
Question: Which Tournament has Pat Cash as a runner-up?
Here is the SQLite query to answer to the question: Which 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_21781578_2 (season_no VARCHAR, production_code VARCHAR)
Question: What was the season number for production code E2110?
[/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_21781578_2 (season_no VARCHAR, production_code VARCHAR)
Question: What was the season number for production code E2110?
Here is the SQLite query to answer to the q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (high_points VARCHAR, game VARCHAR, score VARCHAR)
Question: What high points did a game earlier than 80 have with a score of l 123–142?
[/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 (high_points VARCHAR, game VARCHAR, score VARCHAR)
Question: What high points did a game earlier than 80 have with a score of l 123–142?
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_12592074_1 (laid_down INTEGER)
Question: What is the minimum laid down?
[/INST]
Here is the SQLite query to answer to the question: What is the minimum laid d... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12592074_1 (laid_down INTEGER)
Question: What is the minimum laid down?
Here is the SQLite query to answer to the question: What is the minimum laid down?:
```
SEL... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (surname VARCHAR, dob VARCHAR, bats VARCHAR, position VARCHAR)
Question: Which Surname has Bats of r, and a Position of p, and a DOB of 20 may 1989?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (surname VARCHAR, dob VARCHAR, bats VARCHAR, position VARCHAR)
Question: Which Surname has Bats of r, and a Position of p, and a DOB of 20 may 1989?
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_name_4 (result VARCHAR, date VARCHAR)
Question: What is the Result with a Date with 4 september 2013?
[/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_4 (result VARCHAR, date VARCHAR)
Question: What is the Result with a Date with 4 september 2013?
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_25517718_3 (extra_points INTEGER, position VARCHAR)
Question: What is the smallest number of extra points for a left halfback?
[/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_25517718_3 (extra_points INTEGER, position VARCHAR)
Question: What is the smallest number of extra points for a left halfback?
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_15 (to_par VARCHAR, score VARCHAR)
Question: What To par has a Score of 68-66=134?
[/INST]
Here is the SQLite query to answer to the question: What To pa... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (to_par VARCHAR, score VARCHAR)
Question: What To par has a Score of 68-66=134?
Here is the SQLite query to answer to the question: What To par has a Score... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (height VARCHAR)
Question: What is the 1.93 that is 2.05 in height?
[/INST]
Here is the SQLite query to answer to the question: What is the 1.93 that ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (height VARCHAR)
Question: What is the 1.93 that is 2.05 in height?
Here is the SQLite query to answer to the question: What is the 1.93 that is 2.05 in 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_51 (year VARCHAR, name VARCHAR, floors VARCHAR)
Question: How many years have a Name of tour quartier des spectacles, and Floors smaller than 31?
[/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 (year VARCHAR, name VARCHAR, floors VARCHAR)
Question: How many years have a Name of tour quartier des spectacles, and Floors smaller than 31?
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_11677691_10 (position VARCHAR, hometown VARCHAR)
Question: What position belonged to the player from Paramus, New Jersey?
[/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_11677691_10 (position VARCHAR, hometown VARCHAR)
Question: What position belonged to the player from Paramus, New Jersey?
Here is the SQLite query to answer to the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (debut VARCHAR, name VARCHAR)
Question: What round was the debut of Scott Tunbridge?
[/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_58 (debut VARCHAR, name VARCHAR)
Question: What round was the debut of Scott Tunbridge?
Here is the SQLite query to answer to the question: What round was the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (away_team VARCHAR, venue VARCHAR)
Question: What was the score of the away team when the game was played at vfl park?
[/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_83 (away_team VARCHAR, venue VARCHAR)
Question: What was the score of the away team when the game was played at vfl park?
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_3 (score VARCHAR, game VARCHAR)
Question: What is the score of game 34?
[/INST]
Here is the SQLite query to answer to the question: What is the score of ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (score VARCHAR, game VARCHAR)
Question: What is the score of game 34?
Here is the SQLite query to answer to the question: What is the score of game 34?:
```... | bugdaryan/sql-create-context-instruction | |
[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 (lost INTEGER, goals_for VARCHAR, drawn VARCHAR, position VARCHAR)
Question: What is the highest lost with a drawn more than 11, a position lower than... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (lost INTEGER, goals_for VARCHAR, drawn VARCHAR, position VARCHAR)
Question: What is the highest lost with a drawn more than 11, a position lower than 17 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_11703336_1 (display_size VARCHAR, calculator VARCHAR)
Question: what is the display size for the calculator ti-82?
[/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_11703336_1 (display_size VARCHAR, calculator VARCHAR)
Question: what is the display size for the calculator ti-82?
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 Research_Staff (staff_details VARCHAR)
Question: List the research staff details, and order in ascending order.
[/INST]
Here is the SQLite query to answer to the qu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Research_Staff (staff_details VARCHAR)
Question: List the research staff details, and order in ascending order.
Here is the SQLite query to answer to the question: List ... | bugdaryan/sql-create-context-instruction | |
[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 (evening_gown INTEGER, swimsuit VARCHAR, average VARCHAR, interview VARCHAR)
Question: What is the lowest evening gown score a contestant with an aver... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (evening_gown INTEGER, swimsuit VARCHAR, average VARCHAR, interview VARCHAR)
Question: What is the lowest evening gown score a contestant with an average le... | bugdaryan/sql-create-context-instruction | |
[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 (wickets INTEGER, average VARCHAR, overs VARCHAR, player VARCHAR)
Question: What is the average wickets that have overs greater than 44, danish kaneri... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (wickets INTEGER, average VARCHAR, overs VARCHAR, player VARCHAR)
Question: What is the average wickets that have overs greater than 44, danish kaneria as 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_21977704_1 (constructor VARCHAR, driver VARCHAR)
Question: Name the constructor for alberto ascari
[/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_21977704_1 (constructor VARCHAR, driver VARCHAR)
Question: Name the constructor for alberto ascari
Here is the SQLite query to answer to the question: Name the con... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19998428_3 (san_julián_municipality___percentage_ VARCHAR, san_antonio_de_lomerío_municipality___percentage_ VARCHAR)
Question: If the San Antonio de Lomerio ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19998428_3 (san_julián_municipality___percentage_ VARCHAR, san_antonio_de_lomerío_municipality___percentage_ VARCHAR)
Question: If the San Antonio de Lomerio munici... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24919137_2 (broadcaster VARCHAR, opposition VARCHAR)
Question: Which network broadcast the game when the Western Bulldogs played melbourne?
[/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_24919137_2 (broadcaster VARCHAR, opposition VARCHAR)
Question: Which network broadcast the game when the Western Bulldogs played melbourne?
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_45 (rank INTEGER, floors__stories_ INTEGER)
Question: Which is the highest ranked building with more than 15 floors?
[/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_45 (rank INTEGER, floors__stories_ INTEGER)
Question: Which is the highest ranked building with more than 15 floors?
Here is the SQLite query to answer to the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (city VARCHAR, rank VARCHAR, airport VARCHAR)
Question: What city is ranked greater than 6, and the airport is St. Petersburg/Clearwater (PIE)
[/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 (city VARCHAR, rank VARCHAR, airport VARCHAR)
Question: What city is ranked greater than 6, and the airport is St. Petersburg/Clearwater (PIE)
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_2226817_6 (no_in_season INTEGER, no_in_series VARCHAR)
Question: What's the season number of the episode with series number 84?
[/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_2226817_6 (no_in_season INTEGER, no_in_series VARCHAR)
Question: What's the season number of the episode with series number 84?
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_98 (result VARCHAR, category VARCHAR)
Question: What is the result for the best orchestrations category?
[/INST]
Here is the SQLite query to answer to th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (result VARCHAR, category VARCHAR)
Question: What is the result for the best orchestrations category?
Here is the SQLite query to answer to the question: W... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (loss VARCHAR, score VARCHAR)
Question: Who lost that has a score of w 4-3?
[/INST]
Here is the SQLite query to answer to the question: Who lost that ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (loss VARCHAR, score VARCHAR)
Question: Who lost that has a score of w 4-3?
Here is the SQLite query to answer to the question: Who lost that has a score o... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (events INTEGER, top_5 VARCHAR, wins VARCHAR, top_25 VARCHAR)
Question: What was the sum of Events, when Wins were less than 1, when Top-25 was 3, and... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (events INTEGER, top_5 VARCHAR, wins VARCHAR, top_25 VARCHAR)
Question: What was the sum of Events, when Wins were less than 1, when Top-25 was 3, and when ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24055352_1 (high_school VARCHAR, number VARCHAR)
Question: What is the high school of the player number 5?
[/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_24055352_1 (high_school VARCHAR, number VARCHAR)
Question: What is the high school of the player number 5?
Here is the SQLite query to answer to the question: What... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (opponent VARCHAR, week VARCHAR, date VARCHAR)
Question: Who was the opponent before week 12, on November 11, 1990?
[/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_63 (opponent VARCHAR, week VARCHAR, date VARCHAR)
Question: Who was the opponent before week 12, on November 11, 1990?
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_41 (total INTEGER, type VARCHAR, athlete VARCHAR)
Question: What is the highest total medals winter athlete Clara Hughes has?
[/INST]
Here is the SQLite ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (total INTEGER, type VARCHAR, athlete VARCHAR)
Question: What is the highest total medals winter athlete Clara Hughes has?
Here is the SQLite query to answ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (active_service VARCHAR, reason_for_termination VARCHAR, senior_status VARCHAR)
Question: Which active services years ended in death and had senior st... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (active_service VARCHAR, reason_for_termination VARCHAR, senior_status VARCHAR)
Question: Which active services years ended in death and had senior status 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 region (region_name VARCHAR)
Question: Show names for all regions except for Denmark.
[/INST]
Here is the SQLite query to answer to the question: Show names for all... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE region (region_name VARCHAR)
Question: Show names for all regions except for Denmark.
Here is the SQLite query to answer to the question: Show names for all regions exce... | bugdaryan/sql-create-context-instruction | |
[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 (result VARCHAR, week VARCHAR)
Question: What was the result on week 1?
[/INST]
Here is the SQLite query to answer to the question: What was the resul... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (result VARCHAR, week VARCHAR)
Question: What was the result on week 1?
Here is the SQLite query to answer to the question: What was the result on week 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 Teachers (last_name VARCHAR); CREATE TABLE Teachers (last_name VARCHAR, teacher_id VARCHAR); CREATE TABLE Detention (teacher_id VARCHAR)
Question: Find the last nam... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Teachers (last_name VARCHAR); CREATE TABLE Teachers (last_name VARCHAR, teacher_id VARCHAR); CREATE TABLE Detention (teacher_id VARCHAR)
Question: Find the last names 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 tracks (album_id VARCHAR); CREATE TABLE albums (title VARCHAR, id VARCHAR)
Question: List title of albums have the number of tracks greater than 10.
[/INST]
Here is... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE tracks (album_id VARCHAR); CREATE TABLE albums (title VARCHAR, id VARCHAR)
Question: List title of albums have the number of tracks greater than 10.
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_16 (opponent VARCHAR, score VARCHAR)
Question: Who is the Opponent when the Score is 2-8?
[/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_16 (opponent VARCHAR, score VARCHAR)
Question: Who is the Opponent when the Score is 2-8?
Here is the SQLite query to answer to the question: Who is the Oppon... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15277629_1 (director VARCHAR, original_title VARCHAR)
Question: Who was the director of Pecado Mortal
[/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_15277629_1 (director VARCHAR, original_title VARCHAR)
Question: Who was the director of Pecado Mortal
Here is the SQLite query to answer to the question: Who was t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (home VARCHAR, date VARCHAR)
Question: On October 31 what team played at home?
[/INST]
Here is the SQLite query to answer to the question: On October ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (home VARCHAR, date VARCHAR)
Question: On October 31 what team played at home?
Here is the SQLite query to answer to the question: On October 31 what team ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE concert (stadium_id VARCHAR, year INTEGER); CREATE TABLE stadium (name VARCHAR, capacity VARCHAR, stadium_id VARCHAR)
Question: What is the name and capacity of the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE concert (stadium_id VARCHAR, year INTEGER); CREATE TABLE stadium (name VARCHAR, capacity VARCHAR, stadium_id VARCHAR)
Question: What is the name and capacity of the stadi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (player VARCHAR, position VARCHAR, tries VARCHAR, points VARCHAR)
Question: I want to know the player with tries more than 1 and position of hooker wi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (player VARCHAR, position VARCHAR, tries VARCHAR, points VARCHAR)
Question: I want to know the player with tries more than 1 and position of hooker with poi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15201666_3 (derby_county INTEGER)
Question: Name the most derby county
[/INST]
Here is the SQLite query to answer to the question: Name the most derby county:... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15201666_3 (derby_county INTEGER)
Question: Name the most derby county
Here is the SQLite query to answer to the question: Name the most derby county:
```
SELECT M... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (translation VARCHAR, unit VARCHAR)
Question: Which translation had a unit of Uncia?
[/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_10 (translation VARCHAR, unit VARCHAR)
Question: Which translation had a unit of Uncia?
Here is the SQLite query to answer to the question: Which translation ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27378582_1 (city VARCHAR, enrollment VARCHAR)
Question: Name the city for enrollment being 19900
[/INST]
Here is the SQLite query to answer to the question: N... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27378582_1 (city VARCHAR, enrollment VARCHAR)
Question: Name the city for enrollment being 19900
Here is the SQLite query to answer to the question: Name the city ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (nationality VARCHAR, jersey_number_s_ VARCHAR)
Question: What is the nationality of the person with number 27?
[/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_96 (nationality VARCHAR, jersey_number_s_ VARCHAR)
Question: What is the nationality of the person with number 27?
Here is the SQLite query to answer to the q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (region VARCHAR, date VARCHAR)
Question: What region is the catalogue released on June 8, 2004 from?
[/INST]
Here is the SQLite query to answer to the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (region VARCHAR, date VARCHAR)
Question: What region is the catalogue released on June 8, 2004 from?
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_99 (time_retired VARCHAR, constructor VARCHAR, laps VARCHAR)
Question: What is the Time/Retired when lotus - ford was constructor and the laps were less ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (time_retired VARCHAR, constructor VARCHAR, laps VARCHAR)
Question: What is the Time/Retired when lotus - ford was constructor and the laps were less than 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_62 (population VARCHAR, code VARCHAR, county VARCHAR, municipality VARCHAR)
Question: What is the population of Danderyd municipality in Stockholm County... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (population VARCHAR, code VARCHAR, county VARCHAR, municipality VARCHAR)
Question: What is the population of Danderyd municipality in Stockholm County with ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (channel VARCHAR, date VARCHAR)
Question: Which channel was on 28 December 2008?
[/INST]
Here is the SQLite query to answer to the question: Which cha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (channel VARCHAR, date VARCHAR)
Question: Which channel was on 28 December 2008?
Here is the SQLite query to answer to the question: Which channel was on 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_72 (partner VARCHAR, opponents_in_the_final VARCHAR)
Question: Who had the opponent of Lenka Cenková kateřina šišková in the final?
[/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_72 (partner VARCHAR, opponents_in_the_final VARCHAR)
Question: Who had the opponent of Lenka Cenková kateřina šišková in the final?
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_90 (league_cup_goals VARCHAR, total_goals VARCHAR, name VARCHAR)
Question: How many League Cup Goals have 0 as the total goals, with delroy facey as the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (league_cup_goals VARCHAR, total_goals VARCHAR, name VARCHAR)
Question: How many League Cup Goals have 0 as the total goals, with delroy facey as the name?
... | bugdaryan/sql-create-context-instruction | |
[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 (game VARCHAR, score VARCHAR, points VARCHAR)
Question: How many games have a Score of 1–0, and Points smaller than 66?
[/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_9 (game VARCHAR, score VARCHAR, points VARCHAR)
Question: How many games have a Score of 1–0, and Points smaller than 66?
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_27700530_10 (record VARCHAR, high_points VARCHAR)
Question: What is the record when jameer nelson (19) had the high points?
[/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_27700530_10 (record VARCHAR, high_points VARCHAR)
Question: What is the record when jameer nelson (19) had the high points?
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_24 (division VARCHAR, coach VARCHAR)
Question: In which division were the IceGators when coached by Todd Gordon?
[/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_24 (division VARCHAR, coach VARCHAR)
Question: In which division were the IceGators when coached by Todd Gordon?
Here is the SQLite query to answer to the que... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (location VARCHAR, date VARCHAR)
Question: Where was the September 22 game played?
[/INST]
Here is the SQLite query to answer to the question: Where w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (location VARCHAR, date VARCHAR)
Question: Where was the September 22 game played?
Here is the SQLite query to answer to the question: Where was the Septem... | bugdaryan/sql-create-context-instruction | |
[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 (venue VARCHAR, notes VARCHAR)
Question: Which venue has a note of AM?
[/INST]
Here is the SQLite query to answer to the question: Which venue has a n... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_32 (venue VARCHAR, notes VARCHAR)
Question: Which venue has a note of AM?
Here is the SQLite query to answer to the question: Which venue has a note of AM?:
`... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (total INTEGER, bronze VARCHAR, sport VARCHAR, gold VARCHAR, silver VARCHAR)
Question: What is the lowest Total that has a Gold larger than 0, Silver ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (total INTEGER, bronze VARCHAR, sport VARCHAR, gold VARCHAR, silver VARCHAR)
Question: What is the lowest Total that has a Gold larger than 0, Silver smalle... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2889810_2 (moto2_250cc VARCHAR, country VARCHAR)
Question: how many total number of moto2/250cc when country is united states
[/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_2889810_2 (moto2_250cc VARCHAR, country VARCHAR)
Question: how many total number of moto2/250cc when country is united states
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_75 (issue INTEGER, spoofed_title VARCHAR)
Question: What issue was the spoofed title Ho-Hum land?
[/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_75 (issue INTEGER, spoofed_title VARCHAR)
Question: What issue was the spoofed title Ho-Hum land?
Here is the SQLite query to answer to the question: What iss... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE CAR_MAKERS (FullName VARCHAR, id VARCHAR, Id VARCHAR); CREATE TABLE MODEL_LIST (Maker VARCHAR)
Question: What is the number of car models that are produced by each ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE CAR_MAKERS (FullName VARCHAR, id VARCHAR, Id VARCHAR); CREATE TABLE MODEL_LIST (Maker VARCHAR)
Question: What is the number of car models that are produced by each maker ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (capacity VARCHAR, opened VARCHAR, region VARCHAR)
Question: What capacity opened lessed than 1937 and is located in the region of champagne-ardenne?
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (capacity VARCHAR, opened VARCHAR, region VARCHAR)
Question: What capacity opened lessed than 1937 and is located in the region of champagne-ardenne?
Here ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1952065_4 (teams_with_division_titles VARCHAR, division_championships VARCHAR)
Question: How many division title teams were in the division championships 9 ti... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1952065_4 (teams_with_division_titles VARCHAR, division_championships VARCHAR)
Question: How many division title teams were in the division championships 9 times?
... | bugdaryan/sql-create-context-instruction | |
[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 (score VARCHAR, game VARCHAR)
Question: What was the score of Game 13?
[/INST]
Here is the SQLite query to answer to the question: What was the score ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_32 (score VARCHAR, game VARCHAR)
Question: What was the score of Game 13?
Here is the SQLite query to answer to the question: What was the score of Game 13?:
... | bugdaryan/sql-create-context-instruction | |
[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 (comp VARCHAR, score VARCHAR)
Question: What's the comp when the score was 393?
[/INST]
Here is the SQLite query to answer to the question: What's the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (comp VARCHAR, score VARCHAR)
Question: What's the comp when the score was 393?
Here is the SQLite query to answer to the question: What's the comp when 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_28 (report VARCHAR, winning_constructor VARCHAR, name VARCHAR)
Question: Name the Report with Winning constructor of maserati, and a Name of monza grand ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (report VARCHAR, winning_constructor VARCHAR, name VARCHAR)
Question: Name the Report with Winning constructor of maserati, and a Name of monza grand prix?
... | bugdaryan/sql-create-context-instruction | |
[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 (pick__number VARCHAR, position VARCHAR, college_junior_club_team VARCHAR)
Question: What is the pick number for position of D from the University of ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (pick__number VARCHAR, position VARCHAR, college_junior_club_team VARCHAR)
Question: What is the pick number for position of D from the University of Maine ... | bugdaryan/sql-create-context-instruction | |
[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 (team_2 VARCHAR)
Question: What are the 2nd round results for the match with Girondins de Bordeaux (d1) as Team 2?
[/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 (team_2 VARCHAR)
Question: What are the 2nd round results for the match with Girondins de Bordeaux (d1) as Team 2?
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_37 (college VARCHAR, name VARCHAR, round VARCHAR, pick__number VARCHAR)
Question: Which College has a Round smaller than 7, and a Pick # smaller than 27,... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (college VARCHAR, name VARCHAR, round VARCHAR, pick__number VARCHAR)
Question: Which College has a Round smaller than 7, and a Pick # smaller than 27, and a... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (away VARCHAR, competition VARCHAR)
Question: What is the away team of the UEFA champions league?
[/INST]
Here is the SQLite query to answer to the qu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (away VARCHAR, competition VARCHAR)
Question: What is the away team of the UEFA champions league?
Here is the SQLite query to answer to the question: What ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (chart VARCHAR, debut_position VARCHAR, peak_position VARCHAR)
Question: How many chart runs had a debut position of more than 7 when peak position wa... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (chart VARCHAR, debut_position VARCHAR, peak_position VARCHAR)
Question: How many chart runs had a debut position of more than 7 when peak position was 11?
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (year VARCHAR, result VARCHAR, extra VARCHAR, tournament VARCHAR)
Question: In which year was the Tournament of european indoor championships played w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (year VARCHAR, result VARCHAR, extra VARCHAR, tournament VARCHAR)
Question: In which year was the Tournament of european indoor championships played where 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_18183850_12 (score VARCHAR, opponent_team VARCHAR)
Question: What was the score when the opposing team was from Belgium?
[/INST]
Here is the SQLite query to a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18183850_12 (score VARCHAR, opponent_team VARCHAR)
Question: What was the score when the opposing team was from Belgium?
Here is the SQLite query to answer to the ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (player VARCHAR, year_s__won VARCHAR)
Question: Player than won in 2003?
[/INST]
Here is the SQLite query to answer to the question: Player than won i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (player VARCHAR, year_s__won VARCHAR)
Question: Player than won in 2003?
Here is the SQLite query to answer to the question: Player than won in 2003?:
```
... | bugdaryan/sql-create-context-instruction | |
[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 (wins VARCHAR, player VARCHAR, rank VARCHAR)
Question: How many wins for mike hill ranked below 4?
[/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_49 (wins VARCHAR, player VARCHAR, rank VARCHAR)
Question: How many wins for mike hill ranked below 4?
Here is the SQLite query to answer to the question: How ... | bugdaryan/sql-create-context-instruction | |
[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 (country VARCHAR, player VARCHAR)
Question: What country does Tiger Woods play for?
[/INST]
Here is the SQLite query to answer to the question: What c... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (country VARCHAR, player VARCHAR)
Question: What country does Tiger Woods play for?
Here is the SQLite query to answer to the question: What country does 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_8 (points INTEGER, time_retired VARCHAR, laps VARCHAR)
Question: How many average points did the player with a time/retired of +16.789 and have more laps... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (points INTEGER, time_retired VARCHAR, laps VARCHAR)
Question: How many average points did the player with a time/retired of +16.789 and have more laps than ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27932399_1 (catalogue_number VARCHAR, release_date VARCHAR, artist VARCHAR)
Question: What is the catalogue number for release dates of exactly 2005 and relea... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27932399_1 (catalogue_number VARCHAR, release_date VARCHAR, artist VARCHAR)
Question: What is the catalogue number for release dates of exactly 2005 and released by... | bugdaryan/sql-create-context-instruction | |
[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 (discipline VARCHAR, championship VARCHAR)
Question: For the USAC National Championship, what is the Discipline?
[/INST]
Here is the SQLite query to a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (discipline VARCHAR, championship VARCHAR)
Question: For the USAC National Championship, what is the Discipline?
Here is the SQLite query to answer to the ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (home_captain VARCHAR, result VARCHAR)
Question: Who was the Home captain when the Result was Aus by 218 runs?
[/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_22 (home_captain VARCHAR, result VARCHAR)
Question: Who was the Home captain when the Result was Aus by 218 runs?
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_92 (manager VARCHAR, captain VARCHAR)
Question: Who is Dean Whitehead's manager?
[/INST]
Here is the SQLite query to answer to the question: Who is Dean ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (manager VARCHAR, captain VARCHAR)
Question: Who is Dean Whitehead's manager?
Here is the SQLite query to answer to the question: Who is Dean Whitehead's 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.