context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_18 (poll_source VARCHAR, date_administered VARCHAR)
SELECT poll_source FROM table_name_18 WHERE date_administered = "october 30 – november 2, 2008"
Which Poll Source has a Date administered of october 30 – november 2, 2008?
<s>[INST]Which Poll Source has a Date administered of october 30 – november 2, 2008? Context: CREATE TABLE table_name_18 (poll_source VARCHAR, date_administered VARCHAR)[/INST]SELECT poll_source FROM table_name_18 WHERE date_administered = "october 30 – november 2, 2008"</s>
CREATE TABLE table_name_90 (profession VARCHAR, city VARCHAR)
SELECT profession FROM table_name_90 WHERE city = "leskovac"
What is the profession of the housemate from Leskovac city?
<s>[INST]What is the profession of the housemate from Leskovac city? Context: CREATE TABLE table_name_90 (profession VARCHAR, city VARCHAR)[/INST]SELECT profession FROM table_name_90 WHERE city = "leskovac"</s>
CREATE TABLE table_name_86 (emit__nm_ VARCHAR, mass__g_mol_ VARCHAR)
SELECT emit__nm_ FROM table_name_86 WHERE mass__g_mol_ = "1078"
Which Emission (in nanometers) that has a molar mass of 1078 g/mol?
<s>[INST]Which Emission (in nanometers) that has a molar mass of 1078 g/mol? Context: CREATE TABLE table_name_86 (emit__nm_ VARCHAR, mass__g_mol_ VARCHAR)[/INST]SELECT emit__nm_ FROM table_name_86 WHERE mass__g_mol_ = "1078"</s>
CREATE TABLE table_23685890_2 (pop_2006 VARCHAR, major_town VARCHAR)
SELECT pop_2006 FROM table_23685890_2 WHERE major_town = "Coober Pedy"
What was the 2006 population count of the local government area where Coober Pedy is located?
<s>[INST]What was the 2006 population count of the local government area where Coober Pedy is located? Context: CREATE TABLE table_23685890_2 (pop_2006 VARCHAR, major_town VARCHAR)[/INST]SELECT pop_2006 FROM table_23685890_2 WHERE major_town = "Coober Pedy"</s>
CREATE TABLE table_name_28 (office VARCHAR, conservative_ticket VARCHAR)
SELECT office FROM table_name_28 WHERE conservative_ticket = "kieran o'doherty"
Which office has kieran o'doherty as the conservative ticket?
<s>[INST]Which office has kieran o'doherty as the conservative ticket? Context: CREATE TABLE table_name_28 (office VARCHAR, conservative_ticket VARCHAR)[/INST]SELECT office FROM table_name_28 WHERE conservative_ticket = "kieran o'doherty"</s>
CREATE TABLE table_name_96 (surface VARCHAR, opponent_in_the_final VARCHAR)
SELECT surface FROM table_name_96 WHERE opponent_in_the_final = "stéphane robert"
Which Surface has an Opponent in the final of stéphane robert?
<s>[INST]Which Surface has an Opponent in the final of stéphane robert? Context: CREATE TABLE table_name_96 (surface VARCHAR, opponent_in_the_final VARCHAR)[/INST]SELECT surface FROM table_name_96 WHERE opponent_in_the_final = "stéphane robert"</s>
CREATE TABLE candidate (Candidate_ID VARCHAR, oppose_rate VARCHAR)
SELECT Candidate_ID FROM candidate ORDER BY oppose_rate LIMIT 1
Find the id of the candidate who got the lowest oppose rate.
<s>[INST]Find the id of the candidate who got the lowest oppose rate. Context: CREATE TABLE candidate (Candidate_ID VARCHAR, oppose_rate VARCHAR)[/INST]SELECT Candidate_ID FROM candidate ORDER BY oppose_rate LIMIT 1</s>
CREATE TABLE table_name_13 (director_s_ VARCHAR, film VARCHAR)
SELECT director_s_ FROM table_name_13 WHERE film = "mi-temps"
Which director made Mi-temps?
<s>[INST]Which director made Mi-temps? Context: CREATE TABLE table_name_13 (director_s_ VARCHAR, film VARCHAR)[/INST]SELECT director_s_ FROM table_name_13 WHERE film = "mi-temps"</s>
CREATE TABLE table_name_27 (sort_restore VARCHAR, births VARCHAR)
SELECT COUNT(sort_restore) FROM table_name_27 WHERE births = "389"
What is the number of sort values associated with 389 births?
<s>[INST]What is the number of sort values associated with 389 births? Context: CREATE TABLE table_name_27 (sort_restore VARCHAR, births VARCHAR)[/INST]SELECT COUNT(sort_restore) FROM table_name_27 WHERE births = "389"</s>
CREATE TABLE table_1893815_1 (chinese__traditional_ VARCHAR, album_number VARCHAR)
SELECT COUNT(chinese__traditional_) FROM table_1893815_1 WHERE album_number = "6th"
Name the number of traditional chinese for album number 6th
<s>[INST]Name the number of traditional chinese for album number 6th Context: CREATE TABLE table_1893815_1 (chinese__traditional_ VARCHAR, album_number VARCHAR)[/INST]SELECT COUNT(chinese__traditional_) FROM table_1893815_1 WHERE album_number = "6th"</s>
CREATE TABLE table_name_19 (publisher VARCHAR, name VARCHAR)
SELECT publisher FROM table_name_19 WHERE name = "spec ops: stealth patrol"
Which publisher is responsible for spec ops: stealth patrol?
<s>[INST]Which publisher is responsible for spec ops: stealth patrol? Context: CREATE TABLE table_name_19 (publisher VARCHAR, name VARCHAR)[/INST]SELECT publisher FROM table_name_19 WHERE name = "spec ops: stealth patrol"</s>
CREATE TABLE table_16409745_1 (dpi VARCHAR, dimensions__mm_ VARCHAR)
SELECT dpi FROM table_16409745_1 WHERE dimensions__mm_ = "280 x 95 x 40"
What is the dpi of a scanner with the mm dimensions 280 x 95 x 40?
<s>[INST]What is the dpi of a scanner with the mm dimensions 280 x 95 x 40? Context: CREATE TABLE table_16409745_1 (dpi VARCHAR, dimensions__mm_ VARCHAR)[/INST]SELECT dpi FROM table_16409745_1 WHERE dimensions__mm_ = "280 x 95 x 40"</s>
CREATE TABLE table_name_73 (points INTEGER, team VARCHAR, average VARCHAR, played VARCHAR)
SELECT SUM(points) FROM table_name_73 WHERE average < 1 AND played > 38 AND team = "gimnasia de la plata"
How many Points have an Average smaller than 1, a Played larger than 38, and a Team of gimnasia de la plata?
<s>[INST]How many Points have an Average smaller than 1, a Played larger than 38, and a Team of gimnasia de la plata? Context: CREATE TABLE table_name_73 (points INTEGER, team VARCHAR, average VARCHAR, played VARCHAR)[/INST]SELECT SUM(points) FROM table_name_73 WHERE average < 1 AND played > 38 AND team = "gimnasia de ...
CREATE TABLE table_26375386_18 (public INTEGER, couple VARCHAR)
SELECT MAX(public) FROM table_26375386_18 WHERE couple = "Danniella and Matthew"
WHat was the max public with danniella and matthew?
<s>[INST]WHat was the max public with danniella and matthew? Context: CREATE TABLE table_26375386_18 (public INTEGER, couple VARCHAR)[/INST]SELECT MAX(public) FROM table_26375386_18 WHERE couple = "Danniella and Matthew"</s>
CREATE TABLE table_name_97 (draws INTEGER, wimmera_fl VARCHAR, byes VARCHAR)
SELECT SUM(draws) FROM table_name_97 WHERE wimmera_fl = "ararat" AND byes < 2
What's the total draws for Ararat when the byes are less than 2?
<s>[INST]What's the total draws for Ararat when the byes are less than 2? Context: CREATE TABLE table_name_97 (draws INTEGER, wimmera_fl VARCHAR, byes VARCHAR)[/INST]SELECT SUM(draws) FROM table_name_97 WHERE wimmera_fl = "ararat" AND byes < 2</s>
CREATE TABLE table_name_53 (game VARCHAR, developer_s_ VARCHAR)
SELECT game FROM table_name_53 WHERE developer_s_ = "ubisoft montreal"
What game was developed by Ubisoft Montreal?
<s>[INST]What game was developed by Ubisoft Montreal? Context: CREATE TABLE table_name_53 (game VARCHAR, developer_s_ VARCHAR)[/INST]SELECT game FROM table_name_53 WHERE developer_s_ = "ubisoft montreal"</s>
CREATE TABLE table_2970978_1 (ave_attendance INTEGER, ___ave_on_prev_season VARCHAR)
SELECT MIN(ave_attendance) FROM table_2970978_1 WHERE ___ave_on_prev_season = "-459"
What is the lowest value of average attendance when average on previous season is -459?
<s>[INST]What is the lowest value of average attendance when average on previous season is -459? Context: CREATE TABLE table_2970978_1 (ave_attendance INTEGER, ___ave_on_prev_season VARCHAR)[/INST]SELECT MIN(ave_attendance) FROM table_2970978_1 WHERE ___ave_on_prev_season = "-459"</s>
CREATE TABLE table_name_40 (first_runner_up VARCHAR, miss_maja_pilipinas VARCHAR)
SELECT first_runner_up FROM table_name_40 WHERE miss_maja_pilipinas = "nanette prodigalidad"
What First runner-up has a Miss Maja Pilipinas of nanette prodigalidad?
<s>[INST]What First runner-up has a Miss Maja Pilipinas of nanette prodigalidad? Context: CREATE TABLE table_name_40 (first_runner_up VARCHAR, miss_maja_pilipinas VARCHAR)[/INST]SELECT first_runner_up FROM table_name_40 WHERE miss_maja_pilipinas = "nanette prodigalidad"</s>
CREATE TABLE table_name_51 (driving_wheels VARCHAR, date_built VARCHAR)
SELECT driving_wheels FROM table_name_51 WHERE date_built = "1883"
What are the driving wheels of the model built in 1883?
<s>[INST]What are the driving wheels of the model built in 1883? Context: CREATE TABLE table_name_51 (driving_wheels VARCHAR, date_built VARCHAR)[/INST]SELECT driving_wheels FROM table_name_51 WHERE date_built = "1883"</s>
CREATE TABLE table_name_83 (name VARCHAR, position VARCHAR, weight VARCHAR)
SELECT name FROM table_name_83 WHERE position = "wr" AND weight = 197
What is the name of the player who is a wr and has a weight of 197?
<s>[INST]What is the name of the player who is a wr and has a weight of 197? Context: CREATE TABLE table_name_83 (name VARCHAR, position VARCHAR, weight VARCHAR)[/INST]SELECT name FROM table_name_83 WHERE position = "wr" AND weight = 197</s>
CREATE TABLE table_name_15 (crowd INTEGER, away_team VARCHAR)
SELECT SUM(crowd) FROM table_name_15 WHERE away_team = "south melbourne"
What is the crowd size when the away team was South Melbourne?
<s>[INST]What is the crowd size when the away team was South Melbourne? Context: CREATE TABLE table_name_15 (crowd INTEGER, away_team VARCHAR)[/INST]SELECT SUM(crowd) FROM table_name_15 WHERE away_team = "south melbourne"</s>
CREATE TABLE table_176521_2 (census_ranking VARCHAR, official_name VARCHAR)
SELECT census_ranking FROM table_176521_2 WHERE official_name = "Maugerville"
What are the census ranking(s) of maugerville?
<s>[INST]What are the census ranking(s) of maugerville? Context: CREATE TABLE table_176521_2 (census_ranking VARCHAR, official_name VARCHAR)[/INST]SELECT census_ranking FROM table_176521_2 WHERE official_name = "Maugerville"</s>
CREATE TABLE table_23292220_8 (jasons_team VARCHAR, first_broadcast VARCHAR)
SELECT jasons_team FROM table_23292220_8 WHERE first_broadcast = "12 June 2009"
Who was on Jason's team for the 12 June 2009 episode?
<s>[INST]Who was on Jason's team for the 12 June 2009 episode? Context: CREATE TABLE table_23292220_8 (jasons_team VARCHAR, first_broadcast VARCHAR)[/INST]SELECT jasons_team FROM table_23292220_8 WHERE first_broadcast = "12 June 2009"</s>
CREATE TABLE table_name_52 (opponent VARCHAR, time VARCHAR)
SELECT opponent FROM table_name_52 WHERE time = "3:59"
Who was the opponent with the time 3:59?
<s>[INST]Who was the opponent with the time 3:59? Context: CREATE TABLE table_name_52 (opponent VARCHAR, time VARCHAR)[/INST]SELECT opponent FROM table_name_52 WHERE time = "3:59"</s>
CREATE TABLE table_name_37 (time VARCHAR, ad_freq VARCHAR, show_name VARCHAR)
SELECT time FROM table_name_37 WHERE ad_freq = "15 minutes" AND show_name = "country today"
What Time has Ad Freq of 15 minutes, and a Show Name of country today?
<s>[INST]What Time has Ad Freq of 15 minutes, and a Show Name of country today? Context: CREATE TABLE table_name_37 (time VARCHAR, ad_freq VARCHAR, show_name VARCHAR)[/INST]SELECT time FROM table_name_37 WHERE ad_freq = "15 minutes" AND show_name = "country today"</s>
CREATE TABLE table_15187735_10 (segment_c VARCHAR, segment_d VARCHAR)
SELECT COUNT(segment_c) FROM table_15187735_10 WHERE segment_d = "Crash Test Dummies"
Name the segment c for crash test dummies
<s>[INST]Name the segment c for crash test dummies Context: CREATE TABLE table_15187735_10 (segment_c VARCHAR, segment_d VARCHAR)[/INST]SELECT COUNT(segment_c) FROM table_15187735_10 WHERE segment_d = "Crash Test Dummies"</s>
CREATE TABLE table_name_24 (against VARCHAR, opposing_team VARCHAR)
SELECT against FROM table_name_24 WHERE opposing_team = "sheffield wednesday"
What was the Against when the Opposing Team was sheffield wednesday?
<s>[INST]What was the Against when the Opposing Team was sheffield wednesday? Context: CREATE TABLE table_name_24 (against VARCHAR, opposing_team VARCHAR)[/INST]SELECT against FROM table_name_24 WHERE opposing_team = "sheffield wednesday"</s>
CREATE TABLE table_name_9 (name VARCHAR, moving_to VARCHAR)
SELECT name FROM table_name_9 WHERE moving_to = "metalurh donetsk"
Who is moving to Metalurh Donetsk?
<s>[INST]Who is moving to Metalurh Donetsk? Context: CREATE TABLE table_name_9 (name VARCHAR, moving_to VARCHAR)[/INST]SELECT name FROM table_name_9 WHERE moving_to = "metalurh donetsk"</s>
CREATE TABLE table_name_42 (round VARCHAR, phase VARCHAR, draw_date VARCHAR)
SELECT round FROM table_name_42 WHERE phase = "qualifying" AND draw_date = "16 july 2010"
What is the round for the qualifying phase with a draw date on 16 July 2010?
<s>[INST]What is the round for the qualifying phase with a draw date on 16 July 2010? Context: CREATE TABLE table_name_42 (round VARCHAR, phase VARCHAR, draw_date VARCHAR)[/INST]SELECT round FROM table_name_42 WHERE phase = "qualifying" AND draw_date = "16 july 2010"</s>
CREATE TABLE table_16175217_1 (donor_payment VARCHAR, country VARCHAR)
SELECT donor_payment FROM table_16175217_1 WHERE country = "Belgium"
What is the donor payment in Belgium?
<s>[INST]What is the donor payment in Belgium? Context: CREATE TABLE table_16175217_1 (donor_payment VARCHAR, country VARCHAR)[/INST]SELECT donor_payment FROM table_16175217_1 WHERE country = "Belgium"</s>
CREATE TABLE table_name_95 (appeared INTEGER, rr_w_rate INTEGER)
SELECT SUM(appeared) FROM table_name_95 WHERE rr_w_rate < 0.17
What's the total appeared that has an RR Rate less than 0.17?
<s>[INST]What's the total appeared that has an RR Rate less than 0.17? Context: CREATE TABLE table_name_95 (appeared INTEGER, rr_w_rate INTEGER)[/INST]SELECT SUM(appeared) FROM table_name_95 WHERE rr_w_rate < 0.17</s>
CREATE TABLE table_2468961_4 (written_by VARCHAR, original_air_date VARCHAR)
SELECT written_by FROM table_2468961_4 WHERE original_air_date = "April 29, 1994"
Who wrote the episode that originally aired April 29, 1994?
<s>[INST]Who wrote the episode that originally aired April 29, 1994? Context: CREATE TABLE table_2468961_4 (written_by VARCHAR, original_air_date VARCHAR)[/INST]SELECT written_by FROM table_2468961_4 WHERE original_air_date = "April 29, 1994"</s>
CREATE TABLE table_name_34 (outcome VARCHAR, venue VARCHAR)
SELECT outcome FROM table_name_34 WHERE venue = "india open"
What was the outcome for the India Open?
<s>[INST]What was the outcome for the India Open? Context: CREATE TABLE table_name_34 (outcome VARCHAR, venue VARCHAR)[/INST]SELECT outcome FROM table_name_34 WHERE venue = "india open"</s>
CREATE TABLE table_name_64 (year_commissioned INTEGER, average_annual_output__million_kwh_ VARCHAR, installed_capacity__megawatts_ VARCHAR)
SELECT MIN(year_commissioned) FROM table_name_64 WHERE average_annual_output__million_kwh_ > 58 AND installed_capacity__megawatts_ = 20
What is the earliest Year commissioned wiht an Average annual output greater than 58 and Installed capacity of 20?
<s>[INST]What is the earliest Year commissioned wiht an Average annual output greater than 58 and Installed capacity of 20? Context: CREATE TABLE table_name_64 (year_commissioned INTEGER, average_annual_output__million_kwh_ VARCHAR, installed_capacity__megawatts_ VARCHAR)[/INST]SELECT MIN(year_commissioned) FROM table_...
CREATE TABLE table_name_15 (average INTEGER, evening_gown VARCHAR, swimsuit VARCHAR, state VARCHAR)
SELECT MIN(average) FROM table_name_15 WHERE swimsuit < 8.966 AND state = "west virginia" AND evening_gown < 8.711
What is the lowest average that has a swimsuit less than 8.966, for west virginia and an evening gown less than 8.711?
<s>[INST]What is the lowest average that has a swimsuit less than 8.966, for west virginia and an evening gown less than 8.711? Context: CREATE TABLE table_name_15 (average INTEGER, evening_gown VARCHAR, swimsuit VARCHAR, state VARCHAR)[/INST]SELECT MIN(average) FROM table_name_15 WHERE swimsuit < 8.966 AND state = "we...
CREATE TABLE table_name_16 (built VARCHAR, location VARCHAR)
SELECT built FROM table_name_16 WHERE location = "clarkdale"
In what year was the bridge in Clarkdale built?
<s>[INST]In what year was the bridge in Clarkdale built? Context: CREATE TABLE table_name_16 (built VARCHAR, location VARCHAR)[/INST]SELECT built FROM table_name_16 WHERE location = "clarkdale"</s>
CREATE TABLE table_17103566_1 (team_2 VARCHAR, result VARCHAR)
SELECT team_2 FROM table_17103566_1 WHERE result = "ICL World by 8 wickets"
What is team 2 where the result is ICL world by 8 wickets?
<s>[INST]What is team 2 where the result is ICL world by 8 wickets? Context: CREATE TABLE table_17103566_1 (team_2 VARCHAR, result VARCHAR)[/INST]SELECT team_2 FROM table_17103566_1 WHERE result = "ICL World by 8 wickets"</s>
CREATE TABLE table_28201906_1 (drawn INTEGER)
SELECT MIN(drawn) FROM table_28201906_1
What is the lowest number of drawn games by a team?
<s>[INST]What is the lowest number of drawn games by a team? Context: CREATE TABLE table_28201906_1 (drawn INTEGER)[/INST]SELECT MIN(drawn) FROM table_28201906_1</s>
CREATE TABLE table_name_10 (tournament VARCHAR)
SELECT 2011 FROM table_name_10 WHERE tournament = "australian open"
How many sets were in the 2011 Australian Open Tournament?
<s>[INST]How many sets were in the 2011 Australian Open Tournament? Context: CREATE TABLE table_name_10 (tournament VARCHAR)[/INST]SELECT 2011 FROM table_name_10 WHERE tournament = "australian open"</s>
CREATE TABLE table_28138035_20 (year_location VARCHAR, womens_doubles VARCHAR)
SELECT year_location FROM table_28138035_20 WHERE womens_doubles = "Jing Junhong Li Jiawei"
Where was the tour when jing junhong li jiawei played womens doubles?
<s>[INST]Where was the tour when jing junhong li jiawei played womens doubles? Context: CREATE TABLE table_28138035_20 (year_location VARCHAR, womens_doubles VARCHAR)[/INST]SELECT year_location FROM table_28138035_20 WHERE womens_doubles = "Jing Junhong Li Jiawei"</s>
CREATE TABLE table_name_68 (founded INTEGER, club VARCHAR, titles VARCHAR)
SELECT SUM(founded) FROM table_name_68 WHERE club = "tri-city storm" AND titles > 1
Which Founded has a Club of tri-city storm and a Titles larger than 1?
<s>[INST]Which Founded has a Club of tri-city storm and a Titles larger than 1? Context: CREATE TABLE table_name_68 (founded INTEGER, club VARCHAR, titles VARCHAR)[/INST]SELECT SUM(founded) FROM table_name_68 WHERE club = "tri-city storm" AND titles > 1</s>
CREATE TABLE TOURIST_ATTRACTIONS (Tourist_Attraction_ID VARCHAR, Name VARCHAR); CREATE TABLE PHOTOS (Name VARCHAR, Description VARCHAR, Tourist_Attraction_ID VARCHAR)
SELECT T1.Name, T1.Description FROM PHOTOS AS T1 JOIN TOURIST_ATTRACTIONS AS T2 ON T1.Tourist_Attraction_ID = T2.Tourist_Attraction_ID WHERE T2.Name = "film festival"
What are the names and descriptions of the photos taken at the tourist attraction "film festival"?
<s>[INST]What are the names and descriptions of the photos taken at the tourist attraction "film festival"? Context: CREATE TABLE TOURIST_ATTRACTIONS (Tourist_Attraction_ID VARCHAR, Name VARCHAR); CREATE TABLE PHOTOS (Name VARCHAR, Description VARCHAR, Tourist_Attraction_ID VARCHAR)[/INST]SELECT T1.Name, T1.Description...
CREATE TABLE table_25999087_2 (young_rider_classification VARCHAR, winner VARCHAR)
SELECT young_rider_classification FROM table_25999087_2 WHERE winner = "Jelle Vanendert"
Who is every young rider classification when Jelle Vanendert is the winner?
<s>[INST]Who is every young rider classification when Jelle Vanendert is the winner? Context: CREATE TABLE table_25999087_2 (young_rider_classification VARCHAR, winner VARCHAR)[/INST]SELECT young_rider_classification FROM table_25999087_2 WHERE winner = "Jelle Vanendert"</s>
CREATE TABLE table_name_21 (att_cmp VARCHAR, td_int VARCHAR)
SELECT att_cmp FROM table_name_21 WHERE td_int = "7-8"
Which Att-Cmp has a TD-INT of 7-8?
<s>[INST]Which Att-Cmp has a TD-INT of 7-8? Context: CREATE TABLE table_name_21 (att_cmp VARCHAR, td_int VARCHAR)[/INST]SELECT att_cmp FROM table_name_21 WHERE td_int = "7-8"</s>
CREATE TABLE table_name_73 (years VARCHAR, jersey_number_s_ VARCHAR)
SELECT years FROM table_name_73 WHERE jersey_number_s_ = 44
What is the Years of the player with Jersey Number(s) of 44?
<s>[INST]What is the Years of the player with Jersey Number(s) of 44? Context: CREATE TABLE table_name_73 (years VARCHAR, jersey_number_s_ VARCHAR)[/INST]SELECT years FROM table_name_73 WHERE jersey_number_s_ = 44</s>
CREATE TABLE table_name_45 (rank INTEGER, floors__stories_ INTEGER)
SELECT MAX(rank) FROM table_name_45 WHERE floors__stories_ > 15
Which is the highest ranked building with more than 15 floors?
<s>[INST]Which is the highest ranked building with more than 15 floors? Context: CREATE TABLE table_name_45 (rank INTEGER, floors__stories_ INTEGER)[/INST]SELECT MAX(rank) FROM table_name_45 WHERE floors__stories_ > 15</s>
CREATE TABLE table_28005100_1 (no VARCHAR, title VARCHAR)
SELECT COUNT(no) FROM table_28005100_1 WHERE title = "Kam Wa7ed Fina"
How many numbers are there for kam wa7ed fina?
<s>[INST]How many numbers are there for kam wa7ed fina? Context: CREATE TABLE table_28005100_1 (no VARCHAR, title VARCHAR)[/INST]SELECT COUNT(no) FROM table_28005100_1 WHERE title = "Kam Wa7ed Fina"</s>
CREATE TABLE table_name_60 (race VARCHAR, finish VARCHAR, track VARCHAR)
SELECT race FROM table_name_60 WHERE finish = "1st" AND track = "saratoga race course"
Which race had a finish of 1st at Saratoga Race Course?
<s>[INST]Which race had a finish of 1st at Saratoga Race Course? Context: CREATE TABLE table_name_60 (race VARCHAR, finish VARCHAR, track VARCHAR)[/INST]SELECT race FROM table_name_60 WHERE finish = "1st" AND track = "saratoga race course"</s>
CREATE TABLE table_name_96 (home_ground VARCHAR, location VARCHAR)
SELECT home_ground FROM table_name_96 WHERE location = "canterbury"
What is the home ground for the team located in Canterbury?
<s>[INST]What is the home ground for the team located in Canterbury? Context: CREATE TABLE table_name_96 (home_ground VARCHAR, location VARCHAR)[/INST]SELECT home_ground FROM table_name_96 WHERE location = "canterbury"</s>
CREATE TABLE table_11545282_18 (player VARCHAR, years_for_jazz VARCHAR)
SELECT player FROM table_11545282_18 WHERE years_for_jazz = "2004-05"
Which player played 2004-05
<s>[INST]Which player played 2004-05 Context: CREATE TABLE table_11545282_18 (player VARCHAR, years_for_jazz VARCHAR)[/INST]SELECT player FROM table_11545282_18 WHERE years_for_jazz = "2004-05"</s>
CREATE TABLE table_name_44 (british VARCHAR, american VARCHAR, australian VARCHAR)
SELECT british FROM table_name_44 WHERE american = "i" AND australian = "i"
What's the British pronunciation when the American and Australian is i?
<s>[INST]What's the British pronunciation when the American and Australian is i? Context: CREATE TABLE table_name_44 (british VARCHAR, american VARCHAR, australian VARCHAR)[/INST]SELECT british FROM table_name_44 WHERE american = "i" AND australian = "i"</s>
CREATE TABLE table_name_42 (owner VARCHAR, re_entered_service__p_ VARCHAR, pre_conversion VARCHAR)
SELECT owner FROM table_name_42 WHERE re_entered_service__p_ = "11 september 1985" AND pre_conversion = "t326"
Who owns the item that was a T326 before conversion and re-entered service on 11 September 1985?
<s>[INST]Who owns the item that was a T326 before conversion and re-entered service on 11 September 1985? Context: CREATE TABLE table_name_42 (owner VARCHAR, re_entered_service__p_ VARCHAR, pre_conversion VARCHAR)[/INST]SELECT owner FROM table_name_42 WHERE re_entered_service__p_ = "11 september 1985" AND pre_conversio...
CREATE TABLE table_name_54 (score VARCHAR, year VARCHAR, partner VARCHAR)
SELECT score FROM table_name_54 WHERE year < 1994 AND partner = "elizabeth sayers smylie"
Which Score has smaller than 1994, and a Partner of elizabeth sayers smylie?
<s>[INST]Which Score has smaller than 1994, and a Partner of elizabeth sayers smylie? Context: CREATE TABLE table_name_54 (score VARCHAR, year VARCHAR, partner VARCHAR)[/INST]SELECT score FROM table_name_54 WHERE year < 1994 AND partner = "elizabeth sayers smylie"</s>
CREATE TABLE table_name_37 (Chief VARCHAR, judge VARCHAR)
SELECT Chief AS judge FROM table_name_37 WHERE judge = "jack edward tanner"
Who was Judge Jack Edward Tanner's chief judge?
<s>[INST]Who was Judge Jack Edward Tanner's chief judge? Context: CREATE TABLE table_name_37 (Chief VARCHAR, judge VARCHAR)[/INST]SELECT Chief AS judge FROM table_name_37 WHERE judge = "jack edward tanner"</s>
CREATE TABLE table_name_12 (event VARCHAR, city VARCHAR)
SELECT event FROM table_name_12 WHERE city = "florianopolis"
What event is in florianopolis?
<s>[INST]What event is in florianopolis? Context: CREATE TABLE table_name_12 (event VARCHAR, city VARCHAR)[/INST]SELECT event FROM table_name_12 WHERE city = "florianopolis"</s>
CREATE TABLE table_15872814_3 (score VARCHAR, team VARCHAR)
SELECT score FROM table_15872814_3 WHERE team = "Washington"
Name the score for washington
<s>[INST]Name the score for washington Context: CREATE TABLE table_15872814_3 (score VARCHAR, team VARCHAR)[/INST]SELECT score FROM table_15872814_3 WHERE team = "Washington"</s>
CREATE TABLE table_name_90 (rank VARCHAR, lane VARCHAR, heat VARCHAR)
SELECT rank FROM table_name_90 WHERE lane = 6 AND heat = 2
Can you tell me the Rank that has the Lane of 6, and the Heat of 2?
<s>[INST]Can you tell me the Rank that has the Lane of 6, and the Heat of 2? Context: CREATE TABLE table_name_90 (rank VARCHAR, lane VARCHAR, heat VARCHAR)[/INST]SELECT rank FROM table_name_90 WHERE lane = 6 AND heat = 2</s>
CREATE TABLE table_12976038_1 (director VARCHAR, viewers__in_millions_ VARCHAR)
SELECT director FROM table_12976038_1 WHERE viewers__in_millions_ = "6.04"
Who directed the episode that had 6.04 million viewers?
<s>[INST]Who directed the episode that had 6.04 million viewers? Context: CREATE TABLE table_12976038_1 (director VARCHAR, viewers__in_millions_ VARCHAR)[/INST]SELECT director FROM table_12976038_1 WHERE viewers__in_millions_ = "6.04"</s>
CREATE TABLE table_name_41 (score VARCHAR, home VARCHAR, visitor VARCHAR)
SELECT score FROM table_name_41 WHERE home = "dallas" AND visitor = "edmonton"
What was the score from the game where Dallas played Home and Edmonton was visiting?
<s>[INST]What was the score from the game where Dallas played Home and Edmonton was visiting? Context: CREATE TABLE table_name_41 (score VARCHAR, home VARCHAR, visitor VARCHAR)[/INST]SELECT score FROM table_name_41 WHERE home = "dallas" AND visitor = "edmonton"</s>
CREATE TABLE track (name VARCHAR, track_id VARCHAR); CREATE TABLE race (track_id VARCHAR)
SELECT T2.name, COUNT(*) FROM race AS T1 JOIN track AS T2 ON T1.track_id = T2.track_id GROUP BY T1.track_id
Show the name of track and the number of races in each track.
<s>[INST]Show the name of track and the number of races in each track. Context: CREATE TABLE track (name VARCHAR, track_id VARCHAR); CREATE TABLE race (track_id VARCHAR)[/INST]SELECT T2.name, COUNT(*) FROM race AS T1 JOIN track AS T2 ON T1.track_id = T2.track_id GROUP BY T1.track_id</s>
CREATE TABLE table_name_77 (runner_s__up VARCHAR, winning_score VARCHAR)
SELECT runner_s__up FROM table_name_77 WHERE winning_score = –13(75 - 68 - 68 = 211)
Who was the runner(s)-up when the winning score was –13 (75-68-68=211)?
<s>[INST]Who was the runner(s)-up when the winning score was –13 (75-68-68=211)? Context: CREATE TABLE table_name_77 (runner_s__up VARCHAR, winning_score VARCHAR)[/INST]SELECT runner_s__up FROM table_name_77 WHERE winning_score = –13(75 - 68 - 68 = 211)</s>
CREATE TABLE table_name_20 (tire VARCHAR, sponsor VARCHAR)
SELECT tire FROM table_name_20 WHERE sponsor = "duracell"
Which Tire has a Sponsor of Duracell?
<s>[INST]Which Tire has a Sponsor of Duracell? Context: CREATE TABLE table_name_20 (tire VARCHAR, sponsor VARCHAR)[/INST]SELECT tire FROM table_name_20 WHERE sponsor = "duracell"</s>
CREATE TABLE table_name_50 (frequency VARCHAR, power__kw_ VARCHAR, call_sign VARCHAR)
SELECT frequency FROM table_name_50 WHERE power__kw_ = "10kw" AND call_sign = "dyfr"
What's the frequency of the call sign DYFR with 10KW of power?
<s>[INST]What's the frequency of the call sign DYFR with 10KW of power? Context: CREATE TABLE table_name_50 (frequency VARCHAR, power__kw_ VARCHAR, call_sign VARCHAR)[/INST]SELECT frequency FROM table_name_50 WHERE power__kw_ = "10kw" AND call_sign = "dyfr"</s>
CREATE TABLE table_1876262_10 (other_mozilla VARCHAR, period VARCHAR)
SELECT COUNT(other_mozilla) FROM table_1876262_10 WHERE period = "September 2009"
For period September 2009, what is the other Mozilla total number?
<s>[INST]For period September 2009, what is the other Mozilla total number? Context: CREATE TABLE table_1876262_10 (other_mozilla VARCHAR, period VARCHAR)[/INST]SELECT COUNT(other_mozilla) FROM table_1876262_10 WHERE period = "September 2009"</s>
CREATE TABLE Apartments (apt_type_code VARCHAR, bathroom_count VARCHAR, bedroom_count VARCHAR, room_count INTEGER)
SELECT apt_type_code, bathroom_count, bedroom_count FROM Apartments GROUP BY apt_type_code ORDER BY SUM(room_count) DESC LIMIT 1
Show the apartment type code that has the largest number of total rooms, together with the number of bathrooms and number of bedrooms.
<s>[INST]Show the apartment type code that has the largest number of total rooms, together with the number of bathrooms and number of bedrooms. Context: CREATE TABLE Apartments (apt_type_code VARCHAR, bathroom_count VARCHAR, bedroom_count VARCHAR, room_count INTEGER)[/INST]SELECT apt_type_code, bathroom_count, bedroom_...
CREATE TABLE table_name_2 (party VARCHAR, result VARCHAR, district VARCHAR)
SELECT party FROM table_name_2 WHERE result = "re-elected" AND district = "south carolina 5"
Which party was re-elected in south carolina 5 district?
<s>[INST]Which party was re-elected in south carolina 5 district? Context: CREATE TABLE table_name_2 (party VARCHAR, result VARCHAR, district VARCHAR)[/INST]SELECT party FROM table_name_2 WHERE result = "re-elected" AND district = "south carolina 5"</s>
CREATE TABLE table_name_52 (opponent VARCHAR, score VARCHAR)
SELECT opponent FROM table_name_52 WHERE score = "113-124"
Which opponent had a 113-124 score?
<s>[INST]Which opponent had a 113-124 score? Context: CREATE TABLE table_name_52 (opponent VARCHAR, score VARCHAR)[/INST]SELECT opponent FROM table_name_52 WHERE score = "113-124"</s>
CREATE TABLE table_name_28 (total_apps INTEGER, cl_apps VARCHAR, pl_g VARCHAR, player VARCHAR)
SELECT SUM(total_apps) FROM table_name_28 WHERE pl_g > 0 AND player = "benayoun" AND cl_apps > 9
What is the sum of the total apps of player benayoun, who has a PL G greater than 0 and more than 9 CL apps?
<s>[INST]What is the sum of the total apps of player benayoun, who has a PL G greater than 0 and more than 9 CL apps? Context: CREATE TABLE table_name_28 (total_apps INTEGER, cl_apps VARCHAR, pl_g VARCHAR, player VARCHAR)[/INST]SELECT SUM(total_apps) FROM table_name_28 WHERE pl_g > 0 AND player = "benayoun" AND cl_apps...
CREATE TABLE table (r VARCHAR, position VARCHAR, AM VARCHAR, league VARCHAR)
SELECT COUNT(r) FROM table WHERE position = AM AND league > 7.0
If the position is AM and the league is larger than 7.0, what is the total R number?
<s>[INST]If the position is AM and the league is larger than 7.0, what is the total R number? Context: CREATE TABLE table (r VARCHAR, position VARCHAR, AM VARCHAR, league VARCHAR)[/INST]SELECT COUNT(r) FROM table WHERE position = AM AND league > 7.0</s>
CREATE TABLE table_name_42 (away_team VARCHAR, date VARCHAR)
SELECT away_team FROM table_name_42 WHERE date = "21 september"
who is the away team on 21 september?
<s>[INST]who is the away team on 21 september? Context: CREATE TABLE table_name_42 (away_team VARCHAR, date VARCHAR)[/INST]SELECT away_team FROM table_name_42 WHERE date = "21 september"</s>
CREATE TABLE table_27902171_6 (location_attendance VARCHAR, team VARCHAR)
SELECT location_attendance FROM table_27902171_6 WHERE team = "Utah Jazz"
What location with it's corresponding attendance was the game against Utah Jazz?
<s>[INST]What location with it's corresponding attendance was the game against Utah Jazz? Context: CREATE TABLE table_27902171_6 (location_attendance VARCHAR, team VARCHAR)[/INST]SELECT location_attendance FROM table_27902171_6 WHERE team = "Utah Jazz"</s>
CREATE TABLE table_23285849_6 (high_points VARCHAR, team VARCHAR)
SELECT COUNT(high_points) FROM table_23285849_6 WHERE team = "Heat"
How many players has the highest points in the game against the Heat?
<s>[INST]How many players has the highest points in the game against the Heat? Context: CREATE TABLE table_23285849_6 (high_points VARCHAR, team VARCHAR)[/INST]SELECT COUNT(high_points) FROM table_23285849_6 WHERE team = "Heat"</s>
CREATE TABLE table_name_19 (first_elected INTEGER, party VARCHAR, district VARCHAR)
SELECT MIN(first_elected) FROM table_name_19 WHERE party = "republican" AND district = "minnesota 1"
What is the lowest First Elected, when Party is "Republican", and when District is "Minnesota 1"?
<s>[INST]What is the lowest First Elected, when Party is "Republican", and when District is "Minnesota 1"? Context: CREATE TABLE table_name_19 (first_elected INTEGER, party VARCHAR, district VARCHAR)[/INST]SELECT MIN(first_elected) FROM table_name_19 WHERE party = "republican" AND district = "minnesota 1"</s>
CREATE TABLE table_name_4 (nba_draft VARCHAR, hometown VARCHAR)
SELECT nba_draft FROM table_name_4 WHERE hometown = "kingston, pa"
What is the NBA draft result of the player from Kingston, PA?
<s>[INST]What is the NBA draft result of the player from Kingston, PA? Context: CREATE TABLE table_name_4 (nba_draft VARCHAR, hometown VARCHAR)[/INST]SELECT nba_draft FROM table_name_4 WHERE hometown = "kingston, pa"</s>
CREATE TABLE table_2511876_1 (reg_season VARCHAR, year VARCHAR)
SELECT reg_season FROM table_2511876_1 WHERE year = 2001
Mame the reg season for 2001
<s>[INST]Mame the reg season for 2001 Context: CREATE TABLE table_2511876_1 (reg_season VARCHAR, year VARCHAR)[/INST]SELECT reg_season FROM table_2511876_1 WHERE year = 2001</s>
CREATE TABLE table_name_33 (written_by VARCHAR, production_code VARCHAR)
SELECT written_by FROM table_name_33 WHERE production_code = "ad1d09"
tell me the writer of production code ad1d09.
<s>[INST]tell me the writer of production code ad1d09. Context: CREATE TABLE table_name_33 (written_by VARCHAR, production_code VARCHAR)[/INST]SELECT written_by FROM table_name_33 WHERE production_code = "ad1d09"</s>
CREATE TABLE table_name_75 (wins INTEGER, rank VARCHAR, played VARCHAR)
SELECT MAX(wins) FROM table_name_75 WHERE rank > 2 AND played < 5
What is the highest Wins, when Rank is greater than 2, and when Played is less than 5?
<s>[INST]What is the highest Wins, when Rank is greater than 2, and when Played is less than 5? Context: CREATE TABLE table_name_75 (wins INTEGER, rank VARCHAR, played VARCHAR)[/INST]SELECT MAX(wins) FROM table_name_75 WHERE rank > 2 AND played < 5</s>
CREATE TABLE table_name_13 (swimsuit INTEGER, state VARCHAR, interview VARCHAR, average VARCHAR, evening_gown VARCHAR)
SELECT MAX(swimsuit) FROM table_name_13 WHERE average < 8.073 AND evening_gown < 8.31 AND interview > 8.23 AND state = "georgia"
What's the highest swimsuit for an average less than 8.073, evening gown less than 8.31, and an interview over 8.23 in georgia?
<s>[INST]What's the highest swimsuit for an average less than 8.073, evening gown less than 8.31, and an interview over 8.23 in georgia? Context: CREATE TABLE table_name_13 (swimsuit INTEGER, state VARCHAR, interview VARCHAR, average VARCHAR, evening_gown VARCHAR)[/INST]SELECT MAX(swimsuit) FROM table_name_13 WHERE ave...
CREATE TABLE table_12094300_1 (interview VARCHAR, preliminaries VARCHAR)
SELECT interview FROM table_12094300_1 WHERE preliminaries = "8.400"
What is the interview score when the preliminaries score is 8.400?
<s>[INST]What is the interview score when the preliminaries score is 8.400? Context: CREATE TABLE table_12094300_1 (interview VARCHAR, preliminaries VARCHAR)[/INST]SELECT interview FROM table_12094300_1 WHERE preliminaries = "8.400"</s>
CREATE TABLE table_name_89 (attendance INTEGER, record VARCHAR)
SELECT MAX(attendance) FROM table_name_89 WHERE record = "80-81"
Of the games with a record of 80-81, what was the highest attendance?
<s>[INST]Of the games with a record of 80-81, what was the highest attendance? Context: CREATE TABLE table_name_89 (attendance INTEGER, record VARCHAR)[/INST]SELECT MAX(attendance) FROM table_name_89 WHERE record = "80-81"</s>
CREATE TABLE table_name_78 (winning_driver VARCHAR, name VARCHAR)
SELECT winning_driver FROM table_name_78 WHERE name = "kraco car stereo 150"
Who was the winning driver of the Kraco Car Stereo 150?
<s>[INST]Who was the winning driver of the Kraco Car Stereo 150? Context: CREATE TABLE table_name_78 (winning_driver VARCHAR, name VARCHAR)[/INST]SELECT winning_driver FROM table_name_78 WHERE name = "kraco car stereo 150"</s>
CREATE TABLE table_name_13 (time VARCHAR, rider VARCHAR, manufacturer VARCHAR, grid VARCHAR)
SELECT time FROM table_name_13 WHERE manufacturer = "aprilia" AND grid < 16 AND rider = "sandro cortese"
Name the Time which has a Manufacturer of aprilia, and a Grid smaller than 16, and a Rider of sandro cortese?
<s>[INST]Name the Time which has a Manufacturer of aprilia, and a Grid smaller than 16, and a Rider of sandro cortese? Context: CREATE TABLE table_name_13 (time VARCHAR, rider VARCHAR, manufacturer VARCHAR, grid VARCHAR)[/INST]SELECT time FROM table_name_13 WHERE manufacturer = "aprilia" AND grid < 16 AND rider = "sand...
CREATE TABLE table_name_94 (Giant VARCHAR, super_g VARCHAR)
SELECT Giant AS slalom FROM table_name_94 WHERE super_g = "37"
What is the giant slalom with a 37 super g?
<s>[INST]What is the giant slalom with a 37 super g? Context: CREATE TABLE table_name_94 (Giant VARCHAR, super_g VARCHAR)[/INST]SELECT Giant AS slalom FROM table_name_94 WHERE super_g = "37"</s>
CREATE TABLE table_name_90 (Lieutenant VARCHAR, left_office VARCHAR)
SELECT Lieutenant AS governor FROM table_name_90 WHERE left_office = "october 16, 2000"
Who was lieutenant governor to the governor that left office on October 16, 2000?
<s>[INST]Who was lieutenant governor to the governor that left office on October 16, 2000? Context: CREATE TABLE table_name_90 (Lieutenant VARCHAR, left_office VARCHAR)[/INST]SELECT Lieutenant AS governor FROM table_name_90 WHERE left_office = "october 16, 2000"</s>
CREATE TABLE table_name_77 (laps VARCHAR, grid VARCHAR, rider VARCHAR)
SELECT laps FROM table_name_77 WHERE grid > 17 AND rider = "tetsuya harada"
Which lap has more than 17 grids with tetsuya harada?
<s>[INST]Which lap has more than 17 grids with tetsuya harada? Context: CREATE TABLE table_name_77 (laps VARCHAR, grid VARCHAR, rider VARCHAR)[/INST]SELECT laps FROM table_name_77 WHERE grid > 17 AND rider = "tetsuya harada"</s>
CREATE TABLE table_name_56 (attendance VARCHAR, date VARCHAR, kickoff_time VARCHAR, week VARCHAR)
SELECT attendance FROM table_name_56 WHERE kickoff_time = "cbs 1:00pm" AND week < 8 AND date = "september 15, 2002"
How many people attended the game with a kickoff time of cbs 1:00pm, in a week earlier than 8, on September 15, 2002?
<s>[INST]How many people attended the game with a kickoff time of cbs 1:00pm, in a week earlier than 8, on September 15, 2002? Context: CREATE TABLE table_name_56 (attendance VARCHAR, date VARCHAR, kickoff_time VARCHAR, week VARCHAR)[/INST]SELECT attendance FROM table_name_56 WHERE kickoff_time = "cbs 1:00pm" AND week ...
CREATE TABLE VISITS (Tourist_Attraction_ID VARCHAR); CREATE TABLE Tourist_Attractions (Name VARCHAR, Tourist_Attraction_ID VARCHAR)
SELECT T1.Name, T2.Tourist_Attraction_ID FROM Tourist_Attractions AS T1 JOIN VISITS AS T2 ON T1.Tourist_Attraction_ID = T2.Tourist_Attraction_ID GROUP BY T2.Tourist_Attraction_ID HAVING COUNT(*) >= 2
Show the names and ids of tourist attractions that are visited at least two times.
<s>[INST]Show the names and ids of tourist attractions that are visited at least two times. Context: CREATE TABLE VISITS (Tourist_Attraction_ID VARCHAR); CREATE TABLE Tourist_Attractions (Name VARCHAR, Tourist_Attraction_ID VARCHAR)[/INST]SELECT T1.Name, T2.Tourist_Attraction_ID FROM Tourist_Attractions AS T1 JOIN VISI...
CREATE TABLE table_13456202_1 (founded INTEGER, school VARCHAR)
SELECT MAX(founded) FROM table_13456202_1 WHERE school = "North College Hill High school"
WHat year was north college hill high school founded?
<s>[INST]WHat year was north college hill high school founded? Context: CREATE TABLE table_13456202_1 (founded INTEGER, school VARCHAR)[/INST]SELECT MAX(founded) FROM table_13456202_1 WHERE school = "North College Hill High school"</s>
CREATE TABLE table_name_27 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_27 WHERE home_team = "fitzroy"
What was fitzroy's score at home?
<s>[INST]What was fitzroy's score at home? Context: CREATE TABLE table_name_27 (home_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_27 WHERE home_team = "fitzroy"</s>
CREATE TABLE table_name_12 (iata VARCHAR, country VARCHAR, city VARCHAR)
SELECT iata FROM table_name_12 WHERE country = "norway" AND city = "sandefjord"
What is City of Sandefjord in Norway's IATA?
<s>[INST]What is City of Sandefjord in Norway's IATA? Context: CREATE TABLE table_name_12 (iata VARCHAR, country VARCHAR, city VARCHAR)[/INST]SELECT iata FROM table_name_12 WHERE country = "norway" AND city = "sandefjord"</s>
CREATE TABLE table_name_68 (laps INTEGER, grid VARCHAR, time_retired VARCHAR)
SELECT MAX(laps) FROM table_name_68 WHERE grid < 6 AND time_retired = "halfshaft"
What is the high lap total for a grid less than 6, and a Time/Retired of halfshaft?
<s>[INST]What is the high lap total for a grid less than 6, and a Time/Retired of halfshaft? Context: CREATE TABLE table_name_68 (laps INTEGER, grid VARCHAR, time_retired VARCHAR)[/INST]SELECT MAX(laps) FROM table_name_68 WHERE grid < 6 AND time_retired = "halfshaft"</s>
CREATE TABLE table_13643320_2 (rnd VARCHAR, gtp_winning_team VARCHAR, gto_winning_team VARCHAR)
SELECT rnd FROM table_13643320_2 WHERE gtp_winning_team = "#56 Blue Thunder Racing" AND gto_winning_team = "#38 Mandeville Auto Tech"
What us the number of the round during which #56 Blue Thunder Racing become the GTP winning team and #38 Mandeville Auto Tech became the GTO winning team?
<s>[INST]What us the number of the round during which #56 Blue Thunder Racing become the GTP winning team and #38 Mandeville Auto Tech became the GTO winning team? Context: CREATE TABLE table_13643320_2 (rnd VARCHAR, gtp_winning_team VARCHAR, gto_winning_team VARCHAR)[/INST]SELECT rnd FROM table_13643320_2 WHERE gtp_w...
CREATE TABLE table_name_49 (tournament VARCHAR, margin_of_victory VARCHAR)
SELECT tournament FROM table_name_49 WHERE margin_of_victory = "playoff"
Which tournament had a playoff with a margin of victory?
<s>[INST]Which tournament had a playoff with a margin of victory? Context: CREATE TABLE table_name_49 (tournament VARCHAR, margin_of_victory VARCHAR)[/INST]SELECT tournament FROM table_name_49 WHERE margin_of_victory = "playoff"</s>
CREATE TABLE table_name_35 (result VARCHAR, score VARCHAR, date VARCHAR)
SELECT result FROM table_name_35 WHERE score = "1–0" AND date = "18 april 2009"
What is the Result with a Score of 1–0, and a Date with 18 april 2009?
<s>[INST]What is the Result with a Score of 1–0, and a Date with 18 april 2009? Context: CREATE TABLE table_name_35 (result VARCHAR, score VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_35 WHERE score = "1–0" AND date = "18 april 2009"</s>
CREATE TABLE table_name_17 (points INTEGER, winnings VARCHAR, laps VARCHAR, make VARCHAR, car__number VARCHAR)
SELECT MIN(points) FROM table_name_17 WHERE make = "chevrolet" AND car__number < 24 AND laps = 312 AND winnings = "$122,325"
Which is the lowest point value that had not only a Chevrolet car, but also a car number smaller than 24, total laps of 312, and a winning purse of $122,325?
<s>[INST]Which is the lowest point value that had not only a Chevrolet car, but also a car number smaller than 24, total laps of 312, and a winning purse of $122,325? Context: CREATE TABLE table_name_17 (points INTEGER, winnings VARCHAR, laps VARCHAR, make VARCHAR, car__number VARCHAR)[/INST]SELECT MIN(points) FROM tab...
CREATE TABLE table_13241993_3 (title VARCHAR, part_3 VARCHAR)
SELECT title FROM table_13241993_3 WHERE part_3 = "February 7, 2008"
What's the name of the episode whose part 3 aired on February 7, 2008?
<s>[INST]What's the name of the episode whose part 3 aired on February 7, 2008? Context: CREATE TABLE table_13241993_3 (title VARCHAR, part_3 VARCHAR)[/INST]SELECT title FROM table_13241993_3 WHERE part_3 = "February 7, 2008"</s>
CREATE TABLE table_name_15 (rounds VARCHAR, chassis VARCHAR, driver VARCHAR)
SELECT rounds FROM table_name_15 WHERE chassis = "n180" AND driver = "geoff lees"
How many rounds did geoff lees drive with chassis of n180?
<s>[INST]How many rounds did geoff lees drive with chassis of n180? Context: CREATE TABLE table_name_15 (rounds VARCHAR, chassis VARCHAR, driver VARCHAR)[/INST]SELECT rounds FROM table_name_15 WHERE chassis = "n180" AND driver = "geoff lees"</s>
CREATE TABLE table_name_34 (erp___power_w VARCHAR, frequency VARCHAR, facility_id VARCHAR)
SELECT COUNT(erp___power_w) FROM table_name_34 WHERE frequency = "89.3 fm" AND facility_id < 40430
Name the total number of ERP/Power W for frequency of 89.3 fm and facility ID less than 40430
<s>[INST]Name the total number of ERP/Power W for frequency of 89.3 fm and facility ID less than 40430 Context: CREATE TABLE table_name_34 (erp___power_w VARCHAR, frequency VARCHAR, facility_id VARCHAR)[/INST]SELECT COUNT(erp___power_w) FROM table_name_34 WHERE frequency = "89.3 fm" AND facility_id < 40430</s>
CREATE TABLE table_name_87 (rank VARCHAR, seasons VARCHAR, losses VARCHAR, college VARCHAR)
SELECT COUNT(rank) FROM table_name_87 WHERE losses < 992 AND college = "north carolina state" AND seasons > 101
What is the total number of rank with losses less than 992, North Carolina State College and a season greater than 101?
<s>[INST]What is the total number of rank with losses less than 992, North Carolina State College and a season greater than 101? Context: CREATE TABLE table_name_87 (rank VARCHAR, seasons VARCHAR, losses VARCHAR, college VARCHAR)[/INST]SELECT COUNT(rank) FROM table_name_87 WHERE losses < 992 AND college = "north caroli...
CREATE TABLE table_name_28 (date VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR)
SELECT date FROM table_name_28 WHERE surface = "clay" AND opponent_in_the_final = "cyril saulnier"
On what date was the surface clay with Cyril Saulnier as the opponent in the final?
<s>[INST]On what date was the surface clay with Cyril Saulnier as the opponent in the final? Context: CREATE TABLE table_name_28 (date VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR)[/INST]SELECT date FROM table_name_28 WHERE surface = "clay" AND opponent_in_the_final = "cyril saulnier"</s>