answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
484
SELECT per­cent­age FROM table_177766_1 WHERE area__sqdeg_ = "248.885"
What is the percentage of this constellation with an area of 248.885 sq. deg.?
CREATE TABLE table_177766_1 (per­cent­age VARCHAR, area__sqdeg_ VARCHAR)
SELECT record FROM table_name_12 WHERE date = "september 28"
Date of september 28 had what record?
CREATE TABLE table_name_12 (record VARCHAR, date VARCHAR)
SELECT year__ceremony_ FROM table_22034853_1 WHERE original_title = "Vitus"
What was the year for the film "Vitus"?
CREATE TABLE table_22034853_1 (year__ceremony_ VARCHAR, original_title VARCHAR)
SELECT opponent FROM table_name_7 WHERE season = "2010/11"
Which opponent has a Season of 2010/11?
CREATE TABLE table_name_7 (opponent VARCHAR, season VARCHAR)
SELECT result FROM table_1342013_34 WHERE district = "Ohio 2"
what's the result for district ohio 2
CREATE TABLE table_1342013_34 (result VARCHAR, district VARCHAR)
SELECT SUM(byes) FROM table_name_27 WHERE draws < 0
How many byes were there recorded with 0 draws?
CREATE TABLE table_name_27 (byes INTEGER, draws INTEGER)
SELECT date_of_appointment FROM table_26998135_2 WHERE outgoing_manager = "Mustafa Denizli"
What is the date of appointment when the outgoing manager was mustafa denizli?
CREATE TABLE table_26998135_2 (date_of_appointment VARCHAR, outgoing_manager VARCHAR)
SELECT COUNT(pick) FROM table_name_52 WHERE college = "perpetual help" AND pba_team = "coca-cola tigers"
What is the pick number for the College of Perpetual help with the Coca-Cola Tigers as a PBA team?
CREATE TABLE table_name_52 (pick VARCHAR, college VARCHAR, pba_team VARCHAR)
SELECT others_percentage FROM table_1733457_1 WHERE county = "Johnson"
Name the others % for johnson
CREATE TABLE table_1733457_1 (others_percentage VARCHAR, county VARCHAR)
SELECT name, operating_system FROM web_client_accelerator WHERE CONNECTION <> 'Broadband'
What are the name and os of web client accelerators that do not work with only a 'Broadband' type connection?
CREATE TABLE web_client_accelerator (name VARCHAR, operating_system VARCHAR, CONNECTION VARCHAR)
SELECT location FROM table_name_15 WHERE peak = "pico basilé"
Where is the peak Pico Basilé located?
CREATE TABLE table_name_15 (location VARCHAR, peak VARCHAR)
SELECT shoots FROM table_name_99 WHERE acquired = 2010 AND player = "matthew myers"
What is the shooting preference of Matthew Myers, acquired in 2010?
CREATE TABLE table_name_99 (shoots VARCHAR, acquired VARCHAR, player VARCHAR)
SELECT MIN(age_30_39) FROM table_169693_1 WHERE age_20_29 = 593
Name the least age 30-39 where age 20-29 is 593
CREATE TABLE table_169693_1 (age_30_39 INTEGER, age_20_29 VARCHAR)
SELECT 125 AS cc_winner FROM table_12186237_1 WHERE circuit = "Phillip Island"
Who is the 125cc winnder for the Phillip Island circuit?
CREATE TABLE table_12186237_1 (circuit VARCHAR)
SELECT AVG(year) FROM table_name_7 WHERE score = 270
What was the average year during which the score was 270?
CREATE TABLE table_name_7 (year INTEGER, score VARCHAR)
SELECT attendance FROM table_name_46 WHERE result = "l 20-14"
What is the Attendance of the game with a Result of L 20-14?
CREATE TABLE table_name_46 (attendance VARCHAR, result VARCHAR)
SELECT MAX(year) FROM table_name_66 WHERE venue = "annecy, france"
What is the latest year in Annecy, France?
CREATE TABLE table_name_66 (year INTEGER, venue VARCHAR)
SELECT MIN(week) FROM table_name_26 WHERE date = "december 19, 2004"
I want to know the lowest week with a date of december 19, 2004
CREATE TABLE table_name_26 (week INTEGER, date VARCHAR)
SELECT 2010 FROM table_name_39 WHERE rank = "8"
what is the production in 2010 with rank of 8?
CREATE TABLE table_name_39 (rank VARCHAR)
SELECT pettype, weight FROM pets ORDER BY pet_age LIMIT 1
Find the type and weight of the youngest pet.
CREATE TABLE pets (pettype VARCHAR, weight VARCHAR, pet_age VARCHAR)
SELECT frequency FROM table_16729930_11 WHERE part_number_s_ = "AC80566UE041DW"
Name the frequency for part number of ac80566ue041dw
CREATE TABLE table_16729930_11 (frequency VARCHAR, part_number_s_ VARCHAR)
SELECT SUM(rank) FROM table_name_45 WHERE nation = "west germany" AND bronze > 0
What is the sum of a rank whose nation is West Germany and has bronze larger than 0?
CREATE TABLE table_name_45 (rank INTEGER, nation VARCHAR, bronze VARCHAR)
SELECT MIN(lane) FROM table_name_38 WHERE rank = 33
When rank is 33, what is the smallest lane?
CREATE TABLE table_name_38 (lane INTEGER, rank VARCHAR)
SELECT term_in_office FROM table_name_76 WHERE state = "qld" AND party = "labor" AND electorate = "fisher"
Which term in office has a qld state, a Party of labor, and an Electorate of fisher?
CREATE TABLE table_name_76 (term_in_office VARCHAR, electorate VARCHAR, state VARCHAR, party VARCHAR)
SELECT player FROM table_name_99 WHERE to_par = "–6"
Name the Player which has a To par of –6?
CREATE TABLE table_name_99 (player VARCHAR, to_par VARCHAR)
SELECT SUM(lost) FROM table_name_86 WHERE points = 11 AND drawn > 1
What is the sum of losses that have points of 11 and more than 1 draw?
CREATE TABLE table_name_86 (lost INTEGER, points VARCHAR, drawn VARCHAR)
SELECT tournament FROM table_name_21 WHERE year = "1986"
What is the Tournament in the Year of 1986?
CREATE TABLE table_name_21 (tournament VARCHAR, year VARCHAR)
SELECT international_tourist_arrivals__2010_ FROM table_14752049_2 WHERE change__2010_to_2011_ = "+11.2%"
What are the international tourist arrivals in 2010 where change from 2010 to 2011 is +11.2% ?
CREATE TABLE table_14752049_2 (international_tourist_arrivals__2010_ VARCHAR, change__2010_to_2011_ VARCHAR)
SELECT player FROM table_name_41 WHERE year = "1974"
What is the Player in the Int'l Debut of 1974?
CREATE TABLE table_name_41 (player VARCHAR, year VARCHAR)
SELECT aircraft FROM table_name_88 WHERE seating = "148/9"
Which aircraft has 148/9 seating?
CREATE TABLE table_name_88 (aircraft VARCHAR, seating VARCHAR)
SELECT tickets_sold___available FROM table_name_4 WHERE gross_revenue__2011_ = "$5,948,390"
How many tickets were sold/available when the gross revenue (2011) was $5,948,390?
CREATE TABLE table_name_4 (tickets_sold___available VARCHAR, gross_revenue__2011_ VARCHAR)
SELECT AVG(district) FROM table_name_25 WHERE republican = "dan mansell"
Which District has a Republican of dan mansell?
CREATE TABLE table_name_25 (district INTEGER, republican VARCHAR)
SELECT author FROM table_name_49 WHERE title = "bludgeoning angel dokuro-chan"
Who is the author of Bludgeoning Angel Dokuro-Chan?
CREATE TABLE table_name_49 (author VARCHAR, title VARCHAR)
SELECT AVG(year) FROM table_name_28 WHERE competition = "friendly" AND club = "everton"
What is the average Year when the Competition was friendly, and a Club of everton?
CREATE TABLE table_name_28 (year INTEGER, competition VARCHAR, club VARCHAR)
SELECT viewers__in_millions_ FROM table_175980_2 WHERE season = "1st"
What are all values for viewers for 1st season?
CREATE TABLE table_175980_2 (viewers__in_millions_ VARCHAR, season VARCHAR)
SELECT SUM(bronze) FROM table_name_49 WHERE total < 8 AND rank = 9 AND silver < 0
What is the sum of the bronze medals when there were less than 8 total medals, 0 silver medals and a rank of 9?
CREATE TABLE table_name_49 (bronze INTEGER, silver VARCHAR, total VARCHAR, rank VARCHAR)
SELECT AVG(goals) FROM table_name_53 WHERE venue = "hong kong stadium, hong kong"
What is the average number of goals that occurred in Hong Kong Stadium, Hong Kong?
CREATE TABLE table_name_53 (goals INTEGER, venue VARCHAR)
SELECT res FROM table_name_57 WHERE opponent = "nate mohr"
What was the result of the event against Nate Mohr?
CREATE TABLE table_name_57 (res VARCHAR, opponent VARCHAR)
SELECT result FROM table_name_49 WHERE competition = "uefa cup" AND opponent = "palermo"
What is the result of the UEFA Cup, against Palermo?
CREATE TABLE table_name_49 (result VARCHAR, competition VARCHAR, opponent VARCHAR)
SELECT T2.feature_type_name FROM Other_Available_Features AS T1 JOIN Ref_Feature_Types AS T2 ON T1.feature_type_code = T2.feature_type_code WHERE T1.feature_name = "AirCon"
What is the feature type name of feature AirCon?
CREATE TABLE Other_Available_Features (feature_type_code VARCHAR, feature_name VARCHAR); CREATE TABLE Ref_Feature_Types (feature_type_name VARCHAR, feature_type_code VARCHAR)
SELECT score FROM table_name_2 WHERE date = "april 2, 2008"
What was the game score on april 2, 2008?
CREATE TABLE table_name_2 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_74 WHERE date = "june 17"
What was the final score of the game on June 17?
CREATE TABLE table_name_74 (score VARCHAR, date VARCHAR)
SELECT date FROM table_name_90 WHERE time = "1:00.59"
Which Date has a Time of 1:00.59?
CREATE TABLE table_name_90 (date VARCHAR, time VARCHAR)
SELECT champion FROM table_name_16 WHERE llws = "group stage" AND city = "russellville"
Which champion has a Group Stage LLWS in Russellville?
CREATE TABLE table_name_16 (champion VARCHAR, llws VARCHAR, city VARCHAR)
SELECT champion FROM table_name_39 WHERE course = "richmond river" AND date = "june 13"
WHAT CHAMPION HAD RICHMOND RIVER COURSE ON JUNE 13?
CREATE TABLE table_name_39 (champion VARCHAR, course VARCHAR, date VARCHAR)
SELECT class_a FROM table_14601528_2 WHERE class_aAAAA = Pearland
Name the class a for pearland
CREATE TABLE table_14601528_2 (class_a VARCHAR, class_aAAAA VARCHAR, Pearland VARCHAR)
SELECT MAX(points) FROM table_17289224_1 WHERE final_placing = "9th"
What was the max points you when when you place 9th?
CREATE TABLE table_17289224_1 (points INTEGER, final_placing VARCHAR)
SELECT COUNT(DISTINCT Software_Platform) FROM device
How many different software platforms are there for devices?
CREATE TABLE device (Software_Platform VARCHAR)
SELECT record FROM table_23248869_8 WHERE high_rebounds = "David Lee (8)"
What was the record when the high rebounds was david lee (8)
CREATE TABLE table_23248869_8 (record VARCHAR, high_rebounds VARCHAR)
SELECT pick__number FROM table_name_68 WHERE player = "william loftus"
what is the pick # for william loftus?
CREATE TABLE table_name_68 (pick__number VARCHAR, player VARCHAR)
SELECT score FROM table_name_67 WHERE partner = "alexandra fusai"
what is the score when the partner is alexandra fusai?
CREATE TABLE table_name_67 (score VARCHAR, partner VARCHAR)
SELECT name, followers FROM user_profiles ORDER BY followers DESC
List the name and number of followers for each user, and sort the results by the number of followers in descending order.
CREATE TABLE user_profiles (name VARCHAR, followers VARCHAR)
SELECT away_team FROM table_name_12 WHERE home_team = "south melbourne"
Who is the home team of South Melbourne?
CREATE TABLE table_name_12 (away_team VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_25 WHERE record = "1-1"
What is Date, when Record is "1-1"?
CREATE TABLE table_name_25 (date VARCHAR, record VARCHAR)
SELECT DISTINCT firstname FROM list WHERE classroom = 107
What are the first names of students studying in room 107?
CREATE TABLE list (firstname VARCHAR, classroom VARCHAR)
SELECT 2012 FROM table_name_96 WHERE 2009 = "a" AND 2010 = "2r"
What is the 2012 with A in 2009 and 2r in 2010?
CREATE TABLE table_name_96 (Id VARCHAR)
SELECT rd FROM table_10706961_2 WHERE name = "Indianapolis 500"
Which Rd took place at the Indianapolis 500?
CREATE TABLE table_10706961_2 (rd VARCHAR, name VARCHAR)
SELECT opponents FROM table_name_8 WHERE partner = "mervana jugić-salkić"
What is Opponents, when Partner is Mervana Jugić-Salkić?
CREATE TABLE table_name_8 (opponents VARCHAR, partner VARCHAR)
SELECT COUNT(total_viewers__in_millions_) FROM table_12419515_4 WHERE series__number = 57
How many millions of total viewers watched series #57?
CREATE TABLE table_12419515_4 (total_viewers__in_millions_ VARCHAR, series__number VARCHAR)
SELECT socialist_labor_ticket FROM table_name_28 WHERE democratic_ticket = "robert m. morgenthau"
Who ran under the Socialist Labor ticket when Robert M. Morgenthau ran for the Democratic ticket?
CREATE TABLE table_name_28 (socialist_labor_ticket VARCHAR, democratic_ticket VARCHAR)
SELECT time FROM table_name_98 WHERE record = "15-7"
What is the Time with a Record that is 15-7?
CREATE TABLE table_name_98 (time VARCHAR, record VARCHAR)
SELECT _number___county FROM table_name_54 WHERE enrollment < 774 AND school = "eastern pekin"
What's the county of Eastern Pekin school with fewer than 774 enrolled?
CREATE TABLE table_name_54 (_number___county VARCHAR, enrollment VARCHAR, school VARCHAR)
SELECT score_1 FROM table_24887326_8 WHERE away_team = "Norwich City"
What was the score when the away team was norwich city?
CREATE TABLE table_24887326_8 (score_1 VARCHAR, away_team VARCHAR)
SELECT high_points FROM table_name_92 WHERE game > 58 AND high_rebounds = "francisco elson (7)"
Which High points has a Game larger than 58, and a High rebounds of francisco elson (7)?
CREATE TABLE table_name_92 (high_points VARCHAR, game VARCHAR, high_rebounds VARCHAR)
SELECT score FROM table_name_43 WHERE record = "13–12"
What is the Score of the Game with a Record of 13–12?
CREATE TABLE table_name_43 (score VARCHAR, record VARCHAR)
SELECT MIN(nanquan) FROM table_name_40 WHERE rank > 2 AND total < 18.36 AND nangun < 8.85
WHAT IS THE LOWEST NANQUAN WITH A RANK BIGGER THAN 2, TOTAL LESS THAN 18.36 AND SMALLER THAN 8.85?
CREATE TABLE table_name_40 (nanquan INTEGER, nangun VARCHAR, rank VARCHAR, total VARCHAR)
SELECT 1 AS st_round FROM table_name_65 WHERE team_1 = "sporting toulon var (d2)"
What is 1st Round, when Team 1 is Sporting Toulon Var (D2)?
CREATE TABLE table_name_65 (team_1 VARCHAR)
SELECT combined FROM table_name_93 WHERE overall = "2" AND slalom = "5"
What is the combined of 2 overalls and 5 slaloms?
CREATE TABLE table_name_93 (combined VARCHAR, overall VARCHAR, slalom VARCHAR)
SELECT country FROM table_name_43 WHERE score = 70 - 68 - 70 - 68 = 276
Which Country has a Score of 70-68-70-68=276?
CREATE TABLE table_name_43 (country VARCHAR, score VARCHAR)
SELECT surface FROM table_name_46 WHERE score = "6–2, 6–1"
On what surface was the score 6–2, 6–1?
CREATE TABLE table_name_46 (surface VARCHAR, score VARCHAR)
SELECT COUNT(month_held) FROM table_26166836_3 WHERE distance = "Marathon" AND location = "Brighton"
How many times a year is the Brighton Marathon held?
CREATE TABLE table_26166836_3 (month_held VARCHAR, distance VARCHAR, location VARCHAR)
SELECT played FROM table_name_94 WHERE "club" = "club"
Which Played has a Club of club?
CREATE TABLE table_name_94 (played VARCHAR)
SELECT COUNT(result) FROM table_20630665_1 WHERE opponent = "Tennessee"
How many times did the Bruins play Tennessee?
CREATE TABLE table_20630665_1 (result VARCHAR, opponent VARCHAR)
SELECT MAX(pts) FROM table_name_41 WHERE engine = "ford" AND entrant = "brooke bond oxo team surtees" AND year = 1972
In 1972, what was the highest number of points with a Ford engine and an entrant of Brooke Bond Oxo Team Surtees?
CREATE TABLE table_name_41 (pts INTEGER, year VARCHAR, engine VARCHAR, entrant VARCHAR)
SELECT result FROM table_name_75 WHERE game_site = "kingdome" AND opponent = "denver broncos"
Name the result for kingdome game site and opponent of denver broncos
CREATE TABLE table_name_75 (result VARCHAR, game_site VARCHAR, opponent VARCHAR)
SELECT MIN(population) FROM table_name_85 WHERE area_km_2 = 236.76
What is the Population of the Parish with an Area km 2 of 236.76?
CREATE TABLE table_name_85 (population INTEGER, area_km_2 VARCHAR)
SELECT reference FROM table_name_4 WHERE romaji_title = "da.i.su.ki"
What is the reference for the romani title da.i.su.ki?
CREATE TABLE table_name_4 (reference VARCHAR, romaji_title VARCHAR)
SELECT country FROM table_name_93 WHERE place = "t9" AND player = "jay hebert"
What is Country, when Place is "T9", and when Player is "Jay Hebert"?
CREATE TABLE table_name_93 (country VARCHAR, place VARCHAR, player VARCHAR)
SELECT date FROM table_name_43 WHERE partner = "elke clijsters"
What date has elke clijsters as the partner?
CREATE TABLE table_name_43 (date VARCHAR, partner VARCHAR)
SELECT result FROM table_name_63 WHERE award = "bafta tv award"
What was the result for the Bafta Tv award?
CREATE TABLE table_name_63 (result VARCHAR, award VARCHAR)
SELECT COUNT(*) FROM postseason AS T1 JOIN team AS T2 ON T1.team_id_loser = T2.team_id_br WHERE T2.name = 'Boston Red Stockings' AND T1.year = 2009
How many times did Boston Red Stockings lose in 2009 postseason?
CREATE TABLE postseason (team_id_loser VARCHAR, year VARCHAR); CREATE TABLE team (team_id_br VARCHAR, name VARCHAR)
SELECT best FROM table_name_5 WHERE qual_2 = "1:47.042"
What is the best when the qual 2 is 1:47.042?
CREATE TABLE table_name_5 (best VARCHAR, qual_2 VARCHAR)
SELECT MIN(rank) FROM table_name_45 WHERE passengers > 73 OFFSET 754
What is the smallest rank for passengers more than 73,754?
CREATE TABLE table_name_45 (rank INTEGER, passengers INTEGER)
SELECT AVG(week) FROM table_name_46 WHERE opponent = "bye"
What week was the bye week?
CREATE TABLE table_name_46 (week INTEGER, opponent VARCHAR)
SELECT MAX(round) FROM table_name_86 WHERE player = "mike taylor" AND pick > 55
WHAT IS THE HIGHEST ROUND FOR MIKE TAYLOR, WITH PICK HIGHER THAN 55?
CREATE TABLE table_name_86 (round INTEGER, player VARCHAR, pick VARCHAR)
SELECT MIN(perfect_40s) FROM table_15988037_24
What is the minimum number of perfect 40s?
CREATE TABLE table_15988037_24 (perfect_40s INTEGER)
SELECT venue FROM table_name_82 WHERE competition = "pl group b" AND score = "2-2"
Which Venue has a Competition of pl group b, and a Score of 2-2?
CREATE TABLE table_name_82 (venue VARCHAR, competition VARCHAR, score VARCHAR)
SELECT club FROM table_name_34 WHERE stadium = "stc krymteplitsia"
What club does the stadium stc krymteplitsia belong to?
CREATE TABLE table_name_34 (club VARCHAR, stadium VARCHAR)
SELECT score FROM table_name_85 WHERE home_team = "cairns taipans"
What was the score of the game where the home team was the cairns taipans?
CREATE TABLE table_name_85 (score VARCHAR, home_team VARCHAR)
SELECT AVG(rank) FROM table_name_41 WHERE points < 274.4 AND name = "roman koudelka"
What is the average rank of Roman Koudelka, who has less than 274.4 points?
CREATE TABLE table_name_41 (rank INTEGER, points VARCHAR, name VARCHAR)
SELECT home_team AS score FROM table_name_83 WHERE home_team = "richmond"
What was the score when Richmond payed as the home team?
CREATE TABLE table_name_83 (home_team VARCHAR)
SELECT student_id FROM student_course_registrations GROUP BY student_id ORDER BY COUNT(*) LIMIT 1
what is id of students who registered some courses but the least number of courses in these students?
CREATE TABLE student_course_registrations (student_id VARCHAR)
SELECT MAX(played) FROM table_name_60 WHERE drawn < 9 AND difference = "36" AND lost > 7
What is the highest played that has a drawn less than 9, 36 as the difference, with a lost greater than 7?
CREATE TABLE table_name_60 (played INTEGER, lost VARCHAR, drawn VARCHAR, difference VARCHAR)
SELECT out_of FROM table_name_31 WHERE source = "united nations" AND rank > 47 AND year < 2003
Can you tell me the Out of that has the Source of united nations, and the Rank larger than 47, and the Year smaller than 2003?
CREATE TABLE table_name_31 (out_of VARCHAR, year VARCHAR, source VARCHAR, rank VARCHAR)
SELECT championships__years_ FROM table_name_71 WHERE club = "tampa bay storm"
Which years did the Tampa Bay Storm win the Championships?
CREATE TABLE table_name_71 (championships__years_ VARCHAR, club VARCHAR)
SELECT district FROM table_1341604_10 WHERE result = "New seat Democratic gain"
what's the district with result being new seat democratic gain
CREATE TABLE table_1341604_10 (district VARCHAR, result VARCHAR)
SELECT document_id, receipt_date FROM Documents
List all document ids and receipt dates of documents.
CREATE TABLE Documents (document_id VARCHAR, receipt_date VARCHAR)
SELECT SUM(cuts_made) FROM table_name_13 WHERE events > 13
How many cuts made in the tournament he played 13 times?
CREATE TABLE table_name_13 (cuts_made INTEGER, events INTEGER)
SELECT release_date FROM table_name_16 WHERE director = "robert mckimson" AND series = "mm" AND production_number = "1665"
What is the Release date of the Filmography directed by Robert McKimson in MM Series with Production Number 1665?
CREATE TABLE table_name_16 (release_date VARCHAR, production_number VARCHAR, director VARCHAR, series VARCHAR)
SELECT distance FROM table_name_39 WHERE venue = "belgrade"
What is Distance, when Venue is "Belgrade"?
CREATE TABLE table_name_39 (distance VARCHAR, venue VARCHAR)