answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT MAX(attendance) FROM table_16227492_1 WHERE _number = 4
Name the most attendance for number 4
CREATE TABLE table_16227492_1 (attendance INTEGER, _number VARCHAR)
SELECT report FROM table_name_75 WHERE time = "12:30"
What is the report in the tournament that started at 12:30?
CREATE TABLE table_name_75 (report VARCHAR, time VARCHAR)
SELECT date FROM table_name_55 WHERE outcome = "winner" AND opponent_in_the_final = "çağla büyükakçay"
What is the Date that has a Outcome of winner, and çağla büyükakçay was the opponent in the final?
CREATE TABLE table_name_55 (date VARCHAR, outcome VARCHAR, opponent_in_the_final VARCHAR)
SELECT name FROM table_name_18 WHERE last_performance = "3 july 2011"
who had a last performance of 3 july 2011?
CREATE TABLE table_name_18 (name VARCHAR, last_performance VARCHAR)
SELECT live_births_2006 FROM table_12251936_1 WHERE county = "South Yorkshire (Met county)"
How many live births were there in 2006 in South Yorkshire (met county)?
CREATE TABLE table_12251936_1 (live_births_2006 VARCHAR, county VARCHAR)
SELECT evapotranspiration__km_3__year_ FROM table_25983027_1 WHERE rainfall_by_volume__km_3__year_ = "13.2"
In the region where the rainfall by volume (km 3 /year) was 13.2, what was the evapotranspiration (km 3 /year)?
CREATE TABLE table_25983027_1 (evapotranspiration__km_3__year_ VARCHAR, rainfall_by_volume__km_3__year_ VARCHAR)
SELECT COUNT(floors) FROM table_name_42 WHERE location = "little italy"
How many floors are in little Italy?
CREATE TABLE table_name_42 (floors VARCHAR, location VARCHAR)
SELECT location FROM table_2293402_2 WHERE founded = 1798
Name the location that was founded 1798
CREATE TABLE table_2293402_2 (location VARCHAR, founded VARCHAR)
SELECT date FROM table_name_16 WHERE record = "17–25"
What was the date of the game with a record of 17–25?
CREATE TABLE table_name_16 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_95 WHERE score = "5-3" AND loss = "holt (1-1)"
What date has 5-3 as the score, and holt (1-1) as a loss?
CREATE TABLE table_name_95 (date VARCHAR, score VARCHAR, loss VARCHAR)
SELECT syracuse FROM table_name_90 WHERE buffalo = "oatka creek shale" AND albany = "berne"
What is Syracuse, when Buffalo is Oatka Creek Shale, and when Albany is Berne?
CREATE TABLE table_name_90 (syracuse VARCHAR, buffalo VARCHAR, albany VARCHAR)
SELECT team_1 FROM table_name_54 WHERE team_2 = "gomera"
Which team 1 has team 2, Gomera?
CREATE TABLE table_name_54 (team_1 VARCHAR, team_2 VARCHAR)
SELECT candidates FROM table_1342315_42 WHERE incumbent = "Wright Patman"
Who are the candidates in the race where Wright Patman is the incumbent?
CREATE TABLE table_1342315_42 (candidates VARCHAR, incumbent VARCHAR)
SELECT latin FROM table_26614365_1 WHERE english = "you sang"
What is the Latin for "you sang"?
CREATE TABLE table_26614365_1 (latin VARCHAR, english VARCHAR)
SELECT high_points FROM table_17323529_5 WHERE date = "November 24"
Name the high points for the date of november 24
CREATE TABLE table_17323529_5 (high_points VARCHAR, date VARCHAR)
SELECT genre FROM table_name_44 WHERE year = "2012 (16th)"
What is the genre for the year 2012 (16th)?
CREATE TABLE table_name_44 (genre VARCHAR, year VARCHAR)
SELECT 1 AS st_leg FROM table_name_1 WHERE team_1 = "gor mahia"
What's the 1st leg score when Team 1 was Gor Mahia?
CREATE TABLE table_name_1 (team_1 VARCHAR)
SELECT 2 AS nd_leg FROM table_name_33 WHERE team_2 = "valencia"
What is the second leg that Valencia was on?
CREATE TABLE table_name_33 (team_2 VARCHAR)
SELECT opponent FROM table_name_86 WHERE attendance = "31,002"
Who was the opponent when the attendance was 31,002?
CREATE TABLE table_name_86 (opponent VARCHAR, attendance VARCHAR)
SELECT writer_s_ FROM table_name_4 WHERE recipient = "red rose chain ltd"
Who is the writer for Red Rose Chain LTD?
CREATE TABLE table_name_4 (writer_s_ VARCHAR, recipient VARCHAR)
SELECT lost FROM table_name_77 WHERE try_bonus = "try bonus"
What is the Lost with a Try Bonus that is try bonus?
CREATE TABLE table_name_77 (lost VARCHAR, try_bonus VARCHAR)
SELECT premiere FROM table_name_32 WHERE the_biggest_loser = "matt hoover"
What was the premiere date of the season won by Matt Hoover?
CREATE TABLE table_name_32 (premiere VARCHAR, the_biggest_loser VARCHAR)
SELECT 2011 FROM table_name_5 WHERE tournament = "cincinnati masters"
What tournament was at the 2011 Cincinnati Masters?
CREATE TABLE table_name_5 (tournament VARCHAR)
SELECT candidates FROM table_1342218_5 WHERE district = "Arkansas 2"
Who is the candidate for the district Arkansas 2?
CREATE TABLE table_1342218_5 (candidates VARCHAR, district VARCHAR)
SELECT retail_name FROM table_name_15 WHERE digital_analog_signal = "analog" AND chipset_based_on = "radeon 9600"
What is the Retail name with a Digital/analog signal with analog, and a Chipset based on with radeon 9600?
CREATE TABLE table_name_15 (retail_name VARCHAR, digital_analog_signal VARCHAR, chipset_based_on VARCHAR)
SELECT class_aA FROM table_name_46 WHERE class_aAA = commerce
what AA class has a AAA class of commerce?
CREATE TABLE table_name_46 (class_aA VARCHAR, class_aAA VARCHAR, commerce VARCHAR)
SELECT nationality FROM table_name_62 WHERE round = "semifinal" AND time = "29.51"
What was the nationality of the swimmer in the semifinal with a time of 29.51?
CREATE TABLE table_name_62 (nationality VARCHAR, round VARCHAR, time VARCHAR)
SELECT MIN(race) FROM table_name_52 WHERE location___state = "launceston, tasmania"
What was the first race in Launceston, Tasmania?
CREATE TABLE table_name_52 (race INTEGER, location___state VARCHAR)
SELECT location FROM table_name_13 WHERE team_nickname = "fighting missionaries"
What Location has a Team Nickname called the Fighting Missionaries?
CREATE TABLE table_name_13 (location VARCHAR, team_nickname VARCHAR)
SELECT COUNT(week) FROM table_name_81 WHERE date = "november 5, 1973" AND attendance > 49 OFFSET 220
What is the total number of weeks where games were on November 5, 1973 and the attendance was larger than 49,220?
CREATE TABLE table_name_81 (week VARCHAR, date VARCHAR, attendance VARCHAR)
SELECT manner_of_departure FROM table_name_24 WHERE outgoing_manager = "miguel brindisi"
What was the manner of departure for the outgoing manager, miguel brindisi?
CREATE TABLE table_name_24 (manner_of_departure VARCHAR, outgoing_manager VARCHAR)
SELECT SUM(share_count) FROM TRANSACTIONS
What is the total share of transactions?
CREATE TABLE TRANSACTIONS (share_count INTEGER)
SELECT bushi FROM table_name_50 WHERE kaz_hayashi = "kai (14:01)"
Name the BUSHI that has kaz hayashi of kai (14:01)
CREATE TABLE table_name_50 (bushi VARCHAR, kaz_hayashi VARCHAR)
SELECT episode FROM table_name_16 WHERE season < 25 AND directed_by = "bob anderson" AND production_code = "kabf16"
Which episode was directed by Bob Anderson with a production code of KABF16 and a season before than 25?
CREATE TABLE table_name_16 (episode VARCHAR, production_code VARCHAR, season VARCHAR, directed_by VARCHAR)
SELECT score FROM table_name_89 WHERE visitor = "toronto" AND record = "29-17-8"
Name the score for toronto visitor and record of 29-17-8
CREATE TABLE table_name_89 (score VARCHAR, visitor VARCHAR, record VARCHAR)
SELECT rank_points FROM table_name_12 WHERE total = "17" AND shooter = "lalita yauhleuskaya ( aus )"
What is Rank Points, when Total is "17", and when Shooter is "Lalita Yauhleuskaya ( AUS )"?
CREATE TABLE table_name_12 (rank_points VARCHAR, total VARCHAR, shooter VARCHAR)
SELECT last_title FROM table_name_36 WHERE club = "quilmes"
Name the last title for club of quilmes
CREATE TABLE table_name_36 (last_title VARCHAR, club VARCHAR)
SELECT density_in_2011___km²_ FROM table_2801442_1 WHERE population__2011_census_ = 2320529
What's the density in the district with 2320529 citizens in 2011?
CREATE TABLE table_2801442_1 (density_in_2011___km²_ VARCHAR, population__2011_census_ VARCHAR)
SELECT venue FROM table_name_34 WHERE away_team = "carlton"
What venue features carlton as an away team?
CREATE TABLE table_name_34 (venue VARCHAR, away_team VARCHAR)
SELECT gross_to_date FROM table_name_53 WHERE date = "august 23–25"
Name the Gross-to-date which has a Date of august 23–25?
CREATE TABLE table_name_53 (gross_to_date VARCHAR, date VARCHAR)
SELECT team FROM table_name_59 WHERE pick > 29
WHAT TEAM HAS A PICK LARGER THAN 29?
CREATE TABLE table_name_59 (team VARCHAR, pick INTEGER)
SELECT power__kw_ FROM table_2610582_7 WHERE location = "General Santos"
What's the power for General Santos?
CREATE TABLE table_2610582_7 (power__kw_ VARCHAR, location VARCHAR)
SELECT club FROM table_name_2 WHERE points = "22"
What is the name of the club with 22 points?
CREATE TABLE table_name_2 (club VARCHAR, points VARCHAR)
SELECT area_km_2 FROM table_name_38 WHERE official_name = "sackville"
How large, in square kilometers, is Sackville?
CREATE TABLE table_name_38 (area_km_2 VARCHAR, official_name VARCHAR)
SELECT document_id, COUNT(*) FROM Paragraphs GROUP BY document_id ORDER BY document_id
Show all document ids and the number of paragraphs in each document. Order by document id.
CREATE TABLE Paragraphs (document_id VARCHAR)
SELECT driver FROM table_name_22 WHERE laps > 9 AND grid = 7
What driver raced for more than 9 laps on grid 7?
CREATE TABLE table_name_22 (driver VARCHAR, laps VARCHAR, grid VARCHAR)
SELECT T1.organisation_id, T1.organisation_type, T1.organisation_details FROM Organisations AS T1 JOIN Research_Staff AS T2 ON T1.organisation_id = T2.employer_organisation_id GROUP BY T1.organisation_id ORDER BY COUNT(*) DESC LIMIT 1
Which organisation hired the most number of research staff? List the organisation id, type and detail.
CREATE TABLE Organisations (organisation_id VARCHAR, organisation_type VARCHAR, organisation_details VARCHAR); CREATE TABLE Research_Staff (employer_organisation_id VARCHAR)
SELECT 2010 FROM table_name_19 WHERE 2009 = "0" AND tournament = "finals"
WHAT IS THE 2010 PERFORMANCE THAT HAD 2009 0F 0, AND FINALS TOURNAMENT?
CREATE TABLE table_name_19 (tournament VARCHAR)
SELECT COUNT(quarterfinals) FROM table_29521180_35 WHERE athlete = "Federico Muller"
How many athletes were named federico muller?
CREATE TABLE table_29521180_35 (quarterfinals VARCHAR, athlete VARCHAR)
SELECT date_left_staff FROM Staff WHERE first_name = "Janessa" AND last_name = "Sawayn"
When did the staff member with first name as Janessa and last name as Sawayn leave the company?
CREATE TABLE Staff (date_left_staff VARCHAR, first_name VARCHAR, last_name VARCHAR)
SELECT broadcast_date FROM table_2114238_1 WHERE viewers__in_millions_ = "6.8"
Which broadcast date has 6.8 million viewers?
CREATE TABLE table_2114238_1 (broadcast_date VARCHAR, viewers__in_millions_ VARCHAR)
SELECT date FROM table_name_66 WHERE game = 6
What was the date for game 6?
CREATE TABLE table_name_66 (date VARCHAR, game VARCHAR)
SELECT date FROM table_name_9 WHERE game_site = "griffith stadium"
What Date was the Game at Griffith Stadium?
CREATE TABLE table_name_9 (date VARCHAR, game_site VARCHAR)
SELECT story AS code FROM table_name_38 WHERE date = "2002-12"
What is the story code of the story published on 2002-12?
CREATE TABLE table_name_38 (story VARCHAR, date VARCHAR)
SELECT time_retired FROM table_name_56 WHERE driver = "richard attwood"
what is the time/retired for driver richard attwood?
CREATE TABLE table_name_56 (time_retired VARCHAR, driver VARCHAR)
SELECT home_team AS score FROM table_name_97 WHERE home_team = "melbourne"
What is melbourne's home team score?
CREATE TABLE table_name_97 (home_team VARCHAR)
SELECT ad_freq FROM table_name_58 WHERE show_name = "health matters"
What is the ad frequency for the show named Health Matters?
CREATE TABLE table_name_58 (ad_freq VARCHAR, show_name VARCHAR)
SELECT SUM(attendance) FROM table_name_54 WHERE result = "l 16-13"
What is the sum of attendance when the result was l 16-13?
CREATE TABLE table_name_54 (attendance INTEGER, result VARCHAR)
SELECT MIN(played) FROM table_18607260_6
Name the least played
CREATE TABLE table_18607260_6 (played INTEGER)
SELECT torque FROM table_11167610_1 WHERE performance = "0–100km/h: 7.5s auto, VMax: km/h (mph)"
what's the torque where performance is 0–100km/h: 7.5s auto, vmax: km/h (mph)
CREATE TABLE table_11167610_1 (torque VARCHAR, performance VARCHAR)
SELECT current_ratio FROM table_19166421_1 WHERE net_worth_to_fixed_assets = 621
If the net worth of fixed assets is 621, what is the current ratio?
CREATE TABLE table_19166421_1 (current_ratio VARCHAR, net_worth_to_fixed_assets VARCHAR)
SELECT MAX(heat) FROM table_name_48 WHERE time > 48.87 AND nationality = "sweden"
What was the highest heat with a time slower than 48.87 from sweden?
CREATE TABLE table_name_48 (heat INTEGER, time VARCHAR, nationality VARCHAR)
SELECT points_for FROM table_name_8 WHERE points = "63"
What is Points For, when Points is "63"?
CREATE TABLE table_name_8 (points_for VARCHAR, points VARCHAR)
SELECT COUNT(party) FROM table_1342249_11 WHERE incumbent = "Stephen Pace"
How many parties does incumbent stephen pace represent?
CREATE TABLE table_1342249_11 (party VARCHAR, incumbent VARCHAR)
SELECT MIN(played) FROM table_name_54 WHERE team = "vasco da gama" AND against < 11
Which Played is the lowest one that has a Team of vasco da gama, and an Against smaller than 11?
CREATE TABLE table_name_54 (played INTEGER, team VARCHAR, against VARCHAR)
SELECT year_named FROM table_16799784_12 WHERE latitude = "66.5N"
What is every year named for the latitude of 66.5N?
CREATE TABLE table_16799784_12 (year_named VARCHAR, latitude VARCHAR)
SELECT opponent FROM table_name_40 WHERE week = 6
Who was the opponent for week 6?
CREATE TABLE table_name_40 (opponent VARCHAR, week VARCHAR)
SELECT series_ep FROM table_name_22 WHERE segment_c = "stetson hats (part 1)"
What series episode has stetson hats (part 1) under segment C?
CREATE TABLE table_name_22 (series_ep VARCHAR, segment_c VARCHAR)
SELECT original_air_date FROM table_11951237_3 WHERE directed_by = "Timothy Van Patten"
What is theoriginal air date of the episode directed by timothy van patten?
CREATE TABLE table_11951237_3 (original_air_date VARCHAR, directed_by VARCHAR)
SELECT home_team FROM table_name_80 WHERE game = "game 2"
What is the Home Team in Game 2?
CREATE TABLE table_name_80 (home_team VARCHAR, game VARCHAR)
SELECT date FROM table_name_69 WHERE edition = "1988 world group i" AND result = "7–6 (7–5) , 6–3"
What date was the 1988 world group i edition with a result of 7–6 (7–5) , 6–3?
CREATE TABLE table_name_69 (date VARCHAR, edition VARCHAR, result VARCHAR)
SELECT MAX(founded) FROM table_2076608_1 WHERE enrollment = "696"
What was the largest founded year for schools having enrollment of exactly 696?
CREATE TABLE table_2076608_1 (founded INTEGER, enrollment VARCHAR)
SELECT COUNT(city___municipality) FROM table_261222_1 WHERE area__km_2__ = "506.64"
How many city/municipalties have an area (km2) of 506.64?
CREATE TABLE table_261222_1 (city___municipality VARCHAR, area__km_2__ VARCHAR)
SELECT per_capita_income FROM table_name_34 WHERE median_household_income = "$51,914"
What's the $51,914 median household income per capita?
CREATE TABLE table_name_34 (per_capita_income VARCHAR, median_household_income VARCHAR)
SELECT nationality FROM table_name_49 WHERE name = "marion buisson"
What nation is Marion Buisson playing for?
CREATE TABLE table_name_49 (nationality VARCHAR, name VARCHAR)
SELECT venue FROM table_name_33 WHERE against > 8 AND opposing_teams = "ireland"
What is the venue of the match with more than 8 against and ireland as the opposing team?
CREATE TABLE table_name_33 (venue VARCHAR, against VARCHAR, opposing_teams VARCHAR)
SELECT revised FROM table_name_48 WHERE mccune_reischauer = "yŏn (s) ryŏn (n)"
Tell me the revised of mccune reischauer of yŏn (s) ryŏn (n)
CREATE TABLE table_name_48 (revised VARCHAR, mccune_reischauer VARCHAR)
SELECT director FROM table_name_97 WHERE gross__worldwide_ = "$30,471"
Which director had a worldwide gross of $30,471?
CREATE TABLE table_name_97 (director VARCHAR, gross__worldwide_ VARCHAR)
SELECT score FROM table_name_1 WHERE date = "jun 16" AND set_4 = "25-20"
What is Score, when Date is Jun 16, and when Set 4 is 25-20?
CREATE TABLE table_name_1 (score VARCHAR, date VARCHAR, set_4 VARCHAR)
SELECT country FROM table_11884814_3 WHERE interview = "9.40" AND average = "9.44"
Which country had an interview score of 9.40 and average of 9.44?
CREATE TABLE table_11884814_3 (country VARCHAR, interview VARCHAR, average VARCHAR)
SELECT COUNT(name) FROM table_2665085_1 WHERE park = "Mt. Olympus"
How many parks are called mt. olympus
CREATE TABLE table_2665085_1 (name VARCHAR, park VARCHAR)
SELECT ceremony FROM table_name_35 WHERE work = "big titty milfs"
what ceremony did big titty milfs work in
CREATE TABLE table_name_35 (ceremony VARCHAR, work VARCHAR)
SELECT AVG(points) FROM table_name_97 WHERE drivers = "adrián vallés" AND year > 2006
How many Points have Drivers of adrián vallés, and a Year larger than 2006?
CREATE TABLE table_name_97 (points INTEGER, drivers VARCHAR, year VARCHAR)
SELECT try_bonus FROM table_13564702_3 WHERE club = "Kenfig Hill RFC"
Name the try bonus for kenfig hill rfc
CREATE TABLE table_13564702_3 (try_bonus VARCHAR, club VARCHAR)
SELECT high_assists FROM table_15869204_5 WHERE location_attendance = "Delta Center 19,639"
Name the high assists for delta center 19,639
CREATE TABLE table_15869204_5 (high_assists VARCHAR, location_attendance VARCHAR)
SELECT COUNT(original_air_date) FROM table_27250813_1 WHERE production_code = 12003
How many times did an episode with a production code of 12003 was aired?
CREATE TABLE table_27250813_1 (original_air_date VARCHAR, production_code VARCHAR)
SELECT archive FROM table_2102945_1 WHERE viewers__in_millions_ = "7.5"
When there are 7.5 million viewers what is the archive?
CREATE TABLE table_2102945_1 (archive VARCHAR, viewers__in_millions_ VARCHAR)
SELECT FacID FROM Faculty EXCEPT SELECT FacID FROM Faculty_participates_in
Show the ids of the faculty who don't participate in any activity.
CREATE TABLE Faculty (FacID VARCHAR); CREATE TABLE Faculty_participates_in (FacID VARCHAR)
SELECT SUM(winter_olympics) FROM table_name_5 WHERE country = "soviet union" AND holmenkollen = "1970, 1979"
what is the winter olympics when the country is soviet union and holmenkollen is 1970, 1979?
CREATE TABLE table_name_5 (winter_olympics INTEGER, country VARCHAR, holmenkollen VARCHAR)
SELECT AVG(week) FROM table_name_37 WHERE date = "november 10, 1963"
During what week was the match on November 10, 1963?
CREATE TABLE table_name_37 (week INTEGER, date VARCHAR)
SELECT date FROM table_name_7 WHERE attendance = "45,795"
When has Attendances of 45,795?
CREATE TABLE table_name_7 (date VARCHAR, attendance VARCHAR)
SELECT stadium FROM table_25129482_1 WHERE manager = "Kari Martonen"
Which stadium is managed by Kari Martonen?
CREATE TABLE table_25129482_1 (stadium VARCHAR, manager VARCHAR)
SELECT democratic_ticket FROM table_name_99 WHERE socialist_labor_ticket = "john emanuel"
When John Emanuel ran under the Socialist Labor ticket who ran under the Democratic ticket?
CREATE TABLE table_name_99 (democratic_ticket VARCHAR, socialist_labor_ticket VARCHAR)
SELECT over_total_tax_revenue__in__percentage_ FROM table_name_75 WHERE stamp_duty_reserve_tax = "n.a." AND year = "1995-96"
What is the Total Tax Revenue that has an n.a. Stamp Duty Reserve Tax in the years 1995-96?
CREATE TABLE table_name_75 (over_total_tax_revenue__in__percentage_ VARCHAR, stamp_duty_reserve_tax VARCHAR, year VARCHAR)
SELECT original_artist FROM table_15796072_1 WHERE theme = "1980s"
Who was the original artist when the theme was 1980s?
CREATE TABLE table_15796072_1 (original_artist VARCHAR, theme VARCHAR)
SELECT french_title FROM table_23963073_1 WHERE date_of_publication = 1968
What was the French title of the story published in 1968?
CREATE TABLE table_23963073_1 (french_title VARCHAR, date_of_publication VARCHAR)
SELECT date FROM table_name_13 WHERE game_site = "rich stadium" AND week = 1
Which date has rich stadium as the game site for week 1?
CREATE TABLE table_name_13 (date VARCHAR, game_site VARCHAR, week VARCHAR)
SELECT launch_site FROM table_name_6 WHERE carrier_rocket = "scout" AND cospar_id = "1971-109a"
From where did the Scout carrier rocket with the satellite that has a COSPAR ID of 1971-109a launch?
CREATE TABLE table_name_6 (launch_site VARCHAR, carrier_rocket VARCHAR, cospar_id VARCHAR)
SELECT release_date FROM table_name_23 WHERE release_price___usd__ = "$346" AND turbo = "9/11"
What is the release date when the release price (usd) is $346 and the turbo is 9/11?
CREATE TABLE table_name_23 (release_date VARCHAR, release_price___usd__ VARCHAR, turbo VARCHAR)
SELECT 2001 FROM table_name_4 WHERE product = "grain"
What was the amount of grain in 2001?
CREATE TABLE table_name_4 (product VARCHAR)