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 body_builder (People_ID VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR)
Question: What are the names of body builders?
[/INST]
Here is the SQLite qu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE body_builder (People_ID VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR)
Question: What are the names of body builders?
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_99 (frequency__mhz_ INTEGER, call_letters VARCHAR)
Question: Frequency (MHz) that has a Call letters of krmd-fm has what sum?
[/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_99 (frequency__mhz_ INTEGER, call_letters VARCHAR)
Question: Frequency (MHz) that has a Call letters of krmd-fm has what sum?
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 (type VARCHAR, course VARCHAR)
Question: What type is the race with the vicenza to marostica course?
[/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_29 (type VARCHAR, course VARCHAR)
Question: What type is the race with the vicenza to marostica course?
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_45 (game INTEGER, date VARCHAR)
Question: What average game has January 30 as the date?
[/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_45 (game INTEGER, date VARCHAR)
Question: What average game has January 30 as the date?
Here is the SQLite query to answer to the question: What average game ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_142950_1 (research_funding__ VARCHAR, gained_university_status VARCHAR)
Question: How many members gained university status in 1900?
[/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_142950_1 (research_funding__ VARCHAR, gained_university_status VARCHAR)
Question: How many members gained university status in 1900?
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_37 (termination_of_mission VARCHAR, appointed_by VARCHAR, title VARCHAR)
Question: What is the termination of mission date of the representative appointe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (termination_of_mission VARCHAR, appointed_by VARCHAR, title VARCHAR)
Question: What is the termination of mission date of the representative appointed by 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_11 (club_clubs VARCHAR, player VARCHAR)
Question: In what club(s) does Tony Lockett play?
[/INST]
Here is the SQLite query to answer to the question: In ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (club_clubs VARCHAR, player VARCHAR)
Question: In what club(s) does Tony Lockett play?
Here is the SQLite query to answer to the question: In what club(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_34 (river_mile INTEGER, location_ VARCHAR, l_ VARCHAR)
Question: What is the total of the River Mile in Greenup, Kentucky?
[/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_34 (river_mile INTEGER, location_ VARCHAR, l_ VARCHAR)
Question: What is the total of the River Mile in Greenup, Kentucky?
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_73 (total_matches INTEGER, points__percentage VARCHAR, year VARCHAR)
Question: In 2007, what is the average total matches with points % larger than 33.3?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (total_matches INTEGER, points__percentage VARCHAR, year VARCHAR)
Question: In 2007, what is the average total matches with points % larger than 33.3?
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_84 (rank VARCHAR, laps VARCHAR, finish VARCHAR)
Question: What rank had less than 200 laps with a finish of 26?
[/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_84 (rank VARCHAR, laps VARCHAR, finish VARCHAR)
Question: What rank had less than 200 laps with a finish of 26?
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_71 (new_entries VARCHAR, fixtures VARCHAR)
Question: What is the value for New entries, when the value for Fixtures is 2?
[/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_71 (new_entries VARCHAR, fixtures VARCHAR)
Question: What is the value for New entries, when the value for Fixtures is 2?
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_59 (tournament VARCHAR)
Question: What is the tournament with a 2006 value of A and a 2011 value of 3r?
[/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_59 (tournament VARCHAR)
Question: What is the tournament with a 2006 value of A and a 2011 value of 3r?
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_25 (swimsuit INTEGER, evening_gown VARCHAR, interview VARCHAR)
Question: What is the number for swimsuit when the evening gown number is larger than 9.25... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (swimsuit INTEGER, evening_gown VARCHAR, interview VARCHAR)
Question: What is the number for swimsuit when the evening gown number is larger than 9.257 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_89 (november INTEGER, game VARCHAR, points VARCHAR)
Question: Which November has a Game smaller than 16, and Points larger than 22?
[/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_89 (november INTEGER, game VARCHAR, points VARCHAR)
Question: Which November has a Game smaller than 16, and Points larger than 22?
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 Products (Product_Name VARCHAR, Product_Price VARCHAR)
Question: What is the name of the product with the highest price?
[/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 Products (Product_Name VARCHAR, Product_Price VARCHAR)
Question: What is the name of the product with the highest price?
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_15331868_1 (position INTEGER, difference VARCHAR)
Question: What is the smalledt position when the difference was 6?
[/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_15331868_1 (position INTEGER, difference VARCHAR)
Question: What is the smalledt position when the difference was 6?
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_18332845_2 (departure VARCHAR, arrival VARCHAR)
Question: What was the departure time when the arrival was 14.40?
[/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_18332845_2 (departure VARCHAR, arrival VARCHAR)
Question: What was the departure time when the arrival was 14.40?
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_55 (team VARCHAR, location_attendance VARCHAR)
Question: What team did the Heat play against at the TD Waterhouse Centre?
[/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_55 (team VARCHAR, location_attendance VARCHAR)
Question: What team did the Heat play against at the TD Waterhouse Centre?
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_27 (unit VARCHAR, pennant_number VARCHAR)
Question: Which unit has a Pennant Number of 82?
[/INST]
Here is the SQLite query to answer to the question: Wh... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (unit VARCHAR, pennant_number VARCHAR)
Question: Which unit has a Pennant Number of 82?
Here is the SQLite query to answer to the question: Which unit 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_23170118_2 (villains VARCHAR, episode_number VARCHAR)
Question: How many villains were in episode 3 (13)?
[/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_23170118_2 (villains VARCHAR, episode_number VARCHAR)
Question: How many villains were in episode 3 (13)?
Here is the SQLite query to answer to the question: How m... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (no_10 VARCHAR, no_8 VARCHAR, no_9 VARCHAR)
Question: Name the No. 10 which has a No. 8 of jackson, and a No. 9 of jayden?
[/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_94 (no_10 VARCHAR, no_8 VARCHAR, no_9 VARCHAR)
Question: Name the No. 10 which has a No. 8 of jackson, and a No. 9 of jayden?
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_18 (crowd VARCHAR, venue VARCHAR)
Question: What was the crowd size at Victoria Park?
[/INST]
Here is the SQLite query to answer to the question: What wa... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (crowd VARCHAR, venue VARCHAR)
Question: What was the crowd size at Victoria Park?
Here is the SQLite query to answer to the question: What was the crowd 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_35 (weight VARCHAR, club VARCHAR, name VARCHAR)
Question: What is Weight, when Club is "Ahly", and when Name is "Ragy Abdel Hady"?
[/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_35 (weight VARCHAR, club VARCHAR, name VARCHAR)
Question: What is Weight, when Club is "Ahly", and when Name is "Ragy Abdel Hady"?
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_86 (attendance VARCHAR, week VARCHAR, result VARCHAR)
Question: What was the attendance for the week before 10 with a result of L 12-15
[/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_name_86 (attendance VARCHAR, week VARCHAR, result VARCHAR)
Question: What was the attendance for the week before 10 with a result of L 12-15
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 Addresses (state_province_county VARCHAR, address_id VARCHAR); CREATE TABLE Staff (staff_address_id VARCHAR)
Question: List the states which have between 2 to 4 sta... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Addresses (state_province_county VARCHAR, address_id VARCHAR); CREATE TABLE Staff (staff_address_id VARCHAR)
Question: List the states which have between 2 to 4 staffs li... | bugdaryan/sql-create-context-instruction | |
[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 (date VARCHAR, label VARCHAR)
Question: On what date is the Chrysalis Records label.?
[/INST]
Here is the SQLite query to answer to the question: On w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (date VARCHAR, label VARCHAR)
Question: On what date is the Chrysalis Records label.?
Here is the SQLite query to answer to the question: On what date 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_16 (avg_g INTEGER, att_cmp_int VARCHAR)
Question: What is the lowest avg/g that has 2-9-0 for the att-cmp-int?
[/INST]
Here is the SQLite query to answer... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (avg_g INTEGER, att_cmp_int VARCHAR)
Question: What is the lowest avg/g that has 2-9-0 for the att-cmp-int?
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_70 (regular_season___preseason VARCHAR, date VARCHAR)
Question: What type of regular season/preseason game was played on August 25, 2007?
[/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_70 (regular_season___preseason VARCHAR, date VARCHAR)
Question: What type of regular season/preseason game was played on August 25, 2007?
Here is the SQLite q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (score VARCHAR, opponent_in_the_final VARCHAR)
Question: What was the score of the game against Divij Sharan?
[/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_56 (score VARCHAR, opponent_in_the_final VARCHAR)
Question: What was the score of the game against Divij Sharan?
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_82 (date VARCHAR, result VARCHAR, winner VARCHAR, year VARCHAR)
Question: Which date had a game with the New York Giants as the winner, year over 1985, a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (date VARCHAR, result VARCHAR, winner VARCHAR, year VARCHAR)
Question: Which date had a game with the New York Giants as the winner, year over 1985, and a 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_18424435_3 (written_by VARCHAR, canadian_viewers__million_ VARCHAR)
Question: Who wrote the episodes watched by 1.575 million people in Canada?
[/INST]
Here i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18424435_3 (written_by VARCHAR, canadian_viewers__million_ VARCHAR)
Question: Who wrote the episodes watched by 1.575 million people in Canada?
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_20 (school_club_team VARCHAR, player VARCHAR)
Question: Which team was Roy de Walt a player on?
[/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_20 (school_club_team VARCHAR, player VARCHAR)
Question: Which team was Roy de Walt a player on?
Here is the SQLite query to answer to the question: Which team... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10798421_1 (village__german_ VARCHAR, percent_of_slovenes_1951 VARCHAR)
Question: Provide me with the names of all the villages (German) that has 76.3% of Slo... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10798421_1 (village__german_ VARCHAR, percent_of_slovenes_1951 VARCHAR)
Question: Provide me with the names of all the villages (German) that has 76.3% of Slovenes ... | bugdaryan/sql-create-context-instruction | |
[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 (japanese VARCHAR, korean VARCHAR)
Question: Which JAPANESE has a KOREAN of 상나화수 / sanahwasa?
[/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 (japanese VARCHAR, korean VARCHAR)
Question: Which JAPANESE has a KOREAN of 상나화수 / sanahwasa?
Here is the SQLite query to answer to the question: Which JAP... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (result VARCHAR, opponent VARCHAR)
Question: What was the result of the los angeles rams game?
[/INST]
Here is the SQLite query to answer to the quest... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (result VARCHAR, opponent VARCHAR)
Question: What was the result of the los angeles rams game?
Here is the SQLite query to answer to the question: What was... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (l2_cache VARCHAR, release_date VARCHAR)
Question: What L2 cache had a release date of august 26, 2007?
[/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_71 (l2_cache VARCHAR, release_date VARCHAR)
Question: What L2 cache had a release date of august 26, 2007?
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_32 (loser VARCHAR, result VARCHAR)
Question: What was the Loser of the Game with a Result of 35-27?
[/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_32 (loser VARCHAR, result VARCHAR)
Question: What was the Loser of the Game with a Result of 35-27?
Here is the SQLite query to answer to the question: What 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_85 (away_team VARCHAR, home_team VARCHAR)
Question: Who is the away team that tottenham hotspur played?
[/INST]
Here is the SQLite query to answer to the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (away_team VARCHAR, home_team VARCHAR)
Question: Who is the away team that tottenham hotspur played?
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_28601467_1 (runner_up VARCHAR, winner VARCHAR)
Question: What is the runner-up record where winner record is Ireland 59 points?
[/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_28601467_1 (runner_up VARCHAR, winner VARCHAR)
Question: What is the runner-up record where winner record is Ireland 59 points?
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_87 (crowd INTEGER, venue VARCHAR)
Question: What is the largest crowd at arden street oval?
[/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_87 (crowd INTEGER, venue VARCHAR)
Question: What is the largest crowd at arden street oval?
Here is the SQLite query to answer to the question: What is the la... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10360823_1 (round VARCHAR, overall VARCHAR)
Question: Overall pick 240 was a pick in which round?
[/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_10360823_1 (round VARCHAR, overall VARCHAR)
Question: Overall pick 240 was a pick in which round?
Here is the SQLite query to answer to the question: Overall pick ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (laps INTEGER, driver VARCHAR, grid VARCHAR)
Question: What is the high lap total for mika salo with a grid greater than 17?
[/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_66 (laps INTEGER, driver VARCHAR, grid VARCHAR)
Question: What is the high lap total for mika salo with a grid greater than 17?
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_61 (report VARCHAR, winning_driver VARCHAR)
Question: Which Report has a Winning driver of emerson fittipaldi?
[/INST]
Here is the SQLite query to answer... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (report VARCHAR, winning_driver VARCHAR)
Question: Which Report has a Winning driver of emerson fittipaldi?
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_27 (result VARCHAR, attendance VARCHAR)
Question: Which team won on the day when attendance was 42,308?
[/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_27 (result VARCHAR, attendance VARCHAR)
Question: Which team won on the day when attendance was 42,308?
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_13 (power VARCHAR, name VARCHAR)
Question: what is the power when the name is 1.2 16v lpg?
[/INST]
Here is the SQLite query to answer to the question: wh... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (power VARCHAR, name VARCHAR)
Question: what is the power when the name is 1.2 16v lpg?
Here is the SQLite query to answer to the question: what is the pow... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (base_pairs INTEGER, genes VARCHAR)
Question: What is the average number of base pairs with 784 genes?
[/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_53 (base_pairs INTEGER, genes VARCHAR)
Question: What is the average number of base pairs with 784 genes?
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_9 (record VARCHAR, opponent VARCHAR, date VARCHAR)
Question: Which record has an Opponent of orioles and a Date of april 14?
[/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_9 (record VARCHAR, opponent VARCHAR, date VARCHAR)
Question: Which record has an Opponent of orioles and a Date of april 14?
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_16 (episode VARCHAR, production_code VARCHAR, season VARCHAR, directed_by VARCHAR)
Question: Which episode was directed by Bob Anderson with a production... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (episode VARCHAR, production_code VARCHAR, season VARCHAR, directed_by VARCHAR)
Question: Which episode was directed by Bob Anderson with a production code ... | bugdaryan/sql-create-context-instruction | |
[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 (score VARCHAR, date VARCHAR)
Question: Which score has a Date of august 17?
[/INST]
Here is the SQLite query to answer to the question: Which score h... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (score VARCHAR, date VARCHAR)
Question: Which score has a Date of august 17?
Here is the SQLite query to answer to the question: Which score has a Date 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_70 (character VARCHAR, french_voice_actor VARCHAR, german_voice_actor VARCHAR)
Question: Which character has a French voice actor of Marc Saez and a Germ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (character VARCHAR, french_voice_actor VARCHAR, german_voice_actor VARCHAR)
Question: Which character has a French voice actor of Marc Saez and a German voi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Projects (project_id VARCHAR, project_details VARCHAR)
Question: List ids and details for all projects.
[/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 Projects (project_id VARCHAR, project_details VARCHAR)
Question: List ids and details for all projects.
Here is the SQLite query to answer to the question: List ids 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_15 (latitude INTEGER, pop__2010_ VARCHAR, water__sqmi_ VARCHAR, county VARCHAR)
Question: What is the average latitude for townships in Dickey county wit... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (latitude INTEGER, pop__2010_ VARCHAR, water__sqmi_ VARCHAR, county VARCHAR)
Question: What is the average latitude for townships in Dickey county with wate... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE news_report (work_type VARCHAR, journalist_id VARCHAR); CREATE TABLE journalist (age INTEGER, journalist_id VARCHAR)
Question: Find the average age and experience w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE news_report (work_type VARCHAR, journalist_id VARCHAR); CREATE TABLE journalist (age INTEGER, journalist_id VARCHAR)
Question: Find the average age and experience working... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (home VARCHAR, date VARCHAR)
Question: Who is the home team on March 5?
[/INST]
Here is the SQLite query to answer to the question: Who is the home te... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (home VARCHAR, date VARCHAR)
Question: Who is the home team on March 5?
Here is the SQLite query to answer to the question: Who is the home team on March 5... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1342315_10 (first_elected VARCHAR, district VARCHAR)
Question: How many winners were there in the Georgia 1 district?
[/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_1342315_10 (first_elected VARCHAR, district VARCHAR)
Question: How many winners were there in the Georgia 1 district?
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_1360997_3 (jockey VARCHAR, venue VARCHAR, weight__kg_ VARCHAR)
Question: Who was the jockey at Rosehill and the weight was 57.5 kg?
[/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_1360997_3 (jockey VARCHAR, venue VARCHAR, weight__kg_ VARCHAR)
Question: Who was the jockey at Rosehill and the weight was 57.5 kg?
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_45 (level INTEGER, leaguecontested VARCHAR, season VARCHAR)
Question: Which Level has a League Contested of northern premier league premier division, and... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (level INTEGER, leaguecontested VARCHAR, season VARCHAR)
Question: Which Level has a League Contested of northern premier league premier division, and a Sea... | bugdaryan/sql-create-context-instruction | |
[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 (opponent_in_the_final VARCHAR, surface VARCHAR, score VARCHAR)
Question: What was the Opponent on the game played on a Hard Surface with a Score of 3... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (opponent_in_the_final VARCHAR, surface VARCHAR, score VARCHAR)
Question: What was the Opponent on the game played on a Hard Surface with a Score of 3–6, 6–... | bugdaryan/sql-create-context-instruction | |
[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 (country VARCHAR, mountain VARCHAR, range VARCHAR, prominence__m_ VARCHAR, height__m_ VARCHAR)
Question: Which Country has a Prominence (m) smaller th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (country VARCHAR, mountain VARCHAR, range VARCHAR, prominence__m_ VARCHAR, height__m_ VARCHAR)
Question: Which Country has a Prominence (m) smaller than 154... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22344463_2 (date_of_birth VARCHAR, height VARCHAR, home_team VARCHAR)
Question: If the height is 185cm and the home team is Heaton Mersey, what is the date of... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22344463_2 (date_of_birth VARCHAR, height VARCHAR, home_team VARCHAR)
Question: If the height is 185cm and the home team is Heaton Mersey, what is the date of birth... | bugdaryan/sql-create-context-instruction | |
[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 (report VARCHAR, winning_driver VARCHAR)
Question: What report did Jack Brabham win?
[/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_21 (report VARCHAR, winning_driver VARCHAR)
Question: What report did Jack Brabham win?
Here is the SQLite query to answer to the question: What report did Ja... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25429986_1 (position VARCHAR, handicap VARCHAR)
Question: what position has a handicap of 10-2?
[/INST]
Here is the SQLite query to answer to the question: wh... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25429986_1 (position VARCHAR, handicap VARCHAR)
Question: what position has a handicap of 10-2?
Here is the SQLite query to answer to the question: what position 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_2160008_4 (reason_for_change VARCHAR, date_successor_seated VARCHAR)
Question: Name the number of reason for change on may 11, 1939
[/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_2160008_4 (reason_for_change VARCHAR, date_successor_seated VARCHAR)
Question: Name the number of reason for change on may 11, 1939
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_98 (points INTEGER, player VARCHAR, assists VARCHAR)
Question: How many total points does Mike Hyndman have with more than 119 assists?
[/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_name_98 (points INTEGER, player VARCHAR, assists VARCHAR)
Question: How many total points does Mike Hyndman have with more than 119 assists?
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_27723228_8 (record VARCHAR, score VARCHAR)
Question: What is the record when the score was l 84–96 (ot)?
[/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_27723228_8 (record VARCHAR, score VARCHAR)
Question: What is the record when the score was l 84–96 (ot)?
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_181892_4 (laps_led INTEGER, chassis VARCHAR)
Question: What is the largest laps led with the lotus-ford 34/3 chassis?
[/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_181892_4 (laps_led INTEGER, chassis VARCHAR)
Question: What is the largest laps led with the lotus-ford 34/3 chassis?
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_45 (date VARCHAR, attendance INTEGER)
Question: What game had more than 50,324 in attendance?
[/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_45 (date VARCHAR, attendance INTEGER)
Question: What game had more than 50,324 in attendance?
Here is the SQLite query to answer to the question: What game ha... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (year INTEGER, start VARCHAR)
Question: Which Year has a Start of 14?
[/INST]
Here is the SQLite query to answer to the question: Which Year has a Sta... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (year INTEGER, start VARCHAR)
Question: Which Year has a Start of 14?
Here is the SQLite query to answer to the question: Which Year has a Start of 14?:
``... | bugdaryan/sql-create-context-instruction | |
[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 (accreditation_type VARCHAR, company_name VARCHAR)
Question: What is the accreditation type of Vodacom Group PTY LTD (Vodafone group)?
[/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_22 (accreditation_type VARCHAR, company_name VARCHAR)
Question: What is the accreditation type of Vodacom Group PTY LTD (Vodafone group)?
Here is the SQLite q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (play_offs INTEGER, total VARCHAR, league VARCHAR, player VARCHAR)
Question: What is the mean number of play-offs when the league number was bigger th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (play_offs INTEGER, total VARCHAR, league VARCHAR, player VARCHAR)
Question: What is the mean number of play-offs when the league number was bigger than 18,... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17311797_10 (high_points VARCHAR, game VARCHAR)
Question: Which player had the highest points in game 79?
[/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_17311797_10 (high_points VARCHAR, game VARCHAR)
Question: Which player had the highest points in game 79?
Here is the SQLite query to answer to the question: Which... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (event VARCHAR, opponent VARCHAR)
Question: At what event did he fight matt eckerle?
[/INST]
Here is the SQLite query to answer to the question: At wh... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (event VARCHAR, opponent VARCHAR)
Question: At what event did he fight matt eckerle?
Here is the SQLite query to answer to the question: At what event did ... | bugdaryan/sql-create-context-instruction | |
[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 (championship VARCHAR, year VARCHAR, opponent VARCHAR, surface VARCHAR)
Question: Which championship has Roger Federer as an opponent on a clay surfac... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (championship VARCHAR, year VARCHAR, opponent VARCHAR, surface VARCHAR)
Question: Which championship has Roger Federer as an opponent on a clay surface in 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 MATCH (match_id VARCHAR, competition VARCHAR)
Question: Find the match ids of the cities that hosted competition "1994 FIFA World Cup qualification"?
[/INST]
Here i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE MATCH (match_id VARCHAR, competition VARCHAR)
Question: Find the match ids of the cities that hosted competition "1994 FIFA World Cup qualification"?
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_56 (network VARCHAR, local_name VARCHAR)
Question: Which Network has a Local name of moj tata je bolji od tvog tate?
[/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 (network VARCHAR, local_name VARCHAR)
Question: Which Network has a Local name of moj tata je bolji od tvog tate?
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_14465871_1 (powershell__cmdlet_ VARCHAR, unix_shell VARCHAR)
Question: How many values of powershell (cmdlet) are valid when unix shell is env, export, set, s... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14465871_1 (powershell__cmdlet_ VARCHAR, unix_shell VARCHAR)
Question: How many values of powershell (cmdlet) are valid when unix shell is env, export, set, setenv?... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE actor (Name VARCHAR, Musical_ID VARCHAR); CREATE TABLE musical (Name VARCHAR, Musical_ID VARCHAR)
Question: Show names of actors and names of musicals they are in.
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE actor (Name VARCHAR, Musical_ID VARCHAR); CREATE TABLE musical (Name VARCHAR, Musical_ID VARCHAR)
Question: Show names of actors and names of musicals they are in.
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_53 (road_team VARCHAR, home_team VARCHAR, result VARCHAR)
Question: What is the road team of the game with Philadelphia as the home team with a result of... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (road_team VARCHAR, home_team VARCHAR, result VARCHAR)
Question: What is the road team of the game with Philadelphia as the home team with a result of 105-1... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (home_team VARCHAR, date VARCHAR, venue VARCHAR)
Question: Who is the home team at Victoria Park on 20 April 1957?
[/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_62 (home_team VARCHAR, date VARCHAR, venue VARCHAR)
Question: Who is the home team at Victoria Park on 20 April 1957?
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 building (height_feet INTEGER, floors INTEGER)
Question: Show the number of buildings with a height above the average or a number of floors above the average.
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE building (height_feet INTEGER, floors INTEGER)
Question: Show the number of buildings with a height above the average or a number of floors above the average.
Here is th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1858574_2 (sail_number VARCHAR, position VARCHAR)
Question: When 3 is the position what is the sail number?
[/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_1858574_2 (sail_number VARCHAR, position VARCHAR)
Question: When 3 is the position what is the sail number?
Here is the SQLite query to answer to the question: Whe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25691838_11 (production_code VARCHAR, original_airdate VARCHAR)
Question: How many production codes were there for the episode that aired on November 15?
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25691838_11 (production_code VARCHAR, original_airdate VARCHAR)
Question: How many production codes were there for the episode that aired on November 15?
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_42 (title_playoff INTEGER, league VARCHAR, super_cup VARCHAR)
Question: What is the lowest Title Playoff, when League is greater than 3, and when Super C... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (title_playoff INTEGER, league VARCHAR, super_cup VARCHAR)
Question: What is the lowest Title Playoff, when League is greater than 3, and when Super Cup 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_221398_1 (prefecture VARCHAR, area__km²_ VARCHAR)
Question: How many prefectures have an area of 361.719 kilometers squared?
[/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_221398_1 (prefecture VARCHAR, area__km²_ VARCHAR)
Question: How many prefectures have an area of 361.719 kilometers squared?
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_17001658_10 (record VARCHAR, high_rebounds VARCHAR)
Question: What was the final score of the game with gerald wallace (14) as the High Rebound?
[/INST]
Here ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17001658_10 (record VARCHAR, high_rebounds VARCHAR)
Question: What was the final score of the game with gerald wallace (14) as the High Rebound?
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_90 (season VARCHAR, date VARCHAR)
Question: During which Season did the may 11, 2002 event take place?
[/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_90 (season VARCHAR, date VARCHAR)
Question: During which Season did the may 11, 2002 event take place?
Here is the SQLite query to answer to the question: Dur... | bugdaryan/sql-create-context-instruction | |
[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 (winner VARCHAR, team VARCHAR, circuit VARCHAR)
Question: What is Winner, when Team is "R.J.MacArthur Onslow", and when Circuit is "Oran Park Raceway"... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (winner VARCHAR, team VARCHAR, circuit VARCHAR)
Question: What is Winner, when Team is "R.J.MacArthur Onslow", and when Circuit is "Oran Park Raceway"?
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_49 (class VARCHAR, part_3 VARCHAR)
Question: What is the class for trafen in part 3?
[/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_49 (class VARCHAR, part_3 VARCHAR)
Question: What is the class for trafen in part 3?
Here is the SQLite query to answer to the question: What is the class for... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (silver INTEGER, gold INTEGER)
Question: What is the largest silver with less than 0 gold?
[/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_63 (silver INTEGER, gold INTEGER)
Question: What is the largest silver with less than 0 gold?
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_54 (played INTEGER, percentage VARCHAR, lost VARCHAR)
Question: What is the average of games played with a percentage of 3.33% and less than 29 losses?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (played INTEGER, percentage VARCHAR, lost VARCHAR)
Question: What is the average of games played with a percentage of 3.33% and less than 29 losses?
Here i... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10360656_1 (player_name VARCHAR, position VARCHAR)
Question: What was the name of the quarterback drafted?
[/INST]
Here is the SQLite query to answer to the q... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10360656_1 (player_name VARCHAR, position VARCHAR)
Question: What was the name of the quarterback drafted?
Here is the SQLite query to answer to the question: What... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (nickname VARCHAR, meaning VARCHAR)
Question: What nickname has the meaning of God knows my journey?
[/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_63 (nickname VARCHAR, meaning VARCHAR)
Question: What nickname has the meaning of God knows my journey?
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_2001348_1 (ilo_code VARCHAR, revising_convention_s_ VARCHAR)
Question: How many ILO codes are there with revising conventions of 'this convention, work in fis... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2001348_1 (ilo_code VARCHAR, revising_convention_s_ VARCHAR)
Question: How many ILO codes are there with revising conventions of 'this convention, work in fishing c... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22020724_1 (director VARCHAR, film_title_used_in_nomination VARCHAR)
Question: Who directed the film titled 'Steam of Life'?
[/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_22020724_1 (director VARCHAR, film_title_used_in_nomination VARCHAR)
Question: Who directed the film titled 'Steam of Life'?
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_43 (word__number INTEGER, subframe__number INTEGER)
Question: What is the total word count with a subframe count greater than 3?
[/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_43 (word__number INTEGER, subframe__number INTEGER)
Question: What is the total word count with a subframe count greater than 3?
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_78 (location VARCHAR, opponent_team VARCHAR)
Question: Where was the game when Police S.A. was the opponent?
[/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_78 (location VARCHAR, opponent_team VARCHAR)
Question: Where was the game when Police S.A. was the opponent?
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_57 (game INTEGER, team VARCHAR)
Question: What is the earliest game against Orlando?
[/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_57 (game INTEGER, team VARCHAR)
Question: What is the earliest game against Orlando?
Here is the SQLite query to answer to the question: What is the earliest ... | bugdaryan/sql-create-context-instruction | |
[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 (role VARCHAR, tournament VARCHAR)
Question: What is the Role in the 1st Division Honduras Tournament?
[/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_82 (role VARCHAR, tournament VARCHAR)
Question: What is the Role in the 1st Division Honduras Tournament?
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_25016824_2 (eliminated VARCHAR, vote VARCHAR)
Question: Who was eliminated when the vote was 8-1?
[/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_25016824_2 (eliminated VARCHAR, vote VARCHAR)
Question: Who was eliminated when the vote was 8-1?
Here is the SQLite query to answer to the question: Who was elimi... | bugdaryan/sql-create-context-instruction | |
[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 (rank VARCHAR, goals VARCHAR, matches VARCHAR)
Question: What is the total number of Rank with 100 goals, and less than 300 matches?
[/INST]
Here is th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (rank VARCHAR, goals VARCHAR, matches VARCHAR)
Question: What is the total number of Rank with 100 goals, and less than 300 matches?
Here is the SQLite quer... | 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.