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 Staff (staff_address_id VARCHAR); CREATE TABLE Addresses (city VARCHAR, address_id VARCHAR) Question: Which city lives most of staffs? List the city name and number...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Staff (staff_address_id VARCHAR); CREATE TABLE Addresses (city VARCHAR, address_id VARCHAR) Question: Which city lives most of staffs? List the city name and number of st...
bugdaryan/sql-create-context-instruction
[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 (arena VARCHAR, capacity VARCHAR, team VARCHAR) Question: Which arena has the Milton Keynes Lions and a capacity of 800? [/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_32 (arena VARCHAR, capacity VARCHAR, team VARCHAR) Question: Which arena has the Milton Keynes Lions and a capacity of 800? 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_76 (yellow INTEGER, category VARCHAR, amerindian VARCHAR) Question: What is the sum of Yellow, when Category is Bugre (Indian), and when Amerindian is le...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_76 (yellow INTEGER, category VARCHAR, amerindian VARCHAR) Question: What is the sum of Yellow, when Category is Bugre (Indian), and when Amerindian is less tha...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_4 (bronze INTEGER, nation VARCHAR, gold VARCHAR) Question: What is the highest number of bronze medals of west germany, which has more than 0 golds? [/IN...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_4 (bronze INTEGER, nation VARCHAR, gold VARCHAR) Question: What is the highest number of bronze medals of west germany, which has more than 0 golds? 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_10240125_1 (fa_cup_goals INTEGER, fa_cup_apps VARCHAR) Question: When FA Cup Apps is 9 what is the smallest number of FA Cup Goals? [/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_10240125_1 (fa_cup_goals INTEGER, fa_cup_apps VARCHAR) Question: When FA Cup Apps is 9 what is the smallest number of FA Cup Goals? 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_71 (opponent VARCHAR, date VARCHAR) Question: Who was the Opponent on October 31, 1993? [/INST] Here is the SQLite query to answer to the question: Who w...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_71 (opponent VARCHAR, date VARCHAR) Question: Who was the Opponent on October 31, 1993? Here is the SQLite query to answer to the question: Who was the Oppone...
bugdaryan/sql-create-context-instruction
[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 (player VARCHAR, total VARCHAR, to_par VARCHAR) Question: WHAT IS THE PLAYER WITH TOTAL LESS THAN 151, TO PAR OF 8? [/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_41 (player VARCHAR, total VARCHAR, to_par VARCHAR) Question: WHAT IS THE PLAYER WITH TOTAL LESS THAN 151, TO PAR OF 8? 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_52 (district VARCHAR, incumbent VARCHAR) Question: What district has benjamin eggleston for incumbent? [/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_52 (district VARCHAR, incumbent VARCHAR) Question: What district has benjamin eggleston for incumbent? Here is the SQLite query to answer to the question: Wha...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_80 (mlb_draft VARCHAR, player VARCHAR) Question: What MLB draft has Shaun Boyd? [/INST] Here is the SQLite query to answer to the question: What MLB draf...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_80 (mlb_draft VARCHAR, player VARCHAR) Question: What MLB draft has Shaun Boyd? Here is the SQLite query to answer to the question: What MLB draft has Shaun B...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_67 (year VARCHAR, result VARCHAR, category VARCHAR) Question: What are the years that had someone nominated for best supporting actress? [/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_67 (year VARCHAR, result VARCHAR, category VARCHAR) Question: What are the years that had someone nominated for best supporting actress? Here is the SQLite qu...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_26460435_7 (status VARCHAR, monarch VARCHAR) Question: What is the status for the monarch Mingyinyo? [/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_26460435_7 (status VARCHAR, monarch VARCHAR) Question: What is the status for the monarch Mingyinyo? Here is the SQLite query to answer to the question: What is th...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_94 (partner VARCHAR, score_in_final VARCHAR) Question: Which Partner has a Score in Final of 6–1, 6–2? [/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_94 (partner VARCHAR, score_in_final VARCHAR) Question: Which Partner has a Score in Final of 6–1, 6–2? 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_44 (mac_os_x VARCHAR, gnu_linux VARCHAR, windows VARCHAR) Question: Which Mac OSX's GNU/Linux was yes when Windows was no? [/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_44 (mac_os_x VARCHAR, gnu_linux VARCHAR, windows VARCHAR) Question: Which Mac OSX's GNU/Linux was yes when Windows was no? 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_58 (segment_c VARCHAR, segment_b VARCHAR) Question: Which segment c's segment b is refrigerators? [/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_58 (segment_c VARCHAR, segment_b VARCHAR) Question: Which segment c's segment b is refrigerators? Here is the SQLite query to answer to the question: Which se...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_14 (to_par VARCHAR, country VARCHAR, score VARCHAR) Question: Which To par has a Country of united states, and a Score of 71-70=141? [/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_14 (to_par VARCHAR, country VARCHAR, score VARCHAR) Question: Which To par has a Country of united states, and a Score of 71-70=141? Here is the SQLite query ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_35 (year INTEGER, start VARCHAR, chassis VARCHAR) Question: What was the most recent year when a g-force chassis started in 1st? [/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_35 (year INTEGER, start VARCHAR, chassis VARCHAR) Question: What was the most recent year when a g-force chassis started in 1st? 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_89 (father VARCHAR, spouse VARCHAR, birth VARCHAR) Question: What is the name of the father who was born in 1204 and married ottokar ii? [/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_89 (father VARCHAR, spouse VARCHAR, birth VARCHAR) Question: What is the name of the father who was born in 1204 and married ottokar ii? Here is the SQLite qu...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1342013_9 (first_elected VARCHAR, incumbent VARCHAR) Question: how many first elected with incumbent being william c. lantaff [/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_1342013_9 (first_elected VARCHAR, incumbent VARCHAR) Question: how many first elected with incumbent being william c. lantaff 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_1140077_2 (fastest_lap VARCHAR, pole_position VARCHAR) Question: What is the fastest lap with pole position of gilles villeneuve? [/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_1140077_2 (fastest_lap VARCHAR, pole_position VARCHAR) Question: What is the fastest lap with pole position of gilles villeneuve? 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_57 (date VARCHAR, record VARCHAR) Question: What is the Date of the game where the Cavaliers have a Record of 15-27? [/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_57 (date VARCHAR, record VARCHAR) Question: What is the Date of the game where the Cavaliers have a Record of 15-27? 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_50 (winner VARCHAR, prize VARCHAR) Question: Who is the winner of the prize of £200,000 as listed? [/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_50 (winner VARCHAR, prize VARCHAR) Question: Who is the winner of the prize of £200,000 as listed? Here is the SQLite query to answer to the question: Who is ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_83 (runner_s__up VARCHAR, date VARCHAR) Question: On the Date of 4 Oct 2009, who was the Runner(s)-up? [/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_83 (runner_s__up VARCHAR, date VARCHAR) Question: On the Date of 4 Oct 2009, who was the Runner(s)-up? Here is the SQLite query to answer to the question: On ...
bugdaryan/sql-create-context-instruction
[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 (visiting_team VARCHAR, stadium VARCHAR) Question: Name the visiting team for stadium of ralph wilson stadium [/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_67 (visiting_team VARCHAR, stadium VARCHAR) Question: Name the visiting team for stadium of ralph wilson stadium 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_12338595_1 (interview VARCHAR, state VARCHAR) Question: Which interview score belongs to the state of Nevada contestant? [/INST] Here is the SQLite query to a...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_12338595_1 (interview VARCHAR, state VARCHAR) Question: Which interview score belongs to the state of Nevada contestant? 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_27 (interface VARCHAR, controller VARCHAR, codename VARCHAR) Question: Which interface uses Sandforce with a code name of Sierra Star? [/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_27 (interface VARCHAR, controller VARCHAR, codename VARCHAR) Question: Which interface uses Sandforce with a code name of Sierra Star? Here is the SQLite quer...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_40 (attendance INTEGER, score VARCHAR) Question: What was the lowest attendance for a score of 5 - 0? [/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_40 (attendance INTEGER, score VARCHAR) Question: What was the lowest attendance for a score of 5 - 0? Here is the SQLite query to answer to the question: Wha...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_77 (tournament VARCHAR) Question: what is the tournament when the performance in 2012 is 3r and 2011 is qf? [/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_77 (tournament VARCHAR) Question: what is the tournament when the performance in 2012 is 3r and 2011 is qf? 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_33 (uci_protour_points VARCHAR, cyclist VARCHAR) Question: What is Davide Rebellin' UCI ProTour Points? [/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_33 (uci_protour_points VARCHAR, cyclist VARCHAR) Question: What is Davide Rebellin' UCI ProTour Points? 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_5 (goals INTEGER, tries VARCHAR, position VARCHAR) Question: Tell me the highest goals with tries less than 1 and fullback 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 table_name_5 (goals INTEGER, tries VARCHAR, position VARCHAR) Question: Tell me the highest goals with tries less than 1 and fullback 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_2224692_1 (btu_gal VARCHAR, kwh_gal VARCHAR) Question: What's the BTU/Gal of the fuel whose kWh/Gal is 24.04? [/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_2224692_1 (btu_gal VARCHAR, kwh_gal VARCHAR) Question: What's the BTU/Gal of the fuel whose kWh/Gal is 24.04? 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_7 (score VARCHAR, opponent VARCHAR) Question: Opponent of andry laffita had what score? [/INST] Here is the SQLite query to answer to the question: Oppon...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_7 (score VARCHAR, opponent VARCHAR) Question: Opponent of andry laffita had what score? Here is the SQLite query to answer to the question: Opponent of andry ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2985664_8 (strike_rate VARCHAR) Question: How many entries for 50 occur when strike rate is 92.81? [/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_2985664_8 (strike_rate VARCHAR) Question: How many entries for 50 occur when strike rate is 92.81? Here is the SQLite query to answer to the question: How many ent...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_10 (incumbent VARCHAR, party VARCHAR, district VARCHAR) Question: Who is the republican Incumbent for Pennsylvania 9? [/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_10 (incumbent VARCHAR, party VARCHAR, district VARCHAR) Question: Who is the republican Incumbent for Pennsylvania 9? Here is the SQLite query to answer to th...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_44 (date VARCHAR, location_attendance VARCHAR) Question: What Date has a Location Attendance of reunion arena? [/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_44 (date VARCHAR, location_attendance VARCHAR) Question: What Date has a Location Attendance of reunion arena? 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_9 (venue VARCHAR, opponent VARCHAR) Question: What is the venue of the match with the wightlink raiders as the opponent? [/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_9 (venue VARCHAR, opponent VARCHAR) Question: What is the venue of the match with the wightlink raiders as the opponent? 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_1140090_6 (circuit VARCHAR, winning_driver VARCHAR) Question: What circuit did Clay Regazzoni win? [/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_1140090_6 (circuit VARCHAR, winning_driver VARCHAR) Question: What circuit did Clay Regazzoni win? Here is the SQLite query to answer to the question: What circuit...
bugdaryan/sql-create-context-instruction
[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, game VARCHAR, opponent VARCHAR) Question: Can you tell me the Record that has the Game larger than 15, and the Opponent of edmonton oi...
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, game VARCHAR, opponent VARCHAR) Question: Can you tell me the Record that has the Game larger than 15, and the Opponent of edmonton oilers? ...
bugdaryan/sql-create-context-instruction
[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 (gold VARCHAR, bronze VARCHAR, silver VARCHAR, total VARCHAR) Question: How much Gold has a Silver smaller than 3, and a Total of 9, and a Bronze smal...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_26 (gold VARCHAR, bronze VARCHAR, silver VARCHAR, total VARCHAR) Question: How much Gold has a Silver smaller than 3, and a Total of 9, and a Bronze smaller 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_11 (sport VARCHAR, league VARCHAR, venue VARCHAR) Question: Which Sport has a League of continental basketball league, and a Venue of avalon middle schoo...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_11 (sport VARCHAR, league VARCHAR, venue VARCHAR) Question: Which Sport has a League of continental basketball league, and a Venue of avalon middle school? He...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_31 (part_3 VARCHAR, part_2 VARCHAR) Question: What is the part 3 with *hegait in part 2? [/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_31 (part_3 VARCHAR, part_2 VARCHAR) Question: What is the part 3 with *hegait in part 2? Here is the SQLite query to answer to the question: What is the part ...
bugdaryan/sql-create-context-instruction
[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 (extra VARCHAR, result VARCHAR, year VARCHAR) Question: What is the extra result associated with 6th place in 1972? [/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_22 (extra VARCHAR, result VARCHAR, year VARCHAR) Question: What is the extra result associated with 6th place in 1972? 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 Templates (template_type_code VARCHAR, Version_Number INTEGER) Question: What the smallest version number and its template type code? [/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 Templates (template_type_code VARCHAR, Version_Number INTEGER) Question: What the smallest version number and its template type code? 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_75 (tournament VARCHAR) Question: In the Tennis Masters Cup, how did Jiří Novák do in 1997? [/INST] Here is the SQLite query to answer to the question: I...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_75 (tournament VARCHAR) Question: In the Tennis Masters Cup, how did Jiří Novák do in 1997? Here is the SQLite query to answer to the question: In the Tennis ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE results (fastestlapspeed INTEGER, raceid VARCHAR); CREATE TABLE races (name VARCHAR, year INTEGER, raceid VARCHAR) Question: What are the maximum fastest lap speed ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE results (fastestlapspeed INTEGER, raceid VARCHAR); CREATE TABLE races (name VARCHAR, year INTEGER, raceid VARCHAR) Question: What are the maximum fastest lap speed in rac...
bugdaryan/sql-create-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 (HS INTEGER) Question: How many players have more than 1000 hours of training? [/INST] Here is the SQLite query to answer to the question: How many players h...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Player (HS INTEGER) Question: How many players have more than 1000 hours of training? Here is the SQLite query to answer to the question: How many players have more than...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_6 (winning_score VARCHAR, margin_of_victory VARCHAR) Question: What was the winning score for the tournament with a margin of victory of 7 strokes? [/INS...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_6 (winning_score VARCHAR, margin_of_victory VARCHAR) Question: What was the winning score for the tournament with a margin of victory of 7 strokes? 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 (rank INTEGER, headquarters VARCHAR, market_value__billion_$_ VARCHAR) Question: What is the average rank for USA when the market value is 407.2 billi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_31 (rank INTEGER, headquarters VARCHAR, market_value__billion_$_ VARCHAR) Question: What is the average rank for USA when the market value is 407.2 billion? H...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_66 (rank VARCHAR, event VARCHAR) Question: What is Rank, when Event is "LAPT4 São Paulo"? [/INST] Here is the SQLite query to answer to the question: Wha...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_66 (rank VARCHAR, event VARCHAR) Question: What is Rank, when Event is "LAPT4 São Paulo"? Here is the SQLite query to answer to the question: What is Rank, 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_36 (interview VARCHAR, state VARCHAR, average VARCHAR) Question: What is the total interview score a contestant from Indiana with an average smaller than...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_36 (interview VARCHAR, state VARCHAR, average VARCHAR) Question: What is the total interview score a contestant from Indiana with an average smaller than 8.3 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_10 (score VARCHAR, year VARCHAR) Question: What was the score for 1911? [/INST] Here is the SQLite query to answer to the question: What was the score fo...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_10 (score VARCHAR, year VARCHAR) Question: What was the score for 1911? Here is the SQLite query to answer to the question: What was the score for 1911?: ``` ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_23477312_1 (service VARCHAR, train_name VARCHAR, departure VARCHAR) Question: What's the service number of the Pune Duronto train that departures at 21:35? [/...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_23477312_1 (service VARCHAR, train_name VARCHAR, departure VARCHAR) Question: What's the service number of the Pune Duronto train that departures at 21:35? Here is...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_20754016_2 (country VARCHAR, hometown VARCHAR) Question: What country is the contestant from Salto from? [/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_20754016_2 (country VARCHAR, hometown VARCHAR) Question: What country is the contestant from Salto from? Here is the SQLite query to answer to the question: What 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_name_4 (heat VARCHAR, mark VARCHAR, react VARCHAR) Question: What is the heat number at 7.63, and a reaction less than 0.229? [/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_4 (heat VARCHAR, mark VARCHAR, react VARCHAR) Question: What is the heat number at 7.63, and a reaction less than 0.229? 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_2624098_1 (english_day_name_meaning VARCHAR, old_english_day_name VARCHAR) Question: what is the English meaning of the old English name "sæturnesdæg"? [/INST...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2624098_1 (english_day_name_meaning VARCHAR, old_english_day_name VARCHAR) Question: what is the English meaning of the old English name "sæturnesdæg"? Here is the...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_52 (points INTEGER, wins VARCHAR, team VARCHAR, rank VARCHAR) Question: Name the least point for mv agusta and rank of 13th for wins less than 0 [/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 (points INTEGER, wins VARCHAR, team VARCHAR, rank VARCHAR) Question: Name the least point for mv agusta and rank of 13th for wins less than 0 Here is the 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_43 (venue VARCHAR, date VARCHAR) Question: Where was the game played on 2004-06-23? [/INST] Here is the SQLite query to answer to the question: Where was...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_43 (venue VARCHAR, date VARCHAR) Question: Where was the game played on 2004-06-23? Here is the SQLite query to answer to the question: Where was the game 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_name_49 (position VARCHAR, round VARCHAR) Question: What was the position of the player who was picked in round 22? [/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_49 (position VARCHAR, round VARCHAR) Question: What was the position of the player who was picked in round 22? 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_51 (home_team VARCHAR, away_team VARCHAR) Question: What was the home team score when essendon was the away team? [/INST] Here is the SQLite query to ans...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_51 (home_team VARCHAR, away_team VARCHAR) Question: What was the home team score when essendon was the away team? 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 instructor (name VARCHAR, salary INTEGER, dept_name VARCHAR) Question: Find the names of all instructors whose salary is greater than the salary of all instructors ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE instructor (name VARCHAR, salary INTEGER, dept_name VARCHAR) Question: Find the names of all instructors whose salary is greater than the salary of all instructors in 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_41 (year INTEGER, mixed_doubles VARCHAR) Question: What is the average year with alfredo salazar fina salazar in mixed doubles? [/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_41 (year INTEGER, mixed_doubles VARCHAR) Question: What is the average year with alfredo salazar fina salazar in mixed doubles? 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_94 (week VARCHAR, opponent VARCHAR) Question: What week was the opponent the San Diego Chargers? [/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_94 (week VARCHAR, opponent VARCHAR) Question: What week was the opponent the San Diego Chargers? Here is the SQLite query to answer to the question: What week...
bugdaryan/sql-create-context-instruction
[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 (date VARCHAR, opponents VARCHAR) Question: What are the dates where the opponent was guillermo garcía-lópez albert portas? [/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_9 (date VARCHAR, opponents VARCHAR) Question: What are the dates where the opponent was guillermo garcía-lópez albert portas? 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_84 (tonnage___grt__ INTEGER, date VARCHAR, ship_name VARCHAR) Question: Which tonnage has a Date of 26 september 1940, and a Ship Name of ashantian? [/IN...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_84 (tonnage___grt__ INTEGER, date VARCHAR, ship_name VARCHAR) Question: Which tonnage has a Date of 26 september 1940, and a Ship Name of ashantian? 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_13328239_4 (competition VARCHAR, score VARCHAR) Question: What competition ended with a score of 38-14? [/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_13328239_4 (competition VARCHAR, score VARCHAR) Question: What competition ended with a score of 38-14? Here is the SQLite query to answer to the question: What co...
bugdaryan/sql-create-context-instruction
[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 (constructor VARCHAR, driver VARCHAR, grid VARCHAR, laps VARCHAR) Question: Who constructed juan manuel fangio's car with over 76 laps and a grid unde...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_47 (constructor VARCHAR, driver VARCHAR, grid VARCHAR, laps VARCHAR) Question: Who constructed juan manuel fangio's car with over 76 laps and a grid under 10? ...
bugdaryan/sql-create-context-instruction
[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 (origin VARCHAR, launch VARCHAR) Question: What is the origin for the launch taking place in 2010? [/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_71 (origin VARCHAR, launch VARCHAR) Question: What is the origin for the launch taking place in 2010? 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_16403890_1 (location VARCHAR, institution VARCHAR) Question: How many locations does Elon University have? [/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_16403890_1 (location VARCHAR, institution VARCHAR) Question: How many locations does Elon University have? Here is the SQLite query to answer to the question: How ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_20522228_2 (episode VARCHAR, share VARCHAR) Question: What was the episode name when share was 8? [/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_20522228_2 (episode VARCHAR, share VARCHAR) Question: What was the episode name when share was 8? Here is the SQLite query to answer to the question: What was the ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE performance (Orchestra_ID VARCHAR); CREATE TABLE orchestra (Orchestra_ID VARCHAR) Question: Show the years in which orchestras that have given more than one perform...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE performance (Orchestra_ID VARCHAR); CREATE TABLE orchestra (Orchestra_ID VARCHAR) Question: Show the years in which orchestras that have given more than one performance 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_15824796_3 (title VARCHAR, original_air_date VARCHAR) Question: How many episodes aired on february 13, 1954? [/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_15824796_3 (title VARCHAR, original_air_date VARCHAR) Question: How many episodes aired on february 13, 1954? 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_53 (react INTEGER, country VARCHAR, lane VARCHAR) Question: What is the lowest react of the athlete from the United States who has a lane less than 4? [/...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_53 (react INTEGER, country VARCHAR, lane VARCHAR) Question: What is the lowest react of the athlete from the United States who has a lane less than 4? Here is...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11944282_1 (component VARCHAR, allied_related VARCHAR) Question: What is the name of the integrated where allied-related is shared? [/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_11944282_1 (component VARCHAR, allied_related VARCHAR) Question: What is the name of the integrated where allied-related is shared? 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_12340907_1 (population INTEGER, police_officers VARCHAR) Question: If the number of police officers is 94, what is the lowest population number? [/INST] Here ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_12340907_1 (population INTEGER, police_officers VARCHAR) Question: If the number of police officers is 94, what is the lowest population number? 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_51 (airport VARCHAR, iata VARCHAR) Question: What is the Airport with an IATA of TRZ? [/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_51 (airport VARCHAR, iata VARCHAR) Question: What is the Airport with an IATA of TRZ? Here is the SQLite query to answer to the question: What is the Airport ...
bugdaryan/sql-create-context-instruction
[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 (_percentage_of_all VARCHAR, dennis_kucinich VARCHAR) Question: What is % of All, when Dennis Kucinich is "5%"? [/INST] Here is the SQLite query to an...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_52 (_percentage_of_all VARCHAR, dennis_kucinich VARCHAR) Question: What is % of All, when Dennis Kucinich is "5%"? Here is the SQLite query to answer to the q...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_26 (opponent_in_the_final VARCHAR, surface VARCHAR, date VARCHAR) Question: Which final opponent's surface was hard (i) and participated on October 9, 20...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_26 (opponent_in_the_final VARCHAR, surface VARCHAR, date VARCHAR) Question: Which final opponent's surface was hard (i) and participated on October 9, 2005? 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_34 (date VARCHAR, h___a VARCHAR, league_position VARCHAR) Question: What is the date of the away game when the team has a league position of 9th? [/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 (date VARCHAR, h___a VARCHAR, league_position VARCHAR) Question: What is the date of the away game when the team has a league position of 9th? 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_1211545_2 (name VARCHAR, heavy_vehicle__2_axles_ VARCHAR) Question: What is the name of the plaza where the told for heavy vehicles with 2 axles is r20.50? [/...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1211545_2 (name VARCHAR, heavy_vehicle__2_axles_ VARCHAR) Question: What is the name of the plaza where the told for heavy vehicles with 2 axles is r20.50? Here is...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_77 (opponents_in_the_final VARCHAR, date VARCHAR, score_in_the_final VARCHAR) Question: What Opponents in the final had a match in 1984 with a Score in t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_77 (opponents_in_the_final VARCHAR, date VARCHAR, score_in_the_final VARCHAR) Question: What Opponents in the final had a match in 1984 with a Score in the fin...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_16185956_1 (status VARCHAR, results VARCHAR) Question: What is the status of the district where the result is 63% 37%? [/INST] Here is the SQLite query to ans...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_16185956_1 (status VARCHAR, results VARCHAR) Question: What is the status of the district where the result is 63% 37%? Here is the SQLite query to answer to the qu...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_52 (wins INTEGER, draws INTEGER) Question: How many wins are there when the draws are less than 0? [/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_52 (wins INTEGER, draws INTEGER) Question: How many wins are there when the draws are less than 0? Here is the SQLite query to answer to the question: How man...
bugdaryan/sql-create-context-instruction
[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 (field_goals VARCHAR, touchdowns VARCHAR, extra_points VARCHAR) Question: What were the total number of field goals when there were 0 touchdowns and 2...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_80 (field_goals VARCHAR, touchdowns VARCHAR, extra_points VARCHAR) Question: What were the total number of field goals when there were 0 touchdowns and 2 extra...
bugdaryan/sql-create-context-instruction
[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 (tv_companions_featured VARCHAR, author VARCHAR) Question: What is TV Companions Featured, when Author is "William Emms"? [/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_95 (tv_companions_featured VARCHAR, author VARCHAR) Question: What is TV Companions Featured, when Author is "William Emms"? 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_68 (time VARCHAR, opponent VARCHAR) Question: What was the time when his opponent was Cleber Luciano? [/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_68 (time VARCHAR, opponent VARCHAR) Question: What was the time when his opponent was Cleber Luciano? 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_83 (ofsted VARCHAR, capacity VARCHAR) Question: Which Ofsted has a Capacity of 1677? [/INST] Here is the SQLite query to answer to the question: Which Of...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_83 (ofsted VARCHAR, capacity VARCHAR) Question: Which Ofsted has a Capacity of 1677? Here is the SQLite query to answer to the question: Which Ofsted has a 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_2669287_1 (season VARCHAR, viewers__in_millions_ VARCHAR) Question: When did the season finale reached an audience of 10.02 million viewers? [/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_2669287_1 (season VARCHAR, viewers__in_millions_ VARCHAR) Question: When did the season finale reached an audience of 10.02 million viewers? Here is the SQLite que...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_55 (substrate VARCHAR, product VARCHAR) Question: What is protoporphyrin ix's substrate? [/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_55 (substrate VARCHAR, product VARCHAR) Question: What is protoporphyrin ix's substrate? Here is the SQLite query to answer to the question: What is protoporp...
bugdaryan/sql-create-context-instruction
[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 (loser VARCHAR, winner VARCHAR) Question: What is the Loser when the winner was los angeles lakers (10)? [/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_18 (loser VARCHAR, winner VARCHAR) Question: What is the Loser when the winner was los angeles lakers (10)? 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_33 (best VARCHAR, team VARCHAR, name VARCHAR) Question: What is the best time from patrick carpentier from the forsythe racing team? [/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_33 (best VARCHAR, team VARCHAR, name VARCHAR) Question: What is the best time from patrick carpentier from the forsythe racing team? Here is the SQLite query ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_82 (score VARCHAR, player VARCHAR) Question: What Seve Ballesteros's score? [/INST] Here is the SQLite query to answer to the question: What Seve Ballest...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_82 (score VARCHAR, player VARCHAR) Question: What Seve Ballesteros's score? Here is the SQLite query to answer to the question: What Seve Ballesteros's score?...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_15 (week INTEGER, date VARCHAR) Question: What was the week number when a game was played on November 19, 1967? [/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_15 (week INTEGER, date VARCHAR) Question: What was the week number when a game was played on November 19, 1967? 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 medicine (name VARCHAR, trade_name VARCHAR, FDA_approved VARCHAR) Question: What are the names and trade names of the medicines which has 'Yes' value in the FDA rec...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE medicine (name VARCHAR, trade_name VARCHAR, FDA_approved VARCHAR) Question: What are the names and trade names of the medicines which has 'Yes' value in the FDA record? ...
bugdaryan/sql-create-context-instruction
[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 (country VARCHAR, to_par VARCHAR, score VARCHAR) Question: What country is the player ho had a To par of +1 and a score of 69-70-72=211 from? [/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 (country VARCHAR, to_par VARCHAR, score VARCHAR) Question: What country is the player ho had a To par of +1 and a score of 69-70-72=211 from? Here is the 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_71 (number_of_households INTEGER, median_household_income VARCHAR) Question: How many households have a Median household income of $43,889? [/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_71 (number_of_households INTEGER, median_household_income VARCHAR) Question: How many households have a Median household income of $43,889? 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_9 (date_made VARCHAR, type VARCHAR) Question: What is the date of creation for the locomotive having a type of 0-4-2 [/INST] Here is the SQLite query to ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_9 (date_made VARCHAR, type VARCHAR) Question: What is the date of creation for the locomotive having a type of 0-4-2 Here is the SQLite query to answer to the...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11545282_10 (school_club_team VARCHAR, player VARCHAR) Question: What school or team does Al Jefferson play for? [/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_11545282_10 (school_club_team VARCHAR, player VARCHAR) Question: What school or team does Al Jefferson play for? 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_19 (season VARCHAR, oberliga_bayern VARCHAR, oberliga_südwest VARCHAR) Question: Which Season ha spvgg bayreuth and eintracht trier? [/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_19 (season VARCHAR, oberliga_bayern VARCHAR, oberliga_südwest VARCHAR) Question: Which Season ha spvgg bayreuth and eintracht trier? 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_28846752_13 (economy VARCHAR, bbi VARCHAR) Question: What is the economy of the player with BBI of 3/33? [/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_28846752_13 (economy VARCHAR, bbi VARCHAR) Question: What is the economy of the player with BBI of 3/33? Here is the SQLite query to answer to the question: What i...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_86 (winner VARCHAR, stage VARCHAR) Question: What was Stage SS2's Winner? [/INST] Here is the SQLite query to answer to the question: What was Stage SS2'...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_86 (winner VARCHAR, stage VARCHAR) Question: What was Stage SS2's Winner? Here is the SQLite query to answer to the question: What was Stage SS2's Winner?: ``...
bugdaryan/sql-create-context-instruction
[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 (opponent VARCHAR, date VARCHAR) Question: Who was their Opponent on April 26? [/INST] Here is the SQLite query to answer to the question: Who was the...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_62 (opponent VARCHAR, date VARCHAR) Question: Who was their Opponent on April 26? Here is the SQLite query to answer to the question: Who was their Opponent o...
bugdaryan/sql-create-context-instruction