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_19312274_2 (current INTEGER)
Question: what is the least current
[/INST]
Here is the SQLite query to answer to the question: what is the least current:
```
SE... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19312274_2 (current INTEGER)
Question: what is the least current
Here is the SQLite query to answer to the question: what is the least current:
```
SELECT MIN(curr... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE ALBUM (Id VARCHAR)
Question: How many albums are there?
[/INST]
Here is the SQLite query to answer to the question: How many albums are there?:
```
SELECT COUNT(*) ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE ALBUM (Id VARCHAR)
Question: How many albums are there?
Here is the SQLite query to answer to the question: How many albums are there?:
```
SELECT COUNT(*) FROM ALBUM
``... | bugdaryan/sql-create-context-instruction | |
[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 (mascot VARCHAR, school VARCHAR)
Question: Can you tell me the Mascot that has the School of rosedale?
[/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_70 (mascot VARCHAR, school VARCHAR)
Question: Can you tell me the Mascot that has the School of rosedale?
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_23 (home_team VARCHAR)
Question: What did Footscray score at the home game?
[/INST]
Here is the SQLite query to answer to the question: What did Footscra... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (home_team VARCHAR)
Question: What did Footscray score at the home game?
Here is the SQLite query to answer to the question: What did Footscray score at 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_18733814_2 (general_classification VARCHAR, points_classification VARCHAR, young_rider_classification VARCHAR)
Question: When thomas löfkvist is the young ri... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18733814_2 (general_classification VARCHAR, points_classification VARCHAR, young_rider_classification VARCHAR)
Question: When thomas löfkvist is the young rider cl... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29960651_5 (episode VARCHAR, no_for_season VARCHAR)
Question: Which episode is number 3 in the season?
[/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_29960651_5 (episode VARCHAR, no_for_season VARCHAR)
Question: Which episode is number 3 in the season?
Here is the SQLite query to answer to the question: Which ep... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (rank INTEGER, total VARCHAR, bronze VARCHAR)
Question: Which Rank has a Total larger than 30, and a Bronze of 14?
[/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_61 (rank INTEGER, total VARCHAR, bronze VARCHAR)
Question: Which Rank has a Total larger than 30, and a Bronze of 14?
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_224672_2 (term_began VARCHAR, elected VARCHAR)
Question: When did the term began when the date of election is N/A?
[/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_224672_2 (term_began VARCHAR, elected VARCHAR)
Question: When did the term began when the date of election is N/A?
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_12842068_1 (submitting_country VARCHAR, film_title_used_in_nomination VARCHAR)
Question: What country submitted the movie the orphanage?
[/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_12842068_1 (submitting_country VARCHAR, film_title_used_in_nomination VARCHAR)
Question: What country submitted the movie the orphanage?
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_30 (player VARCHAR, score VARCHAR)
Question: What player has a score of 67-70-77=214?
[/INST]
Here is the SQLite query to answer to the question: What pl... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (player VARCHAR, score VARCHAR)
Question: What player has a score of 67-70-77=214?
Here is the SQLite query to answer to the question: What player has a sc... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (enrollment VARCHAR, ihsaa_class VARCHAR)
Question: What is the total enrollment of the aa IHSAA class?
[/INST]
Here is the SQLite query to answer to ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (enrollment VARCHAR, ihsaa_class VARCHAR)
Question: What is the total enrollment of the aa IHSAA class?
Here is the SQLite query to answer to the question:... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (competition VARCHAR, goal VARCHAR)
Question: How was the competition in which 6 goals were made?
[/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_22 (competition VARCHAR, goal VARCHAR)
Question: How was the competition in which 6 goals were made?
Here is the SQLite query to answer to the question: How 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_82 (away_team VARCHAR, venue VARCHAR)
Question: Which Away team has a Venue of mcg?
[/INST]
Here is the SQLite query to answer to the question: Which Awa... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (away_team VARCHAR, venue VARCHAR)
Question: Which Away team has a Venue of mcg?
Here is the SQLite query to answer to the question: Which Away 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_3 (_percentage_fpv VARCHAR, party VARCHAR)
Question: What is the %FPv for the Workers' Party?
[/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_3 (_percentage_fpv VARCHAR, party VARCHAR)
Question: What is the %FPv for the Workers' Party?
Here is the SQLite query to answer to the question: What is the ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (average_attendance INTEGER, _number_of_home_games VARCHAR)
Question: What was the Average Attendance during the Year in which there were 9 Home Games... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (average_attendance INTEGER, _number_of_home_games VARCHAR)
Question: What was the Average Attendance during the Year in which there were 9 Home Games?
Her... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (set_3 VARCHAR, date VARCHAR, set_1 VARCHAR)
Question: What is the Set 3 on 30 may, and a Set 1 is 20–25?
[/INST]
Here is the SQLite query to answer t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (set_3 VARCHAR, date VARCHAR, set_1 VARCHAR)
Question: What is the Set 3 on 30 may, and a Set 1 is 20–25?
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_64 (results¹ VARCHAR, type_of_game VARCHAR, date VARCHAR)
Question: What was the result for the 1964 summer olympics on october 18?
[/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_64 (results¹ VARCHAR, type_of_game VARCHAR, date VARCHAR)
Question: What was the result for the 1964 summer olympics on october 18?
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_15872814_3 (score VARCHAR, team VARCHAR)
Question: Name the score for washington
[/INST]
Here is the SQLite query to answer to the question: Name the score fo... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15872814_3 (score VARCHAR, team VARCHAR)
Question: Name the score for washington
Here is the SQLite query to answer to the question: Name the score for washington:... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27319183_5 (official_itv1_rating__millions_ VARCHAR, episode VARCHAR)
Question: What was the official ITV1 rating in millions of the Live Final Results episod... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27319183_5 (official_itv1_rating__millions_ VARCHAR, episode VARCHAR)
Question: What was the official ITV1 rating in millions of the Live Final Results episode?
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_11 (time_elapsed VARCHAR, destination VARCHAR, closest_approach VARCHAR)
Question: With the Destination of Jupiter and the Closest approach of 4 February... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (time_elapsed VARCHAR, destination VARCHAR, closest_approach VARCHAR)
Question: With the Destination of Jupiter and the Closest approach of 4 February 2004,... | bugdaryan/sql-create-context-instruction | |
[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 (name VARCHAR, round VARCHAR)
Question: Tell me the name for round of e
[/INST]
Here is the SQLite query to answer to the question: Tell me the name f... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (name VARCHAR, round VARCHAR)
Question: Tell me the name for round of e
Here is the SQLite query to answer to the question: Tell me the name for round of e... | bugdaryan/sql-create-context-instruction | |
[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 (crowd INTEGER, venue VARCHAR)
Question: What is the total number of people that attended the glenferrie oval venue?
[/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_39 (crowd INTEGER, venue VARCHAR)
Question: What is the total number of people that attended the glenferrie oval venue?
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 documents (access_count INTEGER, document_structure_code VARCHAR)
Question: Find the average access count of documents with the least popular structure.
[/INST]
Her... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE documents (access_count INTEGER, document_structure_code VARCHAR)
Question: Find the average access count of documents with the least popular structure.
Here is the SQLi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (threat_level VARCHAR, overview VARCHAR)
Question: What is the Threat Levels with Rabbits in Australia?
[/INST]
Here is the SQLite query to answer to ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (threat_level VARCHAR, overview VARCHAR)
Question: What is the Threat Levels with Rabbits in Australia?
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_18 (grid INTEGER, driver VARCHAR, laps VARCHAR)
Question: What is the low grid for gerhard berger for laps over 56?
[/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_18 (grid INTEGER, driver VARCHAR, laps VARCHAR)
Question: What is the low grid for gerhard berger for laps over 56?
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_14253123_1 (in_no VARCHAR, county_name VARCHAR)
Question: When Spencer is the county what is the in no.?
[/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_14253123_1 (in_no VARCHAR, county_name VARCHAR)
Question: When Spencer is the county what is the in no.?
Here is the SQLite query to answer to the question: 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_20195922_3 (odds_of_winning__1in_ VARCHAR, divisions VARCHAR)
Question: How many odd of winning have 6th as the division?
[/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_20195922_3 (odds_of_winning__1in_ VARCHAR, divisions VARCHAR)
Question: How many odd of winning have 6th as the division?
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_28759261_5 (dadar_xi_‘b’ VARCHAR, good_shepherd VARCHAR)
Question: what is the dadar xi b where the good shepherd is sea liner fc?
[/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_28759261_5 (dadar_xi_‘b’ VARCHAR, good_shepherd VARCHAR)
Question: what is the dadar xi b where the good shepherd is sea liner fc?
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, score VARCHAR)
Question: Which team had a score of 103-96?
[/INST]
Here is the SQLite query to answer to the question: Which team had a... | 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, score VARCHAR)
Question: Which team had a score of 103-96?
Here is the SQLite query to answer to the question: Which team had a score of 103... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22825679_1 (sec_wins VARCHAR, percentage VARCHAR, home_record VARCHAR)
Question: Name the sec wins for .357 percentage and 4-3 home record
[/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_22825679_1 (sec_wins VARCHAR, percentage VARCHAR, home_record VARCHAR)
Question: Name the sec wins for .357 percentage and 4-3 home record
Here is the SQLite query... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1341586_39 (incumbent VARCHAR, candidates VARCHAR)
Question: who is the incumbent with candidates being tom ridge (r) 80.9% joylyn blackwell (d) 19.1%
[/INST]... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1341586_39 (incumbent VARCHAR, candidates VARCHAR)
Question: who is the incumbent with candidates being tom ridge (r) 80.9% joylyn blackwell (d) 19.1%
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 song (artist_name VARCHAR, song_name VARCHAR); CREATE TABLE artist (artist_name VARCHAR, country VARCHAR)
Question: What is the name and country of origin of the ar... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE song (artist_name VARCHAR, song_name VARCHAR); CREATE TABLE artist (artist_name VARCHAR, country VARCHAR)
Question: What is the name and country of origin of the artist w... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (week VARCHAR, attendance INTEGER)
Question: In what Week was the Attendance 39,434?
[/INST]
Here is the SQLite query to answer to the question: In wh... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (week VARCHAR, attendance INTEGER)
Question: In what Week was the Attendance 39,434?
Here is the SQLite query to answer to the question: In what Week 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_21458142_1 (sales_breakdown VARCHAR, publisher VARCHAR, release_date VARCHAR)
Question: What's the sales breakdown of the Nintendo game released on May 15, 20... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21458142_1 (sales_breakdown VARCHAR, publisher VARCHAR, release_date VARCHAR)
Question: What's the sales breakdown of the Nintendo game released on May 15, 2006?
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_38 (power_output_(kw) VARCHAR, total_production VARCHAR)
Question: Tell me the power output for total production of 100
[/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_38 (power_output_(kw) VARCHAR, total_production VARCHAR)
Question: Tell me the power output for total production of 100
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_34 (name VARCHAR, best VARCHAR)
Question: What is the name of the racer with a best time of 57.546?
[/INST]
Here is the SQLite query to answer to the que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (name VARCHAR, best VARCHAR)
Question: What is the name of the racer with a best time of 57.546?
Here is the SQLite query to answer to the question: What 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_30 (number_of_clubs INTEGER, season VARCHAR, total_wins VARCHAR)
Question: What is the sum of the number of clubs in seasons before 1992 with more than 3... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (number_of_clubs INTEGER, season VARCHAR, total_wins VARCHAR)
Question: What is the sum of the number of clubs in seasons before 1992 with more than 3 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_68 (runner_s__up VARCHAR, tournament VARCHAR)
Question: Who is the runner-up at the Chicago challenge?
[/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_68 (runner_s__up VARCHAR, tournament VARCHAR)
Question: Who is the runner-up at the Chicago challenge?
Here is the SQLite query to answer to the question: Who... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (rank INTEGER, lane VARCHAR, nationality VARCHAR, name VARCHAR)
Question: Can you tell me the lowest Rank that has the Nationality of australia, and t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (rank INTEGER, lane VARCHAR, nationality VARCHAR, name VARCHAR)
Question: Can you tell me the lowest Rank that has the Nationality of australia, and the Nam... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Video_games (gtype VARCHAR)
Question: Show all video game types.
[/INST]
Here is the SQLite query to answer to the question: Show all video game types.:
```
SELECT ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Video_games (gtype VARCHAR)
Question: Show all video game types.
Here is the SQLite query to answer to the question: Show all video game types.:
```
SELECT DISTINCT gtyp... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15555661_2 (percentage_of_total_area VARCHAR, percentage_of_land_area VARCHAR)
Question: What is the percentage of total area in the ecozone that the percenta... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15555661_2 (percentage_of_total_area VARCHAR, percentage_of_land_area VARCHAR)
Question: What is the percentage of total area in the ecozone that the percentage 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 Services (Workshop_Group_ID VARCHAR); CREATE TABLE Drama_Workshop_Groups (Store_Phone VARCHAR, Store_Email_Address VARCHAR, Workshop_Group_ID VARCHAR)
Question: Wha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Services (Workshop_Group_ID VARCHAR); CREATE TABLE Drama_Workshop_Groups (Store_Phone VARCHAR, Store_Email_Address VARCHAR, Workshop_Group_ID VARCHAR)
Question: What are ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29296103_10 (runner_up VARCHAR, tournament VARCHAR, champion VARCHAR)
Question: How many runner ups were there for the cologne , germany carpet – $75,000 – s3... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29296103_10 (runner_up VARCHAR, tournament VARCHAR, champion VARCHAR)
Question: How many runner ups were there for the cologne , germany carpet – $75,000 – s32/d16 ... | bugdaryan/sql-create-context-instruction | |
[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 (nhl_team VARCHAR, position VARCHAR, pick__number VARCHAR)
Question: What NHL team has a centre and pick number of 105?
[/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_46 (nhl_team VARCHAR, position VARCHAR, pick__number VARCHAR)
Question: What NHL team has a centre and pick number of 105?
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_1342218_24 (result VARCHAR, incumbent VARCHAR)
Question: What was the result of the election with jamie l. whitten?
[/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_1342218_24 (result VARCHAR, incumbent VARCHAR)
Question: What was the result of the election with jamie l. whitten?
Here is the SQLite query to answer to the quest... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (tamil_name VARCHAR, english_name VARCHAR)
Question: What is the Tamil Name of the Thaipusam holiday?
[/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_96 (tamil_name VARCHAR, english_name VARCHAR)
Question: What is the Tamil Name of the Thaipusam holiday?
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 editor (Age VARCHAR)
Question: Please show the most common age of editors.
[/INST]
Here is the SQLite query to answer to the question: Please show the most common a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE editor (Age VARCHAR)
Question: Please show the most common age of editors.
Here is the SQLite query to answer to the question: Please show the most common age of editors... | bugdaryan/sql-create-context-instruction | |
[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 (visitor VARCHAR, date VARCHAR)
Question: What is the name of the visitor on 2006-11-04?
[/INST]
Here is the SQLite query to answer to the question: W... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (visitor VARCHAR, date VARCHAR)
Question: What is the name of the visitor on 2006-11-04?
Here is the SQLite query to answer to the question: What is the na... | bugdaryan/sql-create-context-instruction | |
[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 (period VARCHAR, _number_found VARCHAR)
Question: What's the Period with # found of 5?
[/INST]
Here is the SQLite query to answer to the question: Wha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (period VARCHAR, _number_found VARCHAR)
Question: What's the Period with # found of 5?
Here is the SQLite query to answer to the question: What's the Perio... | bugdaryan/sql-create-context-instruction | |
[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 (club_province VARCHAR, caps VARCHAR)
Question: What club/province has 41 caps?
[/INST]
Here is the SQLite query to answer to the question: What club/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (club_province VARCHAR, caps VARCHAR)
Question: What club/province has 41 caps?
Here is the SQLite query to answer to the question: What club/province has ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2068761_1 (population__may_1 VARCHAR, _2000_ VARCHAR, barangay VARCHAR)
Question: Name th epopulation may for general terrero
[/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_2068761_1 (population__may_1 VARCHAR, _2000_ VARCHAR, barangay VARCHAR)
Question: Name th epopulation may for general terrero
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_69 (date VARCHAR, opponent_in_the_final VARCHAR)
Question: What date did Paul Goldstein play the final?
[/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_69 (date VARCHAR, opponent_in_the_final VARCHAR)
Question: What date did Paul Goldstein play the final?
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_51 (package_option VARCHAR, television_service VARCHAR)
Question: What package/option has sky arte hd as the television service?
[/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 (package_option VARCHAR, television_service VARCHAR)
Question: What package/option has sky arte hd as the television service?
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_35 (start INTEGER, finish VARCHAR, year VARCHAR, team VARCHAR)
Question: How many starts have a year prior to 2012, and team penske as the team, with a f... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (start INTEGER, finish VARCHAR, year VARCHAR, team VARCHAR)
Question: How many starts have a year prior to 2012, and team penske as the team, with a finish ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23284271_8 (date VARCHAR, record VARCHAR)
Question: When did the Mavericks have a record of 32-19?
[/INST]
Here is the SQLite query to answer to the question:... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23284271_8 (date VARCHAR, record VARCHAR)
Question: When did the Mavericks have a record of 32-19?
Here is the SQLite query to answer to the question: When did 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_2683116_1 (E VARCHAR, vap VARCHAR, turnout VARCHAR)
Question: What is the e/vap value for a turnout of exactly 85.7%?
[/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_2683116_1 (E VARCHAR, vap VARCHAR, turnout VARCHAR)
Question: What is the e/vap value for a turnout of exactly 85.7%?
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_94 (Left VARCHAR, location VARCHAR)
Question: What left office date happened in Washington?
[/INST]
Here is the SQLite query to answer to the question: W... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (Left VARCHAR, location VARCHAR)
Question: What left office date happened in Washington?
Here is the SQLite query to answer to the question: What left offi... | bugdaryan/sql-create-context-instruction | |
[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 (losses INTEGER, draws INTEGER)
Question: How many Losses have Draws larger than 0?
[/INST]
Here is the SQLite query to answer to the question: How ma... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (losses INTEGER, draws INTEGER)
Question: How many Losses have Draws larger than 0?
Here is the SQLite query to answer to the question: How many Losses hav... | bugdaryan/sql-create-context-instruction | |
[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 (team_1 VARCHAR, team_2 VARCHAR)
Question: What is the team 1 with team 2 Mount Cameroon FC?
[/INST]
Here is the SQLite query to answer to the questio... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (team_1 VARCHAR, team_2 VARCHAR)
Question: What is the team 1 with team 2 Mount Cameroon FC?
Here is the SQLite query to answer to the question: What is th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22383603_1 (start__reg_season_ VARCHAR, top_record VARCHAR)
Question: When did the season start that ended with the top record of Lindenwood (20–0–0)?
[/INST]... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22383603_1 (start__reg_season_ VARCHAR, top_record VARCHAR)
Question: When did the season start that ended with the top record of Lindenwood (20–0–0)?
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_95 (last VARCHAR, year VARCHAR, sport VARCHAR)
Question: Name the last for softball before 2000
[/INST]
Here is the SQLite query to answer to the questio... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (last VARCHAR, year VARCHAR, sport VARCHAR)
Question: Name the last for softball before 2000
Here is the SQLite query to answer to the question: Name the l... | bugdaryan/sql-create-context-instruction | |
[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 (away_team VARCHAR, home_team VARCHAR)
Question: What was the score of the away team when the home team was south melbourne?
[/INST]
Here is the SQLit... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (away_team VARCHAR, home_team VARCHAR)
Question: What was the score of the away team when the home team was south melbourne?
Here is the SQLite query to an... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (Id VARCHAR)
Question: Who held the same position in 2014 that Garion Weller held in 2014?
[/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_82 (Id VARCHAR)
Question: Who held the same position in 2014 that Garion Weller held in 2014?
Here is the SQLite query to answer to the question: Who held 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_24575253_4 (season VARCHAR, division_two VARCHAR)
Question: When racing epsom is in division two how many seasons are there?
[/INST]
Here is the SQLite query ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24575253_4 (season VARCHAR, division_two VARCHAR)
Question: When racing epsom is in division two how many seasons are there?
Here is the SQLite query to answer to ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (play VARCHAR, country VARCHAR, company VARCHAR)
Question: Which Play is from Cyprus, from the Company Magdalena Zira Theatre?
[/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_98 (play VARCHAR, country VARCHAR, company VARCHAR)
Question: Which Play is from Cyprus, from the Company Magdalena Zira Theatre?
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_27716091_1 (directed_by VARCHAR, production_code VARCHAR)
Question: who put on the show where the numbers were 227424
[/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_27716091_1 (directed_by VARCHAR, production_code VARCHAR)
Question: who put on the show where the numbers were 227424
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_1137718_2 (fastest_lap VARCHAR, grand_prix VARCHAR)
Question: What was the fastest lap at the Mexican Grand Prix?
[/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_1137718_2 (fastest_lap VARCHAR, grand_prix VARCHAR)
Question: What was the fastest lap at the Mexican Grand Prix?
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_52 (nationality VARCHAR, club_team VARCHAR)
Question: What is the nationality of a player from linköpings hc (se)?
[/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_52 (nationality VARCHAR, club_team VARCHAR)
Question: What is the nationality of a player from linköpings hc (se)?
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_18563954_3 (reason_for_change VARCHAR, state__class_ VARCHAR)
Question: Why did the change happened in Massachusetts (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_18563954_3 (reason_for_change VARCHAR, state__class_ VARCHAR)
Question: Why did the change happened in Massachusetts (2)?
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 dependent (sex VARCHAR)
Question: how many female dependents are there?
[/INST]
Here is the SQLite query to answer to the question: how many female dependents are t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE dependent (sex VARCHAR)
Question: how many female dependents are there?
Here is the SQLite query to answer to the question: how many female dependents are there?:
```
SE... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (played VARCHAR, points VARCHAR, drawn VARCHAR, team VARCHAR)
Question: How many games played for the army team with over 51 points and under 5 games ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (played VARCHAR, points VARCHAR, drawn VARCHAR, team VARCHAR)
Question: How many games played for the army team with over 51 points and under 5 games drawn?... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (classifaction VARCHAR, language VARCHAR, publisher VARCHAR)
Question: What classification has cantonese as the language, and universal pictures japan... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (classifaction VARCHAR, language VARCHAR, publisher VARCHAR)
Question: What classification has cantonese as the language, and universal pictures japan as 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 (home_team VARCHAR, venue VARCHAR)
Question: Who was the home side at glenferrie oval?
[/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_37 (home_team VARCHAR, venue VARCHAR)
Question: Who was the home side at glenferrie oval?
Here is the SQLite query to answer to the question: Who was the home... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21977627_1 (entrant VARCHAR, driver VARCHAR)
Question: How many entrants was yves giraud-cabantous?
[/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_21977627_1 (entrant VARCHAR, driver VARCHAR)
Question: How many entrants was yves giraud-cabantous?
Here is the SQLite query to answer to the question: How many en... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14342592_4 (player VARCHAR, position VARCHAR, starter VARCHAR, touchdowns VARCHAR)
Question: Name the number of players when starter is no and touchdowns is 1... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14342592_4 (player VARCHAR, position VARCHAR, starter VARCHAR, touchdowns VARCHAR)
Question: Name the number of players when starter is no and touchdowns is 1 for r... | bugdaryan/sql-create-context-instruction | |
[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 (capacity VARCHAR, club VARCHAR)
Question: What is the total number of capacity for the venue of the club, pirin?
[/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_30 (capacity VARCHAR, club VARCHAR)
Question: What is the total number of capacity for the venue of the club, pirin?
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_35 (date VARCHAR, location_attendance VARCHAR, record VARCHAR)
Question: What was the date of the game at the delta center when the record was 35-14?
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (date VARCHAR, location_attendance VARCHAR, record VARCHAR)
Question: What was the date of the game at the delta center when the record was 35-14?
Here is ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (largest_metropolitan_area VARCHAR, name VARCHAR)
Question: What is the largest metropolitan area of the Central-West?
[/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_99 (largest_metropolitan_area VARCHAR, name VARCHAR)
Question: What is the largest metropolitan area of the Central-West?
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_92 (game INTEGER, record VARCHAR)
Question: What is the highest Game, when Record is "21-30-11"?
[/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_92 (game INTEGER, record VARCHAR)
Question: What is the highest Game, when Record is "21-30-11"?
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_22951088_3 (original_air_date VARCHAR, no VARCHAR)
Question: What was the original air date of episode number 1?
[/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_22951088_3 (original_air_date VARCHAR, no VARCHAR)
Question: What was the original air date of episode number 1?
Here is the SQLite query to answer to the question... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (class VARCHAR, rank VARCHAR, machine VARCHAR, points VARCHAR)
Question: Which class had a machine of RS125R, points over 113, and a rank of 4th?
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (class VARCHAR, rank VARCHAR, machine VARCHAR, points VARCHAR)
Question: Which class had a machine of RS125R, points over 113, and a rank of 4th?
Here is t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (feminine_ōn_stems VARCHAR, feminine_ō_stems VARCHAR)
Question: What ending does siangu get for ön?
[/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_82 (feminine_ōn_stems VARCHAR, feminine_ō_stems VARCHAR)
Question: What ending does siangu get for ön?
Here is the SQLite query to answer to the question: Wha... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1620397_5 (series_sorted VARCHAR, _number VARCHAR)
Question: What series was sorted at number 3?
[/INST]
Here is the SQLite query to answer to the question: W... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1620397_5 (series_sorted VARCHAR, _number VARCHAR)
Question: What series was sorted at number 3?
Here is the SQLite query to answer to the question: What series wa... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1108394_43 (_percentage VARCHAR, total VARCHAR, queens VARCHAR)
Question: what's the % with total value of 249887 and queens value of 6.8%
[/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_1108394_43 (_percentage VARCHAR, total VARCHAR, queens VARCHAR)
Question: what's the % with total value of 249887 and queens value of 6.8%
Here is the SQLite query... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21781578_2 (season_no VARCHAR, directed_by VARCHAR)
Question: What was the season number episode directed by John David Coles?
[/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_21781578_2 (season_no VARCHAR, directed_by VARCHAR)
Question: What was the season number episode directed by John David Coles?
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_63 (played VARCHAR, points_for VARCHAR)
Question: What played has 247 as the points?
[/INST]
Here is the SQLite query to answer to the question: What pla... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (played VARCHAR, points_for VARCHAR)
Question: What played has 247 as the points?
Here is the SQLite query to answer to the question: What played has 247 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_22 (service VARCHAR, origin_of_programming VARCHAR, network VARCHAR)
Question: What is the service of the network Set Max from India?
[/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_22 (service VARCHAR, origin_of_programming VARCHAR, network VARCHAR)
Question: What is the service of the network Set Max from India?
Here is the SQLite query... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (name VARCHAR, transfer_fee VARCHAR)
Question: What is the Name, when the Transfer fee is "loan"?
[/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_80 (name VARCHAR, transfer_fee VARCHAR)
Question: What is the Name, when the Transfer fee is "loan"?
Here is the SQLite query to answer to the question: What ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (fa_cup_goals VARCHAR, flt_goals INTEGER)
Question: What is the total number of FA Cup Goals, when FLT Goals is greater than 0?
[/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_47 (fa_cup_goals VARCHAR, flt_goals INTEGER)
Question: What is the total number of FA Cup Goals, when FLT Goals is greater than 0?
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_12828723_5 (won VARCHAR, tries_against VARCHAR)
Question: What was the amount won with tries against at 54?
[/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_12828723_5 (won VARCHAR, tries_against VARCHAR)
Question: What was the amount won with tries against at 54?
Here is the SQLite query to answer to the question: Wha... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17622423_12 (date VARCHAR, series VARCHAR)
Question: Name the date for series 2-2
[/INST]
Here is the SQLite query to answer to the question: Name the date fo... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17622423_12 (date VARCHAR, series VARCHAR)
Question: Name the date for series 2-2
Here is the SQLite query to answer to the question: Name the date for series 2-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_82 (Id VARCHAR)
Question: What is 2010, when 2009 is "1"?
[/INST]
Here is the SQLite query to answer to the question: What is 2010, when 2009 is "1"?:
``... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (Id VARCHAR)
Question: What is 2010, when 2009 is "1"?
Here is the SQLite query to answer to the question: What is 2010, when 2009 is "1"?:
```
SELECT 2010... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE weekly_weather (day_of_week VARCHAR, high_temperature INTEGER)
Question: What is the average high temperature for each day of week?
[/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 weekly_weather (day_of_week VARCHAR, high_temperature INTEGER)
Question: What is the average high temperature for each day of week?
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_80 (source VARCHAR, terry_mcauliffe VARCHAR)
Question: Which Source has Terry McAuliffe of 36%
[/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_80 (source VARCHAR, terry_mcauliffe VARCHAR)
Question: Which Source has Terry McAuliffe of 36%
Here is the SQLite query to answer to the question: Which Sourc... | bugdaryan/sql-create-context-instruction | |
[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 (total INTEGER, gold VARCHAR, bronze VARCHAR)
Question: Name the sum of total for gold less than 1 and bronze of 3
[/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_56 (total INTEGER, gold VARCHAR, bronze VARCHAR)
Question: Name the sum of total for gold less than 1 and bronze of 3
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_36 (home_team VARCHAR, venue VARCHAR)
Question: What was the home team when the game was at Windy Hill?
[/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_36 (home_team VARCHAR, venue VARCHAR)
Question: What was the home team when the game was at Windy Hill?
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_46 (date_of_issue VARCHAR, design VARCHAR)
Question: What's the Date of Issue for Design of Katalin Kovats?
[/INST]
Here is the SQLite query to answer to... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (date_of_issue VARCHAR, design VARCHAR)
Question: What's the Date of Issue for Design of Katalin Kovats?
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_87 (points INTEGER, laps INTEGER)
Question: What is the average amount of points larger than 154 laps?
[/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_87 (points INTEGER, laps INTEGER)
Question: What is the average amount of points larger than 154 laps?
Here is the SQLite query to answer to the question: Wha... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14345690_15 (uk_co_presenter VARCHAR, co_presenter VARCHAR, comedian VARCHAR)
Question: Who are the UK co-presenters that have Joe Swash as a co-presenter and... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14345690_15 (uk_co_presenter VARCHAR, co_presenter VARCHAR, comedian VARCHAR)
Question: Who are the UK co-presenters that have Joe Swash as a co-presenter and Russe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10621256_1 (player VARCHAR, inns VARCHAR)
Question: what's the player where inns is 21
[/INST]
Here is the SQLite query to answer to the question: what's th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10621256_1 (player VARCHAR, inns VARCHAR)
Question: what's the player where inns is 21
Here is the SQLite query to answer to the question: what's the player wher... | 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.