context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_20124413_2 (_number VARCHAR, prod_code VARCHAR)
SELECT _number FROM table_20124413_2 WHERE prod_code = "2.6"
How many numbers have the product code of 2.6?
<s>[INST]How many numbers have the product code of 2.6? Context: CREATE TABLE table_20124413_2 (_number VARCHAR, prod_code VARCHAR)[/INST]SELECT _number FROM table_20124413_2 WHERE prod_code = "2.6"</s>
CREATE TABLE table_28980706_4 (share__18_49_ VARCHAR, viewers__millions_ VARCHAR)
SELECT share__18_49_ FROM table_28980706_4 WHERE viewers__millions_ = "9.28"
When there are 9.28 million viewers what is the share (18-49)?
<s>[INST]When there are 9.28 million viewers what is the share (18-49)? Context: CREATE TABLE table_28980706_4 (share__18_49_ VARCHAR, viewers__millions_ VARCHAR)[/INST]SELECT share__18_49_ FROM table_28980706_4 WHERE viewers__millions_ = "9.28"</s>
CREATE TABLE table_15827397_1 (name VARCHAR, livery VARCHAR)
SELECT COUNT(name) FROM table_15827397_1 WHERE livery = "Highland Railway green"
How many locomotives have a livery that is highland railway green
<s>[INST]How many locomotives have a livery that is highland railway green Context: CREATE TABLE table_15827397_1 (name VARCHAR, livery VARCHAR)[/INST]SELECT COUNT(name) FROM table_15827397_1 WHERE livery = "Highland Railway green"</s>
CREATE TABLE table_name_84 (game_site VARCHAR, match_report VARCHAR, week VARCHAR)
SELECT game_site FROM table_name_84 WHERE match_report = "recap" AND week = 7
Which game site has a recap as the match report for week 7?
<s>[INST]Which game site has a recap as the match report for week 7? Context: CREATE TABLE table_name_84 (game_site VARCHAR, match_report VARCHAR, week VARCHAR)[/INST]SELECT game_site FROM table_name_84 WHERE match_report = "recap" AND week = 7</s>
CREATE TABLE table_1341672_14 (incumbent VARCHAR, first_elected VARCHAR)
SELECT COUNT(incumbent) FROM table_1341672_14 WHERE first_elected = 1944
Name the total number of incumbent for first elected of 1944
<s>[INST]Name the total number of incumbent for first elected of 1944 Context: CREATE TABLE table_1341672_14 (incumbent VARCHAR, first_elected VARCHAR)[/INST]SELECT COUNT(incumbent) FROM table_1341672_14 WHERE first_elected = 1944</s>
CREATE TABLE table_name_95 (firefox VARCHAR, chrome VARCHAR)
SELECT firefox FROM table_name_95 WHERE chrome = "23.90%"
What was the percentage of firefox was chrome was 23.90%
<s>[INST]What was the percentage of firefox was chrome was 23.90% Context: CREATE TABLE table_name_95 (firefox VARCHAR, chrome VARCHAR)[/INST]SELECT firefox FROM table_name_95 WHERE chrome = "23.90%"</s>
CREATE TABLE table_name_18 (race VARCHAR, date VARCHAR)
SELECT race FROM table_name_18 WHERE date = "26 june 2011"
What race is on 26 June 2011?
<s>[INST]What race is on 26 June 2011? Context: CREATE TABLE table_name_18 (race VARCHAR, date VARCHAR)[/INST]SELECT race FROM table_name_18 WHERE date = "26 june 2011"</s>
CREATE TABLE table_name_95 (location VARCHAR, name_in_malay VARCHAR)
SELECT location FROM table_name_95 WHERE name_in_malay = "kolej kemahiran belia nasional, pontian"
What is the location of the institution whose name in Malay is kolej kemahiran belia nasional, pontian?
<s>[INST]What is the location of the institution whose name in Malay is kolej kemahiran belia nasional, pontian? Context: CREATE TABLE table_name_95 (location VARCHAR, name_in_malay VARCHAR)[/INST]SELECT location FROM table_name_95 WHERE name_in_malay = "kolej kemahiran belia nasional, pontian"</s>
CREATE TABLE table_name_51 (wins VARCHAR, points VARCHAR, goals_for VARCHAR, goals_against VARCHAR, draws VARCHAR)
SELECT COUNT(wins) FROM table_name_51 WHERE goals_against < 49 AND draws = 9 AND goals_for = 39 AND points < 31
What is the total number of wins for the entry that has fewer than 49 goals against, 39 goals for, 9 draws, and fewer than 31 points?
<s>[INST]What is the total number of wins for the entry that has fewer than 49 goals against, 39 goals for, 9 draws, and fewer than 31 points? Context: CREATE TABLE table_name_51 (wins VARCHAR, points VARCHAR, goals_for VARCHAR, goals_against VARCHAR, draws VARCHAR)[/INST]SELECT COUNT(wins) FROM table_name_51 WHERE goa...
CREATE TABLE table_name_60 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_60 WHERE player = "tiger woods"
What country has the player Tiger Woods?
<s>[INST]What country has the player Tiger Woods? Context: CREATE TABLE table_name_60 (country VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_60 WHERE player = "tiger woods"</s>
CREATE TABLE table_27816698_2 (founded VARCHAR, location VARCHAR)
SELECT founded FROM table_27816698_2 WHERE location = "Boise, Idaho"
When was the institution in boise, idaho founded?
<s>[INST]When was the institution in boise, idaho founded? Context: CREATE TABLE table_27816698_2 (founded VARCHAR, location VARCHAR)[/INST]SELECT founded FROM table_27816698_2 WHERE location = "Boise, Idaho"</s>
CREATE TABLE table_name_55 (drew VARCHAR, rank VARCHAR, played VARCHAR)
SELECT COUNT(drew) FROM table_name_55 WHERE rank = 5 AND played > 30
Which Drew has a Rank of 5, and a Played larger than 30?
<s>[INST]Which Drew has a Rank of 5, and a Played larger than 30? Context: CREATE TABLE table_name_55 (drew VARCHAR, rank VARCHAR, played VARCHAR)[/INST]SELECT COUNT(drew) FROM table_name_55 WHERE rank = 5 AND played > 30</s>
CREATE TABLE table_name_9 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_9 WHERE home_team = "essendon"
What was home team Essendon's opponents score?
<s>[INST]What was home team Essendon's opponents score? Context: CREATE TABLE table_name_9 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_9 WHERE home_team = "essendon"</s>
CREATE TABLE table_name_67 (grid VARCHAR, time VARCHAR)
SELECT grid FROM table_name_67 WHERE time = "+0.180"
What is the grid with a +0.180 time?
<s>[INST]What is the grid with a +0.180 time? Context: CREATE TABLE table_name_67 (grid VARCHAR, time VARCHAR)[/INST]SELECT grid FROM table_name_67 WHERE time = "+0.180"</s>
CREATE TABLE table_1153898_1 (ddm_class VARCHAR, comparisons VARCHAR)
SELECT ddm_class FROM table_1153898_1 WHERE comparisons = "Drawing Tablet Support"
Is the drawing tablet support part of the DDM class?
<s>[INST]Is the drawing tablet support part of the DDM class? Context: CREATE TABLE table_1153898_1 (ddm_class VARCHAR, comparisons VARCHAR)[/INST]SELECT ddm_class FROM table_1153898_1 WHERE comparisons = "Drawing Tablet Support"</s>
CREATE TABLE table_name_90 (tournament VARCHAR)
SELECT tournament FROM table_name_90 WHERE 2003 = "a"
What is Tournament, when 2003 is "A"?
<s>[INST]What is Tournament, when 2003 is "A"? Context: CREATE TABLE table_name_90 (tournament VARCHAR)[/INST]SELECT tournament FROM table_name_90 WHERE 2003 = "a"</s>
CREATE TABLE table_name_76 (result VARCHAR, couple VARCHAR)
SELECT result FROM table_name_76 WHERE couple = "mario & karina"
What result has mario & karina as the couple?
<s>[INST]What result has mario & karina as the couple? Context: CREATE TABLE table_name_76 (result VARCHAR, couple VARCHAR)[/INST]SELECT result FROM table_name_76 WHERE couple = "mario & karina"</s>
CREATE TABLE table_name_52 (rec INTEGER, yards VARCHAR, s_touchdown VARCHAR)
SELECT AVG(rec) FROM table_name_52 WHERE yards = 192 AND s_touchdown < 1
Which rec has Yards of 192, and a Touchdown smaller than 1?
<s>[INST]Which rec has Yards of 192, and a Touchdown smaller than 1? Context: CREATE TABLE table_name_52 (rec INTEGER, yards VARCHAR, s_touchdown VARCHAR)[/INST]SELECT AVG(rec) FROM table_name_52 WHERE yards = 192 AND s_touchdown < 1</s>
CREATE TABLE table_name_46 (pick VARCHAR, round VARCHAR, name VARCHAR)
SELECT COUNT(pick) FROM table_name_46 WHERE round > 17 AND name = "gene stewart"
Which Pick has a Round larger than 17, and a Name of gene stewart?
<s>[INST]Which Pick has a Round larger than 17, and a Name of gene stewart? Context: CREATE TABLE table_name_46 (pick VARCHAR, round VARCHAR, name VARCHAR)[/INST]SELECT COUNT(pick) FROM table_name_46 WHERE round > 17 AND name = "gene stewart"</s>
CREATE TABLE table_11206787_5 (highest VARCHAR, stadium VARCHAR)
SELECT highest FROM table_11206787_5 WHERE stadium = "Balmoor"
What is the highest of balmoor/
<s>[INST]What is the highest of balmoor/ Context: CREATE TABLE table_11206787_5 (highest VARCHAR, stadium VARCHAR)[/INST]SELECT highest FROM table_11206787_5 WHERE stadium = "Balmoor"</s>
CREATE TABLE table_name_97 (std_rank INTEGER, name VARCHAR, year VARCHAR)
SELECT SUM(std_rank) FROM table_name_97 WHERE name = "311 south wacker drive" AND year > 1990
How much Standard Rank has a Name of 311 south wacker drive, and a Year larger than 1990?
<s>[INST]How much Standard Rank has a Name of 311 south wacker drive, and a Year larger than 1990? Context: CREATE TABLE table_name_97 (std_rank INTEGER, name VARCHAR, year VARCHAR)[/INST]SELECT SUM(std_rank) FROM table_name_97 WHERE name = "311 south wacker drive" AND year > 1990</s>
CREATE TABLE table_name_10 (opponent VARCHAR, streak VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_10 WHERE streak = "lost 1" AND date = "april 30"
Which Opponent has a Streak of lost 1, and a Date of april 30?
<s>[INST]Which Opponent has a Streak of lost 1, and a Date of april 30? Context: CREATE TABLE table_name_10 (opponent VARCHAR, streak VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_10 WHERE streak = "lost 1" AND date = "april 30"</s>
CREATE TABLE table_name_47 (nationality VARCHAR, position VARCHAR, school_club_team VARCHAR)
SELECT nationality FROM table_name_47 WHERE position = "guard" AND school_club_team = "bowling green"
What is the nationality for the guard position from Bowling Green?
<s>[INST]What is the nationality for the guard position from Bowling Green? Context: CREATE TABLE table_name_47 (nationality VARCHAR, position VARCHAR, school_club_team VARCHAR)[/INST]SELECT nationality FROM table_name_47 WHERE position = "guard" AND school_club_team = "bowling green"</s>
CREATE TABLE table_12002388_1 (year INTEGER, reg_season VARCHAR)
SELECT MAX(year) FROM table_12002388_1 WHERE reg_season = "1st, Southern"
What year did they finish 1st, southern?
<s>[INST]What year did they finish 1st, southern? Context: CREATE TABLE table_12002388_1 (year INTEGER, reg_season VARCHAR)[/INST]SELECT MAX(year) FROM table_12002388_1 WHERE reg_season = "1st, Southern"</s>
CREATE TABLE HOST (Nationality VARCHAR, Age INTEGER)
SELECT Nationality FROM HOST WHERE Age > 45 INTERSECT SELECT Nationality FROM HOST WHERE Age < 35
Show the nations that have both hosts older than 45 and hosts younger than 35.
<s>[INST]Show the nations that have both hosts older than 45 and hosts younger than 35. Context: CREATE TABLE HOST (Nationality VARCHAR, Age INTEGER)[/INST]SELECT Nationality FROM HOST WHERE Age > 45 INTERSECT SELECT Nationality FROM HOST WHERE Age < 35</s>
CREATE TABLE table_name_93 (player VARCHAR, place VARCHAR)
SELECT player FROM table_name_93 WHERE place = "2"
What is Player, when Place is 2?
<s>[INST]What is Player, when Place is 2? Context: CREATE TABLE table_name_93 (player VARCHAR, place VARCHAR)[/INST]SELECT player FROM table_name_93 WHERE place = "2"</s>
CREATE TABLE table_name_90 (wins VARCHAR, position VARCHAR, conceded VARCHAR)
SELECT COUNT(wins) FROM table_name_90 WHERE position > 6 AND conceded < 19
What is the number of wins when position was larger than 6, and conceded was smaller than 19?
<s>[INST]What is the number of wins when position was larger than 6, and conceded was smaller than 19? Context: CREATE TABLE table_name_90 (wins VARCHAR, position VARCHAR, conceded VARCHAR)[/INST]SELECT COUNT(wins) FROM table_name_90 WHERE position > 6 AND conceded < 19</s>
CREATE TABLE table_name_11 (attendance VARCHAR, loss VARCHAR)
SELECT attendance FROM table_name_11 WHERE loss = "josh hall (0–1)"
What was the attendance at game with a loss of Josh Hall (0–1)?
<s>[INST]What was the attendance at game with a loss of Josh Hall (0–1)? Context: CREATE TABLE table_name_11 (attendance VARCHAR, loss VARCHAR)[/INST]SELECT attendance FROM table_name_11 WHERE loss = "josh hall (0–1)"</s>
CREATE TABLE list (firstname VARCHAR, lastname VARCHAR, classroom VARCHAR); CREATE TABLE teachers (classroom VARCHAR, firstname VARCHAR, lastname VARCHAR)
SELECT T1.firstname, T1.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T2.firstname = "OTHA" AND T2.lastname = "MOYER"
Find all students taught by OTHA MOYER. Output the first and last names of the students.
<s>[INST]Find all students taught by OTHA MOYER. Output the first and last names of the students. Context: CREATE TABLE list (firstname VARCHAR, lastname VARCHAR, classroom VARCHAR); CREATE TABLE teachers (classroom VARCHAR, firstname VARCHAR, lastname VARCHAR)[/INST]SELECT T1.firstname, T1.lastname FROM list AS T1 JOI...
CREATE TABLE table_22180353_1 (conformity_to_original_design VARCHAR, registration VARCHAR)
SELECT conformity_to_original_design FROM table_22180353_1 WHERE registration = "HB-DAI"
What is every conformity to original design if registration is HB-DAI?
<s>[INST]What is every conformity to original design if registration is HB-DAI? Context: CREATE TABLE table_22180353_1 (conformity_to_original_design VARCHAR, registration VARCHAR)[/INST]SELECT conformity_to_original_design FROM table_22180353_1 WHERE registration = "HB-DAI"</s>
CREATE TABLE table_name_1 (medal VARCHAR, name VARCHAR)
SELECT medal FROM table_name_1 WHERE name = "manuel felix diaz"
What Medal had a Name of manuel felix diaz?
<s>[INST]What Medal had a Name of manuel felix diaz? Context: CREATE TABLE table_name_1 (medal VARCHAR, name VARCHAR)[/INST]SELECT medal FROM table_name_1 WHERE name = "manuel felix diaz"</s>
CREATE TABLE table_25965003_3 (length_of_stay_permitted VARCHAR, countries_and_territories VARCHAR)
SELECT length_of_stay_permitted FROM table_25965003_3 WHERE countries_and_territories = "Jersey"
What is the permitted length of stay in the Jersey territory?
<s>[INST]What is the permitted length of stay in the Jersey territory? Context: CREATE TABLE table_25965003_3 (length_of_stay_permitted VARCHAR, countries_and_territories VARCHAR)[/INST]SELECT length_of_stay_permitted FROM table_25965003_3 WHERE countries_and_territories = "Jersey"</s>
CREATE TABLE table_name_1 (venue VARCHAR, date VARCHAR)
SELECT venue FROM table_name_1 WHERE date = "17/02/2008"
What was the venue on 17/02/2008?
<s>[INST]What was the venue on 17/02/2008? Context: CREATE TABLE table_name_1 (venue VARCHAR, date VARCHAR)[/INST]SELECT venue FROM table_name_1 WHERE date = "17/02/2008"</s>
CREATE TABLE table_name_63 (name VARCHAR, comparative VARCHAR, intra_molecular_structure VARCHAR, link VARCHAR)
SELECT name FROM table_name_63 WHERE intra_molecular_structure = "no" AND link = "webserver" AND comparative = "no"
Which Name has an Intra-molecular structure of no, and a Link of webserver, and a Comparative of no?
<s>[INST]Which Name has an Intra-molecular structure of no, and a Link of webserver, and a Comparative of no? Context: CREATE TABLE table_name_63 (name VARCHAR, comparative VARCHAR, intra_molecular_structure VARCHAR, link VARCHAR)[/INST]SELECT name FROM table_name_63 WHERE intra_molecular_structure = "no" AND link = "w...
CREATE TABLE table_name_94 (driver VARCHAR, constructor VARCHAR, entrant VARCHAR)
SELECT driver FROM table_name_94 WHERE constructor = "era" AND entrant = "t.a.s.o. mathieson"
Who is the driver whose Constructor was Era, and whose entrant was T.A.S.O. Mathieson?
<s>[INST]Who is the driver whose Constructor was Era, and whose entrant was T.A.S.O. Mathieson? Context: CREATE TABLE table_name_94 (driver VARCHAR, constructor VARCHAR, entrant VARCHAR)[/INST]SELECT driver FROM table_name_94 WHERE constructor = "era" AND entrant = "t.a.s.o. mathieson"</s>
CREATE TABLE table_name_33 (catalogue VARCHAR, song_title VARCHAR)
SELECT catalogue FROM table_name_33 WHERE song_title = "love me tonight"
Name the catalogue with song title of love me tonight
<s>[INST]Name the catalogue with song title of love me tonight Context: CREATE TABLE table_name_33 (catalogue VARCHAR, song_title VARCHAR)[/INST]SELECT catalogue FROM table_name_33 WHERE song_title = "love me tonight"</s>
CREATE TABLE table_name_21 (constructor VARCHAR, time_retired VARCHAR)
SELECT constructor FROM table_name_21 WHERE time_retired = "+1.027"
What Constructor has a +1.027 Time/Retired?
<s>[INST]What Constructor has a +1.027 Time/Retired? Context: CREATE TABLE table_name_21 (constructor VARCHAR, time_retired VARCHAR)[/INST]SELECT constructor FROM table_name_21 WHERE time_retired = "+1.027"</s>
CREATE TABLE table_name_57 (model_number VARCHAR, frequency VARCHAR, voltage VARCHAR)
SELECT model_number FROM table_name_57 WHERE frequency = "2000mhz" AND voltage = "0.75-1.2"
Which Model number has a Frequency of 2000mhz and a Voltage of 0.75-1.2?
<s>[INST]Which Model number has a Frequency of 2000mhz and a Voltage of 0.75-1.2? Context: CREATE TABLE table_name_57 (model_number VARCHAR, frequency VARCHAR, voltage VARCHAR)[/INST]SELECT model_number FROM table_name_57 WHERE frequency = "2000mhz" AND voltage = "0.75-1.2"</s>
CREATE TABLE table_name_76 (voltage_center__v_ VARCHAR, s_spec_number VARCHAR)
SELECT voltage_center__v_ FROM table_name_76 WHERE s_spec_number = "sk096"
Which Voltage Center (V) has an S-Spec Number of sk096?
<s>[INST]Which Voltage Center (V) has an S-Spec Number of sk096? Context: CREATE TABLE table_name_76 (voltage_center__v_ VARCHAR, s_spec_number VARCHAR)[/INST]SELECT voltage_center__v_ FROM table_name_76 WHERE s_spec_number = "sk096"</s>
CREATE TABLE table_name_49 (rider VARCHAR, time VARCHAR, bike VARCHAR)
SELECT rider FROM table_name_49 WHERE time = "accident" AND bike = "kawasaki zx-10r"
Who was the rider who had an accident time and a kawasaki zx-10r bike?
<s>[INST]Who was the rider who had an accident time and a kawasaki zx-10r bike? Context: CREATE TABLE table_name_49 (rider VARCHAR, time VARCHAR, bike VARCHAR)[/INST]SELECT rider FROM table_name_49 WHERE time = "accident" AND bike = "kawasaki zx-10r"</s>
CREATE TABLE table_17881033_1 (division_north VARCHAR, division_south VARCHAR, division_southwest VARCHAR)
SELECT division_north FROM table_17881033_1 WHERE division_south = "Kožuf" AND division_southwest = "Ilinden Velmej"
what is the division north when division south was kožuf and division southwest was ilinden velmej
<s>[INST]what is the division north when division south was kožuf and division southwest was ilinden velmej Context: CREATE TABLE table_17881033_1 (division_north VARCHAR, division_south VARCHAR, division_southwest VARCHAR)[/INST]SELECT division_north FROM table_17881033_1 WHERE division_south = "Kožuf" AND division_so...
CREATE TABLE table_name_3 (total INTEGER, fa_cup INTEGER)
SELECT SUM(total) FROM table_name_3 WHERE fa_cup < 0
What is the sum of totals for FA Cup values of 0?
<s>[INST]What is the sum of totals for FA Cup values of 0? Context: CREATE TABLE table_name_3 (total INTEGER, fa_cup INTEGER)[/INST]SELECT SUM(total) FROM table_name_3 WHERE fa_cup < 0</s>
CREATE TABLE table_name_48 (team_1 VARCHAR)
SELECT 1 AS st_leg FROM table_name_48 WHERE team_1 = "c.d. plaza amador"
What is the 1st leg where Team 1 is C.D. Plaza Amador?
<s>[INST]What is the 1st leg where Team 1 is C.D. Plaza Amador? Context: CREATE TABLE table_name_48 (team_1 VARCHAR)[/INST]SELECT 1 AS st_leg FROM table_name_48 WHERE team_1 = "c.d. plaza amador"</s>
CREATE TABLE table_name_66 (silver INTEGER, rank VARCHAR, total VARCHAR)
SELECT SUM(silver) FROM table_name_66 WHERE rank = "14" AND total < 1
What is the total number of silver medals for countries of rank 14, with less than 1 total medals?
<s>[INST]What is the total number of silver medals for countries of rank 14, with less than 1 total medals? Context: CREATE TABLE table_name_66 (silver INTEGER, rank VARCHAR, total VARCHAR)[/INST]SELECT SUM(silver) FROM table_name_66 WHERE rank = "14" AND total < 1</s>
CREATE TABLE table_name_19 (teams INTEGER, season VARCHAR)
SELECT SUM(teams) FROM table_name_19 WHERE season = "2012-13"
What is the total teams during the 2012-13 season?
<s>[INST]What is the total teams during the 2012-13 season? Context: CREATE TABLE table_name_19 (teams INTEGER, season VARCHAR)[/INST]SELECT SUM(teams) FROM table_name_19 WHERE season = "2012-13"</s>
CREATE TABLE table_20090682_4 (pos INTEGER, driver VARCHAR)
SELECT MAX(pos) FROM table_20090682_4 WHERE driver = "Brendan Sole"
what is the lowest position of brendan sole
<s>[INST]what is the lowest position of brendan sole Context: CREATE TABLE table_20090682_4 (pos INTEGER, driver VARCHAR)[/INST]SELECT MAX(pos) FROM table_20090682_4 WHERE driver = "Brendan Sole"</s>
CREATE TABLE table_name_25 (week VARCHAR, opponent VARCHAR)
SELECT COUNT(week) FROM table_name_25 WHERE opponent = "dallas cowboys"
What is the total number of weeks that the Giants played against the Dallas Cowboys?
<s>[INST]What is the total number of weeks that the Giants played against the Dallas Cowboys? Context: CREATE TABLE table_name_25 (week VARCHAR, opponent VARCHAR)[/INST]SELECT COUNT(week) FROM table_name_25 WHERE opponent = "dallas cowboys"</s>
CREATE TABLE table_name_50 (engine_capacity VARCHAR, model VARCHAR, mpg_us_extra_urban VARCHAR, transmission VARCHAR, mpg_us_urban VARCHAR)
SELECT COUNT(engine_capacity) FROM table_name_50 WHERE transmission = "a4" AND mpg_us_urban > 19 AND mpg_us_extra_urban > 38.6 AND model = "aveo"
What is the total engine capacity of the a4 transmission, which has an urban mpg-US greater than 19, an mpg-us extra-urban greater than 38.6, and an aveo model?
<s>[INST]What is the total engine capacity of the a4 transmission, which has an urban mpg-US greater than 19, an mpg-us extra-urban greater than 38.6, and an aveo model? Context: CREATE TABLE table_name_50 (engine_capacity VARCHAR, model VARCHAR, mpg_us_extra_urban VARCHAR, transmission VARCHAR, mpg_us_urban VARCHAR)[/...
CREATE TABLE table_name_56 (score VARCHAR, player VARCHAR)
SELECT score FROM table_name_56 WHERE player = "john huston"
What was john huston's score?
<s>[INST]What was john huston's score? Context: CREATE TABLE table_name_56 (score VARCHAR, player VARCHAR)[/INST]SELECT score FROM table_name_56 WHERE player = "john huston"</s>
CREATE TABLE table_17289224_1 (points INTEGER, final_placing VARCHAR)
SELECT MAX(points) FROM table_17289224_1 WHERE final_placing = "9th"
What was the max points you when when you place 9th?
<s>[INST]What was the max points you when when you place 9th? Context: CREATE TABLE table_17289224_1 (points INTEGER, final_placing VARCHAR)[/INST]SELECT MAX(points) FROM table_17289224_1 WHERE final_placing = "9th"</s>
CREATE TABLE table_name_40 (rank INTEGER, nationality VARCHAR, time VARCHAR)
SELECT MIN(rank) FROM table_name_40 WHERE nationality = "great britain" AND time = "2:10.33"
What is the lowest rank from Great Britain with a time of 2:10.33?
<s>[INST]What is the lowest rank from Great Britain with a time of 2:10.33? Context: CREATE TABLE table_name_40 (rank INTEGER, nationality VARCHAR, time VARCHAR)[/INST]SELECT MIN(rank) FROM table_name_40 WHERE nationality = "great britain" AND time = "2:10.33"</s>
CREATE TABLE table_1341395_33 (candidates VARCHAR, incumbent VARCHAR)
SELECT candidates FROM table_1341395_33 WHERE incumbent = "Gregory W. Meeks"
Who were the candidates when gregory w. meeks was the incumbent
<s>[INST]Who were the candidates when gregory w. meeks was the incumbent Context: CREATE TABLE table_1341395_33 (candidates VARCHAR, incumbent VARCHAR)[/INST]SELECT candidates FROM table_1341395_33 WHERE incumbent = "Gregory W. Meeks"</s>
CREATE TABLE table_name_2 (number_of_households INTEGER, median_household_income VARCHAR, population VARCHAR)
SELECT MAX(number_of_households) FROM table_name_2 WHERE median_household_income = "$54,086" AND population < 231 OFFSET 236
What is the most households with a median household income of $54,086 with less than 231,236 in population?
<s>[INST]What is the most households with a median household income of $54,086 with less than 231,236 in population? Context: CREATE TABLE table_name_2 (number_of_households INTEGER, median_household_income VARCHAR, population VARCHAR)[/INST]SELECT MAX(number_of_households) FROM table_name_2 WHERE median_household_inco...
CREATE TABLE table_name_85 (enrollment INTEGER, ihsaa_football_class VARCHAR)
SELECT SUM(enrollment) FROM table_name_85 WHERE ihsaa_football_class = "aaaa"
What is the enrollment for the AAAA class in IHSAA?
<s>[INST]What is the enrollment for the AAAA class in IHSAA? Context: CREATE TABLE table_name_85 (enrollment INTEGER, ihsaa_football_class VARCHAR)[/INST]SELECT SUM(enrollment) FROM table_name_85 WHERE ihsaa_football_class = "aaaa"</s>
CREATE TABLE table_name_35 (score VARCHAR, opponent VARCHAR)
SELECT score FROM table_name_35 WHERE opponent = "maria kondratieva"
What is the score of the game that was played against Maria Kondratieva?
<s>[INST]What is the score of the game that was played against Maria Kondratieva? Context: CREATE TABLE table_name_35 (score VARCHAR, opponent VARCHAR)[/INST]SELECT score FROM table_name_35 WHERE opponent = "maria kondratieva"</s>
CREATE TABLE table_22824199_1 (rebounds VARCHAR, points VARCHAR)
SELECT COUNT(rebounds) FROM table_22824199_1 WHERE points = 147
How many rebound did the person who scored 147 points have?
<s>[INST]How many rebound did the person who scored 147 points have? Context: CREATE TABLE table_22824199_1 (rebounds VARCHAR, points VARCHAR)[/INST]SELECT COUNT(rebounds) FROM table_22824199_1 WHERE points = 147</s>
CREATE TABLE table_name_9 (country VARCHAR, content VARCHAR)
SELECT country FROM table_name_9 WHERE content = "tv locale"
What Country's Content is TV Locale?
<s>[INST]What Country's Content is TV Locale? Context: CREATE TABLE table_name_9 (country VARCHAR, content VARCHAR)[/INST]SELECT country FROM table_name_9 WHERE content = "tv locale"</s>
CREATE TABLE table_2417445_4 (reason_for_vacancy VARCHAR, successor VARCHAR)
SELECT reason_for_vacancy FROM table_2417445_4 WHERE successor = "Rudolph Kleberg (D)"
When rudolph kleberg (d) is the successor is the reason for vacancy?
<s>[INST]When rudolph kleberg (d) is the successor is the reason for vacancy? Context: CREATE TABLE table_2417445_4 (reason_for_vacancy VARCHAR, successor VARCHAR)[/INST]SELECT reason_for_vacancy FROM table_2417445_4 WHERE successor = "Rudolph Kleberg (D)"</s>
CREATE TABLE table_1013129_1 (college_junior_club_team VARCHAR, player VARCHAR)
SELECT college_junior_club_team FROM table_1013129_1 WHERE player = "Vadim Sharifijanov"
What teams did the player vadim sharifijanov play for?
<s>[INST]What teams did the player vadim sharifijanov play for? Context: CREATE TABLE table_1013129_1 (college_junior_club_team VARCHAR, player VARCHAR)[/INST]SELECT college_junior_club_team FROM table_1013129_1 WHERE player = "Vadim Sharifijanov"</s>
CREATE TABLE table_name_52 (name VARCHAR, title VARCHAR)
SELECT name FROM table_name_52 WHERE title = "marquis"
Who has the title of marquis?
<s>[INST]Who has the title of marquis? Context: CREATE TABLE table_name_52 (name VARCHAR, title VARCHAR)[/INST]SELECT name FROM table_name_52 WHERE title = "marquis"</s>
CREATE TABLE table_name_80 (fa_cup_goals INTEGER, position VARCHAR, fa_cup_apps VARCHAR, total_goals VARCHAR)
SELECT AVG(fa_cup_goals) FROM table_name_80 WHERE fa_cup_apps = "0" AND total_goals < 1 AND position = "df"
what is the average fa cup goals when the fa cup apps is 0, total goals is less than 1 and position is df?
<s>[INST]what is the average fa cup goals when the fa cup apps is 0, total goals is less than 1 and position is df? Context: CREATE TABLE table_name_80 (fa_cup_goals INTEGER, position VARCHAR, fa_cup_apps VARCHAR, total_goals VARCHAR)[/INST]SELECT AVG(fa_cup_goals) FROM table_name_80 WHERE fa_cup_apps = "0" AND total_g...
CREATE TABLE table_26160007_1 (exports VARCHAR, total_trade VARCHAR)
SELECT exports FROM table_26160007_1 WHERE total_trade = "14,954.86"
Where the total trade is 14,954.86, what are the exports?
<s>[INST]Where the total trade is 14,954.86, what are the exports? Context: CREATE TABLE table_26160007_1 (exports VARCHAR, total_trade VARCHAR)[/INST]SELECT exports FROM table_26160007_1 WHERE total_trade = "14,954.86"</s>
CREATE TABLE table_name_53 (game VARCHAR, date VARCHAR)
SELECT COUNT(game) FROM table_name_53 WHERE date = "december 21"
What is the game number on December 21?
<s>[INST]What is the game number on December 21? Context: CREATE TABLE table_name_53 (game VARCHAR, date VARCHAR)[/INST]SELECT COUNT(game) FROM table_name_53 WHERE date = "december 21"</s>
CREATE TABLE table_name_95 (length VARCHAR, race VARCHAR)
SELECT length FROM table_name_95 WHERE race = "first union six hours at the glen"
What is the length of the First Union six hours at the Glen?
<s>[INST]What is the length of the First Union six hours at the Glen? Context: CREATE TABLE table_name_95 (length VARCHAR, race VARCHAR)[/INST]SELECT length FROM table_name_95 WHERE race = "first union six hours at the glen"</s>
CREATE TABLE table_name_46 (points_classification VARCHAR, general_classification VARCHAR, stage VARCHAR)
SELECT points_classification FROM table_name_46 WHERE general_classification = "denis menchov" AND stage = "18"
What's the points classification of Stage 18 when the general classification was Denis Menchov?
<s>[INST]What's the points classification of Stage 18 when the general classification was Denis Menchov? Context: CREATE TABLE table_name_46 (points_classification VARCHAR, general_classification VARCHAR, stage VARCHAR)[/INST]SELECT points_classification FROM table_name_46 WHERE general_classification = "denis menchov"...
CREATE TABLE table_name_91 (loss VARCHAR, attendance VARCHAR)
SELECT loss FROM table_name_91 WHERE attendance = "9,065"
What was the loss of the Mariners game that had an attendance of 9,065?
<s>[INST]What was the loss of the Mariners game that had an attendance of 9,065? Context: CREATE TABLE table_name_91 (loss VARCHAR, attendance VARCHAR)[/INST]SELECT loss FROM table_name_91 WHERE attendance = "9,065"</s>
CREATE TABLE table_name_71 (webkit VARCHAR, prince_xml VARCHAR)
SELECT webkit FROM table_name_71 WHERE prince_xml = "font"
For the item with a Prince XML value of 'font', what is the WebKit value?
<s>[INST]For the item with a Prince XML value of 'font', what is the WebKit value? Context: CREATE TABLE table_name_71 (webkit VARCHAR, prince_xml VARCHAR)[/INST]SELECT webkit FROM table_name_71 WHERE prince_xml = "font"</s>
CREATE TABLE table_name_86 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_86 WHERE record = "2-3"
What is the Date of the game with a Record of 2-3?
<s>[INST]What is the Date of the game with a Record of 2-3? Context: CREATE TABLE table_name_86 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_86 WHERE record = "2-3"</s>
CREATE TABLE table_name_96 (winning_constructor VARCHAR, date VARCHAR, circuit VARCHAR)
SELECT winning_constructor FROM table_name_96 WHERE date = "31 may" AND circuit = "madonie"
Name the Winning constructor on 31 may and a Circuit of madonie?
<s>[INST]Name the Winning constructor on 31 may and a Circuit of madonie? Context: CREATE TABLE table_name_96 (winning_constructor VARCHAR, date VARCHAR, circuit VARCHAR)[/INST]SELECT winning_constructor FROM table_name_96 WHERE date = "31 may" AND circuit = "madonie"</s>
CREATE TABLE table_11694832_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR)
SELECT original_air_date FROM table_11694832_1 WHERE us_viewers__millions_ = "3.57"
When was the show first aired that was viewed by 3.57 million U.S. viewers?
<s>[INST]When was the show first aired that was viewed by 3.57 million U.S. viewers? Context: CREATE TABLE table_11694832_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR)[/INST]SELECT original_air_date FROM table_11694832_1 WHERE us_viewers__millions_ = "3.57"</s>
CREATE TABLE table_name_64 (school_club_team VARCHAR, player VARCHAR)
SELECT school_club_team FROM table_name_64 WHERE player = "andrew jones"
Which School/Club Team does Andrew Jones play for?
<s>[INST]Which School/Club Team does Andrew Jones play for? Context: CREATE TABLE table_name_64 (school_club_team VARCHAR, player VARCHAR)[/INST]SELECT school_club_team FROM table_name_64 WHERE player = "andrew jones"</s>
CREATE TABLE table_25762852_1 (top_elevation__feet_ VARCHAR, name VARCHAR)
SELECT top_elevation__feet_ FROM table_25762852_1 WHERE name = "Steamboat"
If the name is Steamboat, what is the top elevation?
<s>[INST]If the name is Steamboat, what is the top elevation? Context: CREATE TABLE table_25762852_1 (top_elevation__feet_ VARCHAR, name VARCHAR)[/INST]SELECT top_elevation__feet_ FROM table_25762852_1 WHERE name = "Steamboat"</s>
CREATE TABLE table_27133147_3 (date_of_vacancy VARCHAR, manner_of_departure VARCHAR, position_in_table VARCHAR)
SELECT date_of_vacancy FROM table_27133147_3 WHERE manner_of_departure = "Resigned" AND position_in_table = "10th"
If the position in table is 10th, and the manner of departure was resigned, what was the date of vacancy?
<s>[INST]If the position in table is 10th, and the manner of departure was resigned, what was the date of vacancy? Context: CREATE TABLE table_27133147_3 (date_of_vacancy VARCHAR, manner_of_departure VARCHAR, position_in_table VARCHAR)[/INST]SELECT date_of_vacancy FROM table_27133147_3 WHERE manner_of_departure = "Resi...
CREATE TABLE table_name_87 (pali VARCHAR, poison_klesha VARCHAR)
SELECT pali FROM table_name_87 WHERE poison_klesha = "pride"
What is the pali word for pride in poison/klesha?
<s>[INST]What is the pali word for pride in poison/klesha? Context: CREATE TABLE table_name_87 (pali VARCHAR, poison_klesha VARCHAR)[/INST]SELECT pali FROM table_name_87 WHERE poison_klesha = "pride"</s>
CREATE TABLE table_1973729_2 (current_conference VARCHAR, nickname VARCHAR)
SELECT current_conference FROM table_1973729_2 WHERE nickname = "Lions"
Which conference has the nickname Lions?
<s>[INST]Which conference has the nickname Lions? Context: CREATE TABLE table_1973729_2 (current_conference VARCHAR, nickname VARCHAR)[/INST]SELECT current_conference FROM table_1973729_2 WHERE nickname = "Lions"</s>
CREATE TABLE table_name_64 (green_communist VARCHAR, left_bloc VARCHAR)
SELECT green_communist FROM table_name_64 WHERE left_bloc = "3.6%"
What is the result for the Green-Communist party when the Left Bloc has 3.6%?
<s>[INST]What is the result for the Green-Communist party when the Left Bloc has 3.6%? Context: CREATE TABLE table_name_64 (green_communist VARCHAR, left_bloc VARCHAR)[/INST]SELECT green_communist FROM table_name_64 WHERE left_bloc = "3.6%"</s>
CREATE TABLE table_name_23 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_23 WHERE venue = "western oval"
What is the home side's score at western oval?
<s>[INST]What is the home side's score at western oval? Context: CREATE TABLE table_name_23 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team AS score FROM table_name_23 WHERE venue = "western oval"</s>
CREATE TABLE table_name_42 (year INTEGER, _aramac_ VARCHAR, population__total_ VARCHAR)
SELECT SUM(year) FROM table_name_42 WHERE _aramac_ = 832 AND population__total_ < 3 OFFSET 762
What Year has an (Aramac) of 832 and a Population (Total) less than 3,762?
<s>[INST]What Year has an (Aramac) of 832 and a Population (Total) less than 3,762? Context: CREATE TABLE table_name_42 (year INTEGER, _aramac_ VARCHAR, population__total_ VARCHAR)[/INST]SELECT SUM(year) FROM table_name_42 WHERE _aramac_ = 832 AND population__total_ < 3 OFFSET 762</s>
CREATE TABLE table_name_19 (d_44_√ VARCHAR, d_47_√ VARCHAR)
SELECT d_44_√ FROM table_name_19 WHERE d_47_√ = "r 7"
What is the number for D 44 √ when D 47 √ is r 7?
<s>[INST]What is the number for D 44 √ when D 47 √ is r 7? Context: CREATE TABLE table_name_19 (d_44_√ VARCHAR, d_47_√ VARCHAR)[/INST]SELECT d_44_√ FROM table_name_19 WHERE d_47_√ = "r 7"</s>
CREATE TABLE table_2260452_1 (date VARCHAR, driver VARCHAR)
SELECT date FROM table_2260452_1 WHERE driver = "Robert Pressley"
What was the date if the driver was Robert Pressley?
<s>[INST]What was the date if the driver was Robert Pressley? Context: CREATE TABLE table_2260452_1 (date VARCHAR, driver VARCHAR)[/INST]SELECT date FROM table_2260452_1 WHERE driver = "Robert Pressley"</s>
CREATE TABLE Apartments (apt_type_code VARCHAR, room_count INTEGER)
SELECT apt_type_code FROM Apartments GROUP BY apt_type_code ORDER BY AVG(room_count) DESC LIMIT 3
Show the top 3 apartment type codes sorted by the average number of rooms in descending order.
<s>[INST]Show the top 3 apartment type codes sorted by the average number of rooms in descending order. Context: CREATE TABLE Apartments (apt_type_code VARCHAR, room_count INTEGER)[/INST]SELECT apt_type_code FROM Apartments GROUP BY apt_type_code ORDER BY AVG(room_count) DESC LIMIT 3</s>
CREATE TABLE table_1341897_6 (first_elected VARCHAR, district VARCHAR)
SELECT first_elected FROM table_1341897_6 WHERE district = "Arkansas 5"
When was Dale Alford first elected in the Arkansas 5 district?
<s>[INST]When was Dale Alford first elected in the Arkansas 5 district? Context: CREATE TABLE table_1341897_6 (first_elected VARCHAR, district VARCHAR)[/INST]SELECT first_elected FROM table_1341897_6 WHERE district = "Arkansas 5"</s>
CREATE TABLE table_name_41 (attribute VARCHAR, type VARCHAR, category VARCHAR, bubbles VARCHAR, cancelable VARCHAR)
SELECT attribute FROM table_name_41 WHERE bubbles = "yes" AND cancelable = "yes" AND category = "mouse" AND type = "contextmenu"
When Event has Bubbles of yes, Cancelable of yes, Category of mouse, and a Type of contextmenu what is the Attribute?
<s>[INST]When Event has Bubbles of yes, Cancelable of yes, Category of mouse, and a Type of contextmenu what is the Attribute? Context: CREATE TABLE table_name_41 (attribute VARCHAR, type VARCHAR, category VARCHAR, bubbles VARCHAR, cancelable VARCHAR)[/INST]SELECT attribute FROM table_name_41 WHERE bubbles = "yes" AND ...
CREATE TABLE table_name_80 (round INTEGER, location VARCHAR, event VARCHAR)
SELECT MAX(round) FROM table_name_80 WHERE location = "las vegas, nevada, united states" AND event = "wec 25"
What is the highest round in the Wec 25 match in Las Vegas, Nevada, United States?
<s>[INST]What is the highest round in the Wec 25 match in Las Vegas, Nevada, United States? Context: CREATE TABLE table_name_80 (round INTEGER, location VARCHAR, event VARCHAR)[/INST]SELECT MAX(round) FROM table_name_80 WHERE location = "las vegas, nevada, united states" AND event = "wec 25"</s>
CREATE TABLE table_name_66 (song VARCHAR, band_tour_venue VARCHAR)
SELECT song FROM table_name_66 WHERE band_tour_venue = "6. tool (usa) encore"
What song has the band tour vnue of 6. tool (usa) encore?
<s>[INST]What song has the band tour vnue of 6. tool (usa) encore? Context: CREATE TABLE table_name_66 (song VARCHAR, band_tour_venue VARCHAR)[/INST]SELECT song FROM table_name_66 WHERE band_tour_venue = "6. tool (usa) encore"</s>
CREATE TABLE table_14342592_4 (player VARCHAR, position VARCHAR, starter VARCHAR, touchdowns VARCHAR)
SELECT COUNT(player) FROM table_14342592_4 WHERE starter = "No" AND touchdowns = 1 AND position = "Right halfback"
Name the number of players when starter is no and touchdowns is 1 for right halfback
<s>[INST]Name the number of players when starter is no and touchdowns is 1 for right halfback Context: CREATE TABLE table_14342592_4 (player VARCHAR, position VARCHAR, starter VARCHAR, touchdowns VARCHAR)[/INST]SELECT COUNT(player) FROM table_14342592_4 WHERE starter = "No" AND touchdowns = 1 AND position = "Right half...
CREATE TABLE table_20898602_1 (college VARCHAR, position VARCHAR)
SELECT college FROM table_20898602_1 WHERE position = "Running back"
which college had a running back player
<s>[INST]which college had a running back player Context: CREATE TABLE table_20898602_1 (college VARCHAR, position VARCHAR)[/INST]SELECT college FROM table_20898602_1 WHERE position = "Running back"</s>
CREATE TABLE table_216776_2 (municipal_mayor VARCHAR, area__km²_ VARCHAR)
SELECT COUNT(municipal_mayor) FROM table_216776_2 WHERE area__km²_ = "42.66"
How many different municipal mayors were there in the municipality with an area of 42.66 km2?
<s>[INST]How many different municipal mayors were there in the municipality with an area of 42.66 km2? Context: CREATE TABLE table_216776_2 (municipal_mayor VARCHAR, area__km²_ VARCHAR)[/INST]SELECT COUNT(municipal_mayor) FROM table_216776_2 WHERE area__km²_ = "42.66"</s>
CREATE TABLE table_name_94 (date VARCHAR, surface VARCHAR)
SELECT COUNT(date) FROM table_name_94 WHERE surface = "carpet"
Tell me the total number of date for carpet
<s>[INST]Tell me the total number of date for carpet Context: CREATE TABLE table_name_94 (date VARCHAR, surface VARCHAR)[/INST]SELECT COUNT(date) FROM table_name_94 WHERE surface = "carpet"</s>
CREATE TABLE table_name_30 (tonnage__grt_ INTEGER, time VARCHAR, casualties VARCHAR)
SELECT SUM(tonnage__grt_) FROM table_name_30 WHERE time = "00:10" AND casualties < 42
What is the sum of tonnage with a time at 00:10 and less than 42 casualties?
<s>[INST]What is the sum of tonnage with a time at 00:10 and less than 42 casualties? Context: CREATE TABLE table_name_30 (tonnage__grt_ INTEGER, time VARCHAR, casualties VARCHAR)[/INST]SELECT SUM(tonnage__grt_) FROM table_name_30 WHERE time = "00:10" AND casualties < 42</s>
CREATE TABLE projects (name VARCHAR, hours INTEGER)
SELECT name FROM projects WHERE hours > (SELECT AVG(hours) FROM projects)
List the name of all projects that are operated longer than the average working hours of all projects.
<s>[INST]List the name of all projects that are operated longer than the average working hours of all projects. Context: CREATE TABLE projects (name VARCHAR, hours INTEGER)[/INST]SELECT name FROM projects WHERE hours > (SELECT AVG(hours) FROM projects)</s>
CREATE TABLE table_2345558_1 (_number INTEGER, us_viewers__millions_ VARCHAR)
SELECT MAX(_number) FROM table_2345558_1 WHERE us_viewers__millions_ = "1.370"
What is the number of the episode seen by 1.370 million people in the US?
<s>[INST]What is the number of the episode seen by 1.370 million people in the US? Context: CREATE TABLE table_2345558_1 (_number INTEGER, us_viewers__millions_ VARCHAR)[/INST]SELECT MAX(_number) FROM table_2345558_1 WHERE us_viewers__millions_ = "1.370"</s>
CREATE TABLE table_name_8 (event VARCHAR, name VARCHAR)
SELECT event FROM table_name_8 WHERE name = "rashid sidek"
What event did Rashid Sidek participate in?
<s>[INST]What event did Rashid Sidek participate in? Context: CREATE TABLE table_name_8 (event VARCHAR, name VARCHAR)[/INST]SELECT event FROM table_name_8 WHERE name = "rashid sidek"</s>
CREATE TABLE table_name_6 (losses INTEGER, away VARCHAR, wins VARCHAR)
SELECT MAX(losses) FROM table_name_6 WHERE away = "1-6" AND wins > 4
What is the highest number of losses that a team who had an away record of 1-6 and more than 4 wins had?
<s>[INST]What is the highest number of losses that a team who had an away record of 1-6 and more than 4 wins had? Context: CREATE TABLE table_name_6 (losses INTEGER, away VARCHAR, wins VARCHAR)[/INST]SELECT MAX(losses) FROM table_name_6 WHERE away = "1-6" AND wins > 4</s>
CREATE TABLE table_14118521_1 (shuttle VARCHAR, primary_payload_s_ VARCHAR)
SELECT shuttle FROM table_14118521_1 WHERE primary_payload_s_ = "United States Microgravity Laboratory-1"
what's the shuttle with primary payload(s) being united states microgravity laboratory-1
<s>[INST]what's the shuttle with primary payload(s) being united states microgravity laboratory-1 Context: CREATE TABLE table_14118521_1 (shuttle VARCHAR, primary_payload_s_ VARCHAR)[/INST]SELECT shuttle FROM table_14118521_1 WHERE primary_payload_s_ = "United States Microgravity Laboratory-1"</s>
CREATE TABLE table_24099628_1 (brand_name VARCHAR, model__list_ VARCHAR)
SELECT brand_name FROM table_24099628_1 WHERE model__list_ = "4x0"
What is the brand name associated with the model 4x0?
<s>[INST]What is the brand name associated with the model 4x0? Context: CREATE TABLE table_24099628_1 (brand_name VARCHAR, model__list_ VARCHAR)[/INST]SELECT brand_name FROM table_24099628_1 WHERE model__list_ = "4x0"</s>
CREATE TABLE table_1301373_7 (captain VARCHAR, international_marquee VARCHAR)
SELECT captain FROM table_1301373_7 WHERE international_marquee = "Emile Heskey"
Name the captain for emile heskey
<s>[INST]Name the captain for emile heskey Context: CREATE TABLE table_1301373_7 (captain VARCHAR, international_marquee VARCHAR)[/INST]SELECT captain FROM table_1301373_7 WHERE international_marquee = "Emile Heskey"</s>
CREATE TABLE table_name_85 (money___ INTEGER, to_par VARCHAR, player VARCHAR)
SELECT AVG(money___) AS $__ FROM table_name_85 WHERE to_par = "+2" AND player = "toney penna"
What's the average payout of toney penna with a +2 par?
<s>[INST]What's the average payout of toney penna with a +2 par? Context: CREATE TABLE table_name_85 (money___ INTEGER, to_par VARCHAR, player VARCHAR)[/INST]SELECT AVG(money___) AS $__ FROM table_name_85 WHERE to_par = "+2" AND player = "toney penna"</s>
CREATE TABLE table_name_60 (outcome VARCHAR, opponents_in_the_final VARCHAR)
SELECT outcome FROM table_name_60 WHERE opponents_in_the_final = "jonas björkman john mcenroe"
Name the outcome for opponents of jonas björkman john mcenroe
<s>[INST]Name the outcome for opponents of jonas björkman john mcenroe Context: CREATE TABLE table_name_60 (outcome VARCHAR, opponents_in_the_final VARCHAR)[/INST]SELECT outcome FROM table_name_60 WHERE opponents_in_the_final = "jonas björkman john mcenroe"</s>
CREATE TABLE music_festival (Category VARCHAR, RESULT VARCHAR)
SELECT Category FROM music_festival WHERE RESULT = "Awarded"
What are the category of music festivals with result "Awarded"?
<s>[INST]What are the category of music festivals with result "Awarded"? Context: CREATE TABLE music_festival (Category VARCHAR, RESULT VARCHAR)[/INST]SELECT Category FROM music_festival WHERE RESULT = "Awarded"</s>