context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_82 (attendance INTEGER, week VARCHAR)
SELECT MAX(attendance) FROM table_name_82 WHERE week = 6
what is the highest attendance for week 6?
<s>[INST]what is the highest attendance for week 6? Context: CREATE TABLE table_name_82 (attendance INTEGER, week VARCHAR)[/INST]SELECT MAX(attendance) FROM table_name_82 WHERE week = 6</s>
CREATE TABLE table_name_37 (disposition_of_ship VARCHAR, tonnage VARCHAR, ship_name VARCHAR)
SELECT disposition_of_ship FROM table_name_37 WHERE tonnage = "t" AND ship_name = "bacchus"
The ship named Bacchus with a tonnage of t had what disposition of ship?
<s>[INST]The ship named Bacchus with a tonnage of t had what disposition of ship? Context: CREATE TABLE table_name_37 (disposition_of_ship VARCHAR, tonnage VARCHAR, ship_name VARCHAR)[/INST]SELECT disposition_of_ship FROM table_name_37 WHERE tonnage = "t" AND ship_name = "bacchus"</s>
CREATE TABLE table_22050544_1 (winner VARCHAR, event__number VARCHAR)
SELECT winner FROM table_22050544_1 WHERE event__number = "15H"
What is the winner in event number 15h?
<s>[INST]What is the winner in event number 15h? Context: CREATE TABLE table_22050544_1 (winner VARCHAR, event__number VARCHAR)[/INST]SELECT winner FROM table_22050544_1 WHERE event__number = "15H"</s>
CREATE TABLE table_28068063_2 (aggregate_score VARCHAR, winners VARCHAR)
SELECT aggregate_score FROM table_28068063_2 WHERE winners = "Viadana"
What was the aggregate score for the match won by Viadana?
<s>[INST]What was the aggregate score for the match won by Viadana? Context: CREATE TABLE table_28068063_2 (aggregate_score VARCHAR, winners VARCHAR)[/INST]SELECT aggregate_score FROM table_28068063_2 WHERE winners = "Viadana"</s>
CREATE TABLE table_name_62 (avg_g VARCHAR, att_cmp_int VARCHAR, effic VARCHAR)
SELECT COUNT(avg_g) FROM table_name_62 WHERE att_cmp_int = "1–1–0" AND effic > 394
Avg/G that has a Att-Cmp-Int of 1–1–0, and an Effic larger than 394 is what total?
<s>[INST]Avg/G that has a Att-Cmp-Int of 1–1–0, and an Effic larger than 394 is what total? Context: CREATE TABLE table_name_62 (avg_g VARCHAR, att_cmp_int VARCHAR, effic VARCHAR)[/INST]SELECT COUNT(avg_g) FROM table_name_62 WHERE att_cmp_int = "1–1–0" AND effic > 394</s>
CREATE TABLE table_28946565_2 (week_3 INTEGER)
SELECT MIN(week_3) FROM table_28946565_2
What is the smallest week 3 score?
<s>[INST]What is the smallest week 3 score? Context: CREATE TABLE table_28946565_2 (week_3 INTEGER)[/INST]SELECT MIN(week_3) FROM table_28946565_2</s>
CREATE TABLE table_name_70 (caps INTEGER, club_province VARCHAR, date_of_birth__age_ VARCHAR)
SELECT MIN(caps) FROM table_name_70 WHERE club_province = "ospreys" AND date_of_birth__age_ = "19 september 1985"
Which Caps is the lowest one that has a Club/province of ospreys, and a Date of Birth (Age) of 19 september 1985?
<s>[INST]Which Caps is the lowest one that has a Club/province of ospreys, and a Date of Birth (Age) of 19 september 1985? Context: CREATE TABLE table_name_70 (caps INTEGER, club_province VARCHAR, date_of_birth__age_ VARCHAR)[/INST]SELECT MIN(caps) FROM table_name_70 WHERE club_province = "ospreys" AND date_of_birth__a...
CREATE TABLE table_name_47 (crowd INTEGER, home_team VARCHAR)
SELECT MIN(crowd) FROM table_name_47 WHERE home_team = "richmond"
What was the smallest crowd size for a home game for Richmond?
<s>[INST]What was the smallest crowd size for a home game for Richmond? Context: CREATE TABLE table_name_47 (crowd INTEGER, home_team VARCHAR)[/INST]SELECT MIN(crowd) FROM table_name_47 WHERE home_team = "richmond"</s>
CREATE TABLE table_name_74 (county VARCHAR, location VARCHAR)
SELECT county FROM table_name_74 WHERE location = "edinburgh"
Which County has a Location of edinburgh?
<s>[INST]Which County has a Location of edinburgh? Context: CREATE TABLE table_name_74 (county VARCHAR, location VARCHAR)[/INST]SELECT county FROM table_name_74 WHERE location = "edinburgh"</s>
CREATE TABLE table_name_1 (points VARCHAR, games VARCHAR, losses VARCHAR, team_name VARCHAR)
SELECT COUNT(points) FROM table_name_1 WHERE losses < 12 AND team_name = "vancouver carlings" AND games > 32
What's the total number of points when the vancouver carlings have fewer than 12 losses and more than 32 games?
<s>[INST]What's the total number of points when the vancouver carlings have fewer than 12 losses and more than 32 games? Context: CREATE TABLE table_name_1 (points VARCHAR, games VARCHAR, losses VARCHAR, team_name VARCHAR)[/INST]SELECT COUNT(points) FROM table_name_1 WHERE losses < 12 AND team_name = "vancouver carling...
CREATE TABLE table_name_55 (chassis VARCHAR, points VARCHAR)
SELECT chassis FROM table_name_55 WHERE points = 52
Which chassis scored 52 points?
<s>[INST]Which chassis scored 52 points? Context: CREATE TABLE table_name_55 (chassis VARCHAR, points VARCHAR)[/INST]SELECT chassis FROM table_name_55 WHERE points = 52</s>
CREATE TABLE table_name_49 (team VARCHAR, coach VARCHAR)
SELECT team FROM table_name_49 WHERE coach = "yuriy hruznov"
Which team has Yuriy Hruznov as coach?
<s>[INST]Which team has Yuriy Hruznov as coach? Context: CREATE TABLE table_name_49 (team VARCHAR, coach VARCHAR)[/INST]SELECT team FROM table_name_49 WHERE coach = "yuriy hruznov"</s>
CREATE TABLE table_name_51 (record_company VARCHAR, pianist VARCHAR)
SELECT record_company FROM table_name_51 WHERE pianist = "solomon cutner"
What record company did pianist Solomon Cutner record for?
<s>[INST]What record company did pianist Solomon Cutner record for? Context: CREATE TABLE table_name_51 (record_company VARCHAR, pianist VARCHAR)[/INST]SELECT record_company FROM table_name_51 WHERE pianist = "solomon cutner"</s>
CREATE TABLE table_name_81 (matches INTEGER, round VARCHAR)
SELECT AVG(matches) FROM table_name_81 WHERE round = "third qualifying round"
What is the average Matches, when Round is Third Qualifying Round?
<s>[INST]What is the average Matches, when Round is Third Qualifying Round? Context: CREATE TABLE table_name_81 (matches INTEGER, round VARCHAR)[/INST]SELECT AVG(matches) FROM table_name_81 WHERE round = "third qualifying round"</s>
CREATE TABLE table_name_53 (episodes INTEGER, first_aired VARCHAR)
SELECT SUM(episodes) FROM table_name_53 WHERE first_aired = "april 8, 2011"
Of the series that first aired April 8, 2011, what is the total number of episodes?
<s>[INST]Of the series that first aired April 8, 2011, what is the total number of episodes? Context: CREATE TABLE table_name_53 (episodes INTEGER, first_aired VARCHAR)[/INST]SELECT SUM(episodes) FROM table_name_53 WHERE first_aired = "april 8, 2011"</s>
CREATE TABLE table_14242137_4 (oberliga_hessen VARCHAR, oberliga_baden_württemberg VARCHAR, oberliga_südwest VARCHAR)
SELECT oberliga_hessen FROM table_14242137_4 WHERE oberliga_baden_württemberg = "SV Sandhausen" AND oberliga_südwest = "FSV Salmrohr"
Name the oberliga hessen for sv sandhausen and fsv salmrohr
<s>[INST]Name the oberliga hessen for sv sandhausen and fsv salmrohr Context: CREATE TABLE table_14242137_4 (oberliga_hessen VARCHAR, oberliga_baden_württemberg VARCHAR, oberliga_südwest VARCHAR)[/INST]SELECT oberliga_hessen FROM table_14242137_4 WHERE oberliga_baden_württemberg = "SV Sandhausen" AND oberliga_südwest =...
CREATE TABLE table_name_94 (recipient VARCHAR, award VARCHAR, film VARCHAR)
SELECT recipient FROM table_name_94 WHERE award = "£6,947" AND film = "jamaica"
Name the recipient for jamaica and award of £6,947
<s>[INST]Name the recipient for jamaica and award of £6,947 Context: CREATE TABLE table_name_94 (recipient VARCHAR, award VARCHAR, film VARCHAR)[/INST]SELECT recipient FROM table_name_94 WHERE award = "£6,947" AND film = "jamaica"</s>
CREATE TABLE table_16710541_2 (poles INTEGER)
SELECT MIN(poles) FROM table_16710541_2
What is the lowest number of poles?
<s>[INST]What is the lowest number of poles? Context: CREATE TABLE table_16710541_2 (poles INTEGER)[/INST]SELECT MIN(poles) FROM table_16710541_2</s>
CREATE TABLE table_name_20 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_20 WHERE away_team = "essendon"
What venue was essendon the away team?
<s>[INST]What venue was essendon the away team? Context: CREATE TABLE table_name_20 (venue VARCHAR, away_team VARCHAR)[/INST]SELECT venue FROM table_name_20 WHERE away_team = "essendon"</s>
CREATE TABLE table_15621965_10 (years_in_orlando VARCHAR, position VARCHAR)
SELECT years_in_orlando FROM table_15621965_10 WHERE position = "Forward"
Name the years in orlando for forward
<s>[INST]Name the years in orlando for forward Context: CREATE TABLE table_15621965_10 (years_in_orlando VARCHAR, position VARCHAR)[/INST]SELECT years_in_orlando FROM table_15621965_10 WHERE position = "Forward"</s>
CREATE TABLE table_2791668_1 (us_viewers__millions_ VARCHAR, directed_by VARCHAR)
SELECT us_viewers__millions_ FROM table_2791668_1 WHERE directed_by = "Ed Sherin"
how many millions of North American people saw the episode whose director was Ed Sherin?
<s>[INST]how many millions of North American people saw the episode whose director was Ed Sherin? Context: CREATE TABLE table_2791668_1 (us_viewers__millions_ VARCHAR, directed_by VARCHAR)[/INST]SELECT us_viewers__millions_ FROM table_2791668_1 WHERE directed_by = "Ed Sherin"</s>
CREATE TABLE table_name_77 (year VARCHAR, nominee VARCHAR)
SELECT year FROM table_name_77 WHERE nominee = "jack cole"
What year was jack cole nominated?
<s>[INST]What year was jack cole nominated? Context: CREATE TABLE table_name_77 (year VARCHAR, nominee VARCHAR)[/INST]SELECT year FROM table_name_77 WHERE nominee = "jack cole"</s>
CREATE TABLE table_name_75 (main_use VARCHAR, country VARCHAR, name VARCHAR)
SELECT main_use FROM table_name_75 WHERE country = "hungary" AND name = "transmitter solt"
What is the Main use of transmitter solt in Hungary?
<s>[INST]What is the Main use of transmitter solt in Hungary? Context: CREATE TABLE table_name_75 (main_use VARCHAR, country VARCHAR, name VARCHAR)[/INST]SELECT main_use FROM table_name_75 WHERE country = "hungary" AND name = "transmitter solt"</s>
CREATE TABLE table_name_10 (tries VARCHAR, date VARCHAR)
SELECT tries FROM table_name_10 WHERE date = "14/6/97"
What were the tries on 14/6/97?
<s>[INST]What were the tries on 14/6/97? Context: CREATE TABLE table_name_10 (tries VARCHAR, date VARCHAR)[/INST]SELECT tries FROM table_name_10 WHERE date = "14/6/97"</s>
CREATE TABLE table_2093995_1 (stations VARCHAR, parking VARCHAR)
SELECT stations FROM table_2093995_1 WHERE parking = "Park & Ride Lot"
Which station has park & ride lot parking?
<s>[INST]Which station has park & ride lot parking? Context: CREATE TABLE table_2093995_1 (stations VARCHAR, parking VARCHAR)[/INST]SELECT stations FROM table_2093995_1 WHERE parking = "Park & Ride Lot"</s>
CREATE TABLE table_name_76 (score VARCHAR, tie_no VARCHAR)
SELECT score FROM table_name_76 WHERE tie_no = "23"
What was the score for the match with tie number 23?
<s>[INST]What was the score for the match with tie number 23? Context: CREATE TABLE table_name_76 (score VARCHAR, tie_no VARCHAR)[/INST]SELECT score FROM table_name_76 WHERE tie_no = "23"</s>
CREATE TABLE table_name_85 (team VARCHAR, round VARCHAR, pole_position VARCHAR)
SELECT team FROM table_name_85 WHERE round < 9 AND pole_position = "takashi kogure"
Before round 9, when Takashi Kogure held pole position, who was the team?
<s>[INST]Before round 9, when Takashi Kogure held pole position, who was the team? Context: CREATE TABLE table_name_85 (team VARCHAR, round VARCHAR, pole_position VARCHAR)[/INST]SELECT team FROM table_name_85 WHERE round < 9 AND pole_position = "takashi kogure"</s>
CREATE TABLE table_name_41 (chassis VARCHAR, points VARCHAR)
SELECT chassis FROM table_name_41 WHERE points = "25"
What is the chassis when there is 25 points?
<s>[INST]What is the chassis when there is 25 points? Context: CREATE TABLE table_name_41 (chassis VARCHAR, points VARCHAR)[/INST]SELECT chassis FROM table_name_41 WHERE points = "25"</s>
CREATE TABLE table_14407512_4 (nationality VARCHAR)
SELECT 1 AS st__m_ FROM table_14407512_4 WHERE nationality = "FIN"
What was the length of the jumper representing FIN, in meters?
<s>[INST]What was the length of the jumper representing FIN, in meters? Context: CREATE TABLE table_14407512_4 (nationality VARCHAR)[/INST]SELECT 1 AS st__m_ FROM table_14407512_4 WHERE nationality = "FIN"</s>
CREATE TABLE table_name_18 (cuts_made INTEGER, events VARCHAR, top_25 VARCHAR)
SELECT MAX(cuts_made) FROM table_name_18 WHERE events = 7 AND top_25 > 2
What is the most number of cuts made that had more than 7 events played and more than 2 top-25s?
<s>[INST]What is the most number of cuts made that had more than 7 events played and more than 2 top-25s? Context: CREATE TABLE table_name_18 (cuts_made INTEGER, events VARCHAR, top_25 VARCHAR)[/INST]SELECT MAX(cuts_made) FROM table_name_18 WHERE events = 7 AND top_25 > 2</s>
CREATE TABLE table_269920_16 (l3_cache__mb_ VARCHAR, speed__ghz_ VARCHAR)
SELECT l3_cache__mb_ FROM table_269920_16 WHERE speed__ghz_ = "2.93"
What is the L3 cache for the processor having a speed of 2.93 GHz?
<s>[INST]What is the L3 cache for the processor having a speed of 2.93 GHz? Context: CREATE TABLE table_269920_16 (l3_cache__mb_ VARCHAR, speed__ghz_ VARCHAR)[/INST]SELECT l3_cache__mb_ FROM table_269920_16 WHERE speed__ghz_ = "2.93"</s>
CREATE TABLE table_name_58 (bronze INTEGER, rank VARCHAR, total VARCHAR, silver VARCHAR)
SELECT AVG(bronze) FROM table_name_58 WHERE total = 1 AND silver = 0 AND rank > 16
What is the average number of bronze medals associated with 0 silver, 1 total, and ranks over 16?
<s>[INST]What is the average number of bronze medals associated with 0 silver, 1 total, and ranks over 16? Context: CREATE TABLE table_name_58 (bronze INTEGER, rank VARCHAR, total VARCHAR, silver VARCHAR)[/INST]SELECT AVG(bronze) FROM table_name_58 WHERE total = 1 AND silver = 0 AND rank > 16</s>
CREATE TABLE departments (department_name VARCHAR, department_id VARCHAR); CREATE TABLE employees (department_id VARCHAR)
SELECT DISTINCT T2.department_name FROM employees AS T1 JOIN departments AS T2 ON T1.department_id = T2.department_id
find the name of all departments that do actually have one or more employees assigned to them.
<s>[INST]find the name of all departments that do actually have one or more employees assigned to them. Context: CREATE TABLE departments (department_name VARCHAR, department_id VARCHAR); CREATE TABLE employees (department_id VARCHAR)[/INST]SELECT DISTINCT T2.department_name FROM employees AS T1 JOIN departments AS T2 ...
CREATE TABLE table_name_39 (runner_up VARCHAR, year VARCHAR)
SELECT runner_up FROM table_name_39 WHERE year = 1887
Who was the runner-up in 1887 competition for 'Articles with HCards'?
<s>[INST]Who was the runner-up in 1887 competition for 'Articles with HCards'? Context: CREATE TABLE table_name_39 (runner_up VARCHAR, year VARCHAR)[/INST]SELECT runner_up FROM table_name_39 WHERE year = 1887</s>
CREATE TABLE table_name_46 (drawn VARCHAR, against VARCHAR, points VARCHAR)
SELECT drawn FROM table_name_46 WHERE against < 20 AND points = 15
What is the Drawn has an Against smaller than 20 and Points of 15?
<s>[INST]What is the Drawn has an Against smaller than 20 and Points of 15? Context: CREATE TABLE table_name_46 (drawn VARCHAR, against VARCHAR, points VARCHAR)[/INST]SELECT drawn FROM table_name_46 WHERE against < 20 AND points = 15</s>
CREATE TABLE table_name_91 (week INTEGER, opponent VARCHAR)
SELECT SUM(week) FROM table_name_91 WHERE opponent = "oakland raiders"
On which week was the opponent the oakland raiders?
<s>[INST]On which week was the opponent the oakland raiders? Context: CREATE TABLE table_name_91 (week INTEGER, opponent VARCHAR)[/INST]SELECT SUM(week) FROM table_name_91 WHERE opponent = "oakland raiders"</s>
CREATE TABLE CHARACTERISTICS (characteristic_id VARCHAR, characteristic_name VARCHAR); CREATE TABLE ref_colors (color_code VARCHAR, color_description VARCHAR); CREATE TABLE products (product_id VARCHAR, color_code VARCHAR); CREATE TABLE product_characteristics (product_id VARCHAR, characteristic_id VARCHAR)
SELECT COUNT(*) FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id = t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id = t3.characteristic_id JOIN ref_colors AS t4 ON t1.color_code = t4.color_code WHERE t4.color_description = "white" OR t3.characteristic_name = "hot"
Count the products that have the color description "white" or have the characteristic name "hot".
<s>[INST]Count the products that have the color description "white" or have the characteristic name "hot". Context: CREATE TABLE CHARACTERISTICS (characteristic_id VARCHAR, characteristic_name VARCHAR); CREATE TABLE ref_colors (color_code VARCHAR, color_description VARCHAR); CREATE TABLE products (product_id VARCHAR, c...
CREATE TABLE table_name_1 (time VARCHAR, event VARCHAR)
SELECT time FROM table_name_1 WHERE event = "k-1 the challenge 1999"
What time was the event k-1 the challenge 1999?
<s>[INST]What time was the event k-1 the challenge 1999? Context: CREATE TABLE table_name_1 (time VARCHAR, event VARCHAR)[/INST]SELECT time FROM table_name_1 WHERE event = "k-1 the challenge 1999"</s>
CREATE TABLE table_10979230_4 (romaji_title VARCHAR, japanese_title VARCHAR)
SELECT COUNT(romaji_title) FROM table_10979230_4 WHERE japanese_title = "Mi-Chemin"
How many songs have mi-chemin as their Japanese name and romanji name?
<s>[INST]How many songs have mi-chemin as their Japanese name and romanji name? Context: CREATE TABLE table_10979230_4 (romaji_title VARCHAR, japanese_title VARCHAR)[/INST]SELECT COUNT(romaji_title) FROM table_10979230_4 WHERE japanese_title = "Mi-Chemin"</s>
CREATE TABLE table_10413597_5 (setting VARCHAR, no_in_series VARCHAR)
SELECT COUNT(setting) FROM table_10413597_5 WHERE no_in_series = 29
How many settings where there for episode 29 of the season?
<s>[INST]How many settings where there for episode 29 of the season? Context: CREATE TABLE table_10413597_5 (setting VARCHAR, no_in_series VARCHAR)[/INST]SELECT COUNT(setting) FROM table_10413597_5 WHERE no_in_series = 29</s>
CREATE TABLE table_name_38 (visitor VARCHAR, date VARCHAR)
SELECT visitor FROM table_name_38 WHERE date = "january 19, 2008"
Who was the visitor on January 19, 2008?
<s>[INST]Who was the visitor on January 19, 2008? Context: CREATE TABLE table_name_38 (visitor VARCHAR, date VARCHAR)[/INST]SELECT visitor FROM table_name_38 WHERE date = "january 19, 2008"</s>
CREATE TABLE table_name_8 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_8 WHERE venue = "brunswick street oval"
Which home team has the Brunswick Street Oval venue?
<s>[INST]Which home team has the Brunswick Street Oval venue? Context: CREATE TABLE table_name_8 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team FROM table_name_8 WHERE venue = "brunswick street oval"</s>
CREATE TABLE table_name_72 (altitude__meters_ VARCHAR, range VARCHAR, rank VARCHAR)
SELECT COUNT(altitude__meters_) FROM table_name_72 WHERE range = "mühlig-hofmann mountains" AND rank < 10
What is the Altitude (meters) associated with a rank smaller than 10, and the range Mühlig-Hofmann Mountains?
<s>[INST]What is the Altitude (meters) associated with a rank smaller than 10, and the range Mühlig-Hofmann Mountains? Context: CREATE TABLE table_name_72 (altitude__meters_ VARCHAR, range VARCHAR, rank VARCHAR)[/INST]SELECT COUNT(altitude__meters_) FROM table_name_72 WHERE range = "mühlig-hofmann mountains" AND rank <...
CREATE TABLE table_name_5 (report VARCHAR, race VARCHAR)
SELECT report FROM table_name_5 WHERE race = "belgian grand prix"
What was the report in the Belgian Grand Prix?
<s>[INST]What was the report in the Belgian Grand Prix? Context: CREATE TABLE table_name_5 (report VARCHAR, race VARCHAR)[/INST]SELECT report FROM table_name_5 WHERE race = "belgian grand prix"</s>
CREATE TABLE table_name_52 (date VARCHAR, tournament VARCHAR)
SELECT date FROM table_name_52 WHERE tournament = "joué-lès-tours"
what is the date for the tournament joué-lès-tours?
<s>[INST]what is the date for the tournament joué-lès-tours? Context: CREATE TABLE table_name_52 (date VARCHAR, tournament VARCHAR)[/INST]SELECT date FROM table_name_52 WHERE tournament = "joué-lès-tours"</s>
CREATE TABLE table_name_95 (date VARCHAR, home VARCHAR)
SELECT date FROM table_name_95 WHERE home = "dallas"
Home of dallas happened on what date?
<s>[INST]Home of dallas happened on what date? Context: CREATE TABLE table_name_95 (date VARCHAR, home VARCHAR)[/INST]SELECT date FROM table_name_95 WHERE home = "dallas"</s>
CREATE TABLE table_name_94 (laps VARCHAR, team VARCHAR)
SELECT COUNT(laps) FROM table_name_94 WHERE team = "wps racing"
Can you tell me the total number of Laps that has the Team of wps racing?
<s>[INST]Can you tell me the total number of Laps that has the Team of wps racing? Context: CREATE TABLE table_name_94 (laps VARCHAR, team VARCHAR)[/INST]SELECT COUNT(laps) FROM table_name_94 WHERE team = "wps racing"</s>
CREATE TABLE table_name_30 (crowd INTEGER, ground VARCHAR, home_team VARCHAR)
SELECT MAX(crowd) FROM table_name_30 WHERE ground = "telstra dome" AND home_team = "western bulldogs"
What was the largest attendance at the Telstra Dome, when the home team was the Western Bulldogs?
<s>[INST]What was the largest attendance at the Telstra Dome, when the home team was the Western Bulldogs? Context: CREATE TABLE table_name_30 (crowd INTEGER, ground VARCHAR, home_team VARCHAR)[/INST]SELECT MAX(crowd) FROM table_name_30 WHERE ground = "telstra dome" AND home_team = "western bulldogs"</s>
CREATE TABLE table_name_75 (goals_conceded VARCHAR, goals_scored VARCHAR, points VARCHAR, lost VARCHAR)
SELECT COUNT(goals_conceded) FROM table_name_75 WHERE points = 32 AND lost > 2 AND goals_scored > 22
How many goals were conceded by teams with 32 points, more than 2 losses and more than 22 goals scored?
<s>[INST]How many goals were conceded by teams with 32 points, more than 2 losses and more than 22 goals scored? Context: CREATE TABLE table_name_75 (goals_conceded VARCHAR, goals_scored VARCHAR, points VARCHAR, lost VARCHAR)[/INST]SELECT COUNT(goals_conceded) FROM table_name_75 WHERE points = 32 AND lost > 2 AND goals...
CREATE TABLE table_name_89 (result VARCHAR, opponent VARCHAR)
SELECT result FROM table_name_89 WHERE opponent = "leeds united"
What is the result from the Leeds United opponent?
<s>[INST]What is the result from the Leeds United opponent? Context: CREATE TABLE table_name_89 (result VARCHAR, opponent VARCHAR)[/INST]SELECT result FROM table_name_89 WHERE opponent = "leeds united"</s>
CREATE TABLE table_name_19 (Id VARCHAR)
SELECT MAX(2003) FROM table_name_19 WHERE 2011 < 107 AND 1995 < 17
What is the highest 2003 value with a 2011 less than 107 and a 1995 value less than 17?
<s>[INST]What is the highest 2003 value with a 2011 less than 107 and a 1995 value less than 17? Context: CREATE TABLE table_name_19 (Id VARCHAR)[/INST]SELECT MAX(2003) FROM table_name_19 WHERE 2011 < 107 AND 1995 < 17</s>
CREATE TABLE table_name_3 (long INTEGER, loss VARCHAR, avg_g VARCHAR)
SELECT MAX(long) FROM table_name_3 WHERE loss < 7 AND avg_g < 25.1
What was the highest long with less than 7 losses and an Avg/G smaller than 25.1?
<s>[INST]What was the highest long with less than 7 losses and an Avg/G smaller than 25.1? Context: CREATE TABLE table_name_3 (long INTEGER, loss VARCHAR, avg_g VARCHAR)[/INST]SELECT MAX(long) FROM table_name_3 WHERE loss < 7 AND avg_g < 25.1</s>
CREATE TABLE table_name_91 (race VARCHAR, track VARCHAR)
SELECT race FROM table_name_91 WHERE track = "iowa speedway"
What race happened at Iowa Speedway?
<s>[INST]What race happened at Iowa Speedway? Context: CREATE TABLE table_name_91 (race VARCHAR, track VARCHAR)[/INST]SELECT race FROM table_name_91 WHERE track = "iowa speedway"</s>
CREATE TABLE table_name_38 (regular_season VARCHAR, year VARCHAR)
SELECT regular_season FROM table_name_38 WHERE year = "2012"
What was the regular season for 2012?
<s>[INST]What was the regular season for 2012? Context: CREATE TABLE table_name_38 (regular_season VARCHAR, year VARCHAR)[/INST]SELECT regular_season FROM table_name_38 WHERE year = "2012"</s>
CREATE TABLE table_21501511_1 (week__number VARCHAR, theme VARCHAR)
SELECT week__number FROM table_21501511_1 WHERE theme = "Disco"
What week was themed disco?
<s>[INST]What week was themed disco? Context: CREATE TABLE table_21501511_1 (week__number VARCHAR, theme VARCHAR)[/INST]SELECT week__number FROM table_21501511_1 WHERE theme = "Disco"</s>
CREATE TABLE table_name_92 (type VARCHAR, appliances VARCHAR, location VARCHAR)
SELECT type FROM table_name_92 WHERE appliances = "1 wrl" AND location = "linton"
What is the type of the station with a 1 wrl appliance in Linton?
<s>[INST]What is the type of the station with a 1 wrl appliance in Linton? Context: CREATE TABLE table_name_92 (type VARCHAR, appliances VARCHAR, location VARCHAR)[/INST]SELECT type FROM table_name_92 WHERE appliances = "1 wrl" AND location = "linton"</s>
CREATE TABLE table_name_14 (result VARCHAR, nominee VARCHAR)
SELECT result FROM table_name_14 WHERE nominee = "jason pennycooke"
Did Jason Pennycooke win the award he was nominated for?
<s>[INST]Did Jason Pennycooke win the award he was nominated for? Context: CREATE TABLE table_name_14 (result VARCHAR, nominee VARCHAR)[/INST]SELECT result FROM table_name_14 WHERE nominee = "jason pennycooke"</s>
CREATE TABLE table_10527215_3 (fastest_lap VARCHAR, winning_driver VARCHAR, pole_position VARCHAR)
SELECT fastest_lap FROM table_10527215_3 WHERE winning_driver = "Johnny Rutherford" AND pole_position = "Al Unser"
What was Johnny Rutherford's fastest lap while Al Unser was the pole position?
<s>[INST]What was Johnny Rutherford's fastest lap while Al Unser was the pole position? Context: CREATE TABLE table_10527215_3 (fastest_lap VARCHAR, winning_driver VARCHAR, pole_position VARCHAR)[/INST]SELECT fastest_lap FROM table_10527215_3 WHERE winning_driver = "Johnny Rutherford" AND pole_position = "Al Unser"</s>
CREATE TABLE table_name_27 (erp__analog__digital_ VARCHAR, region_served VARCHAR)
SELECT erp__analog__digital_ FROM table_name_27 WHERE region_served = "rockhampton"
What is the ERP for the Rockhampton region?
<s>[INST]What is the ERP for the Rockhampton region? Context: CREATE TABLE table_name_27 (erp__analog__digital_ VARCHAR, region_served VARCHAR)[/INST]SELECT erp__analog__digital_ FROM table_name_27 WHERE region_served = "rockhampton"</s>
CREATE TABLE table_name_82 (tournament VARCHAR, outcome VARCHAR, surface VARCHAR)
SELECT tournament FROM table_name_82 WHERE outcome = "runner-up" AND surface = "clay"
What tournament did Thomaz Bellucci become runner-up on a clay surface?
<s>[INST]What tournament did Thomaz Bellucci become runner-up on a clay surface? Context: CREATE TABLE table_name_82 (tournament VARCHAR, outcome VARCHAR, surface VARCHAR)[/INST]SELECT tournament FROM table_name_82 WHERE outcome = "runner-up" AND surface = "clay"</s>
CREATE TABLE table_20065425_1 (state VARCHAR, termination_of_mission VARCHAR)
SELECT state FROM table_20065425_1 WHERE termination_of_mission = "November 29, 1973"
What state does the representative whose mission was terminated on November 29, 1973 represent?
<s>[INST]What state does the representative whose mission was terminated on November 29, 1973 represent? Context: CREATE TABLE table_20065425_1 (state VARCHAR, termination_of_mission VARCHAR)[/INST]SELECT state FROM table_20065425_1 WHERE termination_of_mission = "November 29, 1973"</s>
CREATE TABLE table_24463470_1 (setting VARCHAR, difficulty VARCHAR)
SELECT setting FROM table_24463470_1 WHERE difficulty = "Hard"
What is the setting for the hard difficulty?
<s>[INST]What is the setting for the hard difficulty? Context: CREATE TABLE table_24463470_1 (setting VARCHAR, difficulty VARCHAR)[/INST]SELECT setting FROM table_24463470_1 WHERE difficulty = "Hard"</s>
CREATE TABLE table_name_29 (nation VARCHAR, silver VARCHAR, total VARCHAR, bronze VARCHAR)
SELECT nation FROM table_name_29 WHERE total > 3 AND bronze > 5 AND silver < 4
What nation has a total more than 3, with more than 5 for bronze, and less than 4 for the silver?
<s>[INST]What nation has a total more than 3, with more than 5 for bronze, and less than 4 for the silver? Context: CREATE TABLE table_name_29 (nation VARCHAR, silver VARCHAR, total VARCHAR, bronze VARCHAR)[/INST]SELECT nation FROM table_name_29 WHERE total > 3 AND bronze > 5 AND silver < 4</s>
CREATE TABLE table_name_8 (money___ INTEGER, to_par VARCHAR, score VARCHAR)
SELECT AVG(money___) AS £__ FROM table_name_8 WHERE to_par = "+8" AND score = 73 - 72 - 72 - 71 = 288
What is the average money (£) that has +8 as the to par, with 73-72-72-71=288 as the score?
<s>[INST]What is the average money (£) that has +8 as the to par, with 73-72-72-71=288 as the score? Context: CREATE TABLE table_name_8 (money___ INTEGER, to_par VARCHAR, score VARCHAR)[/INST]SELECT AVG(money___) AS £__ FROM table_name_8 WHERE to_par = "+8" AND score = 73 - 72 - 72 - 71 = 288</s>
CREATE TABLE table_21091982_3 (regular_season_winner VARCHAR, conference VARCHAR)
SELECT regular_season_winner FROM table_21091982_3 WHERE conference = "Ivy League"
Who is the regular season winner for the Ivy League conference?
<s>[INST]Who is the regular season winner for the Ivy League conference? Context: CREATE TABLE table_21091982_3 (regular_season_winner VARCHAR, conference VARCHAR)[/INST]SELECT regular_season_winner FROM table_21091982_3 WHERE conference = "Ivy League"</s>
CREATE TABLE table_name_72 (cuts_made INTEGER, top_10 INTEGER)
SELECT SUM(cuts_made) FROM table_name_72 WHERE top_10 < 2
What are the Cuts made with a Top-10 smaller than 2?
<s>[INST]What are the Cuts made with a Top-10 smaller than 2? Context: CREATE TABLE table_name_72 (cuts_made INTEGER, top_10 INTEGER)[/INST]SELECT SUM(cuts_made) FROM table_name_72 WHERE top_10 < 2</s>
CREATE TABLE table_name_76 (performer_4 VARCHAR, performer_1 VARCHAR, date VARCHAR)
SELECT performer_4 FROM table_name_76 WHERE performer_1 = "greg proops" AND date = "25 august 1995"
Performer 1 of greg proops, and a Date of 25 august 1995 is what performer 4?
<s>[INST]Performer 1 of greg proops, and a Date of 25 august 1995 is what performer 4? Context: CREATE TABLE table_name_76 (performer_4 VARCHAR, performer_1 VARCHAR, date VARCHAR)[/INST]SELECT performer_4 FROM table_name_76 WHERE performer_1 = "greg proops" AND date = "25 august 1995"</s>
CREATE TABLE table_name_71 (country VARCHAR, icao VARCHAR)
SELECT country FROM table_name_71 WHERE icao = "zgha"
Tell me the country with ICAO of zgha
<s>[INST]Tell me the country with ICAO of zgha Context: CREATE TABLE table_name_71 (country VARCHAR, icao VARCHAR)[/INST]SELECT country FROM table_name_71 WHERE icao = "zgha"</s>
CREATE TABLE table_24915874_1 (horse VARCHAR, jockey VARCHAR)
SELECT horse FROM table_24915874_1 WHERE jockey = "Peter Wells"
Who was the horse when the jockey was Peter Wells?
<s>[INST]Who was the horse when the jockey was Peter Wells? Context: CREATE TABLE table_24915874_1 (horse VARCHAR, jockey VARCHAR)[/INST]SELECT horse FROM table_24915874_1 WHERE jockey = "Peter Wells"</s>
CREATE TABLE table_name_22 (surface VARCHAR, tournament VARCHAR)
SELECT surface FROM table_name_22 WHERE tournament = "manta, ecuador"
What is the surface for the tournament of manta, ecuador?
<s>[INST]What is the surface for the tournament of manta, ecuador? Context: CREATE TABLE table_name_22 (surface VARCHAR, tournament VARCHAR)[/INST]SELECT surface FROM table_name_22 WHERE tournament = "manta, ecuador"</s>
CREATE TABLE table_name_17 (modern_equivalent VARCHAR, hanja VARCHAR)
SELECT modern_equivalent FROM table_name_17 WHERE hanja = "良州"
What is the modern equivalent of 良州 in Hanja?
<s>[INST]What is the modern equivalent of 良州 in Hanja? Context: CREATE TABLE table_name_17 (modern_equivalent VARCHAR, hanja VARCHAR)[/INST]SELECT modern_equivalent FROM table_name_17 WHERE hanja = "良州"</s>
CREATE TABLE CHARACTERISTICS (characteristic_id VARCHAR); CREATE TABLE products (product_id VARCHAR, product_name VARCHAR); CREATE TABLE product_characteristics (product_id VARCHAR, characteristic_id VARCHAR)
SELECT COUNT(*) FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id = t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id = t3.characteristic_id WHERE t1.product_name = "laurel"
How many characteristics does the product named "laurel" have?
<s>[INST]How many characteristics does the product named "laurel" have? Context: CREATE TABLE CHARACTERISTICS (characteristic_id VARCHAR); CREATE TABLE products (product_id VARCHAR, product_name VARCHAR); CREATE TABLE product_characteristics (product_id VARCHAR, characteristic_id VARCHAR)[/INST]SELECT COUNT(*) FROM pro...
CREATE TABLE table_name_95 (year INTEGER, margin VARCHAR)
SELECT AVG(year) FROM table_name_95 WHERE margin = 46
Name the average year for 46 margin
<s>[INST]Name the average year for 46 margin Context: CREATE TABLE table_name_95 (year INTEGER, margin VARCHAR)[/INST]SELECT AVG(year) FROM table_name_95 WHERE margin = 46</s>
CREATE TABLE table_name_51 (opponents_in_the_final VARCHAR, date VARCHAR)
SELECT opponents_in_the_final FROM table_name_51 WHERE date = "june 10, 1996"
Which Opponents in the final have a Date of june 10, 1996?
<s>[INST]Which Opponents in the final have a Date of june 10, 1996? Context: CREATE TABLE table_name_51 (opponents_in_the_final VARCHAR, date VARCHAR)[/INST]SELECT opponents_in_the_final FROM table_name_51 WHERE date = "june 10, 1996"</s>
CREATE TABLE table_name_19 (engine VARCHAR, chassis VARCHAR)
SELECT engine FROM table_name_19 WHERE chassis = "cooper t43"
What engine was for the vehicle with a cooper t43 chassis?
<s>[INST]What engine was for the vehicle with a cooper t43 chassis? Context: CREATE TABLE table_name_19 (engine VARCHAR, chassis VARCHAR)[/INST]SELECT engine FROM table_name_19 WHERE chassis = "cooper t43"</s>
CREATE TABLE STUDENT (Fname VARCHAR, LName VARCHAR, StuID VARCHAR, age VARCHAR); CREATE TABLE VOTING_RECORD (VICE_President_VOTE VARCHAR)
SELECT DISTINCT T1.Fname, T1.LName FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID = T2.VICE_President_VOTE WHERE T1.age = 18
Find the first and last name of all the students of age 18 who have vice president votes.
<s>[INST]Find the first and last name of all the students of age 18 who have vice president votes. Context: CREATE TABLE STUDENT (Fname VARCHAR, LName VARCHAR, StuID VARCHAR, age VARCHAR); CREATE TABLE VOTING_RECORD (VICE_President_VOTE VARCHAR)[/INST]SELECT DISTINCT T1.Fname, T1.LName FROM STUDENT AS T1 JOIN VOTING_RE...
CREATE TABLE table_name_87 (date VARCHAR, score VARCHAR)
SELECT date FROM table_name_87 WHERE score = "6–3, 6–2"
Tell me the date for 6–3, 6–2
<s>[INST]Tell me the date for 6–3, 6–2 Context: CREATE TABLE table_name_87 (date VARCHAR, score VARCHAR)[/INST]SELECT date FROM table_name_87 WHERE score = "6–3, 6–2"</s>
CREATE TABLE table_name_84 (country VARCHAR, edition VARCHAR)
SELECT country FROM table_name_84 WHERE edition = "20th"
What was the nationality of the winner for the 20th Edition?
<s>[INST]What was the nationality of the winner for the 20th Edition? Context: CREATE TABLE table_name_84 (country VARCHAR, edition VARCHAR)[/INST]SELECT country FROM table_name_84 WHERE edition = "20th"</s>
CREATE TABLE table_name_82 (tyre VARCHAR, fastest_lap VARCHAR, circuit VARCHAR)
SELECT tyre FROM table_name_82 WHERE fastest_lap = "jim clark" AND circuit = "prince george"
What is the tyre for the circuit of Prince George, which had Jim Clark as the fastest lap?
<s>[INST]What is the tyre for the circuit of Prince George, which had Jim Clark as the fastest lap? Context: CREATE TABLE table_name_82 (tyre VARCHAR, fastest_lap VARCHAR, circuit VARCHAR)[/INST]SELECT tyre FROM table_name_82 WHERE fastest_lap = "jim clark" AND circuit = "prince george"</s>
CREATE TABLE table_name_13 (tournament VARCHAR, date VARCHAR, score_in_the_final VARCHAR)
SELECT tournament FROM table_name_13 WHERE date = 1993 AND score_in_the_final = "6–2, 2–6, 7–5"
Which Tournament is in 1993 with a Score in the final of 6–2, 2–6, 7–5?
<s>[INST]Which Tournament is in 1993 with a Score in the final of 6–2, 2–6, 7–5? Context: CREATE TABLE table_name_13 (tournament VARCHAR, date VARCHAR, score_in_the_final VARCHAR)[/INST]SELECT tournament FROM table_name_13 WHERE date = 1993 AND score_in_the_final = "6–2, 2–6, 7–5"</s>
CREATE TABLE table_name_35 (program VARCHAR, duration__years_ VARCHAR)
SELECT program FROM table_name_35 WHERE duration__years_ = 3.5
Which program has 3.5 years?
<s>[INST]Which program has 3.5 years? Context: CREATE TABLE table_name_35 (program VARCHAR, duration__years_ VARCHAR)[/INST]SELECT program FROM table_name_35 WHERE duration__years_ = 3.5</s>
CREATE TABLE table_name_14 (result VARCHAR, date VARCHAR, opponent VARCHAR)
SELECT result FROM table_name_14 WHERE date = 2009 AND opponent = "gerardi rinaldi"
What was the result for the opponent being gerardi rinaldi in 2009?
<s>[INST]What was the result for the opponent being gerardi rinaldi in 2009? Context: CREATE TABLE table_name_14 (result VARCHAR, date VARCHAR, opponent VARCHAR)[/INST]SELECT result FROM table_name_14 WHERE date = 2009 AND opponent = "gerardi rinaldi"</s>
CREATE TABLE table_name_57 (award VARCHAR, category VARCHAR)
SELECT award FROM table_name_57 WHERE category = "outstanding revival of a musical"
Which Award is the winner for Outstanding Revival of a Musical given?
<s>[INST]Which Award is the winner for Outstanding Revival of a Musical given? Context: CREATE TABLE table_name_57 (award VARCHAR, category VARCHAR)[/INST]SELECT award FROM table_name_57 WHERE category = "outstanding revival of a musical"</s>
CREATE TABLE table_name_26 (game INTEGER, date VARCHAR, opponent VARCHAR, record VARCHAR)
SELECT MAX(game) FROM table_name_26 WHERE opponent = "oakland seals" AND record = "27-30-6" AND date > 7
What is the highest game with Oakland Seals opponent and a record of 27-30-6 on a date more than 7?
<s>[INST]What is the highest game with Oakland Seals opponent and a record of 27-30-6 on a date more than 7? Context: CREATE TABLE table_name_26 (game INTEGER, date VARCHAR, opponent VARCHAR, record VARCHAR)[/INST]SELECT MAX(game) FROM table_name_26 WHERE opponent = "oakland seals" AND record = "27-30-6" AND date > 7</...
CREATE TABLE table_24126518_2 (final_score VARCHAR, location VARCHAR, date VARCHAR)
SELECT final_score FROM table_24126518_2 WHERE location = "Exhibition Stadium" AND date = "September 10"
Name the final score for exhibition stadium for september 10
<s>[INST]Name the final score for exhibition stadium for september 10 Context: CREATE TABLE table_24126518_2 (final_score VARCHAR, location VARCHAR, date VARCHAR)[/INST]SELECT final_score FROM table_24126518_2 WHERE location = "Exhibition Stadium" AND date = "September 10"</s>
CREATE TABLE table_12164707_1 (year VARCHAR, mens_singles VARCHAR)
SELECT COUNT(year) FROM table_12164707_1 WHERE mens_singles = "Peter Mikkelsen"
How many years did Peter Mikkelsen win the Mens Singles?
<s>[INST]How many years did Peter Mikkelsen win the Mens Singles? Context: CREATE TABLE table_12164707_1 (year VARCHAR, mens_singles VARCHAR)[/INST]SELECT COUNT(year) FROM table_12164707_1 WHERE mens_singles = "Peter Mikkelsen"</s>
CREATE TABLE table_name_74 (nationality VARCHAR, player VARCHAR)
SELECT nationality FROM table_name_74 WHERE player = "tom boswell"
What is the nationality of the player Tom Boswell?
<s>[INST]What is the nationality of the player Tom Boswell? Context: CREATE TABLE table_name_74 (nationality VARCHAR, player VARCHAR)[/INST]SELECT nationality FROM table_name_74 WHERE player = "tom boswell"</s>
CREATE TABLE table_name_62 (tournament VARCHAR, semi_finalists VARCHAR)
SELECT tournament FROM table_name_62 WHERE semi_finalists = "martina hingis joannette kruger"
Which Tournament has a Semi finalists of martina hingis joannette kruger?
<s>[INST]Which Tournament has a Semi finalists of martina hingis joannette kruger? Context: CREATE TABLE table_name_62 (tournament VARCHAR, semi_finalists VARCHAR)[/INST]SELECT tournament FROM table_name_62 WHERE semi_finalists = "martina hingis joannette kruger"</s>
CREATE TABLE table_name_73 (against INTEGER, lost VARCHAR, points VARCHAR)
SELECT MAX(against) FROM table_name_73 WHERE lost = 3 AND points < 30
What is the highest against when the lost is 3 with less than 30 points?
<s>[INST]What is the highest against when the lost is 3 with less than 30 points? Context: CREATE TABLE table_name_73 (against INTEGER, lost VARCHAR, points VARCHAR)[/INST]SELECT MAX(against) FROM table_name_73 WHERE lost = 3 AND points < 30</s>
CREATE TABLE table_name_11 (launch_date VARCHAR, space_agency VARCHAR, name VARCHAR)
SELECT launch_date FROM table_name_11 WHERE space_agency = "nasa" AND name = "wide field infrared explorer (wire)"
When did NASA launch the wide field infrared explorer (wire)?
<s>[INST]When did NASA launch the wide field infrared explorer (wire)? Context: CREATE TABLE table_name_11 (launch_date VARCHAR, space_agency VARCHAR, name VARCHAR)[/INST]SELECT launch_date FROM table_name_11 WHERE space_agency = "nasa" AND name = "wide field infrared explorer (wire)"</s>
CREATE TABLE table_name_2 (north_marquesan VARCHAR, takuu VARCHAR)
SELECT north_marquesan FROM table_name_2 WHERE takuu = "/ɾani/"
What kind of North Marquesan has a Takuu of /ɾani/?
<s>[INST]What kind of North Marquesan has a Takuu of /ɾani/? Context: CREATE TABLE table_name_2 (north_marquesan VARCHAR, takuu VARCHAR)[/INST]SELECT north_marquesan FROM table_name_2 WHERE takuu = "/ɾani/"</s>
CREATE TABLE table_name_65 (founded VARCHAR, school VARCHAR)
SELECT founded FROM table_name_65 WHERE school = "airds high school"
What is the year Airds High School was founded?
<s>[INST]What is the year Airds High School was founded? Context: CREATE TABLE table_name_65 (founded VARCHAR, school VARCHAR)[/INST]SELECT founded FROM table_name_65 WHERE school = "airds high school"</s>
CREATE TABLE table_name_60 (winner VARCHAR, general_classification VARCHAR, stage VARCHAR)
SELECT winner FROM table_name_60 WHERE general_classification = "danilo di luca" AND stage = "9"
Who was the winner of Stage 9 when then general classification was Danilo Di Luca?
<s>[INST]Who was the winner of Stage 9 when then general classification was Danilo Di Luca? Context: CREATE TABLE table_name_60 (winner VARCHAR, general_classification VARCHAR, stage VARCHAR)[/INST]SELECT winner FROM table_name_60 WHERE general_classification = "danilo di luca" AND stage = "9"</s>
CREATE TABLE table_name_81 (event VARCHAR, competition VARCHAR)
SELECT event FROM table_name_81 WHERE competition = "world cross country championships"
Which event was part of the World Cross Country championships?
<s>[INST]Which event was part of the World Cross Country championships? Context: CREATE TABLE table_name_81 (event VARCHAR, competition VARCHAR)[/INST]SELECT event FROM table_name_81 WHERE competition = "world cross country championships"</s>
CREATE TABLE ref_product_categories (unit_of_measure VARCHAR, product_category_code VARCHAR)
SELECT unit_of_measure FROM ref_product_categories WHERE product_category_code = "Herbs"
What is the unit of measuerment of the product category code "Herbs"?
<s>[INST]What is the unit of measuerment of the product category code "Herbs"? Context: CREATE TABLE ref_product_categories (unit_of_measure VARCHAR, product_category_code VARCHAR)[/INST]SELECT unit_of_measure FROM ref_product_categories WHERE product_category_code = "Herbs"</s>
CREATE TABLE table_name_68 (engine_s_ VARCHAR, tyres VARCHAR, year VARCHAR)
SELECT engine_s_ FROM table_name_68 WHERE tyres = "f" AND year = 1971
What is the Engine(s) that has f Tyres in 1971?
<s>[INST]What is the Engine(s) that has f Tyres in 1971? Context: CREATE TABLE table_name_68 (engine_s_ VARCHAR, tyres VARCHAR, year VARCHAR)[/INST]SELECT engine_s_ FROM table_name_68 WHERE tyres = "f" AND year = 1971</s>
CREATE TABLE table_27293285_2 (lost VARCHAR, bonus_points VARCHAR, won VARCHAR)
SELECT lost FROM table_27293285_2 WHERE bonus_points = "9" AND won = "11"
How many losses did the club who had 9 bonus points and 11 wins have?
<s>[INST] How many losses did the club who had 9 bonus points and 11 wins have? Context: CREATE TABLE table_27293285_2 (lost VARCHAR, bonus_points VARCHAR, won VARCHAR)[/INST]SELECT lost FROM table_27293285_2 WHERE bonus_points = "9" AND won = "11"</s>
CREATE TABLE table_13618358_1 (district VARCHAR, income_poverty_f VARCHAR)
SELECT COUNT(district) FROM table_13618358_1 WHERE income_poverty_f = "27.7"
How many districts had an depravity level of 27.7
<s>[INST]How many districts had an depravity level of 27.7 Context: CREATE TABLE table_13618358_1 (district VARCHAR, income_poverty_f VARCHAR)[/INST]SELECT COUNT(district) FROM table_13618358_1 WHERE income_poverty_f = "27.7"</s>
CREATE TABLE table_name_86 (first_aired VARCHAR, money_requested__£_ INTEGER)
SELECT first_aired FROM table_name_86 WHERE money_requested__£_ > 85 OFFSET 000
Name the first aired with money requested more than 85,000
<s>[INST]Name the first aired with money requested more than 85,000 Context: CREATE TABLE table_name_86 (first_aired VARCHAR, money_requested__£_ INTEGER)[/INST]SELECT first_aired FROM table_name_86 WHERE money_requested__£_ > 85 OFFSET 000</s>
CREATE TABLE table_name_99 (attendance INTEGER, opponent VARCHAR, record VARCHAR)
SELECT MAX(attendance) FROM table_name_99 WHERE opponent = "indians" AND record = "13-4"
What was the highest attendance when the opponent was the Indians and the record was 13-4?
<s>[INST]What was the highest attendance when the opponent was the Indians and the record was 13-4? Context: CREATE TABLE table_name_99 (attendance INTEGER, opponent VARCHAR, record VARCHAR)[/INST]SELECT MAX(attendance) FROM table_name_99 WHERE opponent = "indians" AND record = "13-4"</s>