training_input
stringlengths 118
1.06k
|
---|
###context:CREATE TABLE table_name_21 (location VARCHAR, record VARCHAR)
###human: Name the location of record 5-3
###assistant: SELECT location FROM table_name_21 WHERE record = "5-3" |
###context:CREATE TABLE table_name_45 (rank INTEGER, loss VARCHAR, percentage VARCHAR)
###human: What's the rank for a team that has a percentage of 56% and a loss smaller than 4?
###assistant: SELECT AVG(rank) FROM table_name_45 WHERE NOT percentage = "56%" AND loss < 4 |
###context:CREATE TABLE table_name_3 (yards INTEGER, long VARCHAR, avg VARCHAR)
###human: Name the lowest yards for 34 long and avg less than 12.6
###assistant: SELECT MIN(yards) FROM table_name_3 WHERE long = 34 AND avg < 12.6 |
###context:CREATE TABLE table_name_63 (team VARCHAR, sponsor VARCHAR)
###human: What team is sponsored by chameleon sunglasses?
###assistant: SELECT team FROM table_name_63 WHERE sponsor = "chameleon sunglasses" |
###context:CREATE TABLE table_name_8 (team VARCHAR, make VARCHAR, driver VARCHAR)
###human: What team does bobby hillin jr. (r) drive a buick regal for?
###assistant: SELECT team FROM table_name_8 WHERE make = "buick regal" AND driver = "bobby hillin jr. (r)" |
###context:CREATE TABLE table_name_14 (team VARCHAR, sponsor VARCHAR)
###human: What team is sponsored by w.h. bolin?
###assistant: SELECT team FROM table_name_14 WHERE sponsor = "w.h. bolin" |
###context:CREATE TABLE table_name_82 (driver VARCHAR, sponsor VARCHAR)
###human: Who drives for the sponsor w.h. bolin?
###assistant: SELECT driver FROM table_name_82 WHERE sponsor = "w.h. bolin" |
###context:CREATE TABLE table_name_18 (sponsor VARCHAR, driver VARCHAR)
###human: Who sponsors driver neil bonnett?
###assistant: SELECT sponsor FROM table_name_18 WHERE driver = "neil bonnett" |
###context:CREATE TABLE table_name_82 (channel VARCHAR, description VARCHAR)
###human: What channel has a description of the public broadcaster?
###assistant: SELECT channel FROM table_name_82 WHERE description = "public broadcaster" |
###context:CREATE TABLE table_name_39 (channel VARCHAR, financed_by VARCHAR)
###human: What was the channel that was financed by commercials?
###assistant: SELECT channel FROM table_name_39 WHERE financed_by = "commercials" |
###context:CREATE TABLE table_name_10 (laps INTEGER, grid VARCHAR, constructor VARCHAR, driver VARCHAR)
###human: Which entry has the highest laps of those with constructor Minardi - Fondmetal, driver Marc Gené, and a grid larger than 20?
###assistant: SELECT MAX(laps) FROM table_name_10 WHERE constructor = "minardi - fondmetal" AND driver = "marc gené" AND grid > 20 |
###context:CREATE TABLE table_name_7 (grid INTEGER, laps VARCHAR, driver VARCHAR)
###human: What is the sum of grid values of driver Michael Schumacher with lap counts larger than 66?
###assistant: SELECT SUM(grid) FROM table_name_7 WHERE laps > 66 AND driver = "michael schumacher" |
###context:CREATE TABLE table_name_17 (driver VARCHAR, laps VARCHAR)
###human: Which driver has 62 laps?
###assistant: SELECT driver FROM table_name_17 WHERE laps = 62 |
###context:CREATE TABLE table_name_99 (grid INTEGER, laps VARCHAR, constructor VARCHAR, driver VARCHAR)
###human: What is the highest grid value with constructor Mclaren - Mercedes, driver David Coulthard, and has fewer than 66 laps?
###assistant: SELECT MAX(grid) FROM table_name_99 WHERE constructor = "mclaren - mercedes" AND driver = "david coulthard" AND laps < 66 |
###context:CREATE TABLE table_name_99 (laps INTEGER, grid VARCHAR)
###human: What is the highest number of laps for grid 17?
###assistant: SELECT MAX(laps) FROM table_name_99 WHERE grid = 17 |
###context:CREATE TABLE table_name_8 (rounds VARCHAR, driver VARCHAR)
###human: None of the rounds has Roger Williamson as a driver.
###assistant: SELECT rounds FROM table_name_8 WHERE driver = "roger williamson" |
###context:CREATE TABLE table_name_60 (time_retired VARCHAR, driver VARCHAR)
###human: What is the time/retired for alain prost?
###assistant: SELECT time_retired FROM table_name_60 WHERE driver = "alain prost" |
###context:CREATE TABLE table_name_30 (time_retired VARCHAR, grid VARCHAR)
###human: What is the time/retired for grid 9?
###assistant: SELECT time_retired FROM table_name_30 WHERE grid = 9 |
###context:CREATE TABLE table_name_65 (driver VARCHAR, time_retired VARCHAR)
###human: Who had to retire due to suspension?
###assistant: SELECT driver FROM table_name_65 WHERE time_retired = "suspension" |
###context:CREATE TABLE table_name_40 (class VARCHAR, sport VARCHAR, year VARCHAR)
###human: What class is volleyball in 2000?
###assistant: SELECT class FROM table_name_40 WHERE sport = "volleyball" AND year = 2000 |
###context:CREATE TABLE table_name_89 (record VARCHAR, class VARCHAR, sport VARCHAR)
###human: What is the team's record in 3a volleyball?
###assistant: SELECT record FROM table_name_89 WHERE class = "3a" AND sport = "volleyball" |
###context:CREATE TABLE table_name_62 (away_team VARCHAR, home_team VARCHAR)
###human: Who was the away team at Melbourne's home game?
###assistant: SELECT away_team FROM table_name_62 WHERE home_team = "melbourne" |
###context:CREATE TABLE table_name_42 (away_team VARCHAR, venue VARCHAR)
###human: What was the away team score at Corio Oval?
###assistant: SELECT away_team AS score FROM table_name_42 WHERE venue = "corio oval" |
###context:CREATE TABLE table_name_37 (call_sign VARCHAR, tail_code VARCHAR, weapon_systems_officer VARCHAR)
###human: Which Call Sign that has a Tail Code of oy belong to Weapon Systems Officer Capt Charles B. Debellevue?
###assistant: SELECT call_sign FROM table_name_37 WHERE tail_code = "oy" AND weapon_systems_officer = "capt charles b. debellevue" |
###context:CREATE TABLE table_name_29 (tail_code VARCHAR, weapon_systems_officer VARCHAR)
###human: Which Tail Code belongs to Weapon Systems Officer Capt Charles B. Debellevue?
###assistant: SELECT tail_code FROM table_name_29 WHERE weapon_systems_officer = "capt charles b. debellevue" |
###context:CREATE TABLE table_name_37 (aircraft VARCHAR, call_sign VARCHAR)
###human: Which Aircraft has the Call Sign Paula 01?
###assistant: SELECT aircraft FROM table_name_37 WHERE call_sign = "paula 01" |
###context:CREATE TABLE table_name_80 (call_sign VARCHAR, tail_code VARCHAR)
###human: Which Call Sign that has Tail Code ed?
###assistant: SELECT call_sign FROM table_name_80 WHERE tail_code = "ed" |
###context:CREATE TABLE table_name_27 (aircraft VARCHAR, weapon_systems_officer VARCHAR)
###human: Which aircraft Weapon Systems Officer Capt Charles B. Debellevue belongs on?
###assistant: SELECT aircraft FROM table_name_27 WHERE weapon_systems_officer = "capt charles b. debellevue" |
###context:CREATE TABLE table_name_96 (wins INTEGER, losses VARCHAR)
###human: What is the lowest amount of wins of someone who has 2 losses?
###assistant: SELECT MIN(wins) FROM table_name_96 WHERE losses = 2 |
###context:CREATE TABLE table_name_29 (wins INTEGER, against VARCHAR, losses VARCHAR)
###human: What is the largest amount of wins of someone who has an against score greater than 1249 and a number of losses less than 17?
###assistant: SELECT MAX(wins) FROM table_name_29 WHERE against > 1249 AND losses < 17 |
###context:CREATE TABLE table_name_23 (race_name VARCHAR, winning_driver VARCHAR, circuit VARCHAR)
###human: What is the name of race that has a winning driver of Stirling moss and a Circuit of oulton park?
###assistant: SELECT race_name FROM table_name_23 WHERE winning_driver = "stirling moss" AND circuit = "oulton park" |
###context:CREATE TABLE table_name_27 (winning_driver VARCHAR, constructor VARCHAR)
###human: Who is the winning driver that has a construction of brm?
###assistant: SELECT winning_driver FROM table_name_27 WHERE constructor = "brm" |
###context:CREATE TABLE table_name_15 (bronze INTEGER, rank VARCHAR)
###human: What is the high bronze total for nations ranked 12?
###assistant: SELECT MAX(bronze) FROM table_name_15 WHERE rank = "12" |
###context:CREATE TABLE table_name_23 (winning_score VARCHAR, date VARCHAR)
###human: What was the winning score on May 3, 1998?
###assistant: SELECT winning_score FROM table_name_23 WHERE date = "may 3, 1998" |
###context:CREATE TABLE table_name_26 (role VARCHAR, registration VARCHAR)
###human: What is the role of the aircraft that has a registration of s5-hpg s5-hpc?
###assistant: SELECT role FROM table_name_26 WHERE registration = "s5-hpg s5-hpc" |
###context:CREATE TABLE table_name_67 (origin VARCHAR, registration VARCHAR)
###human: What is the country of origin of the aircraft with a registration s5-hpb?
###assistant: SELECT origin FROM table_name_67 WHERE registration = "s5-hpb" |
###context:CREATE TABLE table_name_41 (role VARCHAR, origin VARCHAR)
###human: What is the role of the aircraft that originates from the European Union?
###assistant: SELECT role FROM table_name_41 WHERE origin = "european union" |
###context:CREATE TABLE table_name_51 (role VARCHAR, registration VARCHAR)
###human: What is the role of the aircraft that has a registration of s5-hpb?
###assistant: SELECT role FROM table_name_51 WHERE registration = "s5-hpb" |
###context:CREATE TABLE table_name_90 (hometown VARCHAR, height VARCHAR)
###human: Which Hometown has a Height of 6-10?
###assistant: SELECT hometown FROM table_name_90 WHERE height = "6-10" |
###context:CREATE TABLE table_name_10 (nba_draft VARCHAR, school VARCHAR)
###human: What is the NBA Draft for the School Bishop O'Connell High School?
###assistant: SELECT nba_draft FROM table_name_10 WHERE school = "bishop o'connell high school" |
###context:CREATE TABLE table_name_65 (school VARCHAR, hometown VARCHAR)
###human: Which School is located in Winter Park, FL (Hometown)?
###assistant: SELECT school FROM table_name_65 WHERE hometown = "winter park, fl" |
###context:CREATE TABLE table_name_83 (hometown VARCHAR, school VARCHAR)
###human: When the School is Bishop Luers High School, what is the Hometown?
###assistant: SELECT hometown FROM table_name_83 WHERE school = "bishop luers high school" |
###context:CREATE TABLE table_name_11 (hometown VARCHAR, college VARCHAR)
###human: What is the Hometown for Villanova College?
###assistant: SELECT hometown FROM table_name_11 WHERE college = "villanova" |
###context:CREATE TABLE table_name_31 (home VARCHAR, record VARCHAR)
###human: Who was the home team at the game when the Thrashers had a record of 18–18–1?
###assistant: SELECT home FROM table_name_31 WHERE record = "18–18–1" |
###context:CREATE TABLE table_name_70 (date VARCHAR, decision VARCHAR, attendance VARCHAR)
###human: What was the date of the game with a decision of Lehtonen and attended by more than 17,731 people?
###assistant: SELECT date FROM table_name_70 WHERE decision = "lehtonen" AND attendance > 17 OFFSET 731 |
###context:CREATE TABLE table_name_38 (grid INTEGER, time_retired VARCHAR, driver VARCHAR)
###human: What is the average grid for johnny herbert with a Time/Retired of +1 lap?
###assistant: SELECT AVG(grid) FROM table_name_38 WHERE time_retired = "+1 lap" AND driver = "johnny herbert" |
###context:CREATE TABLE table_name_25 (away_team VARCHAR, venue VARCHAR)
###human: Who was the away team at mcg?
###assistant: SELECT away_team FROM table_name_25 WHERE venue = "mcg" |
###context:CREATE TABLE table_name_25 (home_team VARCHAR, venue VARCHAR)
###human: Who was the home team at princes park?
###assistant: SELECT home_team FROM table_name_25 WHERE venue = "princes park" |
###context:CREATE TABLE table_name_32 (object_type VARCHAR, declination___j2000__ VARCHAR, constellation VARCHAR, ngc_number VARCHAR)
###human: Which Object type has a Constellation of orion, and an NGC number larger than 2174, and a Declination (J2000) of °48′06″?
###assistant: SELECT object_type FROM table_name_32 WHERE constellation = "orion" AND ngc_number > 2174 AND declination___j2000__ = "°48′06″" |
###context:CREATE TABLE table_name_98 (right_ascension___j2000__ VARCHAR, constellation VARCHAR, ngc_number VARCHAR)
###human: Which Right ascension (J2000) has a Constellation of mensa, and an NGC number larger than 2171?
###assistant: SELECT right_ascension___j2000__ FROM table_name_98 WHERE constellation = "mensa" AND ngc_number > 2171 |
###context:CREATE TABLE table_name_61 (ngc_number INTEGER, object_type VARCHAR, right_ascension___j2000__ VARCHAR)
###human: Which NGC number has an Object type of open cluster, and a Right ascension (J2000) of 06h01m06s?
###assistant: SELECT MAX(ngc_number) FROM table_name_61 WHERE object_type = "open cluster" AND right_ascension___j2000__ = "06h01m06s" |
###context:CREATE TABLE table_name_37 (object_type VARCHAR, ngc_number VARCHAR)
###human: Which Object type has an NGC number of 2171?
###assistant: SELECT object_type FROM table_name_37 WHERE ngc_number = 2171 |
###context:CREATE TABLE table_name_8 (end_date VARCHAR, governor VARCHAR, term VARCHAR)
###human: What is the end date of the term for Governor of richard j. oglesby, and a Term of 1885–1889?
###assistant: SELECT end_date FROM table_name_8 WHERE governor = "richard j. oglesby" AND term = "1885–1889" |
###context:CREATE TABLE table_name_5 (site VARCHAR, function VARCHAR, orbit VARCHAR, decay___utc__ VARCHAR)
###human: What site has an orbit of Leo, a decay (UTC) of still in orbit, and a magnetosphere research?
###assistant: SELECT site FROM table_name_5 WHERE orbit = "leo" AND decay___utc__ = "still in orbit" AND function = "magnetosphere research" |
###context:CREATE TABLE table_name_23 (date_and_time___utc__ VARCHAR, site VARCHAR, rocket VARCHAR, orbit VARCHAR, function VARCHAR)
###human: What date and time has a sub-orbital of orbit, a function of aeronomy research, and a Nike Orion rocket, as well as a Poker Flat site?
###assistant: SELECT date_and_time___utc__ FROM table_name_23 WHERE orbit = "sub-orbital" AND function = "aeronomy research" AND rocket = "nike orion" AND site = "poker flat" |
###context:CREATE TABLE table_name_29 (tournament VARCHAR, winning_score VARCHAR)
###human: what is the tournament when the winning score is 2 and 1?
###assistant: SELECT tournament FROM table_name_29 WHERE winning_score = "2 and 1" |
###context:CREATE TABLE table_name_30 (margin_of_victory VARCHAR, tournament VARCHAR)
###human: what is the margin of victory for the tournament travelers championship?
###assistant: SELECT margin_of_victory FROM table_name_30 WHERE tournament = "travelers championship" |
###context:CREATE TABLE table_name_69 (margin_of_victory VARCHAR, tournament VARCHAR)
###human: what is the margin of victory for the waste management phoenix open tournament?
###assistant: SELECT margin_of_victory FROM table_name_69 WHERE tournament = "waste management phoenix open" |
###context:CREATE TABLE table_name_26 (runner_up VARCHAR, winning_score VARCHAR)
###human: who is the runner-up when the winning score is −16 (68-70-65-65=268)?
###assistant: SELECT runner_up FROM table_name_26 WHERE winning_score = −16(68 - 70 - 65 - 65 = 268) |
###context:CREATE TABLE table_name_8 (game_4 VARCHAR, position VARCHAR, game_1 VARCHAR)
###human: For which Game 4 did Michael O'Connor play wing position?
###assistant: SELECT game_4 FROM table_name_8 WHERE position = "wing" AND game_1 = "michael o'connor" |
###context:CREATE TABLE table_name_41 (game_4 VARCHAR, game_3 VARCHAR)
###human: For which Game 4, did David Boyle play in Game 3?
###assistant: SELECT game_4 FROM table_name_41 WHERE game_3 = "david boyle" |
###context:CREATE TABLE table_name_88 (game_1 VARCHAR, position VARCHAR)
###human: Which Game 1 has a fullback?
###assistant: SELECT game_1 FROM table_name_88 WHERE position = "fullback" |
###context:CREATE TABLE table_name_27 (game_4 VARCHAR, game_1 VARCHAR)
###human: For which Game 4 did Michael O'Connor play during Game 1?
###assistant: SELECT game_4 FROM table_name_27 WHERE game_1 = "michael o'connor" |
###context:CREATE TABLE table_name_20 (position VARCHAR, game_2 VARCHAR)
###human: During Game 2, which position did Andrew Farrar play?
###assistant: SELECT position FROM table_name_20 WHERE game_2 = "andrew farrar" |
###context:CREATE TABLE table_name_52 (game_4 VARCHAR, game_2 VARCHAR)
###human: During which Game 4, did Brett Kenny play Game 2?
###assistant: SELECT game_4 FROM table_name_52 WHERE game_2 = "brett kenny" |
###context:CREATE TABLE table_name_98 (location VARCHAR, founded VARCHAR, left VARCHAR, type VARCHAR)
###human: Where was the former private member that was founded in 1891 and left in 1975?
###assistant: SELECT location FROM table_name_98 WHERE left = 1975 AND type = "private" AND founded = 1891 |
###context:CREATE TABLE table_name_38 (places INTEGER, nation VARCHAR, rank VARCHAR)
###human: what is the places when for the soviet union with a rank more than 11?
###assistant: SELECT SUM(places) FROM table_name_38 WHERE nation = "soviet union" AND rank > 11 |
###context:CREATE TABLE table_name_4 (name VARCHAR, nation VARCHAR, points VARCHAR)
###human: what is the name when the nation is soviet union and the points is 185?
###assistant: SELECT name FROM table_name_4 WHERE nation = "soviet union" AND points = 185 |
###context:CREATE TABLE table_name_22 (constructor VARCHAR, laps VARCHAR, grid VARCHAR)
###human: What constructor has less than 3 laps and grid 15?
###assistant: SELECT constructor FROM table_name_22 WHERE laps < 3 AND grid = 15 |
###context:CREATE TABLE table_name_25 (home_team VARCHAR, away_team VARCHAR)
###human: Which Home team has an Away team of collingwood?
###assistant: SELECT home_team FROM table_name_25 WHERE away_team = "collingwood" |
###context:CREATE TABLE table_name_3 (against INTEGER, wins VARCHAR, losses VARCHAR, draws VARCHAR)
###human: Name the lowest against for when wins are greater than 14, draws is 0 and losses are 4
###assistant: SELECT MIN(against) FROM table_name_3 WHERE losses = 4 AND draws = 0 AND wins > 14 |
###context:CREATE TABLE table_name_92 (against INTEGER, byes INTEGER)
###human: Name the sum against for byes less than 0
###assistant: SELECT SUM(against) FROM table_name_92 WHERE byes < 0 |
###context:CREATE TABLE table_name_6 (draws INTEGER, wins VARCHAR, losses VARCHAR)
###human: Name the sum of draws for losses less than 2 and wins of 16
###assistant: SELECT SUM(draws) FROM table_name_6 WHERE wins = 16 AND losses < 2 |
###context:CREATE TABLE table_name_48 (laps INTEGER, finish VARCHAR)
###human: How few laps were finished in 17?
###assistant: SELECT MIN(laps) FROM table_name_48 WHERE finish = "17" |
###context:CREATE TABLE table_name_55 (qual VARCHAR, year VARCHAR)
###human: What is 1966's Qual rating?
###assistant: SELECT qual FROM table_name_55 WHERE year = "1966" |
###context:CREATE TABLE table_name_78 (start VARCHAR, finish VARCHAR)
###human: What race has a finish time of 10?
###assistant: SELECT start FROM table_name_78 WHERE finish = "10" |
###context:CREATE TABLE table_name_85 (laps INTEGER, rank VARCHAR)
###human: What is the lowest lap with a rank of 30?
###assistant: SELECT MIN(laps) FROM table_name_85 WHERE rank = "30" |
###context:CREATE TABLE table_name_9 (finish VARCHAR, start VARCHAR)
###human: What finish time started at 32?
###assistant: SELECT finish FROM table_name_9 WHERE start = "32" |
###context:CREATE TABLE table_name_59 (rank INTEGER, country VARCHAR, wins VARCHAR)
###human: Who is the lowest ranked player from the United States that has less than 3 Wins?
###assistant: SELECT MIN(rank) FROM table_name_59 WHERE country = "united states" AND wins < 3 |
###context:CREATE TABLE table_name_93 (score VARCHAR, visitor VARCHAR)
###human: What is the score of the game that had a visiting team of Edmonton?
###assistant: SELECT score FROM table_name_93 WHERE visitor = "edmonton" |
###context:CREATE TABLE table_name_59 (record VARCHAR, home VARCHAR, visitor VARCHAR)
###human: What is the record of the game that had a home team of Colorado, and a visiting team of Winnipeg?
###assistant: SELECT record FROM table_name_59 WHERE home = "colorado" AND visitor = "winnipeg" |
###context:CREATE TABLE table_name_85 (visitor VARCHAR, date VARCHAR)
###human: What team was visiting on February 15?
###assistant: SELECT visitor FROM table_name_85 WHERE date = "february 15" |
###context:CREATE TABLE table_name_22 (theme VARCHAR, issue_price VARCHAR, year VARCHAR)
###human: What theme had an issue price of $489.95 after 2005?
###assistant: SELECT theme FROM table_name_22 WHERE issue_price = "$489.95" AND year > 2005 |
###context:CREATE TABLE table_name_61 (year INTEGER, theme VARCHAR)
###human: What year was the timber trade?
###assistant: SELECT SUM(year) FROM table_name_61 WHERE theme = "timber trade" |
###context:CREATE TABLE table_name_9 (year VARCHAR, issue_price VARCHAR)
###human: What year has an issue price of $697.95?
###assistant: SELECT COUNT(year) FROM table_name_9 WHERE issue_price = "$697.95" |
###context:CREATE TABLE table_name_66 (engine VARCHAR, driver VARCHAR, chassis VARCHAR)
###human: What was the engine driven by Jean-Pierre Jarier and has a chassis of PC4?
###assistant: SELECT engine FROM table_name_66 WHERE driver = "jean-pierre jarier" AND chassis = "pc4" |
###context:CREATE TABLE table_name_87 (season VARCHAR, winners VARCHAR)
###human: What Season had Dundee United as a Winner?
###assistant: SELECT season FROM table_name_87 WHERE winners = "dundee united" |
###context:CREATE TABLE table_name_17 (score VARCHAR, winners VARCHAR, venue VARCHAR, runners_up VARCHAR)
###human: What is the Score of the Rangers' Runner-ups and Hibernian Winners in Hampden Park?
###assistant: SELECT score FROM table_name_17 WHERE venue = "hampden park" AND runners_up = "rangers" AND winners = "hibernian" |
###context:CREATE TABLE table_name_75 (runners_up VARCHAR, venue VARCHAR)
###human: What Runners-up have a Venue in Broadwood Stadium?
###assistant: SELECT runners_up FROM table_name_75 WHERE venue = "broadwood stadium" |
###context:CREATE TABLE table_name_91 (completed VARCHAR, pennant_number VARCHAR)
###human: When is the completed date of the destroyer with a pennant number h63?
###assistant: SELECT completed FROM table_name_91 WHERE pennant_number = "h63" |
###context:CREATE TABLE table_name_50 (completed VARCHAR, pennant_number VARCHAR)
###human: When is the completed date of the destroyer with a pennant number h59?
###assistant: SELECT completed FROM table_name_50 WHERE pennant_number = "h59" |
###context:CREATE TABLE table_name_89 (ship VARCHAR, pennant_number VARCHAR)
###human: What ship has a pennant number h05?
###assistant: SELECT ship FROM table_name_89 WHERE pennant_number = "h05" |
###context:CREATE TABLE table_name_5 (ship VARCHAR, pennant_number VARCHAR)
###human: What ship has a pennant number h05?
###assistant: SELECT ship FROM table_name_5 WHERE pennant_number = "h05" |
###context:CREATE TABLE table_name_13 (launched VARCHAR, completed VARCHAR)
###human: What is the launched date of the destroyer completed 25 February 1936?
###assistant: SELECT launched FROM table_name_13 WHERE completed = "25 february 1936" |
###context:CREATE TABLE table_name_28 (launched VARCHAR, completed VARCHAR)
###human: What is the launched date of the destroyer completed 1 July 1936?
###assistant: SELECT launched FROM table_name_28 WHERE completed = "1 july 1936" |
###context:CREATE TABLE table_name_65 (home_team VARCHAR, venue VARCHAR)
###human: What was the home team score when the VFL played at Western Oval?
###assistant: SELECT home_team AS score FROM table_name_65 WHERE venue = "western oval" |
###context:CREATE TABLE table_name_26 (home_team VARCHAR, away_team VARCHAR)
###human: Who was North Melbourne's home opponent?
###assistant: SELECT home_team FROM table_name_26 WHERE away_team = "north melbourne" |
###context:CREATE TABLE table_name_86 (home_team VARCHAR, venue VARCHAR)
###human: What was the home team score when the VFL played at Princes Park?
###assistant: SELECT home_team AS score FROM table_name_86 WHERE venue = "princes park" |
###context:CREATE TABLE table_name_98 (ave__no INTEGER, name VARCHAR, height__m_ VARCHAR)
###human: Which sum of AVE-No has a Name of albula alps, and a Height (m) larger than 3418?
###assistant: SELECT SUM(ave__no) FROM table_name_98 WHERE name = "albula alps" AND height__m_ > 3418 |
###context:CREATE TABLE table_name_97 (height__m_ INTEGER, name VARCHAR, ave__no VARCHAR)
###human: Which Height (m) has a Name of plessur alps, and a AVE-No larger than 63?
###assistant: SELECT MIN(height__m_) FROM table_name_97 WHERE name = "plessur alps" AND ave__no > 63 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.