text
stringlengths
318
1.29k
instruction_seed
stringlengths
305
1.28k
response_seed
stringclasses
1 value
_source
stringclasses
1 value
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_39 (rank INTEGER, built VARCHAR, building VARCHAR) Question: What is the sum of Rank with a build year earlier than 2007 for the howard johnson hotel buc...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_39 (rank INTEGER, built VARCHAR, building VARCHAR) Question: What is the sum of Rank with a build year earlier than 2007 for the howard johnson hotel bucharest...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE people (name VARCHAR, height VARCHAR) Question: find the names of people who are taller than 200 or lower than 190. [/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 people (name VARCHAR, height VARCHAR) Question: find the names of people who are taller than 200 or lower than 190. Here is the SQLite query to answer to the question: 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_39 (drawn INTEGER, points VARCHAR, games VARCHAR) Question: What is the highest number of draws with 14 points and less than 7 games? [/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_39 (drawn INTEGER, points VARCHAR, games VARCHAR) Question: What is the highest number of draws with 14 points and less than 7 games? 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_24639086_3 (viewers__in_millions_ VARCHAR, series__number VARCHAR) Question: What is the amount of viewers if the series number is 14? [/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_24639086_3 (viewers__in_millions_ VARCHAR, series__number VARCHAR) Question: What is the amount of viewers if the series number is 14? Here is the SQLite query to ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_1 (season VARCHAR, winner VARCHAR) Question: What season did the Rangers win? [/INST] Here is the SQLite query to answer to the question: What season did...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_1 (season VARCHAR, winner VARCHAR) Question: What season did the Rangers win? Here is the SQLite query to answer to the question: What season did the Rangers ...
bugdaryan/sql-create-context-instruction
[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 (date VARCHAR, tie_no VARCHAR) Question: What is the date when tie number is 6? [/INST] Here is the SQLite query to answer to the question: What is th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_98 (date VARCHAR, tie_no VARCHAR) Question: What is the date when tie number is 6? Here is the SQLite query to answer to the question: What is the date when 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_1610301_1 (headquarters VARCHAR, code VARCHAR) Question: Where is the headquarters of the place whose abbreviation is hy? [/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_1610301_1 (headquarters VARCHAR, code VARCHAR) Question: Where is the headquarters of the place whose abbreviation is hy? 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_46 (location VARCHAR, round VARCHAR, event VARCHAR) Question: What is the location of fightfest 2, which has 3 rounds? [/INST] Here is the SQLite query t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_46 (location VARCHAR, round VARCHAR, event VARCHAR) Question: What is the location of fightfest 2, which has 3 rounds? Here is the SQLite query to answer to t...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_21 (total INTEGER, snatch VARCHAR, event VARCHAR, clean_ VARCHAR, _jerk VARCHAR) Question: What is the lowest total that had less than 170 snatches, 56 k...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_21 (total INTEGER, snatch VARCHAR, event VARCHAR, clean_ VARCHAR, _jerk VARCHAR) Question: What is the lowest total that had less than 170 snatches, 56 kg even...
bugdaryan/sql-create-context-instruction
[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 (played INTEGER, lost VARCHAR, position VARCHAR, goals_against VARCHAR) Question: What is the lowest played that has a position greater than 6, 61 as ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_58 (played INTEGER, lost VARCHAR, position VARCHAR, goals_against VARCHAR) Question: What is the lowest played that has a position greater than 6, 61 as the go...
bugdaryan/sql-create-context-instruction
[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 (year VARCHAR, silver VARCHAR) Question: What year did Yuri Omeltchenko win Silver? [/INST] Here is the SQLite query to answer to the question: What y...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_57 (year VARCHAR, silver VARCHAR) Question: What year did Yuri Omeltchenko win Silver? Here is the SQLite query to answer to the question: What year did Yuri ...
bugdaryan/sql-create-context-instruction
[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 (school_club_team VARCHAR, player VARCHAR) Question: Which School/Club Team did Andre Wakefield play for? [/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_34 (school_club_team VARCHAR, player VARCHAR) Question: Which School/Club Team did Andre Wakefield play for? 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_41 (fourth_district VARCHAR, second_district VARCHAR) Question: Who's the Fourth District with a Second District of kurt van koevering? [/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_41 (fourth_district VARCHAR, second_district VARCHAR) Question: Who's the Fourth District with a Second District of kurt van koevering? 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 services (service_type_code VARCHAR) Question: List the type of the services in alphabetical order. [/INST] Here is the SQLite query to answer to the question: List...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE services (service_type_code VARCHAR) Question: List the type of the services in alphabetical order. Here is the SQLite query to answer to the question: List the type 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_88 (attendance VARCHAR, tie_no VARCHAR) Question: How many people attended the game with a Tie no of 30? [/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_88 (attendance VARCHAR, tie_no VARCHAR) Question: How many people attended the game with a Tie no of 30? Here is the SQLite query to answer to the question: 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_28 (date VARCHAR, series VARCHAR) Question: What Date had a Series of ATCC Round 6? [/INST] Here is the SQLite query to answer to the question: What Date...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_28 (date VARCHAR, series VARCHAR) Question: What Date had a Series of ATCC Round 6? Here is the SQLite query to answer to the question: What Date had a Series...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_75 (country VARCHAR, place VARCHAR, player VARCHAR) Question: What is the country of player dale douglass, who has a t8 place? [/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_75 (country VARCHAR, place VARCHAR, player VARCHAR) Question: What is the country of player dale douglass, who has a t8 place? 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_40 (to_par VARCHAR, score VARCHAR) Question: What is the to par for the score 64-73-74-69=280? [/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_40 (to_par VARCHAR, score VARCHAR) Question: What is the to par for the score 64-73-74-69=280? 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_26686908_2 (circuit VARCHAR, date VARCHAR) Question: Which circuit was held on 25–28 march? [/INST] Here is the SQLite query to answer to the question: Which ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_26686908_2 (circuit VARCHAR, date VARCHAR) Question: Which circuit was held on 25–28 march? Here is the SQLite query to answer to the question: Which circuit was 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 player (POSITION VARCHAR, Points INTEGER) Question: List the position of players and the average number of points of players of each position. [/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 player (POSITION VARCHAR, Points INTEGER) Question: List the position of players and the average number of points of players of each position. 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_19189856_1 (last_performance VARCHAR, performer VARCHAR) Question: what is the last performance of leon varkas category:articles with hcards [/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_19189856_1 (last_performance VARCHAR, performer VARCHAR) Question: what is the last performance of leon varkas category:articles with hcards 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_25604014_5 (no_in_season VARCHAR, directed_by VARCHAR) Question: How many episodes directed by david carson? [/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_25604014_5 (no_in_season VARCHAR, directed_by VARCHAR) Question: How many episodes directed by david carson? Here is the SQLite query to answer to the question: Ho...
bugdaryan/sql-create-context-instruction
[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 (tournament VARCHAR, finalist VARCHAR) Question: What tournament had Greg Rusedski as a finalist? [/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_68 (tournament VARCHAR, finalist VARCHAR) Question: What tournament had Greg Rusedski as a finalist? 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_2 (death VARCHAR, birth VARCHAR) Question: What is the date of death of the duchess born on 30 October 1797? [/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_2 (death VARCHAR, birth VARCHAR) Question: What is the date of death of the duchess born on 30 October 1797? 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_78 (attendance VARCHAR, date VARCHAR) Question: How many people attended on december 26, 1982? [/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_78 (attendance VARCHAR, date VARCHAR) Question: How many people attended on december 26, 1982? Here is the SQLite query to answer to the question: How many pe...
bugdaryan/sql-create-context-instruction
[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 (opponent VARCHAR, date VARCHAR) Question: Name the opponent for august 6 [/INST] Here is the SQLite query to answer to the question: Name the opponen...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_79 (opponent VARCHAR, date VARCHAR) Question: Name the opponent for august 6 Here is the SQLite query to answer to the question: Name the opponent for august ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2076533_1 (type VARCHAR, enrollment__2005_ VARCHAR) Question: Name the type for 1245 enrollment [/INST] Here is the SQLite query to answer to the question: Na...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2076533_1 (type VARCHAR, enrollment__2005_ VARCHAR) Question: Name the type for 1245 enrollment Here is the SQLite query to answer to the question: Name the type 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_75 (club_province VARCHAR, position VARCHAR, caps VARCHAR) Question: Which Club/province has a Position of centre, and Caps of 27? [/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_75 (club_province VARCHAR, position VARCHAR, caps VARCHAR) Question: Which Club/province has a Position of centre, and Caps of 27? 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_49 (voltage VARCHAR, model_number VARCHAR) Question: What's the voltage for the pentium dual-core e2140? [/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_49 (voltage VARCHAR, model_number VARCHAR) Question: What's the voltage for the pentium dual-core e2140? Here is the SQLite query to answer to the question: W...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_2 (venue VARCHAR, result VARCHAR) Question: Which Venue has a Result of 2–0? [/INST] Here is the SQLite query to answer to the question: Which Venue has ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_2 (venue VARCHAR, result VARCHAR) Question: Which Venue has a Result of 2–0? Here is the SQLite query to answer to the question: Which Venue has a Result of 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_59 (gold INTEGER, total VARCHAR, silver VARCHAR) Question: What is the fewest number of golds for teams with a total of 3 and fewer than 2 silvers? [/INS...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_59 (gold INTEGER, total VARCHAR, silver VARCHAR) Question: What is the fewest number of golds for teams with a total of 3 and fewer than 2 silvers? 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_name_31 (heat_semifinal_final VARCHAR, time VARCHAR) Question: What heat, semifinal or final has a time of 25.00? [/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_31 (heat_semifinal_final VARCHAR, time VARCHAR) Question: What heat, semifinal or final has a time of 25.00? 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_14 (opponent VARCHAR, date VARCHAR) Question: What opponent has april 10 as the date? [/INST] Here is the SQLite query to answer to the question: What op...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_14 (opponent VARCHAR, date VARCHAR) Question: What opponent has april 10 as the date? Here is the SQLite query to answer to the question: What opponent has ap...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE broadcast (program_id VARCHAR, Time_of_day VARCHAR); CREATE TABLE program (name VARCHAR, program_id VARCHAR); CREATE TABLE program (name VARCHAR) Question: Find the...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE broadcast (program_id VARCHAR, Time_of_day VARCHAR); CREATE TABLE program (name VARCHAR, program_id VARCHAR); CREATE TABLE program (name VARCHAR) Question: Find the names...
bugdaryan/sql-create-context-instruction
[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 (year INTEGER, date VARCHAR, designated_home VARCHAR) Question: What year had a date of TBA where the Oakland raiders were the home team? [/INST] Here...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_80 (year INTEGER, date VARCHAR, designated_home VARCHAR) Question: What year had a date of TBA where the Oakland raiders were the home team? Here is the SQLit...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_95 (value__ INTEGER, revenue__$m_ VARCHAR, country VARCHAR, operating_income_$m_ VARCHAR) Question: What was the average Value ($M) when the Country was ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_95 (value__ INTEGER, revenue__$m_ VARCHAR, country VARCHAR, operating_income_$m_ VARCHAR) Question: What was the average Value ($M) when the Country was Englan...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_33 (cars_entered INTEGER, winning_driver VARCHAR, season VARCHAR) Question: What are the largest Cars Entered with a Winning Driver of rodger ward, and a...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_33 (cars_entered INTEGER, winning_driver VARCHAR, season VARCHAR) Question: What are the largest Cars Entered with a Winning Driver of rodger ward, and a Seaso...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1918850_2 (surface VARCHAR, score_in_the_final VARCHAR) Question: what is the surface of the final which had score 6-2, 6-3 [/INST] Here is the SQLite query t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1918850_2 (surface VARCHAR, score_in_the_final VARCHAR) Question: what is the surface of the final which had score 6-2, 6-3 Here is the SQLite query to answer to t...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_76 (debut_year INTEGER, games VARCHAR, goals VARCHAR, years_at_club VARCHAR) Question: Which Debut year has Goals of 0, and Years at club of 1963, and Ga...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_76 (debut_year INTEGER, games VARCHAR, goals VARCHAR, years_at_club VARCHAR) Question: Which Debut year has Goals of 0, and Years at club of 1963, and Games la...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_11 (mark VARCHAR, name VARCHAR) Question: What is the mark for Kim Collins? [/INST] Here is the SQLite query to answer to the question: What is the mark ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_11 (mark VARCHAR, name VARCHAR) Question: What is the mark for Kim Collins? Here is the SQLite query to answer to the question: What is the mark for Kim Colli...
bugdaryan/sql-create-context-instruction
[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 (home_team VARCHAR, venue VARCHAR) Question: What is glenferrie oval's home team? [/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_59 (home_team VARCHAR, venue VARCHAR) Question: What is glenferrie oval's home team? Here is the SQLite query to answer to the question: What is glenferrie ov...
bugdaryan/sql-create-context-instruction
[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 (rank INTEGER, nationality VARCHAR, lane VARCHAR) Question: what is the lowest rank for the netherlands in lane less than 4? [/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_92 (rank INTEGER, nationality VARCHAR, lane VARCHAR) Question: what is the lowest rank for the netherlands in lane less than 4? 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_12261926_2 (trofeo_fast_team VARCHAR, stage VARCHAR) Question: What is the trofeo fast team on stage 8? [/INST] Here is the SQLite query to answer to the ques...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_12261926_2 (trofeo_fast_team VARCHAR, stage VARCHAR) Question: What is the trofeo fast team on stage 8? Here is the SQLite query to answer to the question: What is...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE channel (name VARCHAR, OWNER VARCHAR) Question: Find the names of channels that are not owned by CCTV. [/INST] Here is the SQLite query to answer to the question: F...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE channel (name VARCHAR, OWNER VARCHAR) Question: Find the names of channels that are not owned by CCTV. Here is the SQLite query to answer to the question: Find the names...
bugdaryan/sql-create-context-instruction
[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 (home_team VARCHAR, date VARCHAR) Question: Which home team is on April 21? [/INST] Here is the SQLite query to answer to the question: Which home tea...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_64 (home_team VARCHAR, date VARCHAR) Question: Which home team is on April 21? Here is the SQLite query to answer to the question: Which home team is on April...
bugdaryan/sql-create-context-instruction
[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 (date VARCHAR, venue VARCHAR) Question: On what date was a game played at MCG? [/INST] Here is the SQLite query to answer to the question: On what dat...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_89 (date VARCHAR, venue VARCHAR) Question: On what date was a game played at MCG? Here is the SQLite query to answer to the question: On what date was a 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_24223834_3 (original_air_date VARCHAR, us_viewers__in_millions_ VARCHAR) Question: What date did the episode that had 1.023 million u.s. viewers originally ai...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_24223834_3 (original_air_date VARCHAR, us_viewers__in_millions_ VARCHAR) Question: What date did the episode that had 1.023 million u.s. viewers originally air? 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_14601528_2 (class_aAAAA VARCHAR, school_year VARCHAR) Question: Name the class aaaaa for 2005-06 [/INST] Here is the SQLite query to answer to the question: N...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_14601528_2 (class_aAAAA VARCHAR, school_year VARCHAR) Question: Name the class aaaaa for 2005-06 Here is the SQLite query to answer to the question: Name the class...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_93 (result VARCHAR, guest VARCHAR) Question: What was the result when the guest was fc zürich (asl)? [/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_93 (result VARCHAR, guest VARCHAR) Question: What was the result when the guest was fc zürich (asl)? 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_96 (to_par VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR) Question: What is To Par, when Country is "United States", when Place is "T4", and wh...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_96 (to_par VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR) Question: What is To Par, when Country is "United States", when Place is "T4", and when Pla...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_24518475_1 (depth VARCHAR, time__utc_ VARCHAR) Question: What is the depth of the aftershock at 18:00:22? [/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_24518475_1 (depth VARCHAR, time__utc_ VARCHAR) Question: What is the depth of the aftershock at 18:00:22? 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_74 (attendance VARCHAR, game_site VARCHAR) Question: What is the total attendance for Candlestick Park? [/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_74 (attendance VARCHAR, game_site VARCHAR) Question: What is the total attendance for Candlestick Park? 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_28243691_1 (team_nickname VARCHAR, institution VARCHAR) Question: What is the mascot for texas tech university? [/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_28243691_1 (team_nickname VARCHAR, institution VARCHAR) Question: What is the mascot for texas tech university? 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 airport (Transit_Passengers INTEGER) Question: What are the maximum and minimum number of transit passengers of all aiports. [/INST] Here is the SQLite query to ans...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE airport (Transit_Passengers INTEGER) Question: What are the maximum and minimum number of transit passengers of all aiports. Here is the SQLite query to answer to the qu...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_20424140_3 (number_of_dances VARCHAR, place VARCHAR) Question: How many different numbers of total dances are there for the couple ranked at number 6? [/INST]...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_20424140_3 (number_of_dances VARCHAR, place VARCHAR) Question: How many different numbers of total dances are there for the couple ranked at number 6? 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_10470082_8 (writer VARCHAR, _number VARCHAR) Question: Who wrote episode #1 in season 7? [/INST] Here is the SQLite query to answer to the question: Who wrote...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_10470082_8 (writer VARCHAR, _number VARCHAR) Question: Who wrote episode #1 in season 7? Here is the SQLite query to answer to the question: Who wrote episode #1 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_41 (total INTEGER, matches VARCHAR, rank VARCHAR) Question: What is the total when matches is less than 3, and rank is smaller than 2? [/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_41 (total INTEGER, matches VARCHAR, rank VARCHAR) Question: What is the total when matches is less than 3, and rank is smaller than 2? Here is the SQLite quer...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_16799784_12 (name VARCHAR) Question: What is every name origin with the name Ovda Fluctus? [/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_16799784_12 (name VARCHAR) Question: What is every name origin with the name Ovda Fluctus? Here is the SQLite query to answer to the question: What is every name o...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_17 (combined_elapsed_time VARCHAR, skipper VARCHAR) Question: Which Combined elapsed time has a Skipper of stephen wilkins? [/INST] Here is the SQLite qu...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_17 (combined_elapsed_time VARCHAR, skipper VARCHAR) Question: Which Combined elapsed time has a Skipper of stephen wilkins? 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_19149550_7 (rank VARCHAR, london_borough VARCHAR) Question: What is the rank of london borough in southwark? [/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_19149550_7 (rank VARCHAR, london_borough VARCHAR) Question: What is the rank of london borough in southwark? 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_34 (player VARCHAR, total INTEGER) Question: What player had a total less than 277? [/INST] Here is the SQLite query to answer to the question: What play...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_34 (player VARCHAR, total INTEGER) Question: What player had a total less than 277? Here is the SQLite query to answer to the question: What player had a tota...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_31 (winner VARCHAR, semi_finalists VARCHAR) Question: What is the Winner when anke huber chanda rubin was semi finalist? [/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_31 (winner VARCHAR, semi_finalists VARCHAR) Question: What is the Winner when anke huber chanda rubin was semi finalist? 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_1507806_1 (year INTEGER, runner_up VARCHAR) Question: WHAT YEAR DID MIKE BRADY GET RUNNER-UP? [/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_1507806_1 (year INTEGER, runner_up VARCHAR) Question: WHAT YEAR DID MIKE BRADY GET RUNNER-UP? Here is the SQLite query to answer to the question: WHAT YEAR DID MIK...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE INVOICES (payment_method_code VARCHAR) Question: Show all payment method codes and the number of orders for each code. [/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 INVOICES (payment_method_code VARCHAR) Question: Show all payment method codes and the number of orders for each code. 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_71 (bronze INTEGER, total VARCHAR, gold VARCHAR, rank VARCHAR) Question: What's the number of bronze when they are ranked 29, had a total more than 3 and...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_71 (bronze INTEGER, total VARCHAR, gold VARCHAR, rank VARCHAR) Question: What's the number of bronze when they are ranked 29, had a total more than 3 and less ...
bugdaryan/sql-create-context-instruction
[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 (driver VARCHAR, points VARCHAR) Question: What Driver had 50+3 Points? [/INST] Here is the SQLite query to answer to the question: What Driver had 50...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_99 (driver VARCHAR, points VARCHAR) Question: What Driver had 50+3 Points? Here is the SQLite query to answer to the question: What Driver had 50+3 Points?: `...
bugdaryan/sql-create-context-instruction
[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 (model_number VARCHAR, part_number_s_ VARCHAR) Question: What is Model Number, when Part Number(s) is AY80609003987AB? [/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_70 (model_number VARCHAR, part_number_s_ VARCHAR) Question: What is Model Number, when Part Number(s) is AY80609003987AB? 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_23 (superlative VARCHAR, record_set VARCHAR) Question: What Superlative had a record set of 12 nominations? [/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_23 (superlative VARCHAR, record_set VARCHAR) Question: What Superlative had a record set of 12 nominations? 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_21 (result VARCHAR, week VARCHAR, opponent VARCHAR) Question: What was the result in a week lower than 10 with an opponent of Chicago Bears? [/INST] Here...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_21 (result VARCHAR, week VARCHAR, opponent VARCHAR) Question: What was the result in a week lower than 10 with an opponent of Chicago Bears? Here is the SQLit...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_27396005_2 (pos INTEGER, car VARCHAR) Question: For the #19 car, what was their finish position? [/INST] Here is the SQLite query to answer to the question: F...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_27396005_2 (pos INTEGER, car VARCHAR) Question: For the #19 car, what was their finish position? Here is the SQLite query to answer to the question: For the #19 ca...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_31 (Id VARCHAR) Question: What Country has a number smaller than 3 in 2004 and larger than 1 in 2005? [/INST] Here is the SQLite query to answer to the q...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_31 (Id VARCHAR) Question: What Country has a number smaller than 3 in 2004 and larger than 1 in 2005? 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_32 (top_10 INTEGER, tournament VARCHAR, wins VARCHAR) Question: What is the minimum Top-10 when the Open Championship was the tournament and the wins gre...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_32 (top_10 INTEGER, tournament VARCHAR, wins VARCHAR) Question: What is the minimum Top-10 when the Open Championship was the tournament and the wins greater 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 (record VARCHAR, home VARCHAR) Question: What was the record when chicago was the home team? [/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_63 (record VARCHAR, home VARCHAR) Question: What was the record when chicago was the home team? Here is the SQLite query to answer to the question: What was t...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_26 (score VARCHAR, date VARCHAR) Question: Name the score on august 1 [/INST] Here is the SQLite query to answer to the question: Name the score on augus...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_26 (score VARCHAR, date VARCHAR) Question: Name the score on august 1 Here is the SQLite query to answer to the question: Name the score on august 1: ``` SELE...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_2 (moving_from VARCHAR, moving_to VARCHAR, rank VARCHAR) Question: The person with a rank of 8 moving to Shakhtar Donetsk was moving from what Ukrainian ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_2 (moving_from VARCHAR, moving_to VARCHAR, rank VARCHAR) Question: The person with a rank of 8 moving to Shakhtar Donetsk was moving from what Ukrainian Footba...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_60 (transfer_fee VARCHAR, nat VARCHAR, since VARCHAR, goals VARCHAR) Question: What is the transfer fee for the MLI player with fewer than 63 goals in a ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_60 (transfer_fee VARCHAR, nat VARCHAR, since VARCHAR, goals VARCHAR) Question: What is the transfer fee for the MLI player with fewer than 63 goals in a year 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_2 (score VARCHAR, attendance VARCHAR) Question: What was the score of the game attended by 50,200? [/INST] Here is the SQLite query to answer to the ques...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_2 (score VARCHAR, attendance VARCHAR) Question: What was the score of the game attended by 50,200? Here is the SQLite query to answer to the question: What 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_name_78 (diameter__km_ INTEGER, latitude VARCHAR) Question: WHAT IS THE LOWEST DIAMETER FOR A LATITIDE OF 52.0S? [/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_78 (diameter__km_ INTEGER, latitude VARCHAR) Question: WHAT IS THE LOWEST DIAMETER FOR A LATITIDE OF 52.0S? 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_29 (alvin_greene__d_ VARCHAR, other VARCHAR) Question: What was the vote for Alvin Green when other was 9%? [/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_29 (alvin_greene__d_ VARCHAR, other VARCHAR) Question: What was the vote for Alvin Green when other was 9%? 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_47 (venue VARCHAR, date VARCHAR) Question: In which venue did the competition on 11 October 2008 take place? [/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_47 (venue VARCHAR, date VARCHAR) Question: In which venue did the competition on 11 October 2008 take place? 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_2296507_1 (system VARCHAR, constellation VARCHAR) Question: Name the system for aries [/INST] Here is the SQLite query to answer to the question: Name the sys...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2296507_1 (system VARCHAR, constellation VARCHAR) Question: Name the system for aries Here is the SQLite query to answer to the question: Name the system for aries...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE chip_model (Model_name VARCHAR, RAM_MiB VARCHAR); CREATE TABLE phone (Hardware_Model_name VARCHAR, chip_model VARCHAR, screen_mode VARCHAR); CREATE TABLE screen_mode (Gr...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE chip_model (Model_name VARCHAR, RAM_MiB VARCHAR); CREATE TABLE phone (Hardware_Model_name VARCHAR, chip_model VARCHAR, screen_mode VARCHAR); CREATE TABLE screen_mode (Graphics...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_12791809_1 (super_b_capacity_reached_ VARCHAR, _citation_needed_ VARCHAR, number_of_truck_loads_north VARCHAR) Question: When was the Super B capacity reached...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_12791809_1 (super_b_capacity_reached_ VARCHAR, _citation_needed_ VARCHAR, number_of_truck_loads_north VARCHAR) Question: When was the Super B capacity reached 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_name_29 (stories VARCHAR, rank VARCHAR) Question: Name the total number of stories that had a 16 rank [/INST] Here is the SQLite query to answer to the questi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_29 (stories VARCHAR, rank VARCHAR) Question: Name the total number of stories that had a 16 rank Here is the SQLite query to answer to the question: Name the ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_72 (region VARCHAR, format_s_ VARCHAR, date VARCHAR) Question: What region has a lp format on 4 August 2008? [/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_72 (region VARCHAR, format_s_ VARCHAR, date VARCHAR) Question: What region has a lp format on 4 August 2008? 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_67 (away_team VARCHAR, tie_no VARCHAR) Question: What team was the away team when the tie no is 40? [/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_67 (away_team VARCHAR, tie_no VARCHAR) Question: What team was the away team when the tie no is 40? Here is the SQLite query to answer to the question: What 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_1820752_1 (constellation VARCHAR, distance___ly__ VARCHAR) Question: If the distance is 55.7, what is the name of the constellation? [/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_1820752_1 (constellation VARCHAR, distance___ly__ VARCHAR) Question: If the distance is 55.7, what is the name of the constellation? 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 (score VARCHAR, home_team VARCHAR) Question: Which score has a Home Team of saskatoon accelerators? [/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_61 (score VARCHAR, home_team VARCHAR) Question: Which score has a Home Team of saskatoon accelerators? Here is the SQLite query to answer to the question: Whi...
bugdaryan/sql-create-context-instruction
[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 (miss_universe_philippines VARCHAR, second_runner_up VARCHAR) Question: Who won Miss Universe Philippines when Regina Hahn was second runner-up? [/INS...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_86 (miss_universe_philippines VARCHAR, second_runner_up VARCHAR) Question: Who won Miss Universe Philippines when Regina Hahn was second runner-up? 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_name_98 (gold INTEGER, rank VARCHAR, silver VARCHAR) Question: What is the sum of gold with a rank that is 3 and a silver larger than 7? [/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_98 (gold INTEGER, rank VARCHAR, silver VARCHAR) Question: What is the sum of gold with a rank that is 3 and a silver larger than 7? 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 management (department_id VARCHAR); CREATE TABLE department (department_id VARCHAR) Question: How many departments are led by heads who are not mentioned? [/INST] H...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE management (department_id VARCHAR); CREATE TABLE department (department_id VARCHAR) Question: How many departments are led by heads who are not mentioned? Here is the SQ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_17120964_6 (date VARCHAR, man_of_the_match VARCHAR) Question: On what day was Stuart Potts the Man of the Match? [/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_17120964_6 (date VARCHAR, man_of_the_match VARCHAR) Question: On what day was Stuart Potts the Man of the Match? 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_75 (grid INTEGER, driver VARCHAR, laps VARCHAR) Question: When Jean Alesi had laps less than 24, what was his highest grid? [/INST] Here is the SQLite qu...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_75 (grid INTEGER, driver VARCHAR, laps VARCHAR) Question: When Jean Alesi had laps less than 24, what was his highest grid? 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_55 (byes INTEGER, hampden_fl VARCHAR, wins VARCHAR, against VARCHAR) Question: What were the most byes of Terang-Mortlake when they had more than 11 wins...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_55 (byes INTEGER, hampden_fl VARCHAR, wins VARCHAR, against VARCHAR) Question: What were the most byes of Terang-Mortlake when they had more than 11 wins and 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_67 (guest VARCHAR, date VARCHAR, home VARCHAR) Question: Who was the gues on 25.11.07 when home was stade nyonnais (1.l)? [/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_67 (guest VARCHAR, date VARCHAR, home VARCHAR) Question: Who was the gues on 25.11.07 when home was stade nyonnais (1.l)? 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_2 (date VARCHAR, loss VARCHAR) Question: What was the date of the game that had a loss of Risley (0-1)? [/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_2 (date VARCHAR, loss VARCHAR) Question: What was the date of the game that had a loss of Risley (0-1)? 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_27561503_2 (gt_20_winning_team VARCHAR, sports_20_winning_team VARCHAR, circuit VARCHAR) Question: Name the gt 2.0 winning team for sports 2.0 winning team fo...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_27561503_2 (gt_20_winning_team VARCHAR, sports_20_winning_team VARCHAR, circuit VARCHAR) Question: Name the gt 2.0 winning team for sports 2.0 winning team for #16 ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_18425346_2 (district VARCHAR, serial_no VARCHAR) Question: In what district is the city listed in Serial number 9? [/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_18425346_2 (district VARCHAR, serial_no VARCHAR) Question: In what district is the city listed in Serial number 9? 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_11210576_3 (duration VARCHAR, actor VARCHAR) Question: What duration is listed for Christian de la Fuente? [/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_11210576_3 (duration VARCHAR, actor VARCHAR) Question: What duration is listed for Christian de la Fuente? 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_48 (report VARCHAR, home_team VARCHAR) Question: what report was in geelong [/INST] Here is the SQLite query to answer to the question: what report was i...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_48 (report VARCHAR, home_team VARCHAR) Question: what report was in geelong Here is the SQLite query to answer to the question: what report was in geelong: ``...
bugdaryan/sql-create-context-instruction