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_21 (elevation_ VARCHAR, _height VARCHAR, name VARCHAR)
Question: What is the elevation and height for Halfbeak?
[/INST]
Here is the SQLite query to answe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (elevation_ VARCHAR, _height VARCHAR, name VARCHAR)
Question: What is the elevation and height for Halfbeak?
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_28885977_1 (location VARCHAR, stadium VARCHAR)
Question: What is the location of the Moorabbin Oval stadium?
[/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_28885977_1 (location VARCHAR, stadium VARCHAR)
Question: What is the location of the Moorabbin Oval stadium?
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_93 (year INTEGER, competition VARCHAR, category VARCHAR, beer_name VARCHAR, prize VARCHAR)
Question: What year did maggs magnificent mild win a gold meda... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (year INTEGER, competition VARCHAR, category VARCHAR, beer_name VARCHAR, prize VARCHAR)
Question: What year did maggs magnificent mild win a gold medal in 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_20 (loss VARCHAR, record VARCHAR)
Question: What was the loss when the record was 34-56?
[/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_20 (loss VARCHAR, record VARCHAR)
Question: What was the loss when the record was 34-56?
Here is the SQLite query to answer to the question: What was the loss... | bugdaryan/sql-create-context-instruction | |
[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 (city_of_license VARCHAR, erp_w VARCHAR)
Question: What City of license has a ERP W of 2,000?
[/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 (city_of_license VARCHAR, erp_w VARCHAR)
Question: What City of license has a ERP W of 2,000?
Here is the SQLite query to answer to the question: What 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_92 (round INTEGER, position VARCHAR, player VARCHAR)
Question: In what Round was OL Player Richard Zulys picked?
[/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_92 (round INTEGER, position VARCHAR, player VARCHAR)
Question: In what Round was OL Player Richard Zulys picked?
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_38 (played INTEGER, lost VARCHAR, points VARCHAR, position VARCHAR)
Question: What is the lowest played that has points greater than 11, 1 as the positio... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (played INTEGER, lost VARCHAR, points VARCHAR, position VARCHAR)
Question: What is the lowest played that has points greater than 11, 1 as the position, and... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (attendance VARCHAR, opponent VARCHAR)
Question: How many people attended the Rams game against the Kansas City Chiefs?
[/INST]
Here is the SQLite que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (attendance VARCHAR, opponent VARCHAR)
Question: How many people attended the Rams game against the Kansas City Chiefs?
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 Dogs (name VARCHAR, dog_id VARCHAR, breed_code VARCHAR); CREATE TABLE Treatments (date_of_treatment VARCHAR, dog_id VARCHAR); CREATE TABLE Dogs (breed_code VARCHAR)
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Dogs (name VARCHAR, dog_id VARCHAR, breed_code VARCHAR); CREATE TABLE Treatments (date_of_treatment VARCHAR, dog_id VARCHAR); CREATE TABLE Dogs (breed_code VARCHAR)
Quest... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (_jerk VARCHAR, clean_ INTEGER, snatch VARCHAR, total__kg_ VARCHAR)
Question: Name the average clean and jerk for snatch of 140 and total kg less than... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (_jerk VARCHAR, clean_ INTEGER, snatch VARCHAR, total__kg_ VARCHAR)
Question: Name the average clean and jerk for snatch of 140 and total kg less than 315
... | bugdaryan/sql-create-context-instruction | |
[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 (score VARCHAR, date VARCHAR, venue VARCHAR, competition VARCHAR)
Question: What was the score of the friendly match at Amman on February 14, 2006?
[/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (score VARCHAR, date VARCHAR, venue VARCHAR, competition VARCHAR)
Question: What was the score of the friendly match at Amman on February 14, 2006?
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 LOTS (lot_details VARCHAR)
Question: Show all distinct lot details.
[/INST]
Here is the SQLite query to answer to the question: Show all distinct lot details.:
```
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE LOTS (lot_details VARCHAR)
Question: Show all distinct lot details.
Here is the SQLite query to answer to the question: Show all distinct lot details.:
```
SELECT DISTIN... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1953516_1 (winning_span VARCHAR, rank VARCHAR)
Question: What is the winning span with the rank of 5?
[/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_1953516_1 (winning_span VARCHAR, rank VARCHAR)
Question: What is the winning span with the rank of 5?
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_14242137_4 (oberliga_baden_württemberg VARCHAR, oberliga_bayern VARCHAR, oberliga_südwest VARCHAR)
Question: Name the oberliga for where tsv 1860 munich and b... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14242137_4 (oberliga_baden_württemberg VARCHAR, oberliga_bayern VARCHAR, oberliga_südwest VARCHAR)
Question: Name the oberliga for where tsv 1860 munich and borussi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11674683_2 (average VARCHAR, delegate VARCHAR)
Question: Name the average for spain delegate
[/INST]
Here is the SQLite query to answer to the question: Name ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11674683_2 (average VARCHAR, delegate VARCHAR)
Question: Name the average for spain delegate
Here is the SQLite query to answer to the question: Name the average f... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (byes INTEGER, losses VARCHAR, against VARCHAR)
Question: What is the average Byes for the losses of 15, and before 1874?
[/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_46 (byes INTEGER, losses VARCHAR, against VARCHAR)
Question: What is the average Byes for the losses of 15, and before 1874?
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_78 (city VARCHAR, results¹ VARCHAR)
Question: what city scored 0:0
[/INST]
Here is the SQLite query to answer to the question: what city scored 0:0:
```
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (city VARCHAR, results¹ VARCHAR)
Question: what city scored 0:0
Here is the SQLite query to answer to the question: what city scored 0:0:
```
SELECT city F... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26200084_1 (title VARCHAR, directed_by VARCHAR)
Question: What was the title of the episode directed by David Mamet?
[/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_26200084_1 (title VARCHAR, directed_by VARCHAR)
Question: What was the title of the episode directed by David Mamet?
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_85 (date VARCHAR, outcome VARCHAR, surface VARCHAR)
Question: Which Date had an Outcome of runner-up, and a Surface of carpet?
[/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_85 (date VARCHAR, outcome VARCHAR, surface VARCHAR)
Question: Which Date had an Outcome of runner-up, and a Surface of carpet?
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_35 (matches VARCHAR, rider VARCHAR, total_points VARCHAR)
Question: How many total matches involving dennis gavros had total points less than 167?
[/INST... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (matches VARCHAR, rider VARCHAR, total_points VARCHAR)
Question: How many total matches involving dennis gavros had total points less than 167?
Here is the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (format VARCHAR, catalog VARCHAR)
Question: Which Format has a Catalog of vcrdx 106?
[/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_72 (format VARCHAR, catalog VARCHAR)
Question: Which Format has a Catalog of vcrdx 106?
Here is the SQLite query to answer to the question: Which Format has 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_15851155_1 (location VARCHAR, control VARCHAR, founded VARCHAR)
Question: Name the location when control is private and founded is 1870
[/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_15851155_1 (location VARCHAR, control VARCHAR, founded VARCHAR)
Question: Name the location when control is private and founded is 1870
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_36 (week VARCHAR, venue VARCHAR, attendance VARCHAR)
Question: What is the number of weeks where the venue was memorial stadium and the attendance was le... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (week VARCHAR, venue VARCHAR, attendance VARCHAR)
Question: What is the number of weeks where the venue was memorial stadium and the attendance was less tha... | bugdaryan/sql-create-context-instruction | |
[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 (icao VARCHAR, iata VARCHAR)
Question: Name the ICAO for when IATA is zyl
[/INST]
Here is the SQLite query to answer to the question: Name the ICAO fo... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (icao VARCHAR, iata VARCHAR)
Question: Name the ICAO for when IATA is zyl
Here is the SQLite query to answer to the question: Name the ICAO for when IATA 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_93 (school VARCHAR, location VARCHAR)
Question: what is the school in michigantown?
[/INST]
Here is the SQLite query to answer to the question: what is t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (school VARCHAR, location VARCHAR)
Question: what is the school in michigantown?
Here is the SQLite query to answer to the question: what is the school 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_26555737_1 (director VARCHAR, result VARCHAR)
Question: When nominee is the result who is the director?
[/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_26555737_1 (director VARCHAR, result VARCHAR)
Question: When nominee is the result who is the director?
Here is the SQLite query to answer to the question: When no... | bugdaryan/sql-create-context-instruction | |
[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 (grid VARCHAR, team VARCHAR, driver VARCHAR)
Question: What was the grid for Bruno Junqueira for Dale Coyne Racing?
[/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_45 (grid VARCHAR, team VARCHAR, driver VARCHAR)
Question: What was the grid for Bruno Junqueira for Dale Coyne Racing?
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_60 (first_appearance VARCHAR, year VARCHAR, name VARCHAR)
Question: What first appeared in 1966 in the comic X-2-Y?
[/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_60 (first_appearance VARCHAR, year VARCHAR, name VARCHAR)
Question: What first appeared in 1966 in the comic X-2-Y?
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_29584601_1 (written_by VARCHAR, no_in_series VARCHAR)
Question: How many different pairs of writers wrote the episode with series number 56?
[/INST]
Here is t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29584601_1 (written_by VARCHAR, no_in_series VARCHAR)
Question: How many different pairs of writers wrote the episode with series number 56?
Here is the SQLite 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_95 (city VARCHAR, lead VARCHAR)
Question: Which City has a Lead of tyler forrest?
[/INST]
Here is the SQLite query to answer to the question: Which City ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (city VARCHAR, lead VARCHAR)
Question: Which City has a Lead of tyler forrest?
Here is the SQLite query to answer to the question: Which City has a Lead 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_57 (team_1 VARCHAR)
Question: What was the 2nd leg when Team 1 was Chicago Croatian?
[/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_57 (team_1 VARCHAR)
Question: What was the 2nd leg when Team 1 was Chicago Croatian?
Here is the SQLite query to answer to the question: What was the 2nd leg ... | bugdaryan/sql-create-context-instruction | |
[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 (character VARCHAR, episodes VARCHAR, actor VARCHAR)
Question: What character is played by dani harmer for under 23 episodes?
[/INST]
Here is the SQLi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_51 (character VARCHAR, episodes VARCHAR, actor VARCHAR)
Question: What character is played by dani harmer for under 23 episodes?
Here is the SQLite query to a... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (results VARCHAR, style VARCHAR)
Question: What was the result of the dance which had a style of contemporary jazz?
[/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_1 (results VARCHAR, style VARCHAR)
Question: What was the result of the dance which had a style of contemporary jazz?
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_1342379_45 (first_elected INTEGER, incumbent VARCHAR)
Question: What was the last year that incumbent joseph t. deal was first elected?
[/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_1342379_45 (first_elected INTEGER, incumbent VARCHAR)
Question: What was the last year that incumbent joseph t. deal was first elected?
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_1 (kit_manufacturer VARCHAR, shirt_sponsor VARCHAR)
Question: What is the kit manufacturer with Walkers as the shirt sponsor?
[/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_1 (kit_manufacturer VARCHAR, shirt_sponsor VARCHAR)
Question: What is the kit manufacturer with Walkers as the shirt sponsor?
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_35 (score VARCHAR, date VARCHAR)
Question: Name the score for october 9
[/INST]
Here is the SQLite query to answer to the question: Name the score for oc... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (score VARCHAR, date VARCHAR)
Question: Name the score for october 9
Here is the SQLite query to answer to the question: Name the score for october 9:
```
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (affiliation VARCHAR, school VARCHAR)
Question: What is the affiliation of the University of Maryland?
[/INST]
Here is the SQLite query to answer to t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (affiliation VARCHAR, school VARCHAR)
Question: What is the affiliation of the University of Maryland?
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_18646111_13 (semifinals VARCHAR, class VARCHAR)
Question: Name the number of semifinals for tt2
[/INST]
Here is the SQLite query to answer to the question: Na... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18646111_13 (semifinals VARCHAR, class VARCHAR)
Question: Name the number of semifinals for tt2
Here is the SQLite query to answer to the question: Name the number... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (driver VARCHAR, grid VARCHAR, laps VARCHAR)
Question: Which driver has a grid value larger than 11, and drove more than 52 laps?
[/INST]
Here is the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (driver VARCHAR, grid VARCHAR, laps VARCHAR)
Question: Which driver has a grid value larger than 11, and drove more than 52 laps?
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 customer (acc_bal INTEGER, state VARCHAR)
Question: Find the total account balance of each customer from Utah or Texas.
[/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 customer (acc_bal INTEGER, state VARCHAR)
Question: Find the total account balance of each customer from Utah or Texas.
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_26267607_2 (pole_position VARCHAR, winning_driver VARCHAR, circuit VARCHAR)
Question: In the circuit Showevent Olympiastadion München, where the winning drive... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26267607_2 (pole_position VARCHAR, winning_driver VARCHAR, circuit VARCHAR)
Question: In the circuit Showevent Olympiastadion München, where the winning driver is 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_name_17 (location_attendance VARCHAR, game VARCHAR, date VARCHAR)
Question: Name the location attendance for game more than 54 on february 25
[/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_17 (location_attendance VARCHAR, game VARCHAR, date VARCHAR)
Question: Name the location attendance for game more than 54 on february 25
Here is the SQLite qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (driver VARCHAR, chassis VARCHAR, rounds VARCHAR)
Question: Who drove the car with the n175 chassis in round 13?
[/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_1 (driver VARCHAR, chassis VARCHAR, rounds VARCHAR)
Question: Who drove the car with the n175 chassis in round 13?
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_40 (player VARCHAR, year_born VARCHAR)
Question: Who is the Player born in 1981?
[/INST]
Here is the SQLite query to answer to the question: Who is the P... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (player VARCHAR, year_born VARCHAR)
Question: Who is the Player born in 1981?
Here is the SQLite query to answer to the question: Who is the Player born in... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (week INTEGER, date VARCHAR, attendance VARCHAR)
Question: Which December 4, 1976 week has an attendance less than 57,366?
[/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_46 (week INTEGER, date VARCHAR, attendance VARCHAR)
Question: Which December 4, 1976 week has an attendance less than 57,366?
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_29 (team VARCHAR, draw VARCHAR)
Question: What team had a draw of 0?
[/INST]
Here is the SQLite query to answer to the question: What team had a draw of ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (team VARCHAR, draw VARCHAR)
Question: What team had a draw of 0?
Here is the SQLite query to answer to the question: What team had a draw of 0?:
```
SELEC... | bugdaryan/sql-create-context-instruction | |
[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 (gender VARCHAR, residence VARCHAR)
Question: Which Gender has a Residence of Haliburton?
[/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_28 (gender VARCHAR, residence VARCHAR)
Question: Which Gender has a Residence of Haliburton?
Here is the SQLite query to answer to the question: Which Gender ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23799653_1 (title VARCHAR, directed_by VARCHAR, us_viewers__millions_ VARCHAR)
Question: What's the name of the episode seen by 9.63 millions of people in the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23799653_1 (title VARCHAR, directed_by VARCHAR, us_viewers__millions_ VARCHAR)
Question: What's the name of the episode seen by 9.63 millions of people in the US, 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_30 (home_team VARCHAR, score VARCHAR)
Question: What home team has a score of 5 - 5?
[/INST]
Here is the SQLite query to answer to the question: What hom... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (home_team VARCHAR, score VARCHAR)
Question: What home team has a score of 5 - 5?
Here is the SQLite query to answer to the question: What home team has 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_70 (career VARCHAR)
Question: What is the career for the 2006 3r, and the 1999 2r?
[/INST]
Here is the SQLite query to answer to the question: What is th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (career VARCHAR)
Question: What is the career for the 2006 3r, and the 1999 2r?
Here is the SQLite query to answer to the question: What is the career for ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2649597_1 (team_s_ VARCHAR, start VARCHAR)
Question: What teams started at 39.1?
[/INST]
Here is the SQLite query to answer to the question: What teams starte... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2649597_1 (team_s_ VARCHAR, start VARCHAR)
Question: What teams started at 39.1?
Here is the SQLite query to answer to the question: What teams started at 39.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_1183842_1 (enrollment INTEGER, institution VARCHAR)
Question: Barry University had the highest enrollment of what number?
[/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_1183842_1 (enrollment INTEGER, institution VARCHAR)
Question: Barry University had the highest enrollment of what number?
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_5 (nationality VARCHAR, player VARCHAR)
Question: Cuttino Mobley is what nationality?
[/INST]
Here is the SQLite query to answer to the question: Cuttino... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (nationality VARCHAR, player VARCHAR)
Question: Cuttino Mobley is what nationality?
Here is the SQLite query to answer to the question: Cuttino Mobley is 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_8 (title VARCHAR, original_airdate VARCHAR)
Question: What is the title of the program that was originally aired on June 13, 1999?
[/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_8 (title VARCHAR, original_airdate VARCHAR)
Question: What is the title of the program that was originally aired on June 13, 1999?
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_15780049_5 (high_points VARCHAR, team VARCHAR)
Question: Who scored the most points against Washington?
[/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_15780049_5 (high_points VARCHAR, team VARCHAR)
Question: Who scored the most points against Washington?
Here is the SQLite query to answer to the question: Who sco... | bugdaryan/sql-create-context-instruction | |
[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 (tournament VARCHAR, date VARCHAR)
Question: What tournament is on October 27, 2003?
[/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_84 (tournament VARCHAR, date VARCHAR)
Question: What tournament is on October 27, 2003?
Here is the SQLite query to answer to the question: What tournament 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_39 (gauge VARCHAR, locomotive VARCHAR, status VARCHAR, owner VARCHAR)
Question: What is the Gauge of Locomotive G534 Owned by Aurizon which has a Status ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (gauge VARCHAR, locomotive VARCHAR, status VARCHAR, owner VARCHAR)
Question: What is the Gauge of Locomotive G534 Owned by Aurizon which has a Status of Ope... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1840495_2 (median_house__hold_income VARCHAR, place VARCHAR)
Question: For upper Arlington, what was the median household income?
[/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_1840495_2 (median_house__hold_income VARCHAR, place VARCHAR)
Question: For upper Arlington, what was the median household income?
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_16849531_2 (ncbi_accession_number__mrna_protein_ VARCHAR, length__bp_aa_ VARCHAR)
Question: What is the NCBI Accession Number for the length of 5304bp/377aa?
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16849531_2 (ncbi_accession_number__mrna_protein_ VARCHAR, length__bp_aa_ VARCHAR)
Question: What is the NCBI Accession Number for the length of 5304bp/377aa?
Here ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (date VARCHAR, away_team VARCHAR)
Question: When st kilda played as the away team, what date was that?
[/INST]
Here is the SQLite query to answer to t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (date VARCHAR, away_team VARCHAR)
Question: When st kilda played as the away team, what date was that?
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_89 (heat INTEGER, athlete VARCHAR)
Question: what is the heat when the athlete is anita pistone?
[/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_89 (heat INTEGER, athlete VARCHAR)
Question: what is the heat when the athlete is anita pistone?
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_94 (event VARCHAR, position VARCHAR)
Question: What is Event, when Position is 4th?
[/INST]
Here is the SQLite query to answer to the question: What is E... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (event VARCHAR, position VARCHAR)
Question: What is Event, when Position is 4th?
Here is the SQLite query to answer to the question: What is Event, when Po... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1940012_2 (winning_score VARCHAR, runner_s__up VARCHAR)
Question: What was the winning score in the tournament, ending with Birdie Kim as a runner-up?
[/INST]... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1940012_2 (winning_score VARCHAR, runner_s__up VARCHAR)
Question: What was the winning score in the tournament, ending with Birdie Kim as a runner-up?
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_16034882_2 (loses VARCHAR, goals_scored VARCHAR)
Question: How many games were lost when the goals scored was 37?
[/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_16034882_2 (loses VARCHAR, goals_scored VARCHAR)
Question: How many games were lost when the goals scored was 37?
Here is the SQLite query to answer to the questio... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (place VARCHAR, player VARCHAR)
Question: Where did Jim Furyk place?
[/INST]
Here is the SQLite query to answer to the question: Where did Jim Furyk p... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (place VARCHAR, player VARCHAR)
Question: Where did Jim Furyk place?
Here is the SQLite query to answer to the question: Where did Jim Furyk place?:
```
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_15582870_1 (college VARCHAR, weight VARCHAR)
Question: Which college did the player weighing 207 pounds attend?
[/INST]
Here is the SQLite query to answer to ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15582870_1 (college VARCHAR, weight VARCHAR)
Question: Which college did the player weighing 207 pounds attend?
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_85 (year INTEGER, wins VARCHAR, class VARCHAR, rank VARCHAR)
Question: What year was she on a 350cc class bike, ranked 16th, with over 0 wins?
[/INST]
He... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (year INTEGER, wins VARCHAR, class VARCHAR, rank VARCHAR)
Question: What year was she on a 350cc class bike, ranked 16th, with over 0 wins?
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_1067134_1 (_number_of_ep INTEGER, region_2 VARCHAR)
Question: How many episodes aired in Region 2 beginning May 26, 2008?
[/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_1067134_1 (_number_of_ep INTEGER, region_2 VARCHAR)
Question: How many episodes aired in Region 2 beginning May 26, 2008?
Here is the SQLite query to answer to the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (Id VARCHAR)
Question: Which 1989 has a 1986 of 99?
[/INST]
Here is the SQLite query to answer to the question: Which 1989 has a 1986 of 99?:
```
SELE... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (Id VARCHAR)
Question: Which 1989 has a 1986 of 99?
Here is the SQLite query to answer to the question: Which 1989 has a 1986 of 99?:
```
SELECT 1989 FROM ... | bugdaryan/sql-create-context-instruction | |
[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 (assembled VARCHAR, elected VARCHAR)
Question: What is the assembled date of the parliament elected in 1620/21?
[/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_47 (assembled VARCHAR, elected VARCHAR)
Question: What is the assembled date of the parliament elected in 1620/21?
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_11 (turnout__percentage VARCHAR, ngilu VARCHAR)
Question: What's listed for the Turnout % with a Ngilu of 3,429?
[/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_11 (turnout__percentage VARCHAR, ngilu VARCHAR)
Question: What's listed for the Turnout % with a Ngilu of 3,429?
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 VISITS (Visit_Date VARCHAR)
Question: What are the distinct visit dates?
[/INST]
Here is the SQLite query to answer to the question: What are the distinct visit dat... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE VISITS (Visit_Date VARCHAR)
Question: What are the distinct visit dates?
Here is the SQLite query to answer to the question: What are the distinct visit dates?:
```
SELE... | bugdaryan/sql-create-context-instruction | |
[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 (place VARCHAR, player VARCHAR)
Question: What is the place of player jim thorpe?
[/INST]
Here is the SQLite query to answer to the question: What is ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (place VARCHAR, player VARCHAR)
Question: What is the place of player jim thorpe?
Here is the SQLite query to answer to the question: What is the place of ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (artist VARCHAR, issue_date_s_ VARCHAR)
Question: What is the name of the artist that issued the single on 23 February?
[/INST]
Here is the SQLite que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (artist VARCHAR, issue_date_s_ VARCHAR)
Question: What is the name of the artist that issued the single on 23 February?
Here is the SQLite query to answer ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (lane INTEGER, country VARCHAR, rank VARCHAR)
Question: What is the highest lane for Brazil, ranked less than 8?
[/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_85 (lane INTEGER, country VARCHAR, rank VARCHAR)
Question: What is the highest lane for Brazil, ranked less than 8?
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_27712702_11 (game INTEGER, record VARCHAR)
Question: what was the game number where the record was 46–24?
[/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_27712702_11 (game INTEGER, record VARCHAR)
Question: what was the game number where the record was 46–24?
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_1341690_5 (party VARCHAR, district VARCHAR)
Question: How many parties won the election in the California 23 district?
[/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_1341690_5 (party VARCHAR, district VARCHAR)
Question: How many parties won the election in the California 23 district?
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_2365150_1 (open_cup VARCHAR, year VARCHAR)
Question: Name the total number of open cup for 1996
[/INST]
Here is the SQLite query to answer to the question: Na... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2365150_1 (open_cup VARCHAR, year VARCHAR)
Question: Name the total number of open cup for 1996
Here is the SQLite query to answer to the question: Name the total ... | bugdaryan/sql-create-context-instruction | |
[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 (bronze INTEGER, event VARCHAR, total VARCHAR)
Question: What is the highest Bronze with the Event 1972 Heidelberg and Total less than 5?
[/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_27 (bronze INTEGER, event VARCHAR, total VARCHAR)
Question: What is the highest Bronze with the Event 1972 Heidelberg and Total less than 5?
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_22903426_1 (other_builders VARCHAR, windows_builders VARCHAR)
Question: Name the number of other builders for nant, visual studio
[/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_22903426_1 (other_builders VARCHAR, windows_builders VARCHAR)
Question: Name the number of other builders for nant, visual studio
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 customers (customer_details VARCHAR, customer_id VARCHAR); CREATE TABLE policies (customer_id VARCHAR)
Question: Find the name of the customer that has been involve... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE customers (customer_details VARCHAR, customer_id VARCHAR); CREATE TABLE policies (customer_id VARCHAR)
Question: Find the name of the customer that has been involved in 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_38 (site VARCHAR, sport VARCHAR)
Question: Which Site has a Sport of w swimming?
[/INST]
Here is the SQLite query to answer to the question: Which Site h... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (site VARCHAR, sport VARCHAR)
Question: Which Site has a Sport of w swimming?
Here is the SQLite query to answer to the question: Which Site has a Sport 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 cinema (LOCATION VARCHAR)
Question: What are all the locations with a cinema?
[/INST]
Here is the SQLite query to answer to the question: What are all the locations... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE cinema (LOCATION VARCHAR)
Question: What are all the locations with a cinema?
Here is the SQLite query to answer to the question: What are all the locations with a cinem... | bugdaryan/sql-create-context-instruction | |
[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 (chassis VARCHAR, engine VARCHAR, sponsor VARCHAR)
Question: What is the Chassis of the Honda Engine with a Motorola sponsor?
[/INST]
Here is the SQLi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (chassis VARCHAR, engine VARCHAR, sponsor VARCHAR)
Question: What is the Chassis of the Honda Engine with a Motorola sponsor?
Here is the SQLite query to a... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (built VARCHAR, wheels VARCHAR, status VARCHAR)
Question: What is found in the Built column of the locomotive with 0-4-0 wheels that is still in servic... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (built VARCHAR, wheels VARCHAR, status VARCHAR)
Question: What is found in the Built column of the locomotive with 0-4-0 wheels that is still in service?
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_58 (series_1 VARCHAR, series_2 VARCHAR)
Question: What series 1 has a Doug Richards in Series 2?
[/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_58 (series_1 VARCHAR, series_2 VARCHAR)
Question: What series 1 has a Doug Richards in Series 2?
Here is the SQLite query to answer to the question: What seri... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (swing_to_gain INTEGER, winning_party_2007 VARCHAR, rank VARCHAR)
Question: What's the sum of swing to gain with a winning party 2007 of Conservative ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (swing_to_gain INTEGER, winning_party_2007 VARCHAR, rank VARCHAR)
Question: What's the sum of swing to gain with a winning party 2007 of Conservative with 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_59 (attendance VARCHAR, score VARCHAR)
Question: What is the Attendance of the game with a Score of 3–2?
[/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_59 (attendance VARCHAR, score VARCHAR)
Question: What is the Attendance of the game with a Score of 3–2?
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 trust (target_u_id VARCHAR); CREATE TABLE useracct (name VARCHAR, u_id VARCHAR)
Question: Find the name of the target user with the lowest trust score.
[/INST]
Here... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE trust (target_u_id VARCHAR); CREATE TABLE useracct (name VARCHAR, u_id VARCHAR)
Question: Find the name of the target user with the lowest trust score.
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_52 (tonnage__grt_ INTEGER, date VARCHAR)
Question: Which Tonnage (GRT) is the highest one that has a Date of 16 june 1940?
[/INST]
Here is the SQLite que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (tonnage__grt_ INTEGER, date VARCHAR)
Question: Which Tonnage (GRT) is the highest one that has a Date of 16 june 1940?
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_26 (state VARCHAR, interview VARCHAR, swimsuit VARCHAR, evening_gown VARCHAR)
Question: What state had less than 8.874 for swimsuit, less than 9.257 for ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (state VARCHAR, interview VARCHAR, swimsuit VARCHAR, evening_gown VARCHAR)
Question: What state had less than 8.874 for swimsuit, less than 9.257 for evenin... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16034882_4 (position INTEGER, loses VARCHAR)
Question: What position did the team with 3 losses finish?
[/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_16034882_4 (position INTEGER, loses VARCHAR)
Question: What position did the team with 3 losses finish?
Here is the SQLite query to answer to the question: What po... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2639433_4 (market_share__overall_ VARCHAR, viewers__in_millions_overall_ VARCHAR)
Question: If the overall viewers were 1.83 millions, what was the overall ma... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2639433_4 (market_share__overall_ VARCHAR, viewers__in_millions_overall_ VARCHAR)
Question: If the overall viewers were 1.83 millions, what was the overall market 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_2 (proximity VARCHAR, honor VARCHAR, singular VARCHAR)
Question: What is Proximity, when Honor is P, and when Singular is ẽr (his/her/its)?
[/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_2 (proximity VARCHAR, honor VARCHAR, singular VARCHAR)
Question: What is Proximity, when Honor is P, and when Singular is ẽr (his/her/its)?
Here is the SQLite... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (band VARCHAR, year INTEGER)
Question: What band has a year above 2011?
[/INST]
Here is the SQLite query to answer to the question: What band has a ye... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (band VARCHAR, year INTEGER)
Question: What band has a year above 2011?
Here is the SQLite query to answer to the question: What band has a year above 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_32 (outcomes VARCHAR, launch_date VARCHAR)
Question: Which Outcome has a Launch Date of march 18, 1964; 14:50 gmt?
[/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_32 (outcomes VARCHAR, launch_date VARCHAR)
Question: Which Outcome has a Launch Date of march 18, 1964; 14:50 gmt?
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_6 (date VARCHAR, week VARCHAR, attendance VARCHAR)
Question: Which date has a Week larger than 5, and an Attendance of 54,803?
[/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_6 (date VARCHAR, week VARCHAR, attendance VARCHAR)
Question: Which date has a Week larger than 5, and an Attendance of 54,803?
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_11677100_11 (hometown VARCHAR, position VARCHAR)
Question: WHAT HOMETOWN DOES HE PLAY AS THE CATCHER FOR?
[/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_11677100_11 (hometown VARCHAR, position VARCHAR)
Question: WHAT HOMETOWN DOES HE PLAY AS THE CATCHER FOR?
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 customers (customer_id VARCHAR, customer_name VARCHAR); CREATE TABLE orders (order_id VARCHAR, order_status VARCHAR, customer_id VARCHAR)
Question: Give me a list o... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR); CREATE TABLE orders (order_id VARCHAR, order_status VARCHAR, customer_id VARCHAR)
Question: Give me a list of id 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_66 (date VARCHAR, visitor VARCHAR)
Question: What date has ny islanders as the visitor?
[/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_66 (date VARCHAR, visitor VARCHAR)
Question: What date has ny islanders as the visitor?
Here is the SQLite query to answer to the question: What date has ny i... | 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.