question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Show names of ships involved in a mission launched after 1928.
CREATE TABLE mission (Ship_ID VARCHAR, Launched_Year INTEGER); CREATE TABLE ship (Name VARCHAR, Ship_ID VARCHAR)
SELECT T2.Name FROM mission AS T1 JOIN ship AS T2 ON T1.Ship_ID = T2.Ship_ID WHERE T1.Launched_Year > 1928
What is the Phoneme symbol for the letter name zɛn?
CREATE TABLE table_name_18 (phoneme VARCHAR, letter_name VARCHAR)
SELECT phoneme FROM table_name_18 WHERE letter_name = "zɛn"
Which city is in Georgia?
CREATE TABLE table_name_55 (city VARCHAR, state VARCHAR)
SELECT city FROM table_name_55 WHERE state = "georgia"
What is the sum of top-10 values for the Open Championship and less than 3 in the top-25?
CREATE TABLE table_name_61 (top_10 INTEGER, tournament VARCHAR, top_25 VARCHAR)
SELECT SUM(top_10) FROM table_name_61 WHERE tournament = "the open championship" AND top_25 < 3
Name the competition of panathinaikos
CREATE TABLE table_17594659_1 (competition VARCHAR, opposition VARCHAR)
SELECT competition FROM table_17594659_1 WHERE opposition = "Panathinaikos"
Name the pure tamil for enga athilae
CREATE TABLE table_name_97 (pure_tamil VARCHAR, how_other_iyers_say_it VARCHAR)
SELECT pure_tamil FROM table_name_97 WHERE how_other_iyers_say_it = "enga athilae"
What years played did the player with a rank under 10, more than 271 matches, and 152 goals have?
CREATE TABLE table_name_82 (years VARCHAR, goals VARCHAR, rank VARCHAR, matches VARCHAR)
SELECT years FROM table_name_82 WHERE rank < 10 AND matches > 271 AND goals = 152
What time did the game start during week 1?
CREATE TABLE table_name_9 (time___et__ VARCHAR, week VARCHAR)
SELECT time___et__ FROM table_name_9 WHERE week = 1
What years runner-up is Birmingham city, with over 1 runners-up?
CREATE TABLE table_name_91 (years_runner_up VARCHAR, runners_up VARCHAR, club VARCHAR)
SELECT years_runner_up FROM table_name_91 WHERE runners_up > 1 AND club = "birmingham city"
Which date's opponent was Dender when the tournament was in the Jupiler League and the ground was a?
CREATE TABLE table_name_52 (date VARCHAR, ground VARCHAR, opponent VARCHAR, tournament VARCHAR)
SELECT date FROM table_name_52 WHERE opponent = "dender" AND tournament = "jupiler league" AND ground = "a"
What is the 1979 number for Standing Rock Indian Reservation when the 1989 is less than 54.9?
CREATE TABLE table_name_51 (reservation VARCHAR)
SELECT SUM(1979) FROM table_name_51 WHERE reservation = "standing rock indian reservation" AND 1989 < 54.9
On which date was the position less than 4 at Piraeus?
CREATE TABLE table_name_27 (date VARCHAR, pos VARCHAR, venue VARCHAR)
SELECT date FROM table_name_27 WHERE pos < 4 AND venue = "piraeus"
What number of Fatalties is associated with the Time of 12:38:46?
CREATE TABLE table_name_78 (fatalities VARCHAR, time VARCHAR)
SELECT fatalities FROM table_name_78 WHERE time = "12:38:46"
What is Competition, when Date is "1999-08-07"?
CREATE TABLE table_name_13 (competition VARCHAR, date VARCHAR)
SELECT competition FROM table_name_13 WHERE date = "1999-08-07"
In what heat did the swimmer in Lane 6 rank higher than 7 with a time of 4:08.27?
CREATE TABLE table_name_17 (heat INTEGER, rank VARCHAR, lane VARCHAR, time VARCHAR)
SELECT SUM(heat) FROM table_name_17 WHERE lane = 6 AND time = "4:08.27" AND rank > 7
What was the overall record for the Pandas when their conference record was 4-1-1?
CREATE TABLE table_27069503_2 (overall VARCHAR, conf_record VARCHAR)
SELECT overall FROM table_27069503_2 WHERE conf_record = "4-1-1"
When the regular season of 2nd, Northeast and the year was less than 2008 what was the total number of Division?
CREATE TABLE table_name_89 (division VARCHAR, regular_season VARCHAR, year VARCHAR)
SELECT COUNT(division) FROM table_name_89 WHERE regular_season = "2nd, northeast" AND year < 2008
Name the trailers for formed from pan/pul/res cars
CREATE TABLE table_name_47 (trailers VARCHAR, formed_from VARCHAR)
SELECT trailers FROM table_name_47 WHERE formed_from = "pan/pul/res cars"
Namee the title for production code for 4014
CREATE TABLE table_16951593_1 (title VARCHAR, production_code VARCHAR)
SELECT title FROM table_16951593_1 WHERE production_code = "4014"
How many gold have a bronze of 1, a rank smaller than 6, and a total less than 3?
CREATE TABLE table_name_81 (gold INTEGER, total VARCHAR, bronze VARCHAR, rank VARCHAR)
SELECT SUM(gold) FROM table_name_81 WHERE bronze = 1 AND rank < 6 AND total < 3
Which royal house is in the state of chu?
CREATE TABLE table_name_98 (royal_house VARCHAR, state VARCHAR)
SELECT royal_house FROM table_name_98 WHERE state = "chu"
What is the best time for a team with a first-qualifying time of 59.448?
CREATE TABLE table_name_6 (best VARCHAR, qual_1 VARCHAR)
SELECT best FROM table_name_6 WHERE qual_1 = "59.448"
Name the total number of jons team for 15x07
CREATE TABLE table_23292220_17 (jons_team VARCHAR, episode VARCHAR)
SELECT COUNT(jons_team) FROM table_23292220_17 WHERE episode = "15x07"
What is the 2nd round with a score of 3 - 3, and a team 2 fc lorient (d2)?
CREATE TABLE table_name_60 (score VARCHAR, team_2 VARCHAR)
SELECT 2 AS nd_round FROM table_name_60 WHERE score = "3 - 3" AND team_2 = "fc lorient (d2)"
What is the name of the club that has ongoing first-team appearances, a midfielder, and whose player is Samir Carruthers?
CREATE TABLE table_name_28 (current_club VARCHAR, player VARCHAR, first_team_appearances VARCHAR, position VARCHAR)
SELECT current_club FROM table_name_28 WHERE first_team_appearances = "ongoing" AND position = "midfielder" AND player = "samir carruthers"
Tell me the rank for bronze less than 17 and gold less than 1
CREATE TABLE table_name_28 (rank VARCHAR, gold VARCHAR, bronze VARCHAR, silver VARCHAR)
SELECT rank FROM table_name_28 WHERE bronze < 17 AND silver > 1 AND gold < 1
Which Females (%) has an HIV awareness (males%) larger than 92, and Females Rank larger than 2, and Males Rank smaller than 3?
CREATE TABLE table_name_71 (females___percentage_ INTEGER, males_rank VARCHAR, hiv_awareness__males_percentage_ VARCHAR, females_rank VARCHAR)
SELECT SUM(females___percentage_) FROM table_name_71 WHERE hiv_awareness__males_percentage_ > 92 AND females_rank > 2 AND males_rank < 3
In what round did Mike Newton Thomas Erdos Ben Collins won the LMP2?
CREATE TABLE table_24865763_2 (rnd VARCHAR, lmp2_winning_team VARCHAR)
SELECT rnd FROM table_24865763_2 WHERE lmp2_winning_team = "Mike Newton Thomas Erdos Ben Collins"
What was the score for the game when the record was 37-27?
CREATE TABLE table_23286158_9 (score VARCHAR, record VARCHAR)
SELECT score FROM table_23286158_9 WHERE record = "37-27"
Which tournament had a score of 6–3, 7–6?
CREATE TABLE table_name_75 (tournament VARCHAR, score VARCHAR)
SELECT tournament FROM table_name_75 WHERE score = "6–3, 7–6"
What was the result of the 1990 world cup qualifying competition?
CREATE TABLE table_name_55 (result VARCHAR, competition VARCHAR)
SELECT result FROM table_name_55 WHERE competition = "1990 world cup qualifying"
What is the highest Total with a Rank that is smaller than 4 and a Nation of tunisia (tun) with a Gold that is smaller than 2?
CREATE TABLE table_name_57 (total INTEGER, gold VARCHAR, rank VARCHAR, nation VARCHAR)
SELECT MAX(total) FROM table_name_57 WHERE rank < 4 AND nation = "tunisia (tun)" AND gold < 2
How many north american brands have world headquarters in sagamihara?
CREATE TABLE table_237199_1 (north_american_brands VARCHAR, world_headquarters VARCHAR)
SELECT COUNT(north_american_brands) FROM table_237199_1 WHERE world_headquarters = "Sagamihara"
Which website was started in 2008?
CREATE TABLE table_name_25 (website VARCHAR, year_started VARCHAR)
SELECT website FROM table_name_25 WHERE year_started = 2008
What was the yield for a blast that was in nts area 3s?
CREATE TABLE table_name_39 (yield VARCHAR, location VARCHAR)
SELECT yield FROM table_name_39 WHERE location = "nts area 3s"
What was the record when Minnesota was the home team?
CREATE TABLE table_name_64 (record VARCHAR, home VARCHAR)
SELECT record FROM table_name_64 WHERE home = "minnesota"
what is the date when the home team is st kilda?
CREATE TABLE table_name_26 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_26 WHERE home_team = "st kilda"
Which district is jamie l. whitten from?
CREATE TABLE table_1342233_24 (district VARCHAR, incumbent VARCHAR)
SELECT district FROM table_1342233_24 WHERE incumbent = "Jamie L. Whitten"
What is the comissioned for 4 may 1943?
CREATE TABLE table_1220125_4 (commissioned VARCHAR, laid_down VARCHAR)
SELECT commissioned FROM table_1220125_4 WHERE laid_down = "4 May 1943"
which vessel area was called for on november 30, 1970
CREATE TABLE table_291768_1 (shipyard VARCHAR, commissioned VARCHAR)
SELECT shipyard FROM table_291768_1 WHERE commissioned = "November 30, 1970"
What is the smallest position with less than 7 points piloted by Didier Hauss?
CREATE TABLE table_name_29 (position INTEGER, points VARCHAR, pilot VARCHAR)
SELECT MIN(position) FROM table_name_29 WHERE points < 7 AND pilot = "didier hauss"
If the total number of seats is under 144, and the seats won is 32, which election is this?
CREATE TABLE table_name_37 (election VARCHAR, total_seats VARCHAR, seats VARCHAR)
SELECT election FROM table_name_37 WHERE total_seats < 144 AND seats = 32
What year was the winning race time 1:55:13?
CREATE TABLE table_17801022_1 (year INTEGER, race_time VARCHAR)
SELECT MAX(year) FROM table_17801022_1 WHERE race_time = "1:55:13"
What is the most recent year featuring the director Christopher Kulikowski?
CREATE TABLE table_name_89 (year INTEGER, director VARCHAR)
SELECT MAX(year) FROM table_name_89 WHERE director = "christopher kulikowski"
What are the distinct publishers of publications with price higher than 5000000?
CREATE TABLE publication (Publisher VARCHAR, Price INTEGER)
SELECT DISTINCT Publisher FROM publication WHERE Price > 5000000
On what date was the result w 26–20?
CREATE TABLE table_name_54 (date VARCHAR, result VARCHAR)
SELECT date FROM table_name_54 WHERE result = "w 26–20"
Who is the player from a round less than 13 and has a pick of 74?
CREATE TABLE table_name_58 (player VARCHAR, round VARCHAR, pick VARCHAR)
SELECT player FROM table_name_58 WHERE round < 13 AND pick = 74
Which Method has a Round of 1, and a Time of 0:28?
CREATE TABLE table_name_98 (method VARCHAR, round VARCHAR, time VARCHAR)
SELECT method FROM table_name_98 WHERE round = 1 AND time = "0:28"
Which pens has 1 tries and matt alexander as a player with conv of 4?
CREATE TABLE table_name_38 (pens VARCHAR, conv VARCHAR, tries VARCHAR, player VARCHAR)
SELECT pens FROM table_name_38 WHERE tries = "1" AND player = "matt alexander" AND conv = "4"
What team owns the car owned by chip ganassi?
CREATE TABLE table_2503102_2 (team VARCHAR, listed_owner_s_ VARCHAR)
SELECT team FROM table_2503102_2 WHERE listed_owner_s_ = "Chip Ganassi"
How many dates are shown for the home team of orlando pirates and result of 1–3?
CREATE TABLE table_27274566_2 (date VARCHAR, home_team VARCHAR, result VARCHAR)
SELECT COUNT(date) FROM table_27274566_2 WHERE home_team = "Orlando Pirates" AND result = "1–3"
Who was the opponent for the KOTC 25: Flaming Fury event?
CREATE TABLE table_name_82 (opponent VARCHAR, event VARCHAR)
SELECT opponent FROM table_name_82 WHERE event = "kotc 25: flaming fury"
what is the original channel when the note is co-star in year 2012?
CREATE TABLE table_name_61 (original_channel VARCHAR, note VARCHAR, year VARCHAR)
SELECT original_channel FROM table_name_61 WHERE note = "co-star" AND year = 2012
When was the game that has tie no 2?
CREATE TABLE table_name_91 (date VARCHAR, tie_no VARCHAR)
SELECT date FROM table_name_91 WHERE tie_no = "2"
What average Wins has Losses 2, and Draws less than 0?
CREATE TABLE table_name_92 (wins INTEGER, loses VARCHAR, draws VARCHAR)
SELECT AVG(wins) FROM table_name_92 WHERE loses = 2 AND draws < 0
what's the years played with singles w-l of 3–2
CREATE TABLE table_10023387_1 (years_played VARCHAR, singles_w_l VARCHAR)
SELECT years_played FROM table_10023387_1 WHERE singles_w_l = "3–2"
Who were the Brazil scorers who scored 3-3?
CREATE TABLE table_name_11 (brazil_scorers VARCHAR, score VARCHAR)
SELECT brazil_scorers FROM table_name_11 WHERE score = "3-3"
Name the date for week more than 1 and game site of bye
CREATE TABLE table_name_99 (date VARCHAR, game_site VARCHAR, week VARCHAR)
SELECT date FROM table_name_99 WHERE game_site = "bye" AND week > 1
What is Points, when Points is 60, and when Club is Bedwas RFC?
CREATE TABLE table_name_24 (points_for VARCHAR, points VARCHAR, club VARCHAR)
SELECT points_for FROM table_name_24 WHERE points = "60" AND club = "bedwas rfc"
List the age of all music artists.
CREATE TABLE artist (Age VARCHAR)
SELECT Age FROM artist
WHAT IS TEH SECOND WITH REGINA AS CITY AND SKIP OF MICHELLE ENGLOT?
CREATE TABLE table_name_59 (second VARCHAR, city VARCHAR, skip VARCHAR)
SELECT second FROM table_name_59 WHERE city = "regina" AND skip = "michelle englot"
What are the famous titles of the artist "Triumfall"?
CREATE TABLE artist (Famous_Title VARCHAR, Artist VARCHAR)
SELECT Famous_Title FROM artist WHERE Artist = "Triumfall"
Who is the tuner after season 2004 with Gaurav Gill as the driver, Team MRF, and Mai governing body?
CREATE TABLE table_name_86 (tuner VARCHAR, governing_body VARCHAR, team VARCHAR, season VARCHAR, driver VARCHAR)
SELECT tuner FROM table_name_86 WHERE season > 2004 AND driver = "gaurav gill" AND team = "team mrf" AND governing_body = "mai"
Where was the series that the Kansas City Royals lost?
CREATE TABLE table_name_65 (site VARCHAR, winning_team VARCHAR)
SELECT site FROM table_name_65 WHERE winning_team = "kansas city royals"
What was the rate for 73 RYds?
CREATE TABLE table_name_22 (rate VARCHAR, ryds VARCHAR)
SELECT rate FROM table_name_22 WHERE ryds = "73"
Which college had an overall pick of 9?
CREATE TABLE table_name_31 (college VARCHAR, overall VARCHAR)
SELECT college FROM table_name_31 WHERE overall = 9
What volume number has the ISBN of 978-1-59582-712-8 (hc) 978-1-59582-713-5 (tpb)?
CREATE TABLE table_name_38 (volume VARCHAR, isbn VARCHAR)
SELECT volume FROM table_name_38 WHERE isbn = "978-1-59582-712-8 (hc) 978-1-59582-713-5 (tpb)"
Who won for Forsythe Racing when Bobby Rahal had pole position?
CREATE TABLE table_name_49 (name VARCHAR, winning_team VARCHAR, pole_position VARCHAR)
SELECT name FROM table_name_49 WHERE winning_team = "forsythe racing" AND pole_position = "bobby rahal"
What status has paleopanax as the name?
CREATE TABLE table_name_78 (status VARCHAR, name VARCHAR)
SELECT status FROM table_name_78 WHERE name = "paleopanax"
What Actor/Actress a Tenure of 2008–2011 played Stella Dagostino?
CREATE TABLE table_name_88 (actor_actress VARCHAR, tenure VARCHAR, character VARCHAR)
SELECT actor_actress FROM table_name_88 WHERE tenure = "2008–2011" AND character = "stella dagostino"
What machine did Kenneth E. Herbert ride?
CREATE TABLE table_name_2 (machine VARCHAR, rider VARCHAR)
SELECT machine FROM table_name_2 WHERE rider = "kenneth e. herbert"
How many pageants were margaret ann awitan bayot the delegate of?
CREATE TABLE table_1825751_14 (pageant VARCHAR, delegate VARCHAR)
SELECT COUNT(pageant) FROM table_1825751_14 WHERE delegate = "Margaret Ann Awitan Bayot"
What is the total of attendance with a Record of 5-9-0?
CREATE TABLE table_name_69 (attendance INTEGER, record VARCHAR)
SELECT SUM(attendance) FROM table_name_69 WHERE record = "5-9-0"
How many times is st kilda the away team?
CREATE TABLE table_name_15 (crowd VARCHAR, away_team VARCHAR)
SELECT COUNT(crowd) FROM table_name_15 WHERE away_team = "st kilda"
What's the price of the team whose captain is Sanath Jayasuriya?
CREATE TABLE table_19905183_1 (price VARCHAR, captain VARCHAR)
SELECT price FROM table_19905183_1 WHERE captain = "Sanath Jayasuriya"
Who was the opponent at the game when the record was 54-58?
CREATE TABLE table_name_13 (opponent VARCHAR, record VARCHAR)
SELECT opponent FROM table_name_13 WHERE record = "54-58"
How much Latitude has a Water (sqmi) of 0.267, and an ANSI code larger than 1759605?
CREATE TABLE table_name_9 (latitude INTEGER, water__sqmi_ VARCHAR, ansi_code VARCHAR)
SELECT SUM(latitude) FROM table_name_9 WHERE water__sqmi_ = 0.267 AND ansi_code > 1759605
Name the post poles for 4 podiums
CREATE TABLE table_27582888_1 (poles INTEGER, podiums VARCHAR)
SELECT MAX(poles) FROM table_27582888_1 WHERE podiums = 4
What is Ken Walter's lowest pick number with an overall pick number larger than 195?
CREATE TABLE table_name_28 (pick__number INTEGER, name VARCHAR, overall VARCHAR)
SELECT MIN(pick__number) FROM table_name_28 WHERE name = "ken walter" AND overall > 195
Who had the high point total when dee brown (5) had the high assist total?
CREATE TABLE table_13619105_4 (high_points VARCHAR, high_assists VARCHAR)
SELECT high_points FROM table_13619105_4 WHERE high_assists = "Dee Brown (5)"
What is the name of the college that is from a round greater than 3 with Gillis Wilson playing?
CREATE TABLE table_name_85 (college VARCHAR, round VARCHAR, player VARCHAR)
SELECT college FROM table_name_85 WHERE round > 3 AND player = "gillis wilson"
What is the round with ajax opponents
CREATE TABLE table_name_33 (round VARCHAR, opponents VARCHAR)
SELECT round FROM table_name_33 WHERE opponents = "ajax"
What is the High rebounds with a High assists with bryant (7), and a Team of @ utah?
CREATE TABLE table_name_9 (high_rebounds VARCHAR, high_assists VARCHAR, team VARCHAR)
SELECT high_rebounds FROM table_name_9 WHERE high_assists = "bryant (7)" AND team = "@ utah"
What was the result when there were 27,321 in attendance?
CREATE TABLE table_name_20 (result VARCHAR, attendance VARCHAR)
SELECT result FROM table_name_20 WHERE attendance = "27,321"
Who was the opponents in the final that was played on April 16, 2006 and the outcome was runner-up?
CREATE TABLE table_name_9 (opponents_in_final VARCHAR, outcome VARCHAR, date VARCHAR)
SELECT opponents_in_final FROM table_name_9 WHERE outcome = "runner-up" AND date = "april 16, 2006"
Which Leading scorer 1 has a Season of 2010–11?
CREATE TABLE table_name_8 (leading_scorer_1 VARCHAR, season VARCHAR)
SELECT leading_scorer_1 FROM table_name_8 WHERE season = "2010–11"
Which Segment B has a Segment D of stone wool insulation?
CREATE TABLE table_name_92 (segment_b VARCHAR, segment_d VARCHAR)
SELECT segment_b FROM table_name_92 WHERE segment_d = "stone wool insulation"
Give me the temperature of Shanghai in January.
CREATE TABLE city (city_id VARCHAR, city VARCHAR); CREATE TABLE temperature (Jan VARCHAR, city_id VARCHAR)
SELECT T2.Jan FROM city AS T1 JOIN temperature AS T2 ON T1.city_id = T2.city_id WHERE T1.city = "Shanghai"
Find the ids of orders whose status is 'Success'.
CREATE TABLE actual_orders (actual_order_id VARCHAR, order_status_code VARCHAR)
SELECT actual_order_id FROM actual_orders WHERE order_status_code = 'Success'
Name the title for marion burns leading lady and role of john mason
CREATE TABLE table_name_89 (title VARCHAR, leading_lady VARCHAR, role VARCHAR)
SELECT title FROM table_name_89 WHERE leading_lady = "marion burns" AND role = "john mason"
Name the sum of drawn with lost more than 1 and games less than 5
CREATE TABLE table_name_13 (drawn INTEGER, lost VARCHAR, games VARCHAR)
SELECT SUM(drawn) FROM table_name_13 WHERE lost > 1 AND games < 5
What is the largest roll with Years 1–8, a Name of dorie school, and a Decile larger than 9?
CREATE TABLE table_name_49 (roll INTEGER, decile VARCHAR, years VARCHAR, name VARCHAR)
SELECT MAX(roll) FROM table_name_49 WHERE years = "1–8" AND name = "dorie school" AND decile > 9
Which round happened on 10 april 2007?
CREATE TABLE table_name_41 (round VARCHAR, date VARCHAR)
SELECT round FROM table_name_41 WHERE date = "10 april 2007"
What is the name of the second who has Caroline Reed as third?
CREATE TABLE table_name_96 (second VARCHAR, third VARCHAR)
SELECT second FROM table_name_96 WHERE third = "caroline reed"
Is it material or non-material when there are 2 suits for either opponent?
CREATE TABLE table_name_63 (material_or_non_material VARCHAR, suits VARCHAR, opponents VARCHAR)
SELECT material_or_non_material FROM table_name_63 WHERE suits = "2" AND opponents = "either"
What are the names of all the countries that became independent after 1950?
CREATE TABLE country (Name VARCHAR, IndepYear INTEGER)
SELECT Name FROM country WHERE IndepYear > 1950
what year was william francis stevenson first elected?
CREATE TABLE table_1342370_39 (first_elected VARCHAR, incumbent VARCHAR)
SELECT first_elected FROM table_1342370_39 WHERE incumbent = "William Francis Stevenson"
Which Club has a Drawn of 0, and Points of 26?
CREATE TABLE table_name_11 (club VARCHAR, drawn VARCHAR, points VARCHAR)
SELECT club FROM table_name_11 WHERE drawn = "0" AND points = "26"
What is the Date of the Competition with Man of the Match Ollie Bronnimann?
CREATE TABLE table_name_41 (date VARCHAR, man_of_the_match VARCHAR)
SELECT date FROM table_name_41 WHERE man_of_the_match = "ollie bronnimann"
Which Drobo (2nd) has a Drobo S (2nd) of 5?
CREATE TABLE table_name_1 (drobo__2nd_ VARCHAR)
SELECT drobo__2nd_ FROM table_name_1 WHERE DROBO_S(2 AS nd) = 5