question
stringlengths
16
239
answer
stringlengths
18
400
context
stringlengths
30
308
text
stringlengths
108
764
What is the report listed for the race in San Marino Grand Prix?
SELECT report FROM table_1140076_2 WHERE race = "San Marino Grand Prix"
CREATE TABLE table_1140076_2 (report VARCHAR, race VARCHAR)
<s>[INST] What is the report listed for the race in San Marino Grand Prix? context: CREATE TABLE table_1140076_2 (report VARCHAR, race VARCHAR) [/INST] SELECT report FROM table_1140076_2 WHERE race = "San Marino Grand Prix" </s>
Which country had an interview score of 9.40 and average of 9.44?
SELECT country FROM table_11884814_3 WHERE interview = "9.40" AND average = "9.44"
CREATE TABLE table_11884814_3 (country VARCHAR, interview VARCHAR, average VARCHAR)
<s>[INST] Which country had an interview score of 9.40 and average of 9.44? context: CREATE TABLE table_11884814_3 (country VARCHAR, interview VARCHAR, average VARCHAR) [/INST] SELECT country FROM table_11884814_3 WHERE interview = "9.40" AND average = "9.44" </s>
What score has august 25 as the date?
SELECT score FROM table_name_49 WHERE date = "august 25"
CREATE TABLE table_name_49 (score VARCHAR, date VARCHAR)
<s>[INST] What score has august 25 as the date? context: CREATE TABLE table_name_49 (score VARCHAR, date VARCHAR) [/INST] SELECT score FROM table_name_49 WHERE date = "august 25" </s>
What is the most recent season when Fernando Alonso had more than 13 podiums in a car with a Ferrari engine?
SELECT MAX(season) FROM table_name_22 WHERE engine = "ferrari" AND driver = "fernando alonso" AND podiums > 13
CREATE TABLE table_name_22 (season INTEGER, podiums VARCHAR, engine VARCHAR, driver VARCHAR)
<s>[INST] What is the most recent season when Fernando Alonso had more than 13 podiums in a car with a Ferrari engine? context: CREATE TABLE table_name_22 (season INTEGER, podiums VARCHAR, engine VARCHAR, driver VARCHAR) [/INST] SELECT MAX(season) FROM table_name_22 WHERE engine = "ferrari" AND driver = "fernando alonso" AND podiums > 13 </s>
Tell me the away team score for 27 april 1974 and veue of mcg
SELECT away_team AS score FROM table_name_51 WHERE date = "27 april 1974" AND venue = "mcg"
CREATE TABLE table_name_51 (away_team VARCHAR, date VARCHAR, venue VARCHAR)
<s>[INST] Tell me the away team score for 27 april 1974 and veue of mcg context: CREATE TABLE table_name_51 (away_team VARCHAR, date VARCHAR, venue VARCHAR) [/INST] SELECT away_team AS score FROM table_name_51 WHERE date = "27 april 1974" AND venue = "mcg" </s>
What name has 5 as the pick, a round less than 25, ot as the position, at boston college?
SELECT name FROM table_name_59 WHERE pick = 5 AND round < 25 AND position = "ot" AND college = "boston college"
CREATE TABLE table_name_59 (name VARCHAR, college VARCHAR, position VARCHAR, pick VARCHAR, round VARCHAR)
<s>[INST] What name has 5 as the pick, a round less than 25, ot as the position, at boston college? context: CREATE TABLE table_name_59 (name VARCHAR, college VARCHAR, position VARCHAR, pick VARCHAR, round VARCHAR) [/INST] SELECT name FROM table_name_59 WHERE pick = 5 AND round < 25 AND position = "ot" AND college = "boston college" </s>
what is the number of the episode in the season whose production code is 101?
SELECT COUNT(no) FROM table_28358487_3 WHERE production_code = 101
CREATE TABLE table_28358487_3 (no VARCHAR, production_code VARCHAR)
<s>[INST] what is the number of the episode in the season whose production code is 101? context: CREATE TABLE table_28358487_3 (no VARCHAR, production_code VARCHAR) [/INST] SELECT COUNT(no) FROM table_28358487_3 WHERE production_code = 101 </s>
Who were the Opponents on December 18, 2005?
SELECT opponent FROM table_name_31 WHERE date = "december 18, 2005"
CREATE TABLE table_name_31 (opponent VARCHAR, date VARCHAR)
<s>[INST] Who were the Opponents on December 18, 2005? context: CREATE TABLE table_name_31 (opponent VARCHAR, date VARCHAR) [/INST] SELECT opponent FROM table_name_31 WHERE date = "december 18, 2005" </s>
What was Stéphan Perrot rank average?
SELECT AVG(rank) FROM table_name_61 WHERE name = "stéphan perrot"
CREATE TABLE table_name_61 (rank INTEGER, name VARCHAR)
<s>[INST] What was Stéphan Perrot rank average? context: CREATE TABLE table_name_61 (rank INTEGER, name VARCHAR) [/INST] SELECT AVG(rank) FROM table_name_61 WHERE name = "stéphan perrot" </s>
Which Position has a Played larger than 9?
SELECT SUM(position) FROM table_name_32 WHERE played > 9
CREATE TABLE table_name_32 (position INTEGER, played INTEGER)
<s>[INST] Which Position has a Played larger than 9? context: CREATE TABLE table_name_32 (position INTEGER, played INTEGER) [/INST] SELECT SUM(position) FROM table_name_32 WHERE played > 9 </s>
what is the start source when started on 2 february?
SELECT start_source FROM table_name_47 WHERE started = "2 february"
CREATE TABLE table_name_47 (start_source VARCHAR, started VARCHAR)
<s>[INST] what is the start source when started on 2 february? context: CREATE TABLE table_name_47 (start_source VARCHAR, started VARCHAR) [/INST] SELECT start_source FROM table_name_47 WHERE started = "2 february" </s>
List the names and scores of all wines.
SELECT Name, Score FROM WINE
CREATE TABLE WINE (Name VARCHAR, Score VARCHAR)
<s>[INST] List the names and scores of all wines. context: CREATE TABLE WINE (Name VARCHAR, Score VARCHAR) [/INST] SELECT Name, Score FROM WINE </s>
what is the engine that saw 0 points, and a Chassis of porsche 718, in 1961?
SELECT engine FROM table_name_27 WHERE points = 0 AND chassis = "porsche 718" AND year = 1961
CREATE TABLE table_name_27 (engine VARCHAR, year VARCHAR, points VARCHAR, chassis VARCHAR)
<s>[INST] what is the engine that saw 0 points, and a Chassis of porsche 718, in 1961? context: CREATE TABLE table_name_27 (engine VARCHAR, year VARCHAR, points VARCHAR, chassis VARCHAR) [/INST] SELECT engine FROM table_name_27 WHERE points = 0 AND chassis = "porsche 718" AND year = 1961 </s>
How many entries are shown for first elected for district 41?
SELECT COUNT(first_elected) FROM table_11948857_1 WHERE district = 41
CREATE TABLE table_11948857_1 (first_elected VARCHAR, district VARCHAR)
<s>[INST] How many entries are shown for first elected for district 41? context: CREATE TABLE table_11948857_1 (first_elected VARCHAR, district VARCHAR) [/INST] SELECT COUNT(first_elected) FROM table_11948857_1 WHERE district = 41 </s>
What was the attendance at the Red Sox game that had a loss of Wakefield (7–10)?
SELECT attendance FROM table_name_22 WHERE loss = "wakefield (7–10)"
CREATE TABLE table_name_22 (attendance VARCHAR, loss VARCHAR)
<s>[INST] What was the attendance at the Red Sox game that had a loss of Wakefield (7–10)? context: CREATE TABLE table_name_22 (attendance VARCHAR, loss VARCHAR) [/INST] SELECT attendance FROM table_name_22 WHERE loss = "wakefield (7–10)" </s>
What are the lowest lost has 111 as the goals against?
SELECT MIN(lost) FROM table_name_9 WHERE goals_against = 111
CREATE TABLE table_name_9 (lost INTEGER, goals_against VARCHAR)
<s>[INST] What are the lowest lost has 111 as the goals against? context: CREATE TABLE table_name_9 (lost INTEGER, goals_against VARCHAR) [/INST] SELECT MIN(lost) FROM table_name_9 WHERE goals_against = 111 </s>
When is the Mexican grand prix?
SELECT date FROM table_name_24 WHERE race = "mexican grand prix"
CREATE TABLE table_name_24 (date VARCHAR, race VARCHAR)
<s>[INST] When is the Mexican grand prix? context: CREATE TABLE table_name_24 (date VARCHAR, race VARCHAR) [/INST] SELECT date FROM table_name_24 WHERE race = "mexican grand prix" </s>
How many appearances for psv eindhoven ranked above 11?
SELECT SUM(appearances) FROM table_name_16 WHERE team = "psv eindhoven" AND rank < 11
CREATE TABLE table_name_16 (appearances INTEGER, team VARCHAR, rank VARCHAR)
<s>[INST] How many appearances for psv eindhoven ranked above 11? context: CREATE TABLE table_name_16 (appearances INTEGER, team VARCHAR, rank VARCHAR) [/INST] SELECT SUM(appearances) FROM table_name_16 WHERE team = "psv eindhoven" AND rank < 11 </s>
What did Denmark time at?
SELECT time FROM table_name_87 WHERE country = "denmark"
CREATE TABLE table_name_87 (time VARCHAR, country VARCHAR)
<s>[INST] What did Denmark time at? context: CREATE TABLE table_name_87 (time VARCHAR, country VARCHAR) [/INST] SELECT time FROM table_name_87 WHERE country = "denmark" </s>
How many PPV values are listed for when television service Sky Cinema 1?
SELECT COUNT(ppv) FROM table_15887683_5 WHERE television_service = "Sky Cinema 1"
CREATE TABLE table_15887683_5 (ppv VARCHAR, television_service VARCHAR)
<s>[INST] How many PPV values are listed for when television service Sky Cinema 1? context: CREATE TABLE table_15887683_5 (ppv VARCHAR, television_service VARCHAR) [/INST] SELECT COUNT(ppv) FROM table_15887683_5 WHERE television_service = "Sky Cinema 1" </s>
What number episode in the series had a production code of 110?
SELECT no_in_series FROM table_25246990_2 WHERE prod_code = "110"
CREATE TABLE table_25246990_2 (no_in_series VARCHAR, prod_code VARCHAR)
<s>[INST] What number episode in the series had a production code of 110? context: CREATE TABLE table_25246990_2 (no_in_series VARCHAR, prod_code VARCHAR) [/INST] SELECT no_in_series FROM table_25246990_2 WHERE prod_code = "110" </s>
Where is the coed school with state authority, a Decile larger than 6 and 26 enrolled?
SELECT area FROM table_name_61 WHERE authority = "state" AND decile > 6 AND gender = "coed" AND roll = 26
CREATE TABLE table_name_61 (area VARCHAR, roll VARCHAR, gender VARCHAR, authority VARCHAR, decile VARCHAR)
<s>[INST] Where is the coed school with state authority, a Decile larger than 6 and 26 enrolled? context: CREATE TABLE table_name_61 (area VARCHAR, roll VARCHAR, gender VARCHAR, authority VARCHAR, decile VARCHAR) [/INST] SELECT area FROM table_name_61 WHERE authority = "state" AND decile > 6 AND gender = "coed" AND roll = 26 </s>
Name the poles for avg start being 4.7
SELECT poles FROM table_2308381_2 WHERE avg_start = "4.7"
CREATE TABLE table_2308381_2 (poles VARCHAR, avg_start VARCHAR)
<s>[INST] Name the poles for avg start being 4.7 context: CREATE TABLE table_2308381_2 (poles VARCHAR, avg_start VARCHAR) [/INST] SELECT poles FROM table_2308381_2 WHERE avg_start = "4.7" </s>
Show the investors shared by entrepreneurs that requested more than 140000 and entrepreneurs that requested less than 120000.
SELECT Investor FROM entrepreneur WHERE Money_Requested > 140000 INTERSECT SELECT Investor FROM entrepreneur WHERE Money_Requested < 120000
CREATE TABLE entrepreneur (Investor VARCHAR, Money_Requested INTEGER)
<s>[INST] Show the investors shared by entrepreneurs that requested more than 140000 and entrepreneurs that requested less than 120000. context: CREATE TABLE entrepreneur (Investor VARCHAR, Money_Requested INTEGER) [/INST] SELECT Investor FROM entrepreneur WHERE Money_Requested > 140000 INTERSECT SELECT Investor FROM entrepreneur WHERE Money_Requested < 120000 </s>
Name the Venue which has a Losing Team of newcastle knights?
SELECT venue FROM table_name_7 WHERE losing_team = "newcastle knights"
CREATE TABLE table_name_7 (venue VARCHAR, losing_team VARCHAR)
<s>[INST] Name the Venue which has a Losing Team of newcastle knights? context: CREATE TABLE table_name_7 (venue VARCHAR, losing_team VARCHAR) [/INST] SELECT venue FROM table_name_7 WHERE losing_team = "newcastle knights" </s>
What party did incumbent Stephen L. Neal belong to?
SELECT party FROM table_1341568_34 WHERE incumbent = "Stephen L. Neal"
CREATE TABLE table_1341568_34 (party VARCHAR, incumbent VARCHAR)
<s>[INST] What party did incumbent Stephen L. Neal belong to? context: CREATE TABLE table_1341568_34 (party VARCHAR, incumbent VARCHAR) [/INST] SELECT party FROM table_1341568_34 WHERE incumbent = "Stephen L. Neal" </s>
with Distribution of 10.6% what is the average api level?
SELECT AVG(api_level) FROM table_name_7 WHERE distribution = "10.6%"
CREATE TABLE table_name_7 (api_level INTEGER, distribution VARCHAR)
<s>[INST] with Distribution of 10.6% what is the average api level? context: CREATE TABLE table_name_7 (api_level INTEGER, distribution VARCHAR) [/INST] SELECT AVG(api_level) FROM table_name_7 WHERE distribution = "10.6%" </s>
Where did Maya Moore attend school?
SELECT school FROM table_name_6 WHERE player = "maya moore"
CREATE TABLE table_name_6 (school VARCHAR, player VARCHAR)
<s>[INST] Where did Maya Moore attend school? context: CREATE TABLE table_name_6 (school VARCHAR, player VARCHAR) [/INST] SELECT school FROM table_name_6 WHERE player = "maya moore" </s>
Which month and year held the Bolivia Special title?
SELECT month_ & _year FROM table_name_18 WHERE title = "bolivia special"
CREATE TABLE table_name_18 (month_ VARCHAR, _year VARCHAR, title VARCHAR)
<s>[INST] Which month and year held the Bolivia Special title? context: CREATE TABLE table_name_18 (month_ VARCHAR, _year VARCHAR, title VARCHAR) [/INST] SELECT month_ & _year FROM table_name_18 WHERE title = "bolivia special" </s>
What is the total number of Rating(s), when Air Date is June 25, 2008, and when Share is greater than 3?
SELECT COUNT(rating) FROM table_name_22 WHERE air_date = "june 25, 2008" AND share > 3
CREATE TABLE table_name_22 (rating VARCHAR, air_date VARCHAR, share VARCHAR)
<s>[INST] What is the total number of Rating(s), when Air Date is June 25, 2008, and when Share is greater than 3? context: CREATE TABLE table_name_22 (rating VARCHAR, air_date VARCHAR, share VARCHAR) [/INST] SELECT COUNT(rating) FROM table_name_22 WHERE air_date = "june 25, 2008" AND share > 3 </s>
What side does Ryan Overland Bat/Throws from?
SELECT bats_throws FROM table_name_9 WHERE players = "ryan overland"
CREATE TABLE table_name_9 (bats_throws VARCHAR, players VARCHAR)
<s>[INST] What side does Ryan Overland Bat/Throws from? context: CREATE TABLE table_name_9 (bats_throws VARCHAR, players VARCHAR) [/INST] SELECT bats_throws FROM table_name_9 WHERE players = "ryan overland" </s>
When was the Little Tavern completed?
SELECT date_completed FROM table_name_55 WHERE nickname = "little tavern"
CREATE TABLE table_name_55 (date_completed VARCHAR, nickname VARCHAR)
<s>[INST] When was the Little Tavern completed? context: CREATE TABLE table_name_55 (date_completed VARCHAR, nickname VARCHAR) [/INST] SELECT date_completed FROM table_name_55 WHERE nickname = "little tavern" </s>
What Drawn has a Tries against of 0?
SELECT drawn FROM table_name_90 WHERE tries_against = "0"
CREATE TABLE table_name_90 (drawn VARCHAR, tries_against VARCHAR)
<s>[INST] What Drawn has a Tries against of 0? context: CREATE TABLE table_name_90 (drawn VARCHAR, tries_against VARCHAR) [/INST] SELECT drawn FROM table_name_90 WHERE tries_against = "0" </s>
Name the island with age ma of 1.0
SELECT island FROM table_name_73 WHERE age___ma__ = "1.0"
CREATE TABLE table_name_73 (island VARCHAR, age___ma__ VARCHAR)
<s>[INST] Name the island with age ma of 1.0 context: CREATE TABLE table_name_73 (island VARCHAR, age___ma__ VARCHAR) [/INST] SELECT island FROM table_name_73 WHERE age___ma__ = "1.0" </s>
What is the nationality of the player who had the pick of 52 and plays for the NBA team of Phoenix Suns?
SELECT nationality FROM table_name_15 WHERE nba_team = "phoenix suns" AND pick = 52
CREATE TABLE table_name_15 (nationality VARCHAR, nba_team VARCHAR, pick VARCHAR)
<s>[INST] What is the nationality of the player who had the pick of 52 and plays for the NBA team of Phoenix Suns? context: CREATE TABLE table_name_15 (nationality VARCHAR, nba_team VARCHAR, pick VARCHAR) [/INST] SELECT nationality FROM table_name_15 WHERE nba_team = "phoenix suns" AND pick = 52 </s>
Name the visitor for october 19
SELECT visitor FROM table_name_52 WHERE date = "october 19"
CREATE TABLE table_name_52 (visitor VARCHAR, date VARCHAR)
<s>[INST] Name the visitor for october 19 context: CREATE TABLE table_name_52 (visitor VARCHAR, date VARCHAR) [/INST] SELECT visitor FROM table_name_52 WHERE date = "october 19" </s>
What's the boiling point when the density is 1.092 g/ml?
SELECT boiling_point FROM table_name_46 WHERE density = "1.092 g/ml"
CREATE TABLE table_name_46 (boiling_point VARCHAR, density VARCHAR)
<s>[INST] What's the boiling point when the density is 1.092 g/ml? context: CREATE TABLE table_name_46 (boiling_point VARCHAR, density VARCHAR) [/INST] SELECT boiling_point FROM table_name_46 WHERE density = "1.092 g/ml" </s>
Which handicap has the horse knowhere?
SELECT handicap__st_lb_ FROM table_19624708_1 WHERE horse = "Knowhere"
CREATE TABLE table_19624708_1 (handicap__st_lb_ VARCHAR, horse VARCHAR)
<s>[INST] Which handicap has the horse knowhere? context: CREATE TABLE table_19624708_1 (handicap__st_lb_ VARCHAR, horse VARCHAR) [/INST] SELECT handicap__st_lb_ FROM table_19624708_1 WHERE horse = "Knowhere" </s>
Tell me the format for calls of wrko
SELECT format FROM table_name_56 WHERE calls = "wrko"
CREATE TABLE table_name_56 (format VARCHAR, calls VARCHAR)
<s>[INST] Tell me the format for calls of wrko context: CREATE TABLE table_name_56 (format VARCHAR, calls VARCHAR) [/INST] SELECT format FROM table_name_56 WHERE calls = "wrko" </s>
What is the plural for the Meaning of night?
SELECT plural FROM table_name_85 WHERE meaning = "night"
CREATE TABLE table_name_85 (plural VARCHAR, meaning VARCHAR)
<s>[INST] What is the plural for the Meaning of night? context: CREATE TABLE table_name_85 (plural VARCHAR, meaning VARCHAR) [/INST] SELECT plural FROM table_name_85 WHERE meaning = "night" </s>
What is the smallest diameter for Eirene Tholus?
SELECT MIN(diameter__km_) FROM table_name_97 WHERE name = "eirene tholus"
CREATE TABLE table_name_97 (diameter__km_ INTEGER, name VARCHAR)
<s>[INST] What is the smallest diameter for Eirene Tholus? context: CREATE TABLE table_name_97 (diameter__km_ INTEGER, name VARCHAR) [/INST] SELECT MIN(diameter__km_) FROM table_name_97 WHERE name = "eirene tholus" </s>
Which IHSAA Football Class has an IHSAA Class of aa, and an Enrollment of 475?
SELECT ihsaa_football_class FROM table_name_14 WHERE ihsaa_class = "aa" AND enrollment = 475
CREATE TABLE table_name_14 (ihsaa_football_class VARCHAR, ihsaa_class VARCHAR, enrollment VARCHAR)
<s>[INST] Which IHSAA Football Class has an IHSAA Class of aa, and an Enrollment of 475? context: CREATE TABLE table_name_14 (ihsaa_football_class VARCHAR, ihsaa_class VARCHAR, enrollment VARCHAR) [/INST] SELECT ihsaa_football_class FROM table_name_14 WHERE ihsaa_class = "aa" AND enrollment = 475 </s>
What college did Francis Bellefroid go to?
SELECT college FROM table_28059992_6 WHERE player = "Francis Bellefroid"
CREATE TABLE table_28059992_6 (college VARCHAR, player VARCHAR)
<s>[INST] What college did Francis Bellefroid go to? context: CREATE TABLE table_28059992_6 (college VARCHAR, player VARCHAR) [/INST] SELECT college FROM table_28059992_6 WHERE player = "Francis Bellefroid" </s>
What visitor has Ottawa as a home and a date of April 26?
SELECT visitor FROM table_name_20 WHERE home = "ottawa" AND date = "april 26"
CREATE TABLE table_name_20 (visitor VARCHAR, home VARCHAR, date VARCHAR)
<s>[INST] What visitor has Ottawa as a home and a date of April 26? context: CREATE TABLE table_name_20 (visitor VARCHAR, home VARCHAR, date VARCHAR) [/INST] SELECT visitor FROM table_name_20 WHERE home = "ottawa" AND date = "april 26" </s>
Name the result for lukas smital and home
SELECT result FROM table_17120964_5 WHERE man_of_the_match = "Lukas Smital" AND venue = "Home"
CREATE TABLE table_17120964_5 (result VARCHAR, man_of_the_match VARCHAR, venue VARCHAR)
<s>[INST] Name the result for lukas smital and home context: CREATE TABLE table_17120964_5 (result VARCHAR, man_of_the_match VARCHAR, venue VARCHAR) [/INST] SELECT result FROM table_17120964_5 WHERE man_of_the_match = "Lukas Smital" AND venue = "Home" </s>
What is Darryl Fedorak's highest round?
SELECT MAX(round) FROM table_name_91 WHERE player = "darryl fedorak"
CREATE TABLE table_name_91 (round INTEGER, player VARCHAR)
<s>[INST] What is Darryl Fedorak's highest round? context: CREATE TABLE table_name_91 (round INTEGER, player VARCHAR) [/INST] SELECT MAX(round) FROM table_name_91 WHERE player = "darryl fedorak" </s>
What is the low rank for hale irwin with under 32 wins?
SELECT MIN(rank) FROM table_name_37 WHERE player = "hale irwin" AND wins < 32
CREATE TABLE table_name_37 (rank INTEGER, player VARCHAR, wins VARCHAR)
<s>[INST] What is the low rank for hale irwin with under 32 wins? context: CREATE TABLE table_name_37 (rank INTEGER, player VARCHAR, wins VARCHAR) [/INST] SELECT MIN(rank) FROM table_name_37 WHERE player = "hale irwin" AND wins < 32 </s>
If the country of origin is switzerland, what is the name/ designation?
SELECT name___designation FROM table_26389588_1 WHERE country_of_origin = "Switzerland"
CREATE TABLE table_26389588_1 (name___designation VARCHAR, country_of_origin VARCHAR)
<s>[INST] If the country of origin is switzerland, what is the name/ designation? context: CREATE TABLE table_26389588_1 (name___designation VARCHAR, country_of_origin VARCHAR) [/INST] SELECT name___designation FROM table_26389588_1 WHERE country_of_origin = "Switzerland" </s>
How many students are there?
SELECT COUNT(*) FROM student
CREATE TABLE student (Id VARCHAR)
<s>[INST] How many students are there? context: CREATE TABLE student (Id VARCHAR) [/INST] SELECT COUNT(*) FROM student </s>
Which Purpose has an Elevation + Height of 0 + metres (ft), a Location of bikini, namu (charlie), and a Yield of 220 kt?
SELECT purpose FROM table_name_37 WHERE elevation_ + _height = "0 + metres (ft)" AND location = "bikini, namu (charlie)" AND yield = "220 kt"
CREATE TABLE table_name_37 (purpose VARCHAR, yield VARCHAR, location VARCHAR, elevation_ VARCHAR, _height VARCHAR)
<s>[INST] Which Purpose has an Elevation + Height of 0 + metres (ft), a Location of bikini, namu (charlie), and a Yield of 220 kt? context: CREATE TABLE table_name_37 (purpose VARCHAR, yield VARCHAR, location VARCHAR, elevation_ VARCHAR, _height VARCHAR) [/INST] SELECT purpose FROM table_name_37 WHERE elevation_ + _height = "0 + metres (ft)" AND location = "bikini, namu (charlie)" AND yield = "220 kt" </s>
Who had the high points on January 23?
SELECT high_points FROM table_11960407_4 WHERE date = "January 23"
CREATE TABLE table_11960407_4 (high_points VARCHAR, date VARCHAR)
<s>[INST] Who had the high points on January 23? context: CREATE TABLE table_11960407_4 (high_points VARCHAR, date VARCHAR) [/INST] SELECT high_points FROM table_11960407_4 WHERE date = "January 23" </s>
Who directed all the episodes that were written by aaron ehasz & john o'bryan?
SELECT directed_by FROM table_14562722_1 WHERE written_by = "Aaron Ehasz & John O'Bryan"
CREATE TABLE table_14562722_1 (directed_by VARCHAR, written_by VARCHAR)
<s>[INST] Who directed all the episodes that were written by aaron ehasz & john o'bryan? context: CREATE TABLE table_14562722_1 (directed_by VARCHAR, written_by VARCHAR) [/INST] SELECT directed_by FROM table_14562722_1 WHERE written_by = "Aaron Ehasz & John O'Bryan" </s>
How many Bronze medals did Switzerland with less than 3 Silver medals receive?
SELECT MIN(bronze) FROM table_name_75 WHERE nation = "switzerland" AND silver < 3
CREATE TABLE table_name_75 (bronze INTEGER, nation VARCHAR, silver VARCHAR)
<s>[INST] How many Bronze medals did Switzerland with less than 3 Silver medals receive? context: CREATE TABLE table_name_75 (bronze INTEGER, nation VARCHAR, silver VARCHAR) [/INST] SELECT MIN(bronze) FROM table_name_75 WHERE nation = "switzerland" AND silver < 3 </s>
How many tries for were there while having 479 points against?
SELECT tries_for FROM table_name_38 WHERE points_against = "479"
CREATE TABLE table_name_38 (tries_for VARCHAR, points_against VARCHAR)
<s>[INST] How many tries for were there while having 479 points against? context: CREATE TABLE table_name_38 (tries_for VARCHAR, points_against VARCHAR) [/INST] SELECT tries_for FROM table_name_38 WHERE points_against = "479" </s>
What transfer window has baptista as the name?
SELECT transfer_window FROM table_name_44 WHERE name = "baptista"
CREATE TABLE table_name_44 (transfer_window VARCHAR, name VARCHAR)
<s>[INST] What transfer window has baptista as the name? context: CREATE TABLE table_name_44 (transfer_window VARCHAR, name VARCHAR) [/INST] SELECT transfer_window FROM table_name_44 WHERE name = "baptista" </s>
What is the record of the game with 28,135 people in attendance?
SELECT record FROM table_name_30 WHERE attendance = "28,135"
CREATE TABLE table_name_30 (record VARCHAR, attendance VARCHAR)
<s>[INST] What is the record of the game with 28,135 people in attendance? context: CREATE TABLE table_name_30 (record VARCHAR, attendance VARCHAR) [/INST] SELECT record FROM table_name_30 WHERE attendance = "28,135" </s>
if the 2.09 million US viewers watched this episode, who was it written by
SELECT written_by FROM table_25084227_1 WHERE us_viewers__in_millions_ = "2.09"
CREATE TABLE table_25084227_1 (written_by VARCHAR, us_viewers__in_millions_ VARCHAR)
<s>[INST] if the 2.09 million US viewers watched this episode, who was it written by context: CREATE TABLE table_25084227_1 (written_by VARCHAR, us_viewers__in_millions_ VARCHAR) [/INST] SELECT written_by FROM table_25084227_1 WHERE us_viewers__in_millions_ = "2.09" </s>
What team played in game 39?
SELECT team FROM table_name_79 WHERE game = 39
CREATE TABLE table_name_79 (team VARCHAR, game VARCHAR)
<s>[INST] What team played in game 39? context: CREATE TABLE table_name_79 (team VARCHAR, game VARCHAR) [/INST] SELECT team FROM table_name_79 WHERE game = 39 </s>
Which school has the mascot of the Colonials?
SELECT institution FROM table_16403890_1 WHERE team_nickname = "Colonials"
CREATE TABLE table_16403890_1 (institution VARCHAR, team_nickname VARCHAR)
<s>[INST] Which school has the mascot of the Colonials? context: CREATE TABLE table_16403890_1 (institution VARCHAR, team_nickname VARCHAR) [/INST] SELECT institution FROM table_16403890_1 WHERE team_nickname = "Colonials" </s>
What is No. 3, when No. 7 is Abigail, and when No. 2 is Olivia?
SELECT no_3 FROM table_name_24 WHERE no_7 = "abigail" AND no_2 = "olivia"
CREATE TABLE table_name_24 (no_3 VARCHAR, no_7 VARCHAR, no_2 VARCHAR)
<s>[INST] What is No. 3, when No. 7 is Abigail, and when No. 2 is Olivia? context: CREATE TABLE table_name_24 (no_3 VARCHAR, no_7 VARCHAR, no_2 VARCHAR) [/INST] SELECT no_3 FROM table_name_24 WHERE no_7 = "abigail" AND no_2 = "olivia" </s>
What is the Surface of the match against Yaroslava Shvedova?
SELECT surface FROM table_name_46 WHERE opponent_in_the_final = "yaroslava shvedova"
CREATE TABLE table_name_46 (surface VARCHAR, opponent_in_the_final VARCHAR)
<s>[INST] What is the Surface of the match against Yaroslava Shvedova? context: CREATE TABLE table_name_46 (surface VARCHAR, opponent_in_the_final VARCHAR) [/INST] SELECT surface FROM table_name_46 WHERE opponent_in_the_final = "yaroslava shvedova" </s>
Who was on Jason's team in the episode where Sean's team was Reginald D. Hunter and Kelly Osbourne?
SELECT jasons_team FROM table_23292220_8 WHERE seans_team = "Reginald D. Hunter and Kelly Osbourne"
CREATE TABLE table_23292220_8 (jasons_team VARCHAR, seans_team VARCHAR)
<s>[INST] Who was on Jason's team in the episode where Sean's team was Reginald D. Hunter and Kelly Osbourne? context: CREATE TABLE table_23292220_8 (jasons_team VARCHAR, seans_team VARCHAR) [/INST] SELECT jasons_team FROM table_23292220_8 WHERE seans_team = "Reginald D. Hunter and Kelly Osbourne" </s>
What is the name of the patient who made the most recent appointment?
SELECT T1.name FROM patient AS T1 JOIN appointment AS T2 ON T1.ssn = T2.patient ORDER BY T2.start DESC LIMIT 1
CREATE TABLE patient (name VARCHAR, ssn VARCHAR); CREATE TABLE appointment (patient VARCHAR, start VARCHAR)
<s>[INST] What is the name of the patient who made the most recent appointment? context: CREATE TABLE patient (name VARCHAR, ssn VARCHAR); CREATE TABLE appointment (patient VARCHAR, start VARCHAR) [/INST] SELECT T1.name FROM patient AS T1 JOIN appointment AS T2 ON T1.ssn = T2.patient ORDER BY T2.start DESC LIMIT 1 </s>
What is Player, when Total is "154"?
SELECT player FROM table_name_73 WHERE total = "154"
CREATE TABLE table_name_73 (player VARCHAR, total VARCHAR)
<s>[INST] What is Player, when Total is "154"? context: CREATE TABLE table_name_73 (player VARCHAR, total VARCHAR) [/INST] SELECT player FROM table_name_73 WHERE total = "154" </s>
Which Week has an Attendance of 20,112?
SELECT MAX(week) FROM table_name_91 WHERE attendance = 20 OFFSET 112
CREATE TABLE table_name_91 (week INTEGER, attendance VARCHAR)
<s>[INST] Which Week has an Attendance of 20,112? context: CREATE TABLE table_name_91 (week INTEGER, attendance VARCHAR) [/INST] SELECT MAX(week) FROM table_name_91 WHERE attendance = 20 OFFSET 112 </s>
Team of Honda and a point total of 238 is what highest year?
SELECT MAX(year) FROM table_name_69 WHERE team = "honda" AND points = 238
CREATE TABLE table_name_69 (year INTEGER, team VARCHAR, points VARCHAR)
<s>[INST] Team of Honda and a point total of 238 is what highest year? context: CREATE TABLE table_name_69 (year INTEGER, team VARCHAR, points VARCHAR) [/INST] SELECT MAX(year) FROM table_name_69 WHERE team = "honda" AND points = 238 </s>
Name the high rebounds for american airlines center 20,557
SELECT high_rebounds FROM table_23284271_11 WHERE location_attendance = "American Airlines Center 20,557"
CREATE TABLE table_23284271_11 (high_rebounds VARCHAR, location_attendance VARCHAR)
<s>[INST] Name the high rebounds for american airlines center 20,557 context: CREATE TABLE table_23284271_11 (high_rebounds VARCHAR, location_attendance VARCHAR) [/INST] SELECT high_rebounds FROM table_23284271_11 WHERE location_attendance = "American Airlines Center 20,557" </s>
What is the least amount of total medals won?
SELECT MIN(total_min_2_medals_) FROM table_22355_23
CREATE TABLE table_22355_23 (total_min_2_medals_ INTEGER)
<s>[INST] What is the least amount of total medals won? context: CREATE TABLE table_22355_23 (total_min_2_medals_ INTEGER) [/INST] SELECT MIN(total_min_2_medals_) FROM table_22355_23 </s>
What is the highest number of viewers for a rating greater than 9.4?
SELECT MAX(viewers__m_) FROM table_name_47 WHERE rating > 9.4
CREATE TABLE table_name_47 (viewers__m_ INTEGER, rating INTEGER)
<s>[INST] What is the highest number of viewers for a rating greater than 9.4? context: CREATE TABLE table_name_47 (viewers__m_ INTEGER, rating INTEGER) [/INST] SELECT MAX(viewers__m_) FROM table_name_47 WHERE rating > 9.4 </s>
Liverpool as a home team as listed what in the Tie no column?
SELECT tie_no FROM table_name_28 WHERE home_team = "liverpool"
CREATE TABLE table_name_28 (tie_no VARCHAR, home_team VARCHAR)
<s>[INST] Liverpool as a home team as listed what in the Tie no column? context: CREATE TABLE table_name_28 (tie_no VARCHAR, home_team VARCHAR) [/INST] SELECT tie_no FROM table_name_28 WHERE home_team = "liverpool" </s>
What Location has a Delivery of barge and the Name of scaevola?
SELECT location FROM table_name_77 WHERE delivery = "barge" AND name = "scaevola"
CREATE TABLE table_name_77 (location VARCHAR, delivery VARCHAR, name VARCHAR)
<s>[INST] What Location has a Delivery of barge and the Name of scaevola? context: CREATE TABLE table_name_77 (location VARCHAR, delivery VARCHAR, name VARCHAR) [/INST] SELECT location FROM table_name_77 WHERE delivery = "barge" AND name = "scaevola" </s>
Name the Runs which has Venue of adelaide oval , adelaide?
SELECT runs FROM table_name_47 WHERE venue = "adelaide oval , adelaide"
CREATE TABLE table_name_47 (runs VARCHAR, venue VARCHAR)
<s>[INST] Name the Runs which has Venue of adelaide oval , adelaide? context: CREATE TABLE table_name_47 (runs VARCHAR, venue VARCHAR) [/INST] SELECT runs FROM table_name_47 WHERE venue = "adelaide oval , adelaide" </s>
what is the year when the score is 59-32?
SELECT SUM(year) FROM table_name_37 WHERE score = "59-32"
CREATE TABLE table_name_37 (year INTEGER, score VARCHAR)
<s>[INST] what is the year when the score is 59-32? context: CREATE TABLE table_name_37 (year INTEGER, score VARCHAR) [/INST] SELECT SUM(year) FROM table_name_37 WHERE score = "59-32" </s>
What is the lowest Laps, when Grid is greater than 7, and when Name is "Fabian Coulthard"?
SELECT MIN(laps) FROM table_name_83 WHERE grid > 7 AND name = "fabian coulthard"
CREATE TABLE table_name_83 (laps INTEGER, grid VARCHAR, name VARCHAR)
<s>[INST] What is the lowest Laps, when Grid is greater than 7, and when Name is "Fabian Coulthard"? context: CREATE TABLE table_name_83 (laps INTEGER, grid VARCHAR, name VARCHAR) [/INST] SELECT MIN(laps) FROM table_name_83 WHERE grid > 7 AND name = "fabian coulthard" </s>
What are the undisclosed when Adam Hinshelwood is Ricky Newman?
SELECT undisclosed FROM table_23835213_2 WHERE adam_hinshelwood = "Ricky Newman"
CREATE TABLE table_23835213_2 (undisclosed VARCHAR, adam_hinshelwood VARCHAR)
<s>[INST] What are the undisclosed when Adam Hinshelwood is Ricky Newman? context: CREATE TABLE table_23835213_2 (undisclosed VARCHAR, adam_hinshelwood VARCHAR) [/INST] SELECT undisclosed FROM table_23835213_2 WHERE adam_hinshelwood = "Ricky Newman" </s>
What is the A330 and the A310 wide?
SELECT a330 FROM table_name_62 WHERE a310 = "wide"
CREATE TABLE table_name_62 (a330 VARCHAR, a310 VARCHAR)
<s>[INST] What is the A330 and the A310 wide? context: CREATE TABLE table_name_62 (a330 VARCHAR, a310 VARCHAR) [/INST] SELECT a330 FROM table_name_62 WHERE a310 = "wide" </s>
Where was the friendly competition on 7 June 1999 played?
SELECT venue FROM table_name_9 WHERE competition = "friendly" AND date = "7 june 1999"
CREATE TABLE table_name_9 (venue VARCHAR, competition VARCHAR, date VARCHAR)
<s>[INST] Where was the friendly competition on 7 June 1999 played? context: CREATE TABLE table_name_9 (venue VARCHAR, competition VARCHAR, date VARCHAR) [/INST] SELECT venue FROM table_name_9 WHERE competition = "friendly" AND date = "7 june 1999" </s>
When the Home team was north melbourne what was the Date of the game?
SELECT date FROM table_name_49 WHERE home_team = "north melbourne"
CREATE TABLE table_name_49 (date VARCHAR, home_team VARCHAR)
<s>[INST] When the Home team was north melbourne what was the Date of the game? context: CREATE TABLE table_name_49 (date VARCHAR, home_team VARCHAR) [/INST] SELECT date FROM table_name_49 WHERE home_team = "north melbourne" </s>
for the rank of 8 and lane less than 3 what is the name?
SELECT name FROM table_name_99 WHERE lane < 3 AND rank = 8
CREATE TABLE table_name_99 (name VARCHAR, lane VARCHAR, rank VARCHAR)
<s>[INST] for the rank of 8 and lane less than 3 what is the name? context: CREATE TABLE table_name_99 (name VARCHAR, lane VARCHAR, rank VARCHAR) [/INST] SELECT name FROM table_name_99 WHERE lane < 3 AND rank = 8 </s>
What is the name of the player with the High points when there was a Record of 31–48?
SELECT high_points FROM table_name_66 WHERE record = "31–48"
CREATE TABLE table_name_66 (high_points VARCHAR, record VARCHAR)
<s>[INST] What is the name of the player with the High points when there was a Record of 31–48? context: CREATE TABLE table_name_66 (high_points VARCHAR, record VARCHAR) [/INST] SELECT high_points FROM table_name_66 WHERE record = "31–48" </s>
Who wins the clive churchill medal when the losing team is the sydney roosters in 2010?
SELECT clive_churchill_medal FROM table_name_27 WHERE losingteam = "sydney roosters" AND season = 2010
CREATE TABLE table_name_27 (clive_churchill_medal VARCHAR, losingteam VARCHAR, season VARCHAR)
<s>[INST] Who wins the clive churchill medal when the losing team is the sydney roosters in 2010? context: CREATE TABLE table_name_27 (clive_churchill_medal VARCHAR, losingteam VARCHAR, season VARCHAR) [/INST] SELECT clive_churchill_medal FROM table_name_27 WHERE losingteam = "sydney roosters" AND season = 2010 </s>
What is the country that has a place of T6 that Eduardo Romero plays for?
SELECT country FROM table_name_73 WHERE place = "t6" AND player = "eduardo romero"
CREATE TABLE table_name_73 (country VARCHAR, place VARCHAR, player VARCHAR)
<s>[INST] What is the country that has a place of T6 that Eduardo Romero plays for? context: CREATE TABLE table_name_73 (country VARCHAR, place VARCHAR, player VARCHAR) [/INST] SELECT country FROM table_name_73 WHERE place = "t6" AND player = "eduardo romero" </s>
What is the smallest total for a nation with more than 1 silver?
SELECT MIN(total) FROM table_name_75 WHERE silver > 1
CREATE TABLE table_name_75 (total INTEGER, silver INTEGER)
<s>[INST] What is the smallest total for a nation with more than 1 silver? context: CREATE TABLE table_name_75 (total INTEGER, silver INTEGER) [/INST] SELECT MIN(total) FROM table_name_75 WHERE silver > 1 </s>
How many total Silver has a Bronze larger than 19 and a Total smaller than 125?
SELECT SUM(silver) FROM table_name_13 WHERE bronze > 19 AND total < 125
CREATE TABLE table_name_13 (silver INTEGER, bronze VARCHAR, total VARCHAR)
<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>
Where there any Draws with 45 tries against?
SELECT drawn FROM table_name_56 WHERE tries_against = "45"
CREATE TABLE table_name_56 (drawn VARCHAR, tries_against VARCHAR)
<s>[INST] Where there any Draws with 45 tries against? context: CREATE TABLE table_name_56 (drawn VARCHAR, tries_against VARCHAR) [/INST] SELECT drawn FROM table_name_56 WHERE tries_against = "45" </s>
List the phone hardware model and company name for the phones whose screen usage in kb is between 10 and 15.
SELECT DISTINCT T2.Hardware_Model_name, T2.Company_name FROM screen_mode AS T1 JOIN phone AS T2 ON T1.Graphics_mode = T2.screen_mode WHERE T1.used_kb BETWEEN 10 AND 15
CREATE TABLE phone (Hardware_Model_name VARCHAR, Company_name VARCHAR, screen_mode VARCHAR); CREATE TABLE screen_mode (Graphics_mode VARCHAR, used_kb INTEGER)
<s>[INST] List the phone hardware model and company name for the phones whose screen usage in kb is between 10 and 15. context: CREATE TABLE phone (Hardware_Model_name VARCHAR, Company_name VARCHAR, screen_mode VARCHAR); CREATE TABLE screen_mode (Graphics_mode VARCHAR, used_kb INTEGER) [/INST] SELECT DISTINCT T2.Hardware_Model_name, T2.Company_name FROM screen_mode AS T1 JOIN phone AS T2 ON T1.Graphics_mode = T2.screen_mode WHERE T1.used_kb BETWEEN 10 AND 15 </s>
What team won the Tour de Santa Catarina?
SELECT team FROM table_name_5 WHERE race_name = "tour de santa catarina"
CREATE TABLE table_name_5 (team VARCHAR, race_name VARCHAR)
<s>[INST] What team won the Tour de Santa Catarina? context: CREATE TABLE table_name_5 (team VARCHAR, race_name VARCHAR) [/INST] SELECT team FROM table_name_5 WHERE race_name = "tour de santa catarina" </s>
How many opponents was a game with a record 17-6 played against?
SELECT COUNT(opponent) FROM table_18894744_6 WHERE record = "17-6"
CREATE TABLE table_18894744_6 (opponent VARCHAR, record VARCHAR)
<s>[INST] How many opponents was a game with a record 17-6 played against? context: CREATE TABLE table_18894744_6 (opponent VARCHAR, record VARCHAR) [/INST] SELECT COUNT(opponent) FROM table_18894744_6 WHERE record = "17-6" </s>
What is the most common mill type, and how many are there?
SELECT TYPE, COUNT(*) FROM mill GROUP BY TYPE ORDER BY COUNT(*) DESC LIMIT 1
CREATE TABLE mill (TYPE VARCHAR)
<s>[INST] What is the most common mill type, and how many are there? context: CREATE TABLE mill (TYPE VARCHAR) [/INST] SELECT TYPE, COUNT(*) FROM mill GROUP BY TYPE ORDER BY COUNT(*) DESC LIMIT 1 </s>
What is the finish position in the year prior to 2009?
SELECT finish_position FROM table_name_64 WHERE year < 2009
CREATE TABLE table_name_64 (finish_position VARCHAR, year INTEGER)
<s>[INST] What is the finish position in the year prior to 2009? context: CREATE TABLE table_name_64 (finish_position VARCHAR, year INTEGER) [/INST] SELECT finish_position FROM table_name_64 WHERE year < 2009 </s>
Who is the player for the School/Club team in Georgia?
SELECT player FROM table_name_73 WHERE school_club_team = "georgia"
CREATE TABLE table_name_73 (player VARCHAR, school_club_team VARCHAR)
<s>[INST] Who is the player for the School/Club team in Georgia? context: CREATE TABLE table_name_73 (player VARCHAR, school_club_team VARCHAR) [/INST] SELECT player FROM table_name_73 WHERE school_club_team = "georgia" </s>
How many points are there with more losses than 16, more goals than 44, and a smaller position than 13?
SELECT COUNT(points) FROM table_name_99 WHERE loses > 16 AND goals_scored > 44 AND position < 13
CREATE TABLE table_name_99 (points VARCHAR, position VARCHAR, loses VARCHAR, goals_scored VARCHAR)
<s>[INST] How many points are there with more losses than 16, more goals than 44, and a smaller position than 13? context: CREATE TABLE table_name_99 (points VARCHAR, position VARCHAR, loses VARCHAR, goals_scored VARCHAR) [/INST] SELECT COUNT(points) FROM table_name_99 WHERE loses > 16 AND goals_scored > 44 AND position < 13 </s>
How many IRST figures for the show that premiered on Canale 5 (2006)?
SELECT COUNT(irst) FROM table_28803803_1 WHERE original_channel = "Canale 5 (2006)"
CREATE TABLE table_28803803_1 (irst VARCHAR, original_channel VARCHAR)
<s>[INST] How many IRST figures for the show that premiered on Canale 5 (2006)? context: CREATE TABLE table_28803803_1 (irst VARCHAR, original_channel VARCHAR) [/INST] SELECT COUNT(irst) FROM table_28803803_1 WHERE original_channel = "Canale 5 (2006)" </s>
What try bonus drew 0 and scored 427 points for?
SELECT try_bonus FROM table_name_83 WHERE drawn = "0" AND points_for = "427"
CREATE TABLE table_name_83 (try_bonus VARCHAR, drawn VARCHAR, points_for VARCHAR)
<s>[INST] What try bonus drew 0 and scored 427 points for? context: CREATE TABLE table_name_83 (try_bonus VARCHAR, drawn VARCHAR, points_for VARCHAR) [/INST] SELECT try_bonus FROM table_name_83 WHERE drawn = "0" AND points_for = "427" </s>
WHAT IS THE RESULT WITH A SCORE OF 70-73?
SELECT result FROM table_name_81 WHERE score = "70-73"
CREATE TABLE table_name_81 (result VARCHAR, score VARCHAR)
<s>[INST] WHAT IS THE RESULT WITH A SCORE OF 70-73? context: CREATE TABLE table_name_81 (result VARCHAR, score VARCHAR) [/INST] SELECT result FROM table_name_81 WHERE score = "70-73" </s>
what are all the result for New York 6 district
SELECT result FROM table_1341395_33 WHERE district = "New York 6"
CREATE TABLE table_1341395_33 (result VARCHAR, district VARCHAR)
<s>[INST] what are all the result for New York 6 district context: CREATE TABLE table_1341395_33 (result VARCHAR, district VARCHAR) [/INST] SELECT result FROM table_1341395_33 WHERE district = "New York 6" </s>
Show the names and total passengers for all train stations not in London.
SELECT name, total_passengers FROM station WHERE LOCATION <> 'London'
CREATE TABLE station (name VARCHAR, total_passengers VARCHAR, LOCATION VARCHAR)
<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>
Name the most touchdowns for field goals being 1
SELECT MAX(touchdowns) FROM table_14342480_6 WHERE field_goals = 1
CREATE TABLE table_14342480_6 (touchdowns INTEGER, field_goals VARCHAR)
<s>[INST] Name the most touchdowns for field goals being 1 context: CREATE TABLE table_14342480_6 (touchdowns INTEGER, field_goals VARCHAR) [/INST] SELECT MAX(touchdowns) FROM table_14342480_6 WHERE field_goals = 1 </s>
What's the total of Games with a Lost that's larger than 2, and has Points that's smaller than 0?
SELECT SUM(games) FROM table_name_75 WHERE lost > 2 AND points < 0
CREATE TABLE table_name_75 (games INTEGER, lost VARCHAR, points VARCHAR)
<s>[INST] What's the total of Games with a Lost that's larger than 2, and has Points that's smaller than 0? context: CREATE TABLE table_name_75 (games INTEGER, lost VARCHAR, points VARCHAR) [/INST] SELECT SUM(games) FROM table_name_75 WHERE lost > 2 AND points < 0 </s>
What is the average To Par, when Score is "72-67-71-72=282"?
SELECT AVG(to_par) FROM table_name_40 WHERE score = 72 - 67 - 71 - 72 = 282
CREATE TABLE table_name_40 (to_par INTEGER, score VARCHAR)
<s>[INST] What is the average To Par, when Score is "72-67-71-72=282"? context: CREATE TABLE table_name_40 (to_par INTEGER, score VARCHAR) [/INST] SELECT AVG(to_par) FROM table_name_40 WHERE score = 72 - 67 - 71 - 72 = 282 </s>