context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_50 (d_46 VARCHAR, d_44 VARCHAR)
SELECT d_46 FROM table_name_50 WHERE d_44 = "← majority"
Name the D46 when it has D 44 of ← majority
<s>[INST]Name the D46 when it has D 44 of ← majority Context: CREATE TABLE table_name_50 (d_46 VARCHAR, d_44 VARCHAR)[/INST]SELECT d_46 FROM table_name_50 WHERE d_44 = "← majority"</s>
CREATE TABLE table_name_60 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_60 WHERE date = "february 21, 2008"
What is the record of the game on February 21, 2008?
<s>[INST]What is the record of the game on February 21, 2008? Context: CREATE TABLE table_name_60 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_60 WHERE date = "february 21, 2008"</s>
CREATE TABLE table_name_12 (themed_area VARCHAR, name VARCHAR)
SELECT themed_area FROM table_name_12 WHERE name = "troublesome trucks runaway coaster"
Which Themed Area has a Name of troublesome trucks runaway coaster?
<s>[INST]Which Themed Area has a Name of troublesome trucks runaway coaster? Context: CREATE TABLE table_name_12 (themed_area VARCHAR, name VARCHAR)[/INST]SELECT themed_area FROM table_name_12 WHERE name = "troublesome trucks runaway coaster"</s>
CREATE TABLE table_name_61 (silver INTEGER, gold VARCHAR, total VARCHAR)
SELECT MAX(silver) FROM table_name_61 WHERE gold = 8 AND total > 31
What is the highest Silver, when Gold is "8", and when Total is greater than 31?
<s>[INST]What is the highest Silver, when Gold is "8", and when Total is greater than 31? Context: CREATE TABLE table_name_61 (silver INTEGER, gold VARCHAR, total VARCHAR)[/INST]SELECT MAX(silver) FROM table_name_61 WHERE gold = 8 AND total > 31</s>
CREATE TABLE table_1342451_38 (first_elected INTEGER, incumbent VARCHAR)
SELECT MAX(first_elected) FROM table_1342451_38 WHERE incumbent = "Frederick H. Dominick"
What is the last year incumbent frederick h. dominick was first elected?
<s>[INST]What is the last year incumbent frederick h. dominick was first elected? Context: CREATE TABLE table_1342451_38 (first_elected INTEGER, incumbent VARCHAR)[/INST]SELECT MAX(first_elected) FROM table_1342451_38 WHERE incumbent = "Frederick H. Dominick"</s>
CREATE TABLE table_name_52 (money___$__ VARCHAR, player VARCHAR)
SELECT money___$__ FROM table_name_52 WHERE player = "sam snead"
What's the money that Sam Snead won?
<s>[INST]What's the money that Sam Snead won? Context: CREATE TABLE table_name_52 (money___$__ VARCHAR, player VARCHAR)[/INST]SELECT money___$__ FROM table_name_52 WHERE player = "sam snead"</s>
CREATE TABLE table_10716893_3 (lap_by_lap VARCHAR, year VARCHAR)
SELECT lap_by_lap FROM table_10716893_3 WHERE year = 2011
Who does the lap-by-lap in 2011?
<s>[INST]Who does the lap-by-lap in 2011? Context: CREATE TABLE table_10716893_3 (lap_by_lap VARCHAR, year VARCHAR)[/INST]SELECT lap_by_lap FROM table_10716893_3 WHERE year = 2011</s>
CREATE TABLE table_name_30 (player VARCHAR, round VARCHAR)
SELECT player FROM table_name_30 WHERE round = 5
What player was drafted in Round 5?
<s>[INST]What player was drafted in Round 5? Context: CREATE TABLE table_name_30 (player VARCHAR, round VARCHAR)[/INST]SELECT player FROM table_name_30 WHERE round = 5</s>
CREATE TABLE table_name_3 (laps INTEGER, grid VARCHAR, time_retired VARCHAR)
SELECT MAX(laps) FROM table_name_3 WHERE grid < 4 AND time_retired = "+ 1 lap"
What is the high lap total that has a grid of less than 4 and a Time/Retired of + 1 lap?
<s>[INST]What is the high lap total that has a grid of less than 4 and a Time/Retired of + 1 lap? Context: CREATE TABLE table_name_3 (laps INTEGER, grid VARCHAR, time_retired VARCHAR)[/INST]SELECT MAX(laps) FROM table_name_3 WHERE grid < 4 AND time_retired = "+ 1 lap"</s>
CREATE TABLE table_2267465_1 (manufacturer VARCHAR, team VARCHAR)
SELECT manufacturer FROM table_2267465_1 WHERE team = "Race Hill Farm team"
Can you tell me the manufacturer behind Race Hill Farm Team?
<s>[INST]Can you tell me the manufacturer behind Race Hill Farm Team? Context: CREATE TABLE table_2267465_1 (manufacturer VARCHAR, team VARCHAR)[/INST]SELECT manufacturer FROM table_2267465_1 WHERE team = "Race Hill Farm team"</s>
CREATE TABLE table_name_82 (Id VARCHAR)
SELECT 2014 FROM table_name_82 WHERE 2012 = "garion weller"
Who held the same position in 2014 that Garion Weller held in 2014?
<s>[INST]Who held the same position in 2014 that Garion Weller held in 2014? Context: CREATE TABLE table_name_82 (Id VARCHAR)[/INST]SELECT 2014 FROM table_name_82 WHERE 2012 = "garion weller"</s>
CREATE TABLE table_name_79 (season VARCHAR, losses VARCHAR, team VARCHAR)
SELECT season FROM table_name_79 WHERE losses = "16" AND team = "hampshire"
Which season had 16 losses for the Hampshire team?
<s>[INST]Which season had 16 losses for the Hampshire team? Context: CREATE TABLE table_name_79 (season VARCHAR, losses VARCHAR, team VARCHAR)[/INST]SELECT season FROM table_name_79 WHERE losses = "16" AND team = "hampshire"</s>
CREATE TABLE table_name_59 (tie_no VARCHAR, away_team VARCHAR)
SELECT tie_no FROM table_name_59 WHERE away_team = "bolton wanderers"
Which tie number has Bolton Wanderers as away?
<s>[INST]Which tie number has Bolton Wanderers as away? Context: CREATE TABLE table_name_59 (tie_no VARCHAR, away_team VARCHAR)[/INST]SELECT tie_no FROM table_name_59 WHERE away_team = "bolton wanderers"</s>
CREATE TABLE table_name_42 (wins INTEGER, goal_difference VARCHAR, draws VARCHAR)
SELECT AVG(wins) FROM table_name_42 WHERE goal_difference > -24 AND draws > 7
Can you tell me the average Wins that has the Goal Difference larger than -24, and the Draws larger than 7?
<s>[INST]Can you tell me the average Wins that has the Goal Difference larger than -24, and the Draws larger than 7? Context: CREATE TABLE table_name_42 (wins INTEGER, goal_difference VARCHAR, draws VARCHAR)[/INST]SELECT AVG(wins) FROM table_name_42 WHERE goal_difference > -24 AND draws > 7</s>
CREATE TABLE table_23292220_3 (episode VARCHAR, daves_team VARCHAR)
SELECT COUNT(episode) FROM table_23292220_3 WHERE daves_team = "David Walliams and Louis Walsh"
In how many episodes was Dave's team made up of David Walliams and Louis Walsh?
<s>[INST]In how many episodes was Dave's team made up of David Walliams and Louis Walsh? Context: CREATE TABLE table_23292220_3 (episode VARCHAR, daves_team VARCHAR)[/INST]SELECT COUNT(episode) FROM table_23292220_3 WHERE daves_team = "David Walliams and Louis Walsh"</s>
CREATE TABLE table_name_64 (introduced VARCHAR, type VARCHAR)
SELECT introduced FROM table_name_64 WHERE type = "electro-diesel locomotive"
What is the year of introduction for the Electro-Diesel locomotive?
<s>[INST]What is the year of introduction for the Electro-Diesel locomotive? Context: CREATE TABLE table_name_64 (introduced VARCHAR, type VARCHAR)[/INST]SELECT introduced FROM table_name_64 WHERE type = "electro-diesel locomotive"</s>
CREATE TABLE appointment (patient VARCHAR); CREATE TABLE patient (ssn VARCHAR)
SELECT name FROM appointment AS T1 JOIN patient AS T2 ON T1.patient = T2.ssn
What are names of patients who made an appointment?
<s>[INST]What are names of patients who made an appointment? Context: CREATE TABLE appointment (patient VARCHAR); CREATE TABLE patient (ssn VARCHAR)[/INST]SELECT name FROM appointment AS T1 JOIN patient AS T2 ON T1.patient = T2.ssn</s>
CREATE TABLE table_22779004_1 (conference VARCHAR, regular_season_winner VARCHAR)
SELECT conference FROM table_22779004_1 WHERE regular_season_winner = "Arizona State"
What was the conference when Arizona State won the regular season?
<s>[INST]What was the conference when Arizona State won the regular season? Context: CREATE TABLE table_22779004_1 (conference VARCHAR, regular_season_winner VARCHAR)[/INST]SELECT conference FROM table_22779004_1 WHERE regular_season_winner = "Arizona State"</s>
CREATE TABLE table_name_81 (version VARCHAR, downstream_rate VARCHAR)
SELECT version FROM table_name_81 WHERE downstream_rate = "20.0 mbit/s"
What's the version that has a 20.0 mbit/s downstream rate?
<s>[INST]What's the version that has a 20.0 mbit/s downstream rate? Context: CREATE TABLE table_name_81 (version VARCHAR, downstream_rate VARCHAR)[/INST]SELECT version FROM table_name_81 WHERE downstream_rate = "20.0 mbit/s"</s>
CREATE TABLE table_name_14 (score VARCHAR, december VARCHAR, record VARCHAR)
SELECT score FROM table_name_14 WHERE december > 8 AND record = "25-8-3"
What's the Score that's got a listing of December that larger than 8 and Record of 25-8-3?
<s>[INST]What's the Score that's got a listing of December that larger than 8 and Record of 25-8-3? Context: CREATE TABLE table_name_14 (score VARCHAR, december VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_name_14 WHERE december > 8 AND record = "25-8-3"</s>
CREATE TABLE table_name_42 (team VARCHAR, races VARCHAR, position VARCHAR)
SELECT team FROM table_name_42 WHERE races = "1" AND position = "1st"
Which teams had the 1st position and entered 1 race?
<s>[INST]Which teams had the 1st position and entered 1 race? Context: CREATE TABLE table_name_42 (team VARCHAR, races VARCHAR, position VARCHAR)[/INST]SELECT team FROM table_name_42 WHERE races = "1" AND position = "1st"</s>
CREATE TABLE table_name_39 (heat VARCHAR, name VARCHAR)
SELECT COUNT(heat) FROM table_name_39 WHERE name = "miguel molina"
How many Heats have a Name of miguel molina?
<s>[INST]How many Heats have a Name of miguel molina? Context: CREATE TABLE table_name_39 (heat VARCHAR, name VARCHAR)[/INST]SELECT COUNT(heat) FROM table_name_39 WHERE name = "miguel molina"</s>
CREATE TABLE table_29756040_1 (original_artist VARCHAR, order__number VARCHAR)
SELECT original_artist FROM table_29756040_1 WHERE order__number = "1"
Which artists have order # 1?
<s>[INST]Which artists have order # 1? Context: CREATE TABLE table_29756040_1 (original_artist VARCHAR, order__number VARCHAR)[/INST]SELECT original_artist FROM table_29756040_1 WHERE order__number = "1"</s>
CREATE TABLE table_name_16 (attendance VARCHAR, date VARCHAR, week VARCHAR)
SELECT COUNT(attendance) FROM table_name_16 WHERE date = "october 30, 1977" AND week > 7
How many attendances have October 30, 1977 as the date, with a week greater than 7?
<s>[INST]How many attendances have October 30, 1977 as the date, with a week greater than 7? Context: CREATE TABLE table_name_16 (attendance VARCHAR, date VARCHAR, week VARCHAR)[/INST]SELECT COUNT(attendance) FROM table_name_16 WHERE date = "october 30, 1977" AND week > 7</s>
CREATE TABLE table_1140103_6 (constructor VARCHAR, race_name VARCHAR)
SELECT COUNT(constructor) FROM table_1140103_6 WHERE race_name = "XVI BRDC International Trophy"
How many constructors are listed for the XVI BRDC international trophy race
<s>[INST]How many constructors are listed for the XVI BRDC international trophy race Context: CREATE TABLE table_1140103_6 (constructor VARCHAR, race_name VARCHAR)[/INST]SELECT COUNT(constructor) FROM table_1140103_6 WHERE race_name = "XVI BRDC International Trophy"</s>
CREATE TABLE table_name_37 (year INTEGER, fighter VARCHAR)
SELECT MIN(year) FROM table_name_37 WHERE fighter = "manny pacquiao"
When did Manny Pacquiao win his first championship?
<s>[INST]When did Manny Pacquiao win his first championship? Context: CREATE TABLE table_name_37 (year INTEGER, fighter VARCHAR)[/INST]SELECT MIN(year) FROM table_name_37 WHERE fighter = "manny pacquiao"</s>
CREATE TABLE table_name_95 (country VARCHAR, place VARCHAR, player VARCHAR)
SELECT country FROM table_name_95 WHERE place = "t9" AND player = "jiyai shin"
Which country placed t9 and had the player jiyai shin?
<s>[INST]Which country placed t9 and had the player jiyai shin? Context: CREATE TABLE table_name_95 (country VARCHAR, place VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_95 WHERE place = "t9" AND player = "jiyai shin"</s>
CREATE TABLE table_name_73 (category VARCHAR, nominee_s_ VARCHAR, year VARCHAR)
SELECT category FROM table_name_73 WHERE nominee_s_ = "john frank levey" AND year > 1995
What was the category of the award that John Frank Levey was nominated for after 1995?
<s>[INST]What was the category of the award that John Frank Levey was nominated for after 1995? Context: CREATE TABLE table_name_73 (category VARCHAR, nominee_s_ VARCHAR, year VARCHAR)[/INST]SELECT category FROM table_name_73 WHERE nominee_s_ = "john frank levey" AND year > 1995</s>
CREATE TABLE country (Code VARCHAR); CREATE TABLE countrylanguage (Language VARCHAR, CountryCode VARCHAR, IsOfficial VARCHAR)
SELECT COUNT(DISTINCT T2.Language) FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE IndepYear < 1930 AND T2.IsOfficial = "T"
What is the total number of unique official languages spoken in the countries that are founded before 1930?
<s>[INST]What is the total number of unique official languages spoken in the countries that are founded before 1930? Context: CREATE TABLE country (Code VARCHAR); CREATE TABLE countrylanguage (Language VARCHAR, CountryCode VARCHAR, IsOfficial VARCHAR)[/INST]SELECT COUNT(DISTINCT T2.Language) FROM country AS T1 JOIN cou...
CREATE TABLE table_name_88 (time_retired VARCHAR, grid VARCHAR)
SELECT time_retired FROM table_name_88 WHERE grid = 23
What is the time/retired for grid 23?
<s>[INST]What is the time/retired for grid 23? Context: CREATE TABLE table_name_88 (time_retired VARCHAR, grid VARCHAR)[/INST]SELECT time_retired FROM table_name_88 WHERE grid = 23</s>
CREATE TABLE table_28523_3 (gender VARCHAR, religious_affiliation VARCHAR, location VARCHAR)
SELECT gender FROM table_28523_3 WHERE religious_affiliation = "Roman Catholic" AND location = "AL4"
What is the gender of the Roman Catholic school is AL4?
<s>[INST]What is the gender of the Roman Catholic school is AL4? Context: CREATE TABLE table_28523_3 (gender VARCHAR, religious_affiliation VARCHAR, location VARCHAR)[/INST]SELECT gender FROM table_28523_3 WHERE religious_affiliation = "Roman Catholic" AND location = "AL4"</s>
CREATE TABLE table_name_1 (player VARCHAR, school_club_team VARCHAR, nationality VARCHAR, position VARCHAR)
SELECT player FROM table_name_1 WHERE nationality = "united states" AND position = "forward" AND school_club_team = "notre dame"
Which Player has a Nationality of united states, a Position of forward, and a School/Club Team of notre dame?
<s>[INST]Which Player has a Nationality of united states, a Position of forward, and a School/Club Team of notre dame? Context: CREATE TABLE table_name_1 (player VARCHAR, school_club_team VARCHAR, nationality VARCHAR, position VARCHAR)[/INST]SELECT player FROM table_name_1 WHERE nationality = "united states" AND positi...
CREATE TABLE table_2004733_2 (barangay VARCHAR, area__in_km_2__ VARCHAR)
SELECT barangay FROM table_2004733_2 WHERE area__in_km_2__ = "3.6787"
What's the name of the barangay whose area is 3.6787 km² ?
<s>[INST]What's the name of the barangay whose area is 3.6787 km² ? Context: CREATE TABLE table_2004733_2 (barangay VARCHAR, area__in_km_2__ VARCHAR)[/INST]SELECT barangay FROM table_2004733_2 WHERE area__in_km_2__ = "3.6787"</s>
CREATE TABLE table_name_90 (declination___j2000__ VARCHAR, ngc_number INTEGER)
SELECT declination___j2000__ FROM table_name_90 WHERE ngc_number > 3593
what is the declination (j2000) when the ngc number is higher than 3593?
<s>[INST]what is the declination (j2000) when the ngc number is higher than 3593? Context: CREATE TABLE table_name_90 (declination___j2000__ VARCHAR, ngc_number INTEGER)[/INST]SELECT declination___j2000__ FROM table_name_90 WHERE ngc_number > 3593</s>
CREATE TABLE table_name_92 (player VARCHAR, team VARCHAR)
SELECT player FROM table_name_92 WHERE team = "chicago bulls"
Who plays for the chicago bulls?
<s>[INST]Who plays for the chicago bulls? Context: CREATE TABLE table_name_92 (player VARCHAR, team VARCHAR)[/INST]SELECT player FROM table_name_92 WHERE team = "chicago bulls"</s>
CREATE TABLE table_2374338_2 (serbs VARCHAR, hungarians VARCHAR)
SELECT serbs FROM table_2374338_2 WHERE hungarians = "9.26%"
What is every value for Serbs if value for Hungarians is 9.26%?
<s>[INST]What is every value for Serbs if value for Hungarians is 9.26%? Context: CREATE TABLE table_2374338_2 (serbs VARCHAR, hungarians VARCHAR)[/INST]SELECT serbs FROM table_2374338_2 WHERE hungarians = "9.26%"</s>
CREATE TABLE table_name_92 (japanese VARCHAR, korean VARCHAR)
SELECT japanese FROM table_name_92 WHERE korean = "상나화수 / sanahwasa"
Which JAPANESE has a KOREAN of 상나화수 / sanahwasa?
<s>[INST]Which JAPANESE has a KOREAN of 상나화수 / sanahwasa? Context: CREATE TABLE table_name_92 (japanese VARCHAR, korean VARCHAR)[/INST]SELECT japanese FROM table_name_92 WHERE korean = "상나화수 / sanahwasa"</s>
CREATE TABLE table_14496232_2 (womens_doubles VARCHAR, tour VARCHAR)
SELECT womens_doubles FROM table_14496232_2 WHERE tour = "Malaysia Super Series"
Name the womens doubles when tour is malaysia super series
<s>[INST]Name the womens doubles when tour is malaysia super series Context: CREATE TABLE table_14496232_2 (womens_doubles VARCHAR, tour VARCHAR)[/INST]SELECT womens_doubles FROM table_14496232_2 WHERE tour = "Malaysia Super Series"</s>
CREATE TABLE employees (employee_id VARCHAR, first_name VARCHAR, last_name VARCHAR, job_id VARCHAR, salary INTEGER)
SELECT employee_id, first_name, last_name, job_id FROM employees WHERE salary > (SELECT MAX(salary) FROM employees WHERE job_id = 'PU_MAN')
display the employee number, name( first name and last name ) and job title for all employees whose salary is more than any salary of those employees whose job title is PU_MAN.
<s>[INST]display the employee number, name( first name and last name ) and job title for all employees whose salary is more than any salary of those employees whose job title is PU_MAN. Context: CREATE TABLE employees (employee_id VARCHAR, first_name VARCHAR, last_name VARCHAR, job_id VARCHAR, salary INTEGER)[/INST]SEL...
CREATE TABLE table_name_21 (metres VARCHAR, feet INTEGER)
SELECT metres FROM table_name_21 WHERE feet > 850
How many metres tall is the building that is larger than 850 feet tall?
<s>[INST]How many metres tall is the building that is larger than 850 feet tall? Context: CREATE TABLE table_name_21 (metres VARCHAR, feet INTEGER)[/INST]SELECT metres FROM table_name_21 WHERE feet > 850</s>
CREATE TABLE table_name_92 (points INTEGER, year INTEGER)
SELECT AVG(points) FROM table_name_92 WHERE year > 2001
Year larger than 2001 has what average points?
<s>[INST]Year larger than 2001 has what average points? Context: CREATE TABLE table_name_92 (points INTEGER, year INTEGER)[/INST]SELECT AVG(points) FROM table_name_92 WHERE year > 2001</s>
CREATE TABLE table_name_28 (ave__no INTEGER, name VARCHAR)
SELECT MIN(ave__no) FROM table_name_28 WHERE name = "livigno alps"
Which AVE-No has a Name of livigno alps?
<s>[INST]Which AVE-No has a Name of livigno alps? Context: CREATE TABLE table_name_28 (ave__no INTEGER, name VARCHAR)[/INST]SELECT MIN(ave__no) FROM table_name_28 WHERE name = "livigno alps"</s>
CREATE TABLE table_name_47 (Id VARCHAR)
SELECT 1811 FROM table_name_47 WHERE "1801" = "1801"
Name the 1811 for 1801 of 1801
<s>[INST]Name the 1811 for 1801 of 1801 Context: CREATE TABLE table_name_47 (Id VARCHAR)[/INST]SELECT 1811 FROM table_name_47 WHERE "1801" = "1801"</s>
CREATE TABLE table_name_97 (week INTEGER, attendance VARCHAR)
SELECT SUM(week) FROM table_name_97 WHERE attendance = "71,740"
Which Week has Attendance of 71,740?
<s>[INST]Which Week has Attendance of 71,740? Context: CREATE TABLE table_name_97 (week INTEGER, attendance VARCHAR)[/INST]SELECT SUM(week) FROM table_name_97 WHERE attendance = "71,740"</s>
CREATE TABLE table_name_5 (rider VARCHAR, manufacturer VARCHAR, grid VARCHAR)
SELECT rider FROM table_name_5 WHERE manufacturer = "ktm" AND grid = "1"
Who is the driver of the car manufactured by ktm, who started in grid 1.
<s>[INST]Who is the driver of the car manufactured by ktm, who started in grid 1. Context: CREATE TABLE table_name_5 (rider VARCHAR, manufacturer VARCHAR, grid VARCHAR)[/INST]SELECT rider FROM table_name_5 WHERE manufacturer = "ktm" AND grid = "1"</s>
CREATE TABLE table_name_35 (record VARCHAR, nationality VARCHAR)
SELECT record FROM table_name_35 WHERE nationality = "new zealand"
What is the Record that has a Nationality of new zealand?
<s>[INST]What is the Record that has a Nationality of new zealand? Context: CREATE TABLE table_name_35 (record VARCHAR, nationality VARCHAR)[/INST]SELECT record FROM table_name_35 WHERE nationality = "new zealand"</s>
CREATE TABLE table_name_96 (name VARCHAR, year_built VARCHAR, city VARCHAR)
SELECT name FROM table_name_96 WHERE year_built < 1973 AND city = "courbevoie"
What is the name of a building in Courbevoie built before 1973?
<s>[INST]What is the name of a building in Courbevoie built before 1973? Context: CREATE TABLE table_name_96 (name VARCHAR, year_built VARCHAR, city VARCHAR)[/INST]SELECT name FROM table_name_96 WHERE year_built < 1973 AND city = "courbevoie"</s>
CREATE TABLE table_name_85 (grid VARCHAR, driver VARCHAR)
SELECT grid FROM table_name_85 WHERE driver = "johnny dumfries"
Which Grid has a Driver of johnny dumfries?
<s>[INST]Which Grid has a Driver of johnny dumfries? Context: CREATE TABLE table_name_85 (grid VARCHAR, driver VARCHAR)[/INST]SELECT grid FROM table_name_85 WHERE driver = "johnny dumfries"</s>
CREATE TABLE table_2361911_2 (regular_season VARCHAR, league VARCHAR, playoffs VARCHAR)
SELECT regular_season FROM table_2361911_2 WHERE league = "USISL D-3 Pro league" AND playoffs = "Did not qualify"
Name the regular season for usisl d-3 pro league did not qualify
<s>[INST]Name the regular season for usisl d-3 pro league did not qualify Context: CREATE TABLE table_2361911_2 (regular_season VARCHAR, league VARCHAR, playoffs VARCHAR)[/INST]SELECT regular_season FROM table_2361911_2 WHERE league = "USISL D-3 Pro league" AND playoffs = "Did not qualify"</s>
CREATE TABLE table_name_54 (constellation VARCHAR, right_ascension___j2000__ VARCHAR)
SELECT constellation FROM table_name_54 WHERE right_ascension___j2000__ = "18h17m41.1s"
Tell me the constellation which has a right ascension of 18h17m41.1s
<s>[INST]Tell me the constellation which has a right ascension of 18h17m41.1s Context: CREATE TABLE table_name_54 (constellation VARCHAR, right_ascension___j2000__ VARCHAR)[/INST]SELECT constellation FROM table_name_54 WHERE right_ascension___j2000__ = "18h17m41.1s"</s>
CREATE TABLE table_name_84 (power VARCHAR, engine_code VARCHAR)
SELECT power FROM table_name_84 WHERE engine_code = "m44b19"
What is the power of the engine with an engine code m44b19?
<s>[INST]What is the power of the engine with an engine code m44b19? Context: CREATE TABLE table_name_84 (power VARCHAR, engine_code VARCHAR)[/INST]SELECT power FROM table_name_84 WHERE engine_code = "m44b19"</s>
CREATE TABLE table_name_48 (crowd VARCHAR, home_team VARCHAR)
SELECT COUNT(crowd) FROM table_name_48 WHERE home_team = "essendon"
How many fans were at Essendon?
<s>[INST]How many fans were at Essendon? Context: CREATE TABLE table_name_48 (crowd VARCHAR, home_team VARCHAR)[/INST]SELECT COUNT(crowd) FROM table_name_48 WHERE home_team = "essendon"</s>
CREATE TABLE table_name_58 (overall INTEGER, school_club_team VARCHAR)
SELECT MIN(overall) FROM table_name_58 WHERE school_club_team = "arizona state"
What is arizona state overall lowest?
<s>[INST]What is arizona state overall lowest? Context: CREATE TABLE table_name_58 (overall INTEGER, school_club_team VARCHAR)[/INST]SELECT MIN(overall) FROM table_name_58 WHERE school_club_team = "arizona state"</s>
CREATE TABLE table_name_85 (attendance INTEGER, opponent VARCHAR)
SELECT MIN(attendance) FROM table_name_85 WHERE opponent = "@ nashville predators"
What was the lowest attendance for a game played @ Nashville Predators?
<s>[INST]What was the lowest attendance for a game played @ Nashville Predators? Context: CREATE TABLE table_name_85 (attendance INTEGER, opponent VARCHAR)[/INST]SELECT MIN(attendance) FROM table_name_85 WHERE opponent = "@ nashville predators"</s>
CREATE TABLE table_name_38 (area_km_2 VARCHAR, official_name VARCHAR)
SELECT area_km_2 FROM table_name_38 WHERE official_name = "sackville"
How large, in square kilometers, is Sackville?
<s>[INST]How large, in square kilometers, is Sackville? Context: CREATE TABLE table_name_38 (area_km_2 VARCHAR, official_name VARCHAR)[/INST]SELECT area_km_2 FROM table_name_38 WHERE official_name = "sackville"</s>
CREATE TABLE table_name_8 (score VARCHAR, time VARCHAR)
SELECT score FROM table_name_8 WHERE time = "3:27"
What was the score at 3:27?
<s>[INST]What was the score at 3:27? Context: CREATE TABLE table_name_8 (score VARCHAR, time VARCHAR)[/INST]SELECT score FROM table_name_8 WHERE time = "3:27"</s>
CREATE TABLE table_name_48 (attendance INTEGER, week VARCHAR)
SELECT MIN(attendance) FROM table_name_48 WHERE week = 1
What was the lowest attendance for week 1?
<s>[INST]What was the lowest attendance for week 1? Context: CREATE TABLE table_name_48 (attendance INTEGER, week VARCHAR)[/INST]SELECT MIN(attendance) FROM table_name_48 WHERE week = 1</s>
CREATE TABLE table_15568886_14 (proto_oceanic VARCHAR, proto_polynesian VARCHAR)
SELECT proto_oceanic FROM table_15568886_14 WHERE proto_polynesian = "*fafine"
Name the proto oceanic for *fafine
<s>[INST]Name the proto oceanic for *fafine Context: CREATE TABLE table_15568886_14 (proto_oceanic VARCHAR, proto_polynesian VARCHAR)[/INST]SELECT proto_oceanic FROM table_15568886_14 WHERE proto_polynesian = "*fafine"</s>
CREATE TABLE table_name_67 (sleeves VARCHAR, year VARCHAR)
SELECT sleeves FROM table_name_67 WHERE year = "2006-2008"
Which Sleeves have a Year of 2006-2008?
<s>[INST]Which Sleeves have a Year of 2006-2008? Context: CREATE TABLE table_name_67 (sleeves VARCHAR, year VARCHAR)[/INST]SELECT sleeves FROM table_name_67 WHERE year = "2006-2008"</s>
CREATE TABLE table_name_16 (_2_ribbons VARCHAR, nation VARCHAR, place VARCHAR)
SELECT MAX(3 AS _balls), _2_ribbons FROM table_name_16 WHERE nation = "bulgaria" AND place > 1
Nation of bulgaria, and a Place larger than 1 had what highest 3 Balls, 2 Ribbons?
<s>[INST]Nation of bulgaria, and a Place larger than 1 had what highest 3 Balls, 2 Ribbons? Context: CREATE TABLE table_name_16 (_2_ribbons VARCHAR, nation VARCHAR, place VARCHAR)[/INST]SELECT MAX(3 AS _balls), _2_ribbons FROM table_name_16 WHERE nation = "bulgaria" AND place > 1</s>
CREATE TABLE table_14940519_1 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_14940519_1 WHERE date = "October 2, 1983"
Name the opponent for october 2, 1983
<s>[INST]Name the opponent for october 2, 1983 Context: CREATE TABLE table_14940519_1 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_14940519_1 WHERE date = "October 2, 1983"</s>
CREATE TABLE table_name_54 (game VARCHAR, team VARCHAR, score VARCHAR)
SELECT COUNT(game) FROM table_name_54 WHERE team = "at phoenix" AND score = "107-119"
Which Game has a Team of at phoenix, and a Score of 107-119?
<s>[INST]Which Game has a Team of at phoenix, and a Score of 107-119? Context: CREATE TABLE table_name_54 (game VARCHAR, team VARCHAR, score VARCHAR)[/INST]SELECT COUNT(game) FROM table_name_54 WHERE team = "at phoenix" AND score = "107-119"</s>
CREATE TABLE table_22170495_6 (position_in_e4s_ratings_b VARCHAR, original_airing_on_channel_4 VARCHAR)
SELECT position_in_e4s_ratings_b FROM table_22170495_6 WHERE original_airing_on_channel_4 = "June 30, 2010"
What is the position in e4s ratings b when June 30, 2010 is the original airing on channel 4?
<s>[INST]What is the position in e4s ratings b when June 30, 2010 is the original airing on channel 4? Context: CREATE TABLE table_22170495_6 (position_in_e4s_ratings_b VARCHAR, original_airing_on_channel_4 VARCHAR)[/INST]SELECT position_in_e4s_ratings_b FROM table_22170495_6 WHERE original_airing_on_channel_4 = "June ...
CREATE TABLE table_name_13 (silver INTEGER, bronze VARCHAR, total VARCHAR)
SELECT SUM(silver) FROM table_name_13 WHERE bronze > 19 AND total < 125
How many total Silver has a Bronze larger than 19 and a Total smaller than 125?
<s>[INST]How many total Silver has a Bronze larger than 19 and a Total smaller than 125? Context: CREATE TABLE table_name_13 (silver INTEGER, bronze VARCHAR, total VARCHAR)[/INST]SELECT SUM(silver) FROM table_name_13 WHERE bronze > 19 AND total < 125</s>
CREATE TABLE table_12419515_4 (title VARCHAR, written_by VARCHAR)
SELECT COUNT(title) FROM table_12419515_4 WHERE written_by = "Casey Johnson"
What is the total number of titles written by Casey Johnson?
<s>[INST]What is the total number of titles written by Casey Johnson? Context: CREATE TABLE table_12419515_4 (title VARCHAR, written_by VARCHAR)[/INST]SELECT COUNT(title) FROM table_12419515_4 WHERE written_by = "Casey Johnson"</s>
CREATE TABLE table_name_76 (played VARCHAR, difference VARCHAR, against VARCHAR)
SELECT COUNT(played) FROM table_name_76 WHERE difference = "22" AND against < 34
What is the total number played with a difference of 22 and less than 34 against?
<s>[INST]What is the total number played with a difference of 22 and less than 34 against? Context: CREATE TABLE table_name_76 (played VARCHAR, difference VARCHAR, against VARCHAR)[/INST]SELECT COUNT(played) FROM table_name_76 WHERE difference = "22" AND against < 34</s>
CREATE TABLE table_name_39 (rank VARCHAR, notes VARCHAR, name VARCHAR)
SELECT rank FROM table_name_39 WHERE notes = "cancelled" AND name = "daewoo business center"
What's the rank for Daewoo Business Center when the notes are cancelled?
<s>[INST]What's the rank for Daewoo Business Center when the notes are cancelled? Context: CREATE TABLE table_name_39 (rank VARCHAR, notes VARCHAR, name VARCHAR)[/INST]SELECT rank FROM table_name_39 WHERE notes = "cancelled" AND name = "daewoo business center"</s>
CREATE TABLE song (artist_name VARCHAR, rating INTEGER); CREATE TABLE artist (artist_name VARCHAR, country VARCHAR)
SELECT DISTINCT T1.artist_name, T1.country FROM artist AS T1 JOIN song AS T2 ON T1.artist_name = T2.artist_name WHERE T2.rating > 9
List the name and country of origin for all singers who have produced songs with rating above 9.
<s>[INST]List the name and country of origin for all singers who have produced songs with rating above 9. Context: CREATE TABLE song (artist_name VARCHAR, rating INTEGER); CREATE TABLE artist (artist_name VARCHAR, country VARCHAR)[/INST]SELECT DISTINCT T1.artist_name, T1.country FROM artist AS T1 JOIN song AS T2 ON T1....
CREATE TABLE table_24425976_7 (original_air_date VARCHAR, series VARCHAR)
SELECT original_air_date FROM table_24425976_7 WHERE series = 115
What date did episode 115 in the series originally air?
<s>[INST]What date did episode 115 in the series originally air? Context: CREATE TABLE table_24425976_7 (original_air_date VARCHAR, series VARCHAR)[/INST]SELECT original_air_date FROM table_24425976_7 WHERE series = 115</s>
CREATE TABLE table_25034983_2 (day_power___w__ VARCHAR, city VARCHAR)
SELECT day_power___w__ FROM table_25034983_2 WHERE city = "Moline"
List the kilo watt hoours per day for moline.
<s>[INST]List the kilo watt hoours per day for moline. Context: CREATE TABLE table_25034983_2 (day_power___w__ VARCHAR, city VARCHAR)[/INST]SELECT day_power___w__ FROM table_25034983_2 WHERE city = "Moline"</s>
CREATE TABLE table_name_91 (overall INTEGER, player VARCHAR)
SELECT MIN(overall) FROM table_name_91 WHERE player = "louis coleman"
What was the lowest overall for Louis Coleman?
<s>[INST]What was the lowest overall for Louis Coleman? Context: CREATE TABLE table_name_91 (overall INTEGER, player VARCHAR)[/INST]SELECT MIN(overall) FROM table_name_91 WHERE player = "louis coleman"</s>
CREATE TABLE table_name_50 (tatsuhito_takaiwa VARCHAR, ryusuke_taguchi VARCHAR)
SELECT tatsuhito_takaiwa FROM table_name_50 WHERE ryusuke_taguchi = "taguchi (14:31)"
Name for me the tatsuhito takaiwa for Ryusuke Taguchi of taguchi (14:31)
<s>[INST]Name for me the tatsuhito takaiwa for Ryusuke Taguchi of taguchi (14:31) Context: CREATE TABLE table_name_50 (tatsuhito_takaiwa VARCHAR, ryusuke_taguchi VARCHAR)[/INST]SELECT tatsuhito_takaiwa FROM table_name_50 WHERE ryusuke_taguchi = "taguchi (14:31)"</s>
CREATE TABLE table_11662133_3 (date_entered_service VARCHAR, ships_name VARCHAR)
SELECT date_entered_service FROM table_11662133_3 WHERE ships_name = "Koningin Wilhelmina"
what's the date entered service with ships name koningin wilhelmina
<s>[INST] what's the date entered service with ships name koningin wilhelmina Context: CREATE TABLE table_11662133_3 (date_entered_service VARCHAR, ships_name VARCHAR)[/INST]SELECT date_entered_service FROM table_11662133_3 WHERE ships_name = "Koningin Wilhelmina"</s>
CREATE TABLE table_name_76 (airport VARCHAR, iata VARCHAR)
SELECT airport FROM table_name_76 WHERE iata = "arn"
What airport has an IATA of ARN?
<s>[INST]What airport has an IATA of ARN? Context: CREATE TABLE table_name_76 (airport VARCHAR, iata VARCHAR)[/INST]SELECT airport FROM table_name_76 WHERE iata = "arn"</s>
CREATE TABLE table_name_35 (owner VARCHAR, winner VARCHAR)
SELECT owner FROM table_name_35 WHERE winner = "meridiana"
what is the winner of meridiana
<s>[INST]what is the winner of meridiana Context: CREATE TABLE table_name_35 (owner VARCHAR, winner VARCHAR)[/INST]SELECT owner FROM table_name_35 WHERE winner = "meridiana"</s>
CREATE TABLE table_name_8 (first_season INTEGER, city VARCHAR, capacity VARCHAR)
SELECT MIN(first_season) FROM table_name_8 WHERE city = "montreal" AND capacity > 5 OFFSET 100
What's the smallest season for Montreal that's greater than 5,100 for capacity?
<s>[INST]What's the smallest season for Montreal that's greater than 5,100 for capacity? Context: CREATE TABLE table_name_8 (first_season INTEGER, city VARCHAR, capacity VARCHAR)[/INST]SELECT MIN(first_season) FROM table_name_8 WHERE city = "montreal" AND capacity > 5 OFFSET 100</s>
CREATE TABLE table_1341423_35 (incumbent VARCHAR, first_elected VARCHAR)
SELECT incumbent FROM table_1341423_35 WHERE first_elected = 1972
Who was elected in 1972
<s>[INST]Who was elected in 1972 Context: CREATE TABLE table_1341423_35 (incumbent VARCHAR, first_elected VARCHAR)[/INST]SELECT incumbent FROM table_1341423_35 WHERE first_elected = 1972</s>
CREATE TABLE table_13759592_2 (founded VARCHAR, location VARCHAR)
SELECT founded FROM table_13759592_2 WHERE location = "Kirkland"
What year was Kirkland founded?
<s>[INST]What year was Kirkland founded? Context: CREATE TABLE table_13759592_2 (founded VARCHAR, location VARCHAR)[/INST]SELECT founded FROM table_13759592_2 WHERE location = "Kirkland"</s>
CREATE TABLE table_name_94 (place_of_birth VARCHAR, elector VARCHAR)
SELECT place_of_birth FROM table_name_94 WHERE elector = "laborante de panormo"
What is the place of birth for the elector Laborante de Panormo?
<s>[INST]What is the place of birth for the elector Laborante de Panormo? Context: CREATE TABLE table_name_94 (place_of_birth VARCHAR, elector VARCHAR)[/INST]SELECT place_of_birth FROM table_name_94 WHERE elector = "laborante de panormo"</s>
CREATE TABLE table_name_79 (set_3 VARCHAR, set_4 VARCHAR, date VARCHAR)
SELECT set_3 FROM table_name_79 WHERE set_4 = "25-21" AND date = "jun 14"
What is Set 3, when Set 4 is 25-21, and when Date is Jun 14?
<s>[INST]What is Set 3, when Set 4 is 25-21, and when Date is Jun 14? Context: CREATE TABLE table_name_79 (set_3 VARCHAR, set_4 VARCHAR, date VARCHAR)[/INST]SELECT set_3 FROM table_name_79 WHERE set_4 = "25-21" AND date = "jun 14"</s>
CREATE TABLE table_name_82 (driver VARCHAR, points VARCHAR, team VARCHAR)
SELECT driver FROM table_name_82 WHERE points < 36 AND team = "greenfield mowers racing"
Which driver for Greenfield Mowers Racing has fewer than 36 points?
<s>[INST]Which driver for Greenfield Mowers Racing has fewer than 36 points? Context: CREATE TABLE table_name_82 (driver VARCHAR, points VARCHAR, team VARCHAR)[/INST]SELECT driver FROM table_name_82 WHERE points < 36 AND team = "greenfield mowers racing"</s>
CREATE TABLE table_2780146_6 (no_x__g_kwh_ VARCHAR, hc__g_kwh_ VARCHAR)
SELECT no_x__g_kwh_ FROM table_2780146_6 WHERE hc__g_kwh_ = "1.23"
What's the NO of the standard with HC of 1.23 g/kWh?
<s>[INST]What's the NO of the standard with HC of 1.23 g/kWh? Context: CREATE TABLE table_2780146_6 (no_x__g_kwh_ VARCHAR, hc__g_kwh_ VARCHAR)[/INST]SELECT no_x__g_kwh_ FROM table_2780146_6 WHERE hc__g_kwh_ = "1.23"</s>
CREATE TABLE table_23710609_2 (romanian__colloquial_ VARCHAR, english VARCHAR)
SELECT romanian__colloquial_ FROM table_23710609_2 WHERE english = "(s)he will sing"
What is the colloquial translation of (s)he will sing?
<s>[INST]What is the colloquial translation of (s)he will sing? Context: CREATE TABLE table_23710609_2 (romanian__colloquial_ VARCHAR, english VARCHAR)[/INST]SELECT romanian__colloquial_ FROM table_23710609_2 WHERE english = "(s)he will sing"</s>
CREATE TABLE table_name_75 (prefix VARCHAR, formula VARCHAR)
SELECT prefix FROM table_name_75 WHERE formula = "rsor'"
What is the prefix for the formula of Rsor'?
<s>[INST]What is the prefix for the formula of Rsor'? Context: CREATE TABLE table_name_75 (prefix VARCHAR, formula VARCHAR)[/INST]SELECT prefix FROM table_name_75 WHERE formula = "rsor'"</s>
CREATE TABLE table_25695027_1 (cylinder_size VARCHAR, number_built VARCHAR)
SELECT cylinder_size FROM table_25695027_1 WHERE number_built = "88"
What was the cylinder size of this engine that was made with only 88 pieces?
<s>[INST]What was the cylinder size of this engine that was made with only 88 pieces? Context: CREATE TABLE table_25695027_1 (cylinder_size VARCHAR, number_built VARCHAR)[/INST]SELECT cylinder_size FROM table_25695027_1 WHERE number_built = "88"</s>
CREATE TABLE table_16922657_2 (Ends VARCHAR, country VARCHAR, Scotland VARCHAR)
SELECT COUNT(Ends) AS won FROM table_16922657_2 WHERE country = Scotland
When the country was Scotland, how many ends were won?
<s>[INST]When the country was Scotland, how many ends were won? Context: CREATE TABLE table_16922657_2 (Ends VARCHAR, country VARCHAR, Scotland VARCHAR)[/INST]SELECT COUNT(Ends) AS won FROM table_16922657_2 WHERE country = Scotland</s>
CREATE TABLE furniture_manufacte (manufacturer_id VARCHAR); CREATE TABLE manufacturer (name VARCHAR, manufacturer_id VARCHAR)
SELECT COUNT(*), t1.name FROM manufacturer AS t1 JOIN furniture_manufacte AS t2 ON t1.manufacturer_id = t2.manufacturer_id GROUP BY t1.manufacturer_id
Find the number of funiture types produced by each manufacturer as well as the company names.
<s>[INST]Find the number of funiture types produced by each manufacturer as well as the company names. Context: CREATE TABLE furniture_manufacte (manufacturer_id VARCHAR); CREATE TABLE manufacturer (name VARCHAR, manufacturer_id VARCHAR)[/INST]SELECT COUNT(*), t1.name FROM manufacturer AS t1 JOIN furniture_manufacte AS...
CREATE TABLE table_name_81 (drawn INTEGER, points_for INTEGER)
SELECT MAX(drawn) FROM table_name_81 WHERE points_for > 545
What is the highest drawn for points over 545?
<s>[INST]What is the highest drawn for points over 545? Context: CREATE TABLE table_name_81 (drawn INTEGER, points_for INTEGER)[/INST]SELECT MAX(drawn) FROM table_name_81 WHERE points_for > 545</s>
CREATE TABLE table_1157867_2 (cylinders VARCHAR, builder VARCHAR)
SELECT cylinders FROM table_1157867_2 WHERE builder = "Longbottom, Barnsley"
What's the size of the cylinders built by Longbottom, Barnsley?
<s>[INST]What's the size of the cylinders built by Longbottom, Barnsley? Context: CREATE TABLE table_1157867_2 (cylinders VARCHAR, builder VARCHAR)[/INST]SELECT cylinders FROM table_1157867_2 WHERE builder = "Longbottom, Barnsley"</s>
CREATE TABLE table_name_59 (green_communist VARCHAR, socialist VARCHAR)
SELECT green_communist FROM table_name_59 WHERE socialist = "41.0%"
What was the Green-Communist percentage in the poll in which the Socialist Party earned 41.0%?
<s>[INST]What was the Green-Communist percentage in the poll in which the Socialist Party earned 41.0%? Context: CREATE TABLE table_name_59 (green_communist VARCHAR, socialist VARCHAR)[/INST]SELECT green_communist FROM table_name_59 WHERE socialist = "41.0%"</s>
CREATE TABLE table_name_11 (record VARCHAR, opponent VARCHAR)
SELECT record FROM table_name_11 WHERE opponent = "new york knicks"
What is Record, when Opponent is "New York Knicks"?
<s>[INST]What is Record, when Opponent is "New York Knicks"? Context: CREATE TABLE table_name_11 (record VARCHAR, opponent VARCHAR)[/INST]SELECT record FROM table_name_11 WHERE opponent = "new york knicks"</s>
CREATE TABLE table_name_83 (spouse VARCHAR, name VARCHAR)
SELECT spouse FROM table_name_83 WHERE name = "louise of hesse-kassel"
Name the spouse for louise of hesse-kassel
<s>[INST]Name the spouse for louise of hesse-kassel Context: CREATE TABLE table_name_83 (spouse VARCHAR, name VARCHAR)[/INST]SELECT spouse FROM table_name_83 WHERE name = "louise of hesse-kassel"</s>
CREATE TABLE table_14242137_11 (regionalliga_nord VARCHAR, regionalliga_süd VARCHAR)
SELECT regionalliga_nord FROM table_14242137_11 WHERE regionalliga_süd = "1. FC Nuremberg SpVgg Greuther Fürth"
what's the regionalliga nord with regionalliga süd being 1. fc nuremberg spvgg greuther fürth
<s>[INST]what's the regionalliga nord with regionalliga süd being 1. fc nuremberg spvgg greuther fürth Context: CREATE TABLE table_14242137_11 (regionalliga_nord VARCHAR, regionalliga_süd VARCHAR)[/INST]SELECT regionalliga_nord FROM table_14242137_11 WHERE regionalliga_süd = "1. FC Nuremberg SpVgg Greuther Fürth"</s>
CREATE TABLE table_name_77 (conceded VARCHAR, wins VARCHAR, points VARCHAR)
SELECT COUNT(conceded) FROM table_name_77 WHERE wins < 3 AND points > 11
How much Conceded has Wins smaller than 3, and Points larger than 11?
<s>[INST]How much Conceded has Wins smaller than 3, and Points larger than 11? Context: CREATE TABLE table_name_77 (conceded VARCHAR, wins VARCHAR, points VARCHAR)[/INST]SELECT COUNT(conceded) FROM table_name_77 WHERE wins < 3 AND points > 11</s>
CREATE TABLE station (name VARCHAR, total_passengers VARCHAR, LOCATION VARCHAR)
SELECT name, total_passengers FROM station WHERE LOCATION <> 'London'
Show the names and total passengers for all train stations not in London.
<s>[INST]Show the names and total passengers for all train stations not in London. Context: CREATE TABLE station (name VARCHAR, total_passengers VARCHAR, LOCATION VARCHAR)[/INST]SELECT name, total_passengers FROM station WHERE LOCATION <> 'London'</s>
CREATE TABLE table_name_98 (date VARCHAR, loser VARCHAR, year VARCHAR)
SELECT date FROM table_name_98 WHERE loser = "indianapolis colts" AND year = 2004
On what date was the game that the Indianapolis Colts lost in 2004?
<s>[INST]On what date was the game that the Indianapolis Colts lost in 2004? Context: CREATE TABLE table_name_98 (date VARCHAR, loser VARCHAR, year VARCHAR)[/INST]SELECT date FROM table_name_98 WHERE loser = "indianapolis colts" AND year = 2004</s>
CREATE TABLE table_name_21 (result VARCHAR, attendance VARCHAR)
SELECT result FROM table_name_21 WHERE attendance = "54,418"
What is the result when there was an attendance of 54,418?
<s>[INST]What is the result when there was an attendance of 54,418? Context: CREATE TABLE table_name_21 (result VARCHAR, attendance VARCHAR)[/INST]SELECT result FROM table_name_21 WHERE attendance = "54,418"</s>
CREATE TABLE table_name_40 (hometown VARCHAR, name VARCHAR)
SELECT hometown FROM table_name_40 WHERE name = "hasan shah"
What is Hasan Shah's hometown?
<s>[INST]What is Hasan Shah's hometown? Context: CREATE TABLE table_name_40 (hometown VARCHAR, name VARCHAR)[/INST]SELECT hometown FROM table_name_40 WHERE name = "hasan shah"</s>
CREATE TABLE table_name_59 (format VARCHAR, label VARCHAR, date VARCHAR)
SELECT format FROM table_name_59 WHERE label = "alfa records" AND date = "july 27, 1994"
Name the format on july 27, 1994 for alfa records
<s>[INST]Name the format on july 27, 1994 for alfa records Context: CREATE TABLE table_name_59 (format VARCHAR, label VARCHAR, date VARCHAR)[/INST]SELECT format FROM table_name_59 WHERE label = "alfa records" AND date = "july 27, 1994"</s>
CREATE TABLE table_name_92 (points INTEGER, team VARCHAR, played VARCHAR)
SELECT MAX(points) FROM table_name_92 WHERE team = "vitória" AND played > 38
What is the highest number of points team vitória, which had more than 38 played, had?
<s>[INST]What is the highest number of points team vitória, which had more than 38 played, had? Context: CREATE TABLE table_name_92 (points INTEGER, team VARCHAR, played VARCHAR)[/INST]SELECT MAX(points) FROM table_name_92 WHERE team = "vitória" AND played > 38</s>