answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT pinyin FROM table_1216675_1 WHERE translation = "Explaining Music"
What is the pinyin for explaining music?
CREATE TABLE table_1216675_1 (pinyin VARCHAR, translation VARCHAR)
SELECT COUNT(average) FROM table_name_23 WHERE goals < 73
What is the average number for goals less than 73?
CREATE TABLE table_name_23 (average VARCHAR, goals INTEGER)
SELECT cName FROM tryout WHERE decision = 'yes' AND pPos = 'goalie'
Which college has any student who is a goalie and succeeded in the tryout.
CREATE TABLE tryout (cName VARCHAR, decision VARCHAR, pPos VARCHAR)
SELECT cast FROM table_name_80 WHERE director = "b. reeves eason and joseph kane"
Tell me the cast for b. reeves eason and joseph kane
CREATE TABLE table_name_80 (cast VARCHAR, director VARCHAR)
SELECT AVG(long) FROM table_name_72 WHERE gain = 1581 AND loss < 308
What is the average long that has 1581 as a gain, with a loss less than 308?
CREATE TABLE table_name_72 (long INTEGER, gain VARCHAR, loss VARCHAR)
SELECT runner_s__up FROM table_name_68 WHERE tournament = "chicago challenge"
Who is the runner-up at the Chicago challenge?
CREATE TABLE table_name_68 (runner_s__up VARCHAR, tournament VARCHAR)
SELECT school FROM table_name_96 WHERE unanimous = "no no no"
What School has no no no Unanimously?
CREATE TABLE table_name_96 (school VARCHAR, unanimous VARCHAR)
SELECT SUM(silver) FROM table_name_66 WHERE rank = "14" AND total < 1
What is the total number of silver medals for countries of rank 14, with less than 1 total medals?
CREATE TABLE table_name_66 (silver INTEGER, rank VARCHAR, total VARCHAR)
SELECT AVG(played) FROM table_name_62 WHERE conceded < 7
Mean of played with smaller than 7 conceded?
CREATE TABLE table_name_62 (played INTEGER, conceded INTEGER)
SELECT away_team AS score FROM table_name_91 WHERE home_team = "north melbourne"
What was the away score when North Melbourne was played?
CREATE TABLE table_name_91 (away_team VARCHAR, home_team VARCHAR)
SELECT MAX(attendance) FROM table_name_83 WHERE score = "3-5"
What was the highest attendance of a game that had a score of 3-5?
CREATE TABLE table_name_83 (attendance INTEGER, score VARCHAR)
SELECT venue FROM table_name_22 WHERE status = "2007 rugby world cup" AND against < 22 AND date = "08/09/2007"
What is Venue, when Status is "2007 Rugby World Cup", when Against is less than 22, and when Date is "08/09/2007"?
CREATE TABLE table_name_22 (venue VARCHAR, date VARCHAR, status VARCHAR, against VARCHAR)
SELECT nationality FROM table_name_54 WHERE years_for_grizzlies = "1998-2000"
What is the Nationality of the 1998-2000 Years for Grizzlies?
CREATE TABLE table_name_54 (nationality VARCHAR, years_for_grizzlies VARCHAR)
SELECT date FROM table_15869204_4 WHERE location_attendance = "Continental Airlines Arena 13,755"
On what date was the attendance at Continental Airlines Arena 13,755?
CREATE TABLE table_15869204_4 (date VARCHAR, location_attendance VARCHAR)
SELECT team_classification FROM table_name_21 WHERE general_classification = "kim kirchen"
What was Kim Kirchen's team classification?
CREATE TABLE table_name_21 (team_classification VARCHAR, general_classification VARCHAR)
SELECT MIN(avg_transfer_rate_)[kb_s] FROM table_name_69 WHERE device = 3243
What is the smallest transfer rate for a 3243 device?
CREATE TABLE table_name_69 (kb_s VARCHAR, avg_transfer_rate_ INTEGER, device VARCHAR)
SELECT tries_for FROM table_name_89 WHERE tries_against = "52"
What is the tries for when 52 was the tries against?
CREATE TABLE table_name_89 (tries_for VARCHAR, tries_against VARCHAR)
SELECT score FROM table_name_94 WHERE to_par = "+1" AND player = "masashi ozaki"
Which Score has a To par of +1, and a Player of masashi ozaki?
CREATE TABLE table_name_94 (score VARCHAR, to_par VARCHAR, player VARCHAR)
SELECT result FROM table_name_83 WHERE date = "april 26, 2003"
What was the result of the game that took place on april 26, 2003?
CREATE TABLE table_name_83 (result VARCHAR, date VARCHAR)
SELECT COUNT(college) FROM table_28059992_2 WHERE player = "Jerome Pathon"
Name the number of colleges for jerome pathon
CREATE TABLE table_28059992_2 (college VARCHAR, player VARCHAR)
SELECT DISTINCT T2.title FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID JOIN Reviewer AS T3 ON T1.rID = T3.rID WHERE T3.name = 'Brittany Harris' OR T2.year > 2000
What are names of the movies that are either made after 2000 or reviewed by Brittany Harris?
CREATE TABLE Reviewer (rID VARCHAR, name VARCHAR); CREATE TABLE Movie (title VARCHAR, mID VARCHAR, year VARCHAR); CREATE TABLE Rating (mID VARCHAR, rID VARCHAR)
SELECT MAX(played) FROM table_name_29 WHERE draws < 7 AND goals_for < 61 AND goals_against < 48 AND position = 5
Which Played has Draws smaller than 7, and Goals for smaller than 61, and Goals against smaller than 48, and a Position of 5?
CREATE TABLE table_name_29 (played INTEGER, position VARCHAR, goals_against VARCHAR, draws VARCHAR, goals_for VARCHAR)
SELECT label FROM table_name_52 WHERE date = "1987"
Which label has a date of 1987?
CREATE TABLE table_name_52 (label VARCHAR, date VARCHAR)
SELECT school FROM table_21995420_6 WHERE stunts = "48"
What is every school with stunts of 48?
CREATE TABLE table_21995420_6 (school VARCHAR, stunts VARCHAR)
SELECT station_name FROM table_name_57 WHERE chinese_name = "上地 shàngdì"
The Chinese Name of 上地 shàngdì belongs to what station?
CREATE TABLE table_name_57 (station_name VARCHAR, chinese_name VARCHAR)
SELECT nhl_team FROM table_name_69 WHERE player = "ryan johnson"
Tell me the NHL team for ryan johnson
CREATE TABLE table_name_69 (nhl_team VARCHAR, player VARCHAR)
SELECT tenth FROM table_17111812_1 WHERE ninth = "Kubb"
When Kubb is in 9th, who is in 10th?
CREATE TABLE table_17111812_1 (tenth VARCHAR, ninth VARCHAR)
SELECT pop__2010_ FROM table_18600760_7 WHERE county = "Cavalier" AND geo_id > 3801931620.0
In Cavalier County and the geo id is larger than 3801931620.0, what is the population?
CREATE TABLE table_18600760_7 (pop__2010_ VARCHAR, county VARCHAR, geo_id VARCHAR)
SELECT MAX(goal) FROM table_name_27 WHERE venue = "hannover"
What was the highest number of goals for a game held at Hannover?
CREATE TABLE table_name_27 (goal INTEGER, venue VARCHAR)
SELECT competition FROM table_name_39 WHERE venue = "home" AND attendance = "1,268"
What was the home Competition with Attendance of 1,268?
CREATE TABLE table_name_39 (competition VARCHAR, venue VARCHAR, attendance VARCHAR)
SELECT to_par FROM table_name_18 WHERE score = 70 - 72 - 70 - 69 = 281
What is the to par for the player who had a score of 70-72-70-69=281?
CREATE TABLE table_name_18 (to_par VARCHAR, score VARCHAR)
SELECT SUM(played) FROM table_name_21 WHERE team = "scottish wanderers" AND points < 5
How many games were played by the Scottish Wanderers where less than 5 Points were scored?
CREATE TABLE table_name_21 (played INTEGER, team VARCHAR, points VARCHAR)
SELECT result FROM table_name_43 WHERE category = "outstanding supporting actress in a drama series" AND year = 2009
What was the result for the nominee for Outstanding Supporting Actress in a Drama Series in 2009?
CREATE TABLE table_name_43 (result VARCHAR, category VARCHAR, year VARCHAR)
SELECT MAX(tourism_receipts__2011___us) AS $_per_capita_ FROM table_name_99 WHERE tourism_receipts__2003___as__percentage_of_gdp_ = "19.4" AND tourism_receipts__2011___us$_per_arrival_ < 655
What is the highest number of tourism receipts in 2011 US $ per capita with 19.4 % of GDP in 2003 tourism receipts and less than 655 US $ per arrival in 2011 tourism receipts?
CREATE TABLE table_name_99 (tourism_receipts__2011___us INTEGER, tourism_receipts__2003___as__percentage_of_gdp_ VARCHAR, tourism_receipts__2011___us$_per_arrival_ VARCHAR)
SELECT firefox FROM table_name_60 WHERE source = "w3counter"
According to W3Counter, what percentage of browsers used Firefox?
CREATE TABLE table_name_60 (firefox VARCHAR, source VARCHAR)
SELECT name FROM table_name_92 WHERE country = "italy" AND giro_wins = 0 AND young_rider = 0 AND maglia_rosa < 3
Who is from italy has 0 giro wins, 0 young rider and less than 3 maglia rosa?
CREATE TABLE table_name_92 (name VARCHAR, maglia_rosa VARCHAR, young_rider VARCHAR, country VARCHAR, giro_wins VARCHAR)
SELECT _percentage_2001 FROM table_1939405_2 WHERE _percentage_2011 = "0.2%"
What are the percentages in 2001 in all the provinces where the percentage in 2011 is 0.2%?
CREATE TABLE table_1939405_2 (_percentage_2001 VARCHAR, _percentage_2011 VARCHAR)
SELECT builder FROM table_name_83 WHERE length = "42.8 m" AND delivery = 2007
Who built the ship that is 42.8 m long and was delivered in 2007?
CREATE TABLE table_name_83 (builder VARCHAR, length VARCHAR, delivery VARCHAR)
SELECT november_3 FROM table_25355501_2 WHERE august_21_22 = "August 22, 1998"
What is shown for november 3 when august 21-22 is august 22, 1998?
CREATE TABLE table_25355501_2 (november_3 VARCHAR, august_21_22 VARCHAR)
SELECT air_date FROM table_name_31 WHERE test_taker = "robert"
On which air date was Robert the test-taker?
CREATE TABLE table_name_31 (air_date VARCHAR, test_taker VARCHAR)
SELECT decile FROM table_name_38 WHERE area = "purua"
WHat is the decile of the school in Purua?
CREATE TABLE table_name_38 (decile VARCHAR, area VARCHAR)
SELECT pole_position FROM table_19908651_3 WHERE race_name = "Texaco/Havoline 200"
Who was on the pole position in the Texaco/Havoline 200 race?
CREATE TABLE table_19908651_3 (pole_position VARCHAR, race_name VARCHAR)
SELECT d_45_√ FROM table_name_99 WHERE d_46_√ = "d 46 √"
What is the D 45 √ with a D 46 √ with d 46 √?
CREATE TABLE table_name_99 (d_45_√ VARCHAR, d_46_√ VARCHAR)
SELECT country FROM table_name_28 WHERE year_s__won = "1993"
What country won in 1993?
CREATE TABLE table_name_28 (country VARCHAR, year_s__won VARCHAR)
SELECT team_2 FROM table_name_29 WHERE team_1 = "sestese(e16)"
who is the team 2 when the team 1 is sestese(e16)?
CREATE TABLE table_name_29 (team_2 VARCHAR, team_1 VARCHAR)
SELECT venue FROM table_name_88 WHERE opponent = "netherlands"
Name the venue for netherlands opponent
CREATE TABLE table_name_88 (venue VARCHAR, opponent VARCHAR)
SELECT region FROM table_name_47 WHERE catalog = "crgd 86136"
What Region has a Catalog of crgd 86136?
CREATE TABLE table_name_47 (region VARCHAR, catalog VARCHAR)
SELECT f_id FROM files WHERE formats = "mp4" INTERSECT SELECT f_id FROM song WHERE resolution < 1000
Find the id of songs that are available in mp4 format and have resolution lower than 1000.
CREATE TABLE song (f_id VARCHAR, formats VARCHAR, resolution INTEGER); CREATE TABLE files (f_id VARCHAR, formats VARCHAR, resolution INTEGER)
SELECT MAX(goals) FROM table_name_45 WHERE date = "7 february 2010"
Which Goals have a Date of 7 february 2010?
CREATE TABLE table_name_45 (goals INTEGER, date VARCHAR)
SELECT place FROM table_name_17 WHERE to_par = "+1" AND player = "adam scott"
In what place did Adam Scott, who had a to par score of +1, finish?
CREATE TABLE table_name_17 (place VARCHAR, to_par VARCHAR, player VARCHAR)
SELECT term_expires FROM table_name_27 WHERE appointing_governor = "tom vilsack" AND name = "daryl hecht"
What is the expiring term for Daryl Hecht when the appointing governor is Tom Vilsack?
CREATE TABLE table_name_27 (term_expires VARCHAR, appointing_governor VARCHAR, name VARCHAR)
SELECT callsign FROM table_name_99 WHERE frequency = "0 864"
Frequency of 0 864 has what callsign?
CREATE TABLE table_name_99 (callsign VARCHAR, frequency VARCHAR)
SELECT first_contact_with_hitler FROM table_name_60 WHERE age_at_death = "31"
When did the woman who died at 31 first contact Hitlers?
CREATE TABLE table_name_60 (first_contact_with_hitler VARCHAR, age_at_death VARCHAR)
SELECT stage FROM table_name_85 WHERE time__eest_ = "08:46"
Name the stage for 08:46
CREATE TABLE table_name_85 (stage VARCHAR, time__eest_ VARCHAR)
SELECT first_leg FROM table_name_53 WHERE round = "semi-final"
Who has the first leg that has a round in the semi-final?
CREATE TABLE table_name_53 (first_leg VARCHAR, round VARCHAR)
SELECT opponent FROM table_name_28 WHERE date = "august 29"
What was the opposing team for the game on August 29?
CREATE TABLE table_name_28 (opponent VARCHAR, date VARCHAR)
SELECT record FROM table_name_80 WHERE week > 16
What's the record after week 16?
CREATE TABLE table_name_80 (record VARCHAR, week INTEGER)
SELECT SUM(bronze) FROM table_name_55 WHERE nation = "scotland" AND total < 7
What is the number of bronze that Scotland, which has less than 7 total medals, has?
CREATE TABLE table_name_55 (bronze INTEGER, nation VARCHAR, total VARCHAR)
SELECT round FROM table_name_78 WHERE res = "loss" AND record = "2-4"
What is the round when the loss came with a record of 2-4?
CREATE TABLE table_name_78 (round VARCHAR, res VARCHAR, record VARCHAR)
SELECT bodybuilder FROM table_28035004_1 WHERE operator = "Coventry"
Who was the bodybuilder when Coventry was operating?
CREATE TABLE table_28035004_1 (bodybuilder VARCHAR, operator VARCHAR)
SELECT MAX(year_named) FROM table_name_39 WHERE name = "ganga valles"
What is the Year named of the Ganga Valles?
CREATE TABLE table_name_39 (year_named INTEGER, name VARCHAR)
SELECT dance FROM table_name_28 WHERE visual_arts = "bryon kim"
What Dance has the Visual Arts of Bryon Kim?
CREATE TABLE table_name_28 (dance VARCHAR, visual_arts VARCHAR)
SELECT MIN(pick__number) FROM table_10960039_1 WHERE college = "McMaster"
What is McMaster College's pick number?
CREATE TABLE table_10960039_1 (pick__number INTEGER, college VARCHAR)
SELECT document_type_code FROM Document_Types WHERE document_description LIKE 'Initial%'
Which document type is described with the prefix 'Initial'?
CREATE TABLE Document_Types (document_type_code VARCHAR, document_description VARCHAR)
SELECT award FROM table_name_84 WHERE organisation = "lianhe zaobao"
Which award was given to Lianhe Zaobao?
CREATE TABLE table_name_84 (award VARCHAR, organisation VARCHAR)
SELECT MIN(average) FROM table_name_38 WHERE total < 134 AND number_of_dances < 3 AND rank_by_average < 12
Which Average is the lowest one that has a Total smaller than 134, and a Number of dances smaller than 3, and a Rank by average smaller than 12?
CREATE TABLE table_name_38 (average INTEGER, rank_by_average VARCHAR, total VARCHAR, number_of_dances VARCHAR)
SELECT tv_network_s_ FROM table_name_42 WHERE country = "brazil"
Which TV network was located in Brazil?
CREATE TABLE table_name_42 (tv_network_s_ VARCHAR, country VARCHAR)
SELECT player FROM table_name_88 WHERE place = "t5" AND score = 69 - 72 = 141
What is Player, when Place is "T5", and when Score is "69-72=141"?
CREATE TABLE table_name_88 (player VARCHAR, place VARCHAR, score VARCHAR)
SELECT gecko FROM table_name_6 WHERE prince_xml = "yes" AND khtml = "yes"
What is the Gecko value for the item that has a Prince XML value of 'no' and a KHTML value of 'yes'?
CREATE TABLE table_name_6 (gecko VARCHAR, prince_xml VARCHAR, khtml VARCHAR)
SELECT date FROM table_name_43 WHERE record = "19–16–8"
Which Date has a Record of 19–16–8?
CREATE TABLE table_name_43 (date VARCHAR, record VARCHAR)
SELECT city FROM table_name_23 WHERE date = "may 19, 1976"
Which City has a Date of may 19, 1976?
CREATE TABLE table_name_23 (city VARCHAR, date VARCHAR)
SELECT AVG(react) FROM table_name_59 WHERE name = "bryan barnett" AND lane < 2
What is the average react of bryan barnett, who has a lane less than 2?
CREATE TABLE table_name_59 (react INTEGER, name VARCHAR, lane VARCHAR)
SELECT MIN(round) FROM table_name_91 WHERE school = "university of southern california"
What is the earliest round drafted for a University of Southern California player?
CREATE TABLE table_name_91 (round INTEGER, school VARCHAR)
SELECT date FROM table_name_63 WHERE city = "san jacinto, california"
When has a City of san jacinto, california?
CREATE TABLE table_name_63 (date VARCHAR, city VARCHAR)
SELECT date FROM table_name_68 WHERE catalog = "asw 28033"
What is the dage of catalog asw 28033?
CREATE TABLE table_name_68 (date VARCHAR, catalog VARCHAR)
SELECT regular_season_record__w_l_ FROM table_20774360_2 WHERE standing = "11th"
Name the regular season record for standing 11th
CREATE TABLE table_20774360_2 (regular_season_record__w_l_ VARCHAR, standing VARCHAR)
SELECT points_difference FROM table_name_29 WHERE points = 14
I want the points difference for points of 14
CREATE TABLE table_name_29 (points_difference VARCHAR, points VARCHAR)
SELECT 2007 FROM table_name_89 WHERE 2000 = "0 / 4"
What is 2007, when 2000 is "0 / 4"?
CREATE TABLE table_name_89 (Id VARCHAR)
SELECT date_of_vacancy FROM table_name_24 WHERE team = "fc bayern munich" AND date_of_appointment = "27 april 2009"
What is the date of vacancy of team fc bayern munich, which had a date of appointment on 27 April 2009?
CREATE TABLE table_name_24 (date_of_vacancy VARCHAR, team VARCHAR, date_of_appointment VARCHAR)
SELECT director FROM table_11642945_1 WHERE original_air_date = "10January2008"
If the Original Air Date is 10January2008, what directors released on that date?
CREATE TABLE table_11642945_1 (director VARCHAR, original_air_date VARCHAR)
SELECT MIN(pick__number) FROM table_1965650_3 WHERE player = "Doug Gibson"
Name the least pick # for doug gibson
CREATE TABLE table_1965650_3 (pick__number INTEGER, player VARCHAR)
SELECT torque_nm AS @rpm FROM table_11497980_1 WHERE gcm__kg__technical_capacity = "23000" AND engine_make_capacity = "MWM 6.10 TCA-EURO III (Turbo Intercooler)"
If the engine make/capacity is MWM 6.10 TCA-EURO III (Turbo Intercooler) and GVM (kg) Technical Capacity is 23000, what is the Torque Nm@rpm?
CREATE TABLE table_11497980_1 (torque_nm VARCHAR, gcm__kg__technical_capacity VARCHAR, engine_make_capacity VARCHAR)
SELECT result FROM table_name_42 WHERE date = "17 july 2008"
What was the result of the game played on 17 July 2008?
CREATE TABLE table_name_42 (result VARCHAR, date VARCHAR)
SELECT COUNT(bronze) FROM table_name_98 WHERE silver < 0
What is the total number of bronze medals for teams with less than 0 silver?
CREATE TABLE table_name_98 (bronze VARCHAR, silver INTEGER)
SELECT record FROM table_name_67 WHERE home = "warriors"
Which record was for Warriors at home?
CREATE TABLE table_name_67 (record VARCHAR, home VARCHAR)
SELECT region FROM table_name_76 WHERE date = "november 18, 2002"
What is the region for the date November 18, 2002?
CREATE TABLE table_name_76 (region VARCHAR, date VARCHAR)
SELECT COUNT(finished) FROM table_14345690_4 WHERE celebrity = "Kerry Katona"
Name the finished for kerry katona
CREATE TABLE table_14345690_4 (finished VARCHAR, celebrity VARCHAR)
SELECT AVG(loses) FROM table_name_75 WHERE wins = 3 AND pos > 3
Wins of 3, and a Pos. larger than 3 is what average loses?
CREATE TABLE table_name_75 (loses INTEGER, wins VARCHAR, pos VARCHAR)
SELECT name FROM table_name_80 WHERE death = "november 10, 1842"
what is the name when death is november 10, 1842?
CREATE TABLE table_name_80 (name VARCHAR, death VARCHAR)
SELECT MIN(blank_ends) FROM table_1505809_2 WHERE stolen_ends = 7
What is the lowest value of Blank Ends when Stolen Ends is 7.
CREATE TABLE table_1505809_2 (blank_ends INTEGER, stolen_ends VARCHAR)
SELECT MIN(react) FROM table_name_79 WHERE name = "candice davis" AND lane < 3
What is the lowest React, when Name is "Candice Davis", and when Lane is less than 3?
CREATE TABLE table_name_79 (react INTEGER, name VARCHAR, lane VARCHAR)
SELECT player FROM table_name_61 WHERE touchdowns > 1 AND extra_points = 0 AND points < 50
What Player has more than 1 Touchdowns with 0 Extra Points and less than 50 Points?
CREATE TABLE table_name_61 (player VARCHAR, points VARCHAR, touchdowns VARCHAR, extra_points VARCHAR)
SELECT cName FROM college WHERE enr > (SELECT MAX(enr) FROM college WHERE state = 'FL')
Find names of all colleges whose enrollment is greater than that of all colleges in the FL state.
CREATE TABLE college (cName VARCHAR, enr INTEGER, state VARCHAR)
SELECT MIN(gold) FROM table_name_83 WHERE nation = "great britain" AND total > 2
How many Gold medals did Great Britain with a Total of more than 2 medals receive?
CREATE TABLE table_name_83 (gold INTEGER, nation VARCHAR, total VARCHAR)
SELECT record FROM table_name_41 WHERE date = "january 18"
What is the record on January 18?
CREATE TABLE table_name_41 (record VARCHAR, date VARCHAR)
SELECT course FROM table_name_99 WHERE date = "13 may"
What was the course on 13 may?
CREATE TABLE table_name_99 (course VARCHAR, date VARCHAR)
SELECT LOCATION FROM school ORDER BY Founded DESC
List the locations of schools in descending order of founded year.
CREATE TABLE school (LOCATION VARCHAR, Founded VARCHAR)
SELECT 1995 FROM table_name_36 WHERE tournament = "miami"
What is 1995, when Tournament is "Miami"?
CREATE TABLE table_name_36 (tournament VARCHAR)
SELECT goals_scored FROM table_18018214_3 WHERE club = "FM (LOSC) Vilnius"
How many goals were scored by club team fm (losc) vilnius
CREATE TABLE table_18018214_3 (goals_scored VARCHAR, club VARCHAR)
SELECT SUM(overall) FROM table_name_60 WHERE round < 4 AND college = "tennessee" AND pick__number > 9
What is the total overall for the pick that went before round 4, who went to Tennessee for college, and was picked at a number bigger than 9?
CREATE TABLE table_name_60 (overall INTEGER, pick__number VARCHAR, round VARCHAR, college VARCHAR)