context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_82 (driver VARCHAR, engine VARCHAR)
SELECT driver FROM table_name_82 WHERE engine = "ford edb 3.0 v8"
Who was the driver of the Ford EDB 3.0 v8 engine?
<s>[INST]Who was the driver of the Ford EDB 3.0 v8 engine? Context: CREATE TABLE table_name_82 (driver VARCHAR, engine VARCHAR)[/INST]SELECT driver FROM table_name_82 WHERE engine = "ford edb 3.0 v8"</s>
CREATE TABLE table_name_90 (position VARCHAR, competition VARCHAR, year VARCHAR)
SELECT position FROM table_name_90 WHERE competition = "european cross country championships" AND year = 2008
What position did the player play in the european cross country championships in 2008?
<s>[INST]What position did the player play in the european cross country championships in 2008? Context: CREATE TABLE table_name_90 (position VARCHAR, competition VARCHAR, year VARCHAR)[/INST]SELECT position FROM table_name_90 WHERE competition = "european cross country championships" AND year = 2008</s>
CREATE TABLE table_name_86 (recording VARCHAR, year VARCHAR)
SELECT recording FROM table_name_86 WHERE year = "2012"
Name the recording for 2012
<s>[INST]Name the recording for 2012 Context: CREATE TABLE table_name_86 (recording VARCHAR, year VARCHAR)[/INST]SELECT recording FROM table_name_86 WHERE year = "2012"</s>
CREATE TABLE table_name_2 (attendance INTEGER, home VARCHAR)
SELECT AVG(attendance) FROM table_name_2 WHERE home = "vida"
What is the average attendance for matches where the home team was vida?
<s>[INST]What is the average attendance for matches where the home team was vida? Context: CREATE TABLE table_name_2 (attendance INTEGER, home VARCHAR)[/INST]SELECT AVG(attendance) FROM table_name_2 WHERE home = "vida"</s>
CREATE TABLE table_name_16 (school_club_team VARCHAR, round VARCHAR, position VARCHAR)
SELECT school_club_team FROM table_name_16 WHERE round > 4 AND position = "wide receiver"
Which school(s) had a wide receiver drafted in round 4?
<s>[INST]Which school(s) had a wide receiver drafted in round 4? Context: CREATE TABLE table_name_16 (school_club_team VARCHAR, round VARCHAR, position VARCHAR)[/INST]SELECT school_club_team FROM table_name_16 WHERE round > 4 AND position = "wide receiver"</s>
CREATE TABLE table_name_80 (year_s__won VARCHAR, total VARCHAR, player VARCHAR)
SELECT year_s__won FROM table_name_80 WHERE total = 285 AND player = "hale irwin"
What is the year that Hale Irwin won with 285 points?
<s>[INST]What is the year that Hale Irwin won with 285 points? Context: CREATE TABLE table_name_80 (year_s__won VARCHAR, total VARCHAR, player VARCHAR)[/INST]SELECT year_s__won FROM table_name_80 WHERE total = 285 AND player = "hale irwin"</s>
CREATE TABLE table_name_78 (date VARCHAR, athlete VARCHAR)
SELECT date FROM table_name_78 WHERE athlete = "elvir krehmic"
What was the date that Elvir Krehmic made a high jump record?
<s>[INST]What was the date that Elvir Krehmic made a high jump record? Context: CREATE TABLE table_name_78 (date VARCHAR, athlete VARCHAR)[/INST]SELECT date FROM table_name_78 WHERE athlete = "elvir krehmic"</s>
CREATE TABLE table_name_92 (event VARCHAR, round VARCHAR, aces VARCHAR)
SELECT COUNT(event) FROM table_name_92 WHERE round = "radek štěpánek" AND NOT aces < 3
What is the event year radek štěpánek was the round and there were less than 3 aces?
<s>[INST]What is the event year radek štěpánek was the round and there were less than 3 aces? Context: CREATE TABLE table_name_92 (event VARCHAR, round VARCHAR, aces VARCHAR)[/INST]SELECT COUNT(event) FROM table_name_92 WHERE round = "radek štěpánek" AND NOT aces < 3</s>
CREATE TABLE table_name_21 (city_of_license VARCHAR, d_erp VARCHAR)
SELECT city_of_license FROM table_name_21 WHERE d_erp = "100kw"
What's the city of license having a D ERP of 100kw?
<s>[INST]What's the city of license having a D ERP of 100kw? Context: CREATE TABLE table_name_21 (city_of_license VARCHAR, d_erp VARCHAR)[/INST]SELECT city_of_license FROM table_name_21 WHERE d_erp = "100kw"</s>
CREATE TABLE table_23508196_2 (tot_officers VARCHAR, tot_enlisted VARCHAR)
SELECT tot_officers FROM table_23508196_2 WHERE tot_enlisted = 329640
How many tot officers were there on the date when the number of tot enlisted was 329640?
<s>[INST]How many tot officers were there on the date when the number of tot enlisted was 329640? Context: CREATE TABLE table_23508196_2 (tot_officers VARCHAR, tot_enlisted VARCHAR)[/INST]SELECT tot_officers FROM table_23508196_2 WHERE tot_enlisted = 329640</s>
CREATE TABLE table_name_46 (date_of_departure VARCHAR, name VARCHAR)
SELECT date_of_departure FROM table_name_46 WHERE name = "brendan rodgers"
When did Brendan Rodgers depart his position?
<s>[INST]When did Brendan Rodgers depart his position? Context: CREATE TABLE table_name_46 (date_of_departure VARCHAR, name VARCHAR)[/INST]SELECT date_of_departure FROM table_name_46 WHERE name = "brendan rodgers"</s>
CREATE TABLE table_name_83 (place INTEGER, draw VARCHAR)
SELECT MAX(place) FROM table_name_83 WHERE draw = 6
What is the highest place for song that was draw number 6?
<s>[INST]What is the highest place for song that was draw number 6? Context: CREATE TABLE table_name_83 (place INTEGER, draw VARCHAR)[/INST]SELECT MAX(place) FROM table_name_83 WHERE draw = 6</s>
CREATE TABLE table_name_12 (points INTEGER, name VARCHAR, lost VARCHAR)
SELECT AVG(points) FROM table_name_12 WHERE name = "svg burgkirchen" AND lost < 6
How many average points did svg burgkirchen have with a loss smaller than 6?
<s>[INST]How many average points did svg burgkirchen have with a loss smaller than 6? Context: CREATE TABLE table_name_12 (points INTEGER, name VARCHAR, lost VARCHAR)[/INST]SELECT AVG(points) FROM table_name_12 WHERE name = "svg burgkirchen" AND lost < 6</s>
CREATE TABLE table_name_58 (set_3 VARCHAR, set_2 VARCHAR)
SELECT set_3 FROM table_name_58 WHERE set_2 = "15–6"
What is the Set 3 with a Set 2 with 15–6?
<s>[INST]What is the Set 3 with a Set 2 with 15–6? Context: CREATE TABLE table_name_58 (set_3 VARCHAR, set_2 VARCHAR)[/INST]SELECT set_3 FROM table_name_58 WHERE set_2 = "15–6"</s>
CREATE TABLE table_name_75 (total_votes INTEGER, _number_of_seats_won INTEGER)
SELECT AVG(total_votes) FROM table_name_75 WHERE _number_of_seats_won < 0
Can you tell me the average Total votes that has the # of seats won smaller than 0?
<s>[INST]Can you tell me the average Total votes that has the # of seats won smaller than 0? Context: CREATE TABLE table_name_75 (total_votes INTEGER, _number_of_seats_won INTEGER)[/INST]SELECT AVG(total_votes) FROM table_name_75 WHERE _number_of_seats_won < 0</s>
CREATE TABLE table_name_69 (bronze INTEGER, silver VARCHAR, gold VARCHAR)
SELECT SUM(bronze) FROM table_name_69 WHERE silver = 15 AND gold < 20
Which Bronze has a Silver of 15, and a Gold smaller than 20?
<s>[INST]Which Bronze has a Silver of 15, and a Gold smaller than 20? Context: CREATE TABLE table_name_69 (bronze INTEGER, silver VARCHAR, gold VARCHAR)[/INST]SELECT SUM(bronze) FROM table_name_69 WHERE silver = 15 AND gold < 20</s>
CREATE TABLE table_23242958_1 (title VARCHAR, directed_by VARCHAR)
SELECT title FROM table_23242958_1 WHERE directed_by = "Rodney Clouden"
What is the title of the episode directed by Rodney Clouden?
<s>[INST]What is the title of the episode directed by Rodney Clouden? Context: CREATE TABLE table_23242958_1 (title VARCHAR, directed_by VARCHAR)[/INST]SELECT title FROM table_23242958_1 WHERE directed_by = "Rodney Clouden"</s>
CREATE TABLE LOTS (lot_details VARCHAR)
SELECT DISTINCT lot_details FROM LOTS
Show all distinct lot details.
<s>[INST]Show all distinct lot details. Context: CREATE TABLE LOTS (lot_details VARCHAR)[/INST]SELECT DISTINCT lot_details FROM LOTS</s>
CREATE TABLE table_name_99 (driver VARCHAR, entrant VARCHAR)
SELECT driver FROM table_name_99 WHERE entrant = "tourtel larrousse f1"
Which driver drove the Tourtel Larrousse F1?
<s>[INST]Which driver drove the Tourtel Larrousse F1? Context: CREATE TABLE table_name_99 (driver VARCHAR, entrant VARCHAR)[/INST]SELECT driver FROM table_name_99 WHERE entrant = "tourtel larrousse f1"</s>
CREATE TABLE table_name_18 (player VARCHAR, position VARCHAR)
SELECT player FROM table_name_18 WHERE position = "forward"
Which Player has a Position of forward?
<s>[INST]Which Player has a Position of forward? Context: CREATE TABLE table_name_18 (player VARCHAR, position VARCHAR)[/INST]SELECT player FROM table_name_18 WHERE position = "forward"</s>
CREATE TABLE table_25695027_1 (class VARCHAR, years_built VARCHAR)
SELECT class FROM table_25695027_1 WHERE years_built = "1906-08"
What was the engine class that was built on 1906-08?
<s>[INST]What was the engine class that was built on 1906-08? Context: CREATE TABLE table_25695027_1 (class VARCHAR, years_built VARCHAR)[/INST]SELECT class FROM table_25695027_1 WHERE years_built = "1906-08"</s>
CREATE TABLE district (headquartered_city VARCHAR, district_id VARCHAR); CREATE TABLE store_district (store_id VARCHAR, district_id VARCHAR); CREATE TABLE store (store_id VARCHAR)
SELECT t3.headquartered_city FROM store AS t1 JOIN store_district AS t2 ON t1.store_id = t2.store_id JOIN district AS t3 ON t2.district_id = t3.district_id GROUP BY t3.headquartered_city ORDER BY COUNT(*) DESC LIMIT 1
Find the city with the most number of stores.
<s>[INST]Find the city with the most number of stores. Context: CREATE TABLE district (headquartered_city VARCHAR, district_id VARCHAR); CREATE TABLE store_district (store_id VARCHAR, district_id VARCHAR); CREATE TABLE store (store_id VARCHAR)[/INST]SELECT t3.headquartered_city FROM store AS t1 JOIN store_district AS t2 ON t1.store_id = t2.store_id JOIN district AS t3 ON t2.district_id = t3.district_id GROUP BY t3.headquartered_city ORDER BY COUNT(*) DESC LIMIT 1</s>
CREATE TABLE table_name_82 (venue VARCHAR, date VARCHAR)
SELECT venue FROM table_name_82 WHERE date = "23,24,26,27,28,29 feb, 1 mar 1912"
What is Venue, when Date is 23,24,26,27,28,29 Feb, 1 Mar 1912?
<s>[INST]What is Venue, when Date is 23,24,26,27,28,29 Feb, 1 Mar 1912? Context: CREATE TABLE table_name_82 (venue VARCHAR, date VARCHAR)[/INST]SELECT venue FROM table_name_82 WHERE date = "23,24,26,27,28,29 feb, 1 mar 1912"</s>
CREATE TABLE TRANSACTIONS (investor_id VARCHAR, share_count INTEGER); CREATE TABLE INVESTORS (Investor_details VARCHAR, investor_id VARCHAR)
SELECT T1.Investor_details FROM INVESTORS AS T1 JOIN TRANSACTIONS AS T2 ON T1.investor_id = T2.investor_id WHERE T2.share_count > 100
Show details of all investors if they make any transaction with share count greater than 100.
<s>[INST]Show details of all investors if they make any transaction with share count greater than 100. Context: CREATE TABLE TRANSACTIONS (investor_id VARCHAR, share_count INTEGER); CREATE TABLE INVESTORS (Investor_details VARCHAR, investor_id VARCHAR)[/INST]SELECT T1.Investor_details FROM INVESTORS AS T1 JOIN TRANSACTIONS AS T2 ON T1.investor_id = T2.investor_id WHERE T2.share_count > 100</s>
CREATE TABLE table_name_76 (rank VARCHAR, total INTEGER)
SELECT COUNT(rank) FROM table_name_76 WHERE total < 1
Name the total number of ranks when total is less than 1
<s>[INST]Name the total number of ranks when total is less than 1 Context: CREATE TABLE table_name_76 (rank VARCHAR, total INTEGER)[/INST]SELECT COUNT(rank) FROM table_name_76 WHERE total < 1</s>
CREATE TABLE FLIGHTS (Id VARCHAR)
SELECT COUNT(*) FROM FLIGHTS
How many flights do we have?
<s>[INST]How many flights do we have? Context: CREATE TABLE FLIGHTS (Id VARCHAR)[/INST]SELECT COUNT(*) FROM FLIGHTS</s>
CREATE TABLE table_name_74 (employed VARCHAR, position_held VARCHAR)
SELECT employed FROM table_name_74 WHERE position_held = "mathematics & prefect master"
What are the years employed shown for mathematics & prefect master?
<s>[INST]What are the years employed shown for mathematics & prefect master? Context: CREATE TABLE table_name_74 (employed VARCHAR, position_held VARCHAR)[/INST]SELECT employed FROM table_name_74 WHERE position_held = "mathematics & prefect master"</s>
CREATE TABLE table_name_1 (wk_7 INTEGER, wk_2 VARCHAR, wk_3 VARCHAR, wk_4 VARCHAR)
SELECT MIN(wk_7) FROM table_name_1 WHERE wk_3 = 12 AND wk_4 < 9 AND wk_2 > 11
What is the lowest wk 7 with a wk 3 value of 12, a wk 4 less than 9, and a wk 2 greater than 11?
<s>[INST]What is the lowest wk 7 with a wk 3 value of 12, a wk 4 less than 9, and a wk 2 greater than 11? Context: CREATE TABLE table_name_1 (wk_7 INTEGER, wk_2 VARCHAR, wk_3 VARCHAR, wk_4 VARCHAR)[/INST]SELECT MIN(wk_7) FROM table_name_1 WHERE wk_3 = 12 AND wk_4 < 9 AND wk_2 > 11</s>
CREATE TABLE table_24431348_20 (points INTEGER, player VARCHAR)
SELECT MAX(points) AS won FROM table_24431348_20 WHERE player = "Aravane Rezaï"
What is the highest points won when the player is aravane rezaï?
<s>[INST]What is the highest points won when the player is aravane rezaï? Context: CREATE TABLE table_24431348_20 (points INTEGER, player VARCHAR)[/INST]SELECT MAX(points) AS won FROM table_24431348_20 WHERE player = "Aravane Rezaï"</s>
CREATE TABLE table_name_10 (guest_host VARCHAR, episode_number VARCHAR)
SELECT guest_host FROM table_name_10 WHERE episode_number = 7
What kind of Guest Host has a Episode Number of 7?
<s>[INST]What kind of Guest Host has a Episode Number of 7? Context: CREATE TABLE table_name_10 (guest_host VARCHAR, episode_number VARCHAR)[/INST]SELECT guest_host FROM table_name_10 WHERE episode_number = 7</s>
CREATE TABLE table_name_14 (round INTEGER, time VARCHAR, res VARCHAR, location VARCHAR)
SELECT MIN(round) FROM table_name_14 WHERE res = "win" AND location = "fort lauderdale, florida, united states" AND time = "3:38"
What is the lowest round for Fort Lauderdale, Florida, United States, with a win and a time of 3:38?
<s>[INST]What is the lowest round for Fort Lauderdale, Florida, United States, with a win and a time of 3:38? Context: CREATE TABLE table_name_14 (round INTEGER, time VARCHAR, res VARCHAR, location VARCHAR)[/INST]SELECT MIN(round) FROM table_name_14 WHERE res = "win" AND location = "fort lauderdale, florida, united states" AND time = "3:38"</s>
CREATE TABLE table_name_57 (notes VARCHAR, distance VARCHAR)
SELECT notes FROM table_name_57 WHERE distance = "men's speed skating"
What were the notes during the distance of Men's Speed Skating?
<s>[INST]What were the notes during the distance of Men's Speed Skating? Context: CREATE TABLE table_name_57 (notes VARCHAR, distance VARCHAR)[/INST]SELECT notes FROM table_name_57 WHERE distance = "men's speed skating"</s>
CREATE TABLE table_name_91 (partner VARCHAR, date VARCHAR)
SELECT partner FROM table_name_91 WHERE date = "february 23, 1997"
What was the Partner on February 23, 1997?
<s>[INST]What was the Partner on February 23, 1997? Context: CREATE TABLE table_name_91 (partner VARCHAR, date VARCHAR)[/INST]SELECT partner FROM table_name_91 WHERE date = "february 23, 1997"</s>
CREATE TABLE table_name_65 (goals INTEGER, total_gs VARCHAR, name VARCHAR, competition VARCHAR, team VARCHAR)
SELECT AVG(goals) FROM table_name_65 WHERE competition = "k-league" AND team = "pohang steelers" AND name = "park sung-ho" AND total_gs < 46
What is the average number of goals of park sung-ho at the k-league competition, which has the pohang steelers team and less than 46 total Gs?
<s>[INST]What is the average number of goals of park sung-ho at the k-league competition, which has the pohang steelers team and less than 46 total Gs? Context: CREATE TABLE table_name_65 (goals INTEGER, total_gs VARCHAR, name VARCHAR, competition VARCHAR, team VARCHAR)[/INST]SELECT AVG(goals) FROM table_name_65 WHERE competition = "k-league" AND team = "pohang steelers" AND name = "park sung-ho" AND total_gs < 46</s>
CREATE TABLE table_2668243_8 (result VARCHAR, incumbent VARCHAR)
SELECT result FROM table_2668243_8 WHERE incumbent = "Henry Daniel"
What was the result for Henry Daniel's race?
<s>[INST]What was the result for Henry Daniel's race? Context: CREATE TABLE table_2668243_8 (result VARCHAR, incumbent VARCHAR)[/INST]SELECT result FROM table_2668243_8 WHERE incumbent = "Henry Daniel"</s>
CREATE TABLE table_name_92 (model VARCHAR, seats VARCHAR)
SELECT model FROM table_name_92 WHERE seats = 175
Which model has 175 seats?
<s>[INST]Which model has 175 seats? Context: CREATE TABLE table_name_92 (model VARCHAR, seats VARCHAR)[/INST]SELECT model FROM table_name_92 WHERE seats = 175</s>
CREATE TABLE table_12496904_1 (_2012 VARCHAR, population_august_15 VARCHAR, sector VARCHAR)
SELECT COUNT(population_august_15), _2012 FROM table_12496904_1 WHERE sector = "Gatunda"
For the sector of Gatunda how many entires are show for the August 15, 2012 population?
<s>[INST]For the sector of Gatunda how many entires are show for the August 15, 2012 population? Context: CREATE TABLE table_12496904_1 (_2012 VARCHAR, population_august_15 VARCHAR, sector VARCHAR)[/INST]SELECT COUNT(population_august_15), _2012 FROM table_12496904_1 WHERE sector = "Gatunda"</s>
CREATE TABLE table_name_14 (decision VARCHAR, visitor VARCHAR)
SELECT decision FROM table_name_14 WHERE visitor = "boston bruins"
Name the decision for boston bruins visitor
<s>[INST]Name the decision for boston bruins visitor Context: CREATE TABLE table_name_14 (decision VARCHAR, visitor VARCHAR)[/INST]SELECT decision FROM table_name_14 WHERE visitor = "boston bruins"</s>
CREATE TABLE table_name_59 (overall INTEGER, college VARCHAR, pick__number VARCHAR)
SELECT SUM(overall) FROM table_name_59 WHERE college = "louisiana tech" AND pick__number > 10
What is the overall number for Louisiana Tech college, and a pick more than 10?
<s>[INST]What is the overall number for Louisiana Tech college, and a pick more than 10? Context: CREATE TABLE table_name_59 (overall INTEGER, college VARCHAR, pick__number VARCHAR)[/INST]SELECT SUM(overall) FROM table_name_59 WHERE college = "louisiana tech" AND pick__number > 10</s>
CREATE TABLE table_17839_1 (avg_trips_per_mile__ VARCHAR, map_colour VARCHAR)
SELECT COUNT(avg_trips_per_mile__) AS ×1000_ FROM table_17839_1 WHERE map_colour = "Turquoise"
When turquoise is the map colour how many avg. trips per mile (×1000) are there?
<s>[INST]When turquoise is the map colour how many avg. trips per mile (×1000) are there? Context: CREATE TABLE table_17839_1 (avg_trips_per_mile__ VARCHAR, map_colour VARCHAR)[/INST]SELECT COUNT(avg_trips_per_mile__) AS ×1000_ FROM table_17839_1 WHERE map_colour = "Turquoise"</s>
CREATE TABLE table_13512105_3 (rnd VARCHAR, race VARCHAR)
SELECT COUNT(rnd) FROM table_13512105_3 WHERE race = "Kansas"
tell the number of times where kansas was the location
<s>[INST]tell the number of times where kansas was the location Context: CREATE TABLE table_13512105_3 (rnd VARCHAR, race VARCHAR)[/INST]SELECT COUNT(rnd) FROM table_13512105_3 WHERE race = "Kansas"</s>
CREATE TABLE table_name_52 (l_100km_extra_urban VARCHAR, mpg_us_combined VARCHAR, fuel_type VARCHAR, mpg_uk_combined VARCHAR, l_100km_combined VARCHAR)
SELECT COUNT(l_100km_extra_urban) FROM table_name_52 WHERE mpg_uk_combined > 19.2 AND l_100km_combined < 5.7 AND fuel_type = "diesel" AND mpg_us_combined < 50
What's the total L/100km extra urban fueled by diesel, when the mpg-UK combines is more than 19.2, mpg-US is less than 50 and the L/100m combined is less than 5.7?
<s>[INST]What's the total L/100km extra urban fueled by diesel, when the mpg-UK combines is more than 19.2, mpg-US is less than 50 and the L/100m combined is less than 5.7? Context: CREATE TABLE table_name_52 (l_100km_extra_urban VARCHAR, mpg_us_combined VARCHAR, fuel_type VARCHAR, mpg_uk_combined VARCHAR, l_100km_combined VARCHAR)[/INST]SELECT COUNT(l_100km_extra_urban) FROM table_name_52 WHERE mpg_uk_combined > 19.2 AND l_100km_combined < 5.7 AND fuel_type = "diesel" AND mpg_us_combined < 50</s>
CREATE TABLE table_name_64 (funny_car VARCHAR, year VARCHAR)
SELECT funny_car FROM table_name_64 WHERE year = 2012
Who won Funny Car in 2012?
<s>[INST]Who won Funny Car in 2012? Context: CREATE TABLE table_name_64 (funny_car VARCHAR, year VARCHAR)[/INST]SELECT funny_car FROM table_name_64 WHERE year = 2012</s>
CREATE TABLE table_name_50 (candidate VARCHAR, election VARCHAR)
SELECT candidate FROM table_name_50 WHERE election = "2012"
Who is the candidate in the 2012 election?
<s>[INST]Who is the candidate in the 2012 election? Context: CREATE TABLE table_name_50 (candidate VARCHAR, election VARCHAR)[/INST]SELECT candidate FROM table_name_50 WHERE election = "2012"</s>
CREATE TABLE table_1231316_4 (country VARCHAR, athlete VARCHAR)
SELECT country FROM table_1231316_4 WHERE athlete = "Tamunosiki Atorudibo"
Where is Tamunosiki Atorudibo from
<s>[INST]Where is Tamunosiki Atorudibo from Context: CREATE TABLE table_1231316_4 (country VARCHAR, athlete VARCHAR)[/INST]SELECT country FROM table_1231316_4 WHERE athlete = "Tamunosiki Atorudibo"</s>
CREATE TABLE table_14603057_2 (class_aA VARCHAR, class_a VARCHAR, class_aAAAA VARCHAR, Lubbock VARCHAR)
SELECT class_aA FROM table_14603057_2 WHERE class_a = "Plains" AND class_aAAAA = Lubbock
Who was the Class AA winner when Plains was Class A winner and Lubbock was Class AAAAA winner?
<s>[INST]Who was the Class AA winner when Plains was Class A winner and Lubbock was Class AAAAA winner? Context: CREATE TABLE table_14603057_2 (class_aA VARCHAR, class_a VARCHAR, class_aAAAA VARCHAR, Lubbock VARCHAR)[/INST]SELECT class_aA FROM table_14603057_2 WHERE class_a = "Plains" AND class_aAAAA = Lubbock</s>
CREATE TABLE table_name_82 (institution VARCHAR, year VARCHAR, name VARCHAR)
SELECT institution FROM table_name_82 WHERE year > 2010 AND name = "cheng herng yi"
What institution won in 2010 with student Cheng Herng Yi?
<s>[INST]What institution won in 2010 with student Cheng Herng Yi? Context: CREATE TABLE table_name_82 (institution VARCHAR, year VARCHAR, name VARCHAR)[/INST]SELECT institution FROM table_name_82 WHERE year > 2010 AND name = "cheng herng yi"</s>
CREATE TABLE table_name_56 (result VARCHAR, year VARCHAR)
SELECT result FROM table_name_56 WHERE year = 1999
What is the result for the year 1999?
<s>[INST]What is the result for the year 1999? Context: CREATE TABLE table_name_56 (result VARCHAR, year VARCHAR)[/INST]SELECT result FROM table_name_56 WHERE year = 1999</s>
CREATE TABLE table_name_68 (home VARCHAR, date VARCHAR)
SELECT home FROM table_name_68 WHERE date = "january 5"
On January 5 who was the home team?
<s>[INST]On January 5 who was the home team? Context: CREATE TABLE table_name_68 (home VARCHAR, date VARCHAR)[/INST]SELECT home FROM table_name_68 WHERE date = "january 5"</s>
CREATE TABLE table_name_44 (mac_os_x VARCHAR, gnu_linux VARCHAR, windows VARCHAR)
SELECT mac_os_x FROM table_name_44 WHERE gnu_linux = "yes" AND windows = "no"
Which Mac OSX's GNU/Linux was yes when Windows was no?
<s>[INST]Which Mac OSX's GNU/Linux was yes when Windows was no? Context: CREATE TABLE table_name_44 (mac_os_x VARCHAR, gnu_linux VARCHAR, windows VARCHAR)[/INST]SELECT mac_os_x FROM table_name_44 WHERE gnu_linux = "yes" AND windows = "no"</s>
CREATE TABLE table_1341598_11 (candidates VARCHAR, incumbent VARCHAR)
SELECT candidates FROM table_1341598_11 WHERE incumbent = "George Darden"
Who are shown as candidates when George Darden is the incumbent?
<s>[INST]Who are shown as candidates when George Darden is the incumbent? Context: CREATE TABLE table_1341598_11 (candidates VARCHAR, incumbent VARCHAR)[/INST]SELECT candidates FROM table_1341598_11 WHERE incumbent = "George Darden"</s>
CREATE TABLE table_name_63 (population VARCHAR, gdp__nominal_ VARCHAR)
SELECT population FROM table_name_63 WHERE gdp__nominal_ = "$6.4 billion"
Which population has a GDP (nominal) of $6.4 billion?
<s>[INST]Which population has a GDP (nominal) of $6.4 billion? Context: CREATE TABLE table_name_63 (population VARCHAR, gdp__nominal_ VARCHAR)[/INST]SELECT population FROM table_name_63 WHERE gdp__nominal_ = "$6.4 billion"</s>
CREATE TABLE airports (name VARCHAR, country VARCHAR)
SELECT name FROM airports WHERE country = 'Cuba' OR country = 'Argentina'
Find the name of the airports located in Cuba or Argentina.
<s>[INST]Find the name of the airports located in Cuba or Argentina. Context: CREATE TABLE airports (name VARCHAR, country VARCHAR)[/INST]SELECT name FROM airports WHERE country = 'Cuba' OR country = 'Argentina'</s>
CREATE TABLE table_21795846_1 (podiums VARCHAR, position VARCHAR)
SELECT COUNT(podiums) FROM table_21795846_1 WHERE position = "9th"
If the position is 9th, what is the total podiums number?
<s>[INST]If the position is 9th, what is the total podiums number? Context: CREATE TABLE table_21795846_1 (podiums VARCHAR, position VARCHAR)[/INST]SELECT COUNT(podiums) FROM table_21795846_1 WHERE position = "9th"</s>
CREATE TABLE table_name_44 (score VARCHAR, opponent VARCHAR, date VARCHAR)
SELECT score FROM table_name_44 WHERE opponent = "roger federer" AND date = "april 3, 2006"
What was the score of the match against roger federer on April 3, 2006?
<s>[INST]What was the score of the match against roger federer on April 3, 2006? Context: CREATE TABLE table_name_44 (score VARCHAR, opponent VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_44 WHERE opponent = "roger federer" AND date = "april 3, 2006"</s>
CREATE TABLE table_name_87 (year VARCHAR, points INTEGER)
SELECT COUNT(year) FROM table_name_87 WHERE points > 0
What is the total number of years that an entrant had more than 0 points?
<s>[INST]What is the total number of years that an entrant had more than 0 points? Context: CREATE TABLE table_name_87 (year VARCHAR, points INTEGER)[/INST]SELECT COUNT(year) FROM table_name_87 WHERE points > 0</s>
CREATE TABLE table_name_48 (location VARCHAR, mascot VARCHAR)
SELECT location FROM table_name_48 WHERE mascot = "kingsmen"
What location has kingsmen as the mascot?
<s>[INST]What location has kingsmen as the mascot? Context: CREATE TABLE table_name_48 (location VARCHAR, mascot VARCHAR)[/INST]SELECT location FROM table_name_48 WHERE mascot = "kingsmen"</s>
CREATE TABLE table_name_40 (award VARCHAR, producer_s_ VARCHAR)
SELECT award FROM table_name_40 WHERE producer_s_ = "andrew ryder"
What award did Andrew Ryder win as producer?
<s>[INST]What award did Andrew Ryder win as producer? Context: CREATE TABLE table_name_40 (award VARCHAR, producer_s_ VARCHAR)[/INST]SELECT award FROM table_name_40 WHERE producer_s_ = "andrew ryder"</s>
CREATE TABLE table_1067134_1 (region_2 VARCHAR, dvd_name VARCHAR)
SELECT region_2 FROM table_1067134_1 WHERE dvd_name = "Season Six"
What date did the DVD for season six come out in region 2?
<s>[INST]What date did the DVD for season six come out in region 2? Context: CREATE TABLE table_1067134_1 (region_2 VARCHAR, dvd_name VARCHAR)[/INST]SELECT region_2 FROM table_1067134_1 WHERE dvd_name = "Season Six"</s>
CREATE TABLE table_1176371_1 (location VARCHAR, la_matches VARCHAR, name_of_ground VARCHAR)
SELECT location FROM table_1176371_1 WHERE la_matches = 7 AND name_of_ground = "Ropery Lane"
Where is ropery lane and la matches 7 location?
<s>[INST]Where is ropery lane and la matches 7 location? Context: CREATE TABLE table_1176371_1 (location VARCHAR, la_matches VARCHAR, name_of_ground VARCHAR)[/INST]SELECT location FROM table_1176371_1 WHERE la_matches = 7 AND name_of_ground = "Ropery Lane"</s>
CREATE TABLE table_name_34 (date VARCHAR, game VARCHAR)
SELECT date FROM table_name_34 WHERE game = 66
What is the date of game 66?
<s>[INST]What is the date of game 66? Context: CREATE TABLE table_name_34 (date VARCHAR, game VARCHAR)[/INST]SELECT date FROM table_name_34 WHERE game = 66</s>
CREATE TABLE table_name_58 (iata VARCHAR, airport VARCHAR)
SELECT iata FROM table_name_58 WHERE airport = "galeão airport"
What is the IATA of galeão airport?
<s>[INST]What is the IATA of galeão airport? Context: CREATE TABLE table_name_58 (iata VARCHAR, airport VARCHAR)[/INST]SELECT iata FROM table_name_58 WHERE airport = "galeão airport"</s>
CREATE TABLE table_name_4 (race_2 VARCHAR, round VARCHAR)
SELECT race_2 FROM table_name_4 WHERE round = "round 2"
What is the Race 2 result of Round 2?
<s>[INST]What is the Race 2 result of Round 2? Context: CREATE TABLE table_name_4 (race_2 VARCHAR, round VARCHAR)[/INST]SELECT race_2 FROM table_name_4 WHERE round = "round 2"</s>
CREATE TABLE table_name_81 (date_from VARCHAR, position VARCHAR, name VARCHAR)
SELECT date_from FROM table_name_81 WHERE position = "mf" AND name = "toumani diagouraga"
What date did Toumani Diagouraga, who played position MF, start?
<s>[INST]What date did Toumani Diagouraga, who played position MF, start? Context: CREATE TABLE table_name_81 (date_from VARCHAR, position VARCHAR, name VARCHAR)[/INST]SELECT date_from FROM table_name_81 WHERE position = "mf" AND name = "toumani diagouraga"</s>
CREATE TABLE table_name_86 (party VARCHAR, incumbent VARCHAR)
SELECT party FROM table_name_86 WHERE incumbent = "stanyarne wilson"
What party has an incumbent of Stanyarne Wilson?
<s>[INST]What party has an incumbent of Stanyarne Wilson? Context: CREATE TABLE table_name_86 (party VARCHAR, incumbent VARCHAR)[/INST]SELECT party FROM table_name_86 WHERE incumbent = "stanyarne wilson"</s>
CREATE TABLE table_name_43 (player VARCHAR, year_s__won VARCHAR, total VARCHAR, to_par VARCHAR)
SELECT player FROM table_name_43 WHERE total = "wd" AND to_par < 16 AND year_s__won = "1967"
If 1967 is the winning year and a player has a total recorded as wd with a To par under 16, what's the players name?
<s>[INST]If 1967 is the winning year and a player has a total recorded as wd with a To par under 16, what's the players name? Context: CREATE TABLE table_name_43 (player VARCHAR, year_s__won VARCHAR, total VARCHAR, to_par VARCHAR)[/INST]SELECT player FROM table_name_43 WHERE total = "wd" AND to_par < 16 AND year_s__won = "1967"</s>
CREATE TABLE flight (pilot VARCHAR)
SELECT pilot FROM flight GROUP BY pilot ORDER BY COUNT(*) DESC LIMIT 1
which pilot is in charge of the most number of flights?
<s>[INST]which pilot is in charge of the most number of flights? Context: CREATE TABLE flight (pilot VARCHAR)[/INST]SELECT pilot FROM flight GROUP BY pilot ORDER BY COUNT(*) DESC LIMIT 1</s>
CREATE TABLE table_25479607_3 (user VARCHAR, max_demand_charge___rs__kva_ VARCHAR, unit__kwh__time_range VARCHAR)
SELECT user FROM table_25479607_3 WHERE max_demand_charge___rs__kva_ = "1,100" AND unit__kwh__time_range = "H-2: Off-peak (22:30-05:30)"
What user had a max demand charge of 1,100 and a unit/time range of h-2: off-peak (22:30-05:30)?
<s>[INST]What user had a max demand charge of 1,100 and a unit/time range of h-2: off-peak (22:30-05:30)? Context: CREATE TABLE table_25479607_3 (user VARCHAR, max_demand_charge___rs__kva_ VARCHAR, unit__kwh__time_range VARCHAR)[/INST]SELECT user FROM table_25479607_3 WHERE max_demand_charge___rs__kva_ = "1,100" AND unit__kwh__time_range = "H-2: Off-peak (22:30-05:30)"</s>
CREATE TABLE table_name_90 (incumbent VARCHAR, results VARCHAR, first_elected VARCHAR)
SELECT incumbent FROM table_name_90 WHERE results = "re-elected" AND first_elected < 1996
Who is the incumbent that has been in office since before 1996 and was again re-elected?
<s>[INST]Who is the incumbent that has been in office since before 1996 and was again re-elected? Context: CREATE TABLE table_name_90 (incumbent VARCHAR, results VARCHAR, first_elected VARCHAR)[/INST]SELECT incumbent FROM table_name_90 WHERE results = "re-elected" AND first_elected < 1996</s>
CREATE TABLE table_1939367_1 (province VARCHAR, _percentage_2011 VARCHAR)
SELECT COUNT(province) FROM table_1939367_1 WHERE _percentage_2011 = "0.0%"
What is the province amount if the % 2011 is 0.0%
<s>[INST]What is the province amount if the % 2011 is 0.0% Context: CREATE TABLE table_1939367_1 (province VARCHAR, _percentage_2011 VARCHAR)[/INST]SELECT COUNT(province) FROM table_1939367_1 WHERE _percentage_2011 = "0.0%"</s>
CREATE TABLE table_name_33 (score VARCHAR, attendance VARCHAR)
SELECT score FROM table_name_33 WHERE attendance = "2,444"
What is Score, when Attendance is 2,444?
<s>[INST]What is Score, when Attendance is 2,444? Context: CREATE TABLE table_name_33 (score VARCHAR, attendance VARCHAR)[/INST]SELECT score FROM table_name_33 WHERE attendance = "2,444"</s>
CREATE TABLE table_17311783_9 (high_points VARCHAR, team VARCHAR)
SELECT high_points FROM table_17311783_9 WHERE team = "Cleveland"
Who had the high point total against cleveland?
<s>[INST]Who had the high point total against cleveland? Context: CREATE TABLE table_17311783_9 (high_points VARCHAR, team VARCHAR)[/INST]SELECT high_points FROM table_17311783_9 WHERE team = "Cleveland"</s>
CREATE TABLE table_21377473_7 (attendance VARCHAR, score VARCHAR)
SELECT COUNT(attendance) FROM table_21377473_7 WHERE score = "0 - 1 Barbiero 78'"
When 0 - 1 barbiero 78' is the score how many measurements of attendance are there?
<s>[INST]When 0 - 1 barbiero 78' is the score how many measurements of attendance are there? Context: CREATE TABLE table_21377473_7 (attendance VARCHAR, score VARCHAR)[/INST]SELECT COUNT(attendance) FROM table_21377473_7 WHERE score = "0 - 1 Barbiero 78'"</s>
CREATE TABLE table_name_1 (city_of_license VARCHAR, frequency VARCHAR)
SELECT city_of_license FROM table_name_1 WHERE frequency = "0 106.9 fm"
Tell me the city of license for 0 106.9 fm
<s>[INST]Tell me the city of license for 0 106.9 fm Context: CREATE TABLE table_name_1 (city_of_license VARCHAR, frequency VARCHAR)[/INST]SELECT city_of_license FROM table_name_1 WHERE frequency = "0 106.9 fm"</s>
CREATE TABLE table_name_86 (laps INTEGER, rider VARCHAR, grid VARCHAR)
SELECT MIN(laps) FROM table_name_86 WHERE rider = "marco simoncelli" AND grid > 11
What is the lowest number of laps for Marco Simoncelli on a grid higher than 11?
<s>[INST]What is the lowest number of laps for Marco Simoncelli on a grid higher than 11? Context: CREATE TABLE table_name_86 (laps INTEGER, rider VARCHAR, grid VARCHAR)[/INST]SELECT MIN(laps) FROM table_name_86 WHERE rider = "marco simoncelli" AND grid > 11</s>
CREATE TABLE table_19417244_2 (written_by VARCHAR, us_viewers__millions_ VARCHAR)
SELECT written_by FROM table_19417244_2 WHERE us_viewers__millions_ = "14.39"
who write the episode that have 14.39 million viewers
<s>[INST]who write the episode that have 14.39 million viewers Context: CREATE TABLE table_19417244_2 (written_by VARCHAR, us_viewers__millions_ VARCHAR)[/INST]SELECT written_by FROM table_19417244_2 WHERE us_viewers__millions_ = "14.39"</s>
CREATE TABLE table_24018112_1 (cores_threads VARCHAR, max_memory_speed VARCHAR, frequency VARCHAR)
SELECT cores_threads FROM table_24018112_1 WHERE max_memory_speed = "DDR3-1333" AND frequency = "2.66-2.8GHz"
List the number of cores for ddr3-1333 with frequencies between 2.66-2.8ghz.
<s>[INST]List the number of cores for ddr3-1333 with frequencies between 2.66-2.8ghz. Context: CREATE TABLE table_24018112_1 (cores_threads VARCHAR, max_memory_speed VARCHAR, frequency VARCHAR)[/INST]SELECT cores_threads FROM table_24018112_1 WHERE max_memory_speed = "DDR3-1333" AND frequency = "2.66-2.8GHz"</s>
CREATE TABLE table_name_48 (date VARCHAR, home VARCHAR)
SELECT date FROM table_name_48 WHERE home = "houston rockets"
When did the Houston Rockets play Home?
<s>[INST]When did the Houston Rockets play Home? Context: CREATE TABLE table_name_48 (date VARCHAR, home VARCHAR)[/INST]SELECT date FROM table_name_48 WHERE home = "houston rockets"</s>
CREATE TABLE table_1358608_2 (group VARCHAR, weight__kg_ VARCHAR)
SELECT group FROM table_1358608_2 WHERE weight__kg_ = "56.5"
What group info is available for the 56.5 kg weight?
<s>[INST]What group info is available for the 56.5 kg weight? Context: CREATE TABLE table_1358608_2 (group VARCHAR, weight__kg_ VARCHAR)[/INST]SELECT group FROM table_1358608_2 WHERE weight__kg_ = "56.5"</s>
CREATE TABLE table_name_73 (religion VARCHAR, assumed_office VARCHAR, former_experience VARCHAR)
SELECT religion FROM table_name_73 WHERE assumed_office < 2005 AND former_experience = "commissioner of health"
Name the religion for Former Experience of commissioner of health and assumed office before 2005
<s>[INST]Name the religion for Former Experience of commissioner of health and assumed office before 2005 Context: CREATE TABLE table_name_73 (religion VARCHAR, assumed_office VARCHAR, former_experience VARCHAR)[/INST]SELECT religion FROM table_name_73 WHERE assumed_office < 2005 AND former_experience = "commissioner of health"</s>
CREATE TABLE table_name_1 (score INTEGER, place VARCHAR, player VARCHAR)
SELECT MIN(score) FROM table_name_1 WHERE place = "t3" AND player = "lee janzen"
What was T3 player Lee Janzen's score?
<s>[INST]What was T3 player Lee Janzen's score? Context: CREATE TABLE table_name_1 (score INTEGER, place VARCHAR, player VARCHAR)[/INST]SELECT MIN(score) FROM table_name_1 WHERE place = "t3" AND player = "lee janzen"</s>
CREATE TABLE table_name_61 (division_one VARCHAR, division_two VARCHAR)
SELECT division_one FROM table_name_61 WHERE division_two = "hereford lads club colts"
What Division One team were champions at the same time the Division Two Hereford Lads Club Colts were champs?
<s>[INST]What Division One team were champions at the same time the Division Two Hereford Lads Club Colts were champs? Context: CREATE TABLE table_name_61 (division_one VARCHAR, division_two VARCHAR)[/INST]SELECT division_one FROM table_name_61 WHERE division_two = "hereford lads club colts"</s>
CREATE TABLE table_19412902_2 (pos INTEGER)
SELECT MAX(pos) FROM table_19412902_2
What is the lowest position?
<s>[INST]What is the lowest position? Context: CREATE TABLE table_19412902_2 (pos INTEGER)[/INST]SELECT MAX(pos) FROM table_19412902_2</s>
CREATE TABLE table_name_25 (origin_of_programming VARCHAR, genre VARCHAR, network VARCHAR)
SELECT origin_of_programming FROM table_name_25 WHERE genre = "cricket" AND network = "star cricket"
Where does the network Star Cricket originate?
<s>[INST]Where does the network Star Cricket originate? Context: CREATE TABLE table_name_25 (origin_of_programming VARCHAR, genre VARCHAR, network VARCHAR)[/INST]SELECT origin_of_programming FROM table_name_25 WHERE genre = "cricket" AND network = "star cricket"</s>
CREATE TABLE table_name_28 (losses VARCHAR, goals_against VARCHAR, wins VARCHAR)
SELECT COUNT(losses) FROM table_name_28 WHERE goals_against > 39 AND wins < 4
what is the number of losses with wins less than 4 and goals against more than 39?
<s>[INST]what is the number of losses with wins less than 4 and goals against more than 39? Context: CREATE TABLE table_name_28 (losses VARCHAR, goals_against VARCHAR, wins VARCHAR)[/INST]SELECT COUNT(losses) FROM table_name_28 WHERE goals_against > 39 AND wins < 4</s>
CREATE TABLE table_name_51 (position VARCHAR, nationality VARCHAR, nhl_team VARCHAR)
SELECT position FROM table_name_51 WHERE nationality = "canada" AND nhl_team = "boston bruins"
What position is the player that is from Canada and on the Boston Bruins
<s>[INST]What position is the player that is from Canada and on the Boston Bruins Context: CREATE TABLE table_name_51 (position VARCHAR, nationality VARCHAR, nhl_team VARCHAR)[/INST]SELECT position FROM table_name_51 WHERE nationality = "canada" AND nhl_team = "boston bruins"</s>
CREATE TABLE table_name_79 (listed VARCHAR, built VARCHAR)
SELECT listed FROM table_name_79 WHERE built = "1864"
What is the date Listed of the Bridge Built in 1864?
<s>[INST]What is the date Listed of the Bridge Built in 1864? Context: CREATE TABLE table_name_79 (listed VARCHAR, built VARCHAR)[/INST]SELECT listed FROM table_name_79 WHERE built = "1864"</s>
CREATE TABLE table_name_15 (builder VARCHAR, number VARCHAR, date VARCHAR, length VARCHAR)
SELECT builder FROM table_name_15 WHERE date < 1913 AND length = "feet (m)" AND number = "15"
Which Builder has a Date smaller than 1913, and a Length of feet (m), and a Number of 15?
<s>[INST]Which Builder has a Date smaller than 1913, and a Length of feet (m), and a Number of 15? Context: CREATE TABLE table_name_15 (builder VARCHAR, number VARCHAR, date VARCHAR, length VARCHAR)[/INST]SELECT builder FROM table_name_15 WHERE date < 1913 AND length = "feet (m)" AND number = "15"</s>
CREATE TABLE table_23308178_6 (date VARCHAR, location VARCHAR)
SELECT COUNT(date) FROM table_23308178_6 WHERE location = "Wachovia Center"
How many dates were played at the wachovia center?
<s>[INST]How many dates were played at the wachovia center? Context: CREATE TABLE table_23308178_6 (date VARCHAR, location VARCHAR)[/INST]SELECT COUNT(date) FROM table_23308178_6 WHERE location = "Wachovia Center"</s>
CREATE TABLE table_2092557_12 (wimbledon VARCHAR, player VARCHAR)
SELECT wimbledon FROM table_2092557_12 WHERE player = "Martina Navratilova"
What year did Martina Navratilova win Wimbledon?
<s>[INST]What year did Martina Navratilova win Wimbledon? Context: CREATE TABLE table_2092557_12 (wimbledon VARCHAR, player VARCHAR)[/INST]SELECT wimbledon FROM table_2092557_12 WHERE player = "Martina Navratilova"</s>
CREATE TABLE table_name_71 (area_km_2 VARCHAR, population VARCHAR)
SELECT area_km_2 FROM table_name_71 WHERE population = 71
What is the Area of the Parish with a Population of 71?
<s>[INST]What is the Area of the Parish with a Population of 71? Context: CREATE TABLE table_name_71 (area_km_2 VARCHAR, population VARCHAR)[/INST]SELECT area_km_2 FROM table_name_71 WHERE population = 71</s>
CREATE TABLE table_name_37 (date VARCHAR, score VARCHAR, venue VARCHAR)
SELECT date FROM table_name_37 WHERE score = "1-2" AND venue = "athens olympic stadium"
On what date was the score 1-2 at Athens Olympic Stadium?
<s>[INST]On what date was the score 1-2 at Athens Olympic Stadium? Context: CREATE TABLE table_name_37 (date VARCHAR, score VARCHAR, venue VARCHAR)[/INST]SELECT date FROM table_name_37 WHERE score = "1-2" AND venue = "athens olympic stadium"</s>
CREATE TABLE table_name_60 (location__numbersites__global_local_ VARCHAR, as_number VARCHAR)
SELECT location__numbersites__global_local_ FROM table_name_60 WHERE as_number = "n/a"
Which location has an AS-number of N/A?
<s>[INST]Which location has an AS-number of N/A? Context: CREATE TABLE table_name_60 (location__numbersites__global_local_ VARCHAR, as_number VARCHAR)[/INST]SELECT location__numbersites__global_local_ FROM table_name_60 WHERE as_number = "n/a"</s>
CREATE TABLE table_name_8 (platform_s_ VARCHAR, year VARCHAR)
SELECT platform_s_ FROM table_name_8 WHERE year = 2007
What platform has a year of 2007?
<s>[INST]What platform has a year of 2007? Context: CREATE TABLE table_name_8 (platform_s_ VARCHAR, year VARCHAR)[/INST]SELECT platform_s_ FROM table_name_8 WHERE year = 2007</s>
CREATE TABLE table_name_56 (crowd INTEGER, away_team VARCHAR)
SELECT SUM(crowd) FROM table_name_56 WHERE away_team = "kangaroos"
What were the Away team Kangaroos Crowd totals?
<s>[INST]What were the Away team Kangaroos Crowd totals? Context: CREATE TABLE table_name_56 (crowd INTEGER, away_team VARCHAR)[/INST]SELECT SUM(crowd) FROM table_name_56 WHERE away_team = "kangaroos"</s>
CREATE TABLE table_name_30 (loss VARCHAR, date VARCHAR)
SELECT loss FROM table_name_30 WHERE date = "april 26"
Which loss has a Date of april 26?
<s>[INST]Which loss has a Date of april 26? Context: CREATE TABLE table_name_30 (loss VARCHAR, date VARCHAR)[/INST]SELECT loss FROM table_name_30 WHERE date = "april 26"</s>
CREATE TABLE table_21563298_1 (external_link VARCHAR, location VARCHAR)
SELECT external_link FROM table_21563298_1 WHERE location = "Brechin"
What school is in Brechin?
<s>[INST]What school is in Brechin? Context: CREATE TABLE table_21563298_1 (external_link VARCHAR, location VARCHAR)[/INST]SELECT external_link FROM table_21563298_1 WHERE location = "Brechin"</s>
CREATE TABLE table_name_64 (name_of_ship VARCHAR, date VARCHAR)
SELECT name_of_ship FROM table_name_64 WHERE date = "20february1942"
What is the Name of the Ship attacked on 20February1942?
<s>[INST]What is the Name of the Ship attacked on 20February1942? Context: CREATE TABLE table_name_64 (name_of_ship VARCHAR, date VARCHAR)[/INST]SELECT name_of_ship FROM table_name_64 WHERE date = "20february1942"</s>
CREATE TABLE table_name_58 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_58 WHERE date = "april 9"
what team played on april 9
<s>[INST]what team played on april 9 Context: CREATE TABLE table_name_58 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_58 WHERE date = "april 9"</s>
CREATE TABLE table_name_92 (score VARCHAR, visitor VARCHAR)
SELECT score FROM table_name_92 WHERE visitor = "st. louis"
What was the score when St. Louis was the visiting team?
<s>[INST]What was the score when St. Louis was the visiting team? Context: CREATE TABLE table_name_92 (score VARCHAR, visitor VARCHAR)[/INST]SELECT score FROM table_name_92 WHERE visitor = "st. louis"</s>