answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
484
SELECT height_in_ft FROM table_name_93 WHERE position = "center" AND school_club_team_country = "kansas"
Name the height for the center position from kansas
CREATE TABLE table_name_93 (height_in_ft VARCHAR, position VARCHAR, school_club_team_country VARCHAR)
SELECT category FROM table_name_71 WHERE recipients_and_nominees = "outstanding main title design"
For which Category was Outstanding Main Title Design a Recipient and nominee?
CREATE TABLE table_name_71 (category VARCHAR, recipients_and_nominees VARCHAR)
SELECT player FROM table_name_73 WHERE pos = "f" AND previous_team = "new york knicks"
What F Player was previously with the New York Knicks?
CREATE TABLE table_name_73 (player VARCHAR, pos VARCHAR, previous_team VARCHAR)
SELECT COUNT(round) FROM table_name_62 WHERE player = "duncan mccoll" AND pick < 97
What is the total number of rounds that had draft pick 97, duncan mccoll?
CREATE TABLE table_name_62 (round VARCHAR, player VARCHAR, pick VARCHAR)
SELECT average_speed__mph_ FROM table_2260452_1 WHERE race_time = "2:00:33"
If the race time is 2:00:33, what is the average speed?
CREATE TABLE table_2260452_1 (average_speed__mph_ VARCHAR, race_time VARCHAR)
SELECT date FROM table_name_25 WHERE region = "united states"
What date was the United States the region?
CREATE TABLE table_name_25 (date VARCHAR, region VARCHAR)
SELECT player FROM table_name_3 WHERE score = 68 - 70 - 68 - 66 = 272
Which golfer had a score of 68-70-68-66=272?
CREATE TABLE table_name_3 (player VARCHAR, score VARCHAR)
SELECT 2004 FROM table_name_60 WHERE 1994 = "2r"
What is the 2004 value with 2r in 1994?
CREATE TABLE table_name_60 (Id VARCHAR)
SELECT probable_future FROM table_name_82 WHERE NOT simple_present_future = "high grade"
What is the probable future word for the simple present/future word high grade?
CREATE TABLE table_name_82 (probable_future VARCHAR, simple_present_future VARCHAR)
SELECT rider FROM table_name_42 WHERE grid > 6 AND laps = 28 AND time = "+39.476"
Which Rider has a Grid larger than 6, and has Laps of 28, and a Time of +39.476?
CREATE TABLE table_name_42 (rider VARCHAR, time VARCHAR, grid VARCHAR, laps VARCHAR)
SELECT mountain_peak FROM table_name_29 WHERE mountain_range = "spanish peaks"
Which mountain peak has spanish peaks?
CREATE TABLE table_name_29 (mountain_peak VARCHAR, mountain_range VARCHAR)
SELECT MIN(number_of_dairy_cows) FROM table_29012710_1 WHERE province = "Ontario"
what is the least amount of milk cattle in ontario
CREATE TABLE table_29012710_1 (number_of_dairy_cows INTEGER, province VARCHAR)
SELECT score FROM table_name_36 WHERE odds = "p + 2" AND date > 1847
What was the score for a game with the odds of p + 2 after 1847?
CREATE TABLE table_name_36 (score VARCHAR, odds VARCHAR, date VARCHAR)
SELECT issue_date_s_ FROM table_name_54 WHERE artist = "jennifer lopez"
What date did the song by jennifer lopez get issued?
CREATE TABLE table_name_54 (issue_date_s_ VARCHAR, artist VARCHAR)
SELECT record FROM table_name_89 WHERE class = "3a" AND sport = "volleyball"
What is the team's record in 3a volleyball?
CREATE TABLE table_name_89 (record VARCHAR, class VARCHAR, sport VARCHAR)
SELECT iata FROM table_name_56 WHERE city = "delhi"
What is the IATA code for Delhi?
CREATE TABLE table_name_56 (iata VARCHAR, city VARCHAR)
SELECT host FROM table_name_78 WHERE city = "nashville"
What was the host for the round in Nashville?
CREATE TABLE table_name_78 (host VARCHAR, city VARCHAR)
SELECT total FROM table_name_53 WHERE set_3 = "13–25"
Which Total has a Set 3 of 13–25?
CREATE TABLE table_name_53 (total VARCHAR, set_3 VARCHAR)
SELECT original_air_date FROM table_23399481_2 WHERE directed_by = "David Paymer"
What is the original air date of the episode that was directed by David Paymer?
CREATE TABLE table_23399481_2 (original_air_date VARCHAR, directed_by VARCHAR)
SELECT COUNT(player) FROM table_14342592_4 WHERE starter = "No" AND touchdowns = 1 AND position = "Right halfback"
Name the number of players when starter is no and touchdowns is 1 for right halfback
CREATE TABLE table_14342592_4 (player VARCHAR, position VARCHAR, starter VARCHAR, touchdowns VARCHAR)
SELECT electorate FROM table_name_39 WHERE party = "country" AND state = "wa" AND member = "john hallett"
What is Electorate, when Party is "Country", when State is "WA", and when Member is "John Hallett"?
CREATE TABLE table_name_39 (electorate VARCHAR, member VARCHAR, party VARCHAR, state VARCHAR)
SELECT AVG(goals) FROM table_name_79 WHERE average = 1.58 AND matches < 38
For averages of 1.58 and matches under 38, what is the average number of goals?
CREATE TABLE table_name_79 (goals INTEGER, average VARCHAR, matches VARCHAR)
SELECT socket FROM table_name_30 WHERE frequency = "2200mhz" AND release_date = "june 4, 2008"
Which Socket has a Frequency of 2200mhz, and a Release date on june 4, 2008?
CREATE TABLE table_name_30 (socket VARCHAR, frequency VARCHAR, release_date VARCHAR)
SELECT class FROM table_name_33 WHERE score = 95.1
What class had a score of 95.1?
CREATE TABLE table_name_33 (class VARCHAR, score VARCHAR)
SELECT crowd FROM table_name_43 WHERE home_team = "collingwood"
What was the crowd size at Collingwood's match?
CREATE TABLE table_name_43 (crowd VARCHAR, home_team VARCHAR)
SELECT crowd FROM table_name_28 WHERE home_team = "south melbourne"
What was the crowd size in the match South Melbourne played at home?
CREATE TABLE table_name_28 (crowd VARCHAR, home_team VARCHAR)
SELECT weight__kg_m_ FROM table_2071644_2 WHERE cross_section_area__cm_2__ = "21.2"
If the cross-section area is 21.2, what is the weight?
CREATE TABLE table_2071644_2 (weight__kg_m_ VARCHAR, cross_section_area__cm_2__ VARCHAR)
SELECT to_par FROM table_name_93 WHERE country = "england"
How many to par in England?
CREATE TABLE table_name_93 (to_par VARCHAR, country VARCHAR)
SELECT COUNT(first_elected) FROM table_1342256_5 WHERE candidates = "Brooks Hays (D) Unopposed"
How many candidates were in the election featuring brooks hays (d) unopposed?
CREATE TABLE table_1342256_5 (first_elected VARCHAR, candidates VARCHAR)
SELECT 1953 FROM table_name_25 WHERE richmond_[staten_is] = "1,019"
What was the candidate that got 1,019 votes for staten island?
CREATE TABLE table_name_25 (richmond_ VARCHAR, staten_is VARCHAR)
SELECT company FROM table_name_28 WHERE country = "greece" AND author = "aeschylus"
what is the company when the country is greece and the author is aeschylus?
CREATE TABLE table_name_28 (company VARCHAR, country VARCHAR, author VARCHAR)
SELECT report FROM table_name_13 WHERE date = "1 june"
Which Report is on 1 june?
CREATE TABLE table_name_13 (report VARCHAR, date VARCHAR)
SELECT city_of_license FROM table_name_51 WHERE frequency = "88.7 fm"
What is the City of license with a 88.7 fm frequency
CREATE TABLE table_name_51 (city_of_license VARCHAR, frequency VARCHAR)
SELECT COUNT(year) FROM table_2182562_1 WHERE position = "97th"
How many years was the position 97th?
CREATE TABLE table_2182562_1 (year VARCHAR, position VARCHAR)
SELECT slno FROM table_25383715_1 WHERE contact_person = "SDE (P), Thiruppattur"
What was the SlNo no of contact person SDE (P), Thiruppattur?
CREATE TABLE table_25383715_1 (slno VARCHAR, contact_person VARCHAR)
SELECT cover_model FROM table_name_43 WHERE centerfold_model = "marketa janska"
Who was the Cover model when the Centerfold Model was Marketa Janska?
CREATE TABLE table_name_43 (cover_model VARCHAR, centerfold_model VARCHAR)
SELECT SUM(silver) FROM table_name_30 WHERE rank = "7"
What is the sum of silver medals won for rank 7?
CREATE TABLE table_name_30 (silver INTEGER, rank VARCHAR)
SELECT aspect_ratio FROM table_1180228_1 WHERE released = "12/10/2009"
What is the aspect ratio of the DVD released on 12/10/2009?
CREATE TABLE table_1180228_1 (aspect_ratio VARCHAR, released VARCHAR)
SELECT team FROM table_name_94 WHERE podiums = "0" AND position = "nc†"
Which Team has Podiums of 0, and a Position of nc†?
CREATE TABLE table_name_94 (team VARCHAR, podiums VARCHAR, position VARCHAR)
SELECT SUM(population) FROM table_name_38 WHERE name_of_city = "chimbote"
What is the population of Chimbote?
CREATE TABLE table_name_38 (population INTEGER, name_of_city VARCHAR)
SELECT high_assists FROM table_17622423_12 WHERE date = "May 21"
Name the high assists for may 21
CREATE TABLE table_17622423_12 (high_assists VARCHAR, date VARCHAR)
SELECT date FROM table_name_18 WHERE works_number = "7"
On what Date was the Works Number 7?
CREATE TABLE table_name_18 (date VARCHAR, works_number VARCHAR)
SELECT AVG(age), sex FROM Student GROUP BY sex
Show the average age for male and female students.
CREATE TABLE Student (sex VARCHAR, age INTEGER)
SELECT gsr_class FROM table_name_49 WHERE type = "0-4-2t"
What GSR class is associated with a 0-4-2t type?
CREATE TABLE table_name_49 (gsr_class VARCHAR, type VARCHAR)
SELECT ncaat_record FROM table_28001186_8 WHERE date = "June 26"
What was the NCAA Tournament record after the June 26 game?
CREATE TABLE table_28001186_8 (ncaat_record VARCHAR, date VARCHAR)
SELECT position FROM table_name_97 WHERE player = "tyronn lue" AND years_in_orlando = "2003–2004"
Which Position has a Player of tyronn lue, and a Years in Orlando of 2003–2004?
CREATE TABLE table_name_97 (position VARCHAR, player VARCHAR, years_in_orlando VARCHAR)
SELECT result FROM table_26250199_1 WHERE original_artist = "Joan Osborne"
The original artist Joan Osborne has what result?
CREATE TABLE table_26250199_1 (result VARCHAR, original_artist VARCHAR)
SELECT circuit FROM table_name_5 WHERE winning_constructor = "alfa romeo" AND name = "swedish ice race"
Tell me the circuit for alfa romeo swedish ice race
CREATE TABLE table_name_5 (circuit VARCHAR, winning_constructor VARCHAR, name VARCHAR)
SELECT SUM(game) FROM table_name_80 WHERE record = "5–3–1" AND october < 29
Which Game has a Record of 5–3–1, and an October smaller than 29?
CREATE TABLE table_name_80 (game INTEGER, record VARCHAR, october VARCHAR)
SELECT role FROM table_name_38 WHERE year = 2005
Tell me the role for 2005
CREATE TABLE table_name_38 (role VARCHAR, year VARCHAR)
SELECT score FROM table_name_64 WHERE high_assists = "rajon rondo (12)" AND high_points = "paul pierce (27)"
What is Score, when High Assists is "Rajon Rondo (12)", and when High Points is "Paul Pierce (27)"?
CREATE TABLE table_name_64 (score VARCHAR, high_assists VARCHAR, high_points VARCHAR)
SELECT bedType, COUNT(*) FROM Rooms GROUP BY bedType
Find the number of rooms for each bed type.
CREATE TABLE Rooms (bedType VARCHAR)
SELECT SUM(championship) FROM table_name_4 WHERE league_cup > 1 AND name = "james henry"
What is the total championships of James Henry that has a league cup more than 1?
CREATE TABLE table_name_4 (championship INTEGER, league_cup VARCHAR, name VARCHAR)
SELECT score FROM table_name_60 WHERE home_team = "newport county"
If the Home Team is Newport County what is the Score?
CREATE TABLE table_name_60 (score VARCHAR, home_team VARCHAR)
SELECT MAX(season) FROM table_20026849_1 WHERE contestants = 20
What was the latest season with 20 contestants?
CREATE TABLE table_20026849_1 (season INTEGER, contestants VARCHAR)
SELECT AVG(2007) FROM table_name_19 WHERE 2009 > 2.8 AND 2010 = 4.9 AND 2006 < 2.5
What is the average 2007 value with a 2009 value greater than 2.8, a 4.9 in 2010, and a 2006 less than 2.5?
CREATE TABLE table_name_19 (Id VARCHAR)
SELECT MIN(attendance) FROM table_name_50 WHERE week = 2
What is the lowest attendance for week 2?
CREATE TABLE table_name_50 (attendance INTEGER, week VARCHAR)
SELECT date_completed FROM table_1373542_1 WHERE date_announced = "February 22, 2007"
On what date was the asset acquisition that was announced on February 22, 2007 completed?
CREATE TABLE table_1373542_1 (date_completed VARCHAR, date_announced VARCHAR)
SELECT position FROM table_name_96 WHERE college = "virginia"
Name the position of the player from college of virginia
CREATE TABLE table_name_96 (position VARCHAR, college VARCHAR)
SELECT date FROM table_name_63 WHERE week = "hof"
What's the date for HOF week?
CREATE TABLE table_name_63 (date VARCHAR, week VARCHAR)
SELECT directed_by FROM table_29747178_3 WHERE us_viewers__million_ = "2.67"
Who directed the episode that was watched by 2.67 million U.S. viewers?
CREATE TABLE table_29747178_3 (directed_by VARCHAR, us_viewers__million_ VARCHAR)
SELECT psip_short_name FROM table_name_58 WHERE network = "ion life"
What is ion life network's PSIP Short Name?
CREATE TABLE table_name_58 (psip_short_name VARCHAR, network VARCHAR)
SELECT segment_a FROM table_name_10 WHERE segment_d = "children's ride-on cars"
What is the segment A for the episode with Children's Ride-on Cars for segment D?
CREATE TABLE table_name_10 (segment_a VARCHAR, segment_d VARCHAR)
SELECT player FROM table_name_36 WHERE to_par < 5 AND score = 70 - 72 = 142
Which Player has a To Par smaller than 5, and a Score of 70-72=142?
CREATE TABLE table_name_36 (player VARCHAR, to_par VARCHAR, score VARCHAR)
SELECT MAX(starts) FROM table_29504351_2 WHERE player = "Jeff Brehaut"
What is the maximum start record for player of Jeff Brehaut?
CREATE TABLE table_29504351_2 (starts INTEGER, player VARCHAR)
SELECT tournament FROM table_name_74 WHERE 2012 = "a" AND 2011 = "a"
What's the tournament name when they had an A in 2011 & 2012?
CREATE TABLE table_name_74 (tournament VARCHAR)
SELECT COUNT(incumbent) FROM table_1431467_4 WHERE district = "South Carolina 5"
How many incumbents for the district of South Carolina 5?
CREATE TABLE table_1431467_4 (incumbent VARCHAR, district VARCHAR)
SELECT AVG(gold) FROM table_name_25 WHERE nation = "moldova" AND bronze < 1
Tell me the average gold for moldova and bronze less than 1
CREATE TABLE table_name_25 (gold INTEGER, nation VARCHAR, bronze VARCHAR)
SELECT high_assists FROM table_27712702_11 WHERE team = "Detroit"
Who had the high assists against detroit?
CREATE TABLE table_27712702_11 (high_assists VARCHAR, team VARCHAR)
SELECT SUM(jury) FROM table_name_86 WHERE place = "2nd" AND total > 190
What is the total of the jury that is 2nd place and the total is larger than 190?
CREATE TABLE table_name_86 (jury INTEGER, place VARCHAR, total VARCHAR)
SELECT binibining_pilipinas_international FROM table_name_7 WHERE year > 1990 AND binibining_pilipinas_universe = "maria lourdes gonzalez"
What Binibining Pilipinas-International has a Year larger than 1990, and a Binibining Pilipinas-Universe of maria lourdes gonzalez?
CREATE TABLE table_name_7 (binibining_pilipinas_international VARCHAR, year VARCHAR, binibining_pilipinas_universe VARCHAR)
SELECT range__varies_with_payload_weight_ FROM table_name_34 WHERE payload = "unknown"
What is the range (varies by payload weight) for the unknown player?
CREATE TABLE table_name_34 (range__varies_with_payload_weight_ VARCHAR, payload VARCHAR)
SELECT first_district FROM table_name_9 WHERE fifth_district = "prudy adam"
Who's the First District with a Fifth District of prudy adam?
CREATE TABLE table_name_9 (first_district VARCHAR, fifth_district VARCHAR)
SELECT sequencer FROM table_127511_1 WHERE ion_torrent_pgm = "200-400 bp"
What is the sequencer when ion torrent pgm is 200-400 bp?
CREATE TABLE table_127511_1 (sequencer VARCHAR, ion_torrent_pgm VARCHAR)
SELECT date FROM table_27722734_7 WHERE team = "Washington"
Name the date for washington
CREATE TABLE table_27722734_7 (date VARCHAR, team VARCHAR)
SELECT position FROM table_name_33 WHERE overall < 322 AND round > 3 AND name = "eric norri"
What position did eric norri play who was the overall pick less than 322 on a round larger than 3?
CREATE TABLE table_name_33 (position VARCHAR, name VARCHAR, overall VARCHAR, round VARCHAR)
SELECT round FROM table_name_51 WHERE surface = "hard" AND opponent = "jelena simic"
What's Round has a Surface of hard and Opponent of Jelena Simic?
CREATE TABLE table_name_51 (round VARCHAR, surface VARCHAR, opponent VARCHAR)
SELECT losing_pitcher FROM table_13710464_1 WHERE attendance = 40583
Who was the losing pitcher when 40583 attended?
CREATE TABLE table_13710464_1 (losing_pitcher VARCHAR, attendance VARCHAR)
SELECT frequency FROM table_name_77 WHERE owner = "rogers communications rogers radio" AND call_sign = "cikz-fm"
Which Frequency has an Owner of rogers communications rogers radio, and a Call sign of cikz-fm?
CREATE TABLE table_name_77 (frequency VARCHAR, owner VARCHAR, call_sign VARCHAR)
SELECT match_points FROM table_name_8 WHERE points_against = "570"
What is the value of match points when the points for is 570?
CREATE TABLE table_name_8 (match_points VARCHAR, points_against VARCHAR)
SELECT combined FROM table_name_80 WHERE overall = "8"
Which combined score has an overall of 8?
CREATE TABLE table_name_80 (combined VARCHAR, overall VARCHAR)
SELECT SUM(year) FROM table_name_80 WHERE result < 20.26 AND location = "eugene"
Which Year has a Result smaller than 20.26, and a Location of eugene?
CREATE TABLE table_name_80 (year INTEGER, result VARCHAR, location VARCHAR)
SELECT hometown FROM table_11677691_7 WHERE school = "Trinity High school"
What is the hometown of trinity high school?
CREATE TABLE table_11677691_7 (hometown VARCHAR, school VARCHAR)
SELECT catalog FROM table_name_60 WHERE label = "village records" AND date = "february 14, 2002"
Which catalog did Village Records have on February 14, 2002?
CREATE TABLE table_name_60 (catalog VARCHAR, label VARCHAR, date VARCHAR)
SELECT AVG(crowd) FROM table_name_59 WHERE home_team = "essendon"
Which average Crowd has a Home team of essendon?
CREATE TABLE table_name_59 (crowd INTEGER, home_team VARCHAR)
SELECT comments FROM table_name_30 WHERE model = "18sq"
Which Comments has a Model of 18sq?
CREATE TABLE table_name_30 (comments VARCHAR, model VARCHAR)
SELECT studio_analysts FROM table_name_52 WHERE ice_level_reporters = "scott oake"
Which studio analyst has Scott Oake for the ice level reporter?
CREATE TABLE table_name_52 (studio_analysts VARCHAR, ice_level_reporters VARCHAR)
SELECT cfl_team FROM table_21321804_3 WHERE college = "Nebraska"
What team does the player who went to Nebraska play for?
CREATE TABLE table_21321804_3 (cfl_team VARCHAR, college VARCHAR)
SELECT informational_cvbs_lines FROM table_1926240_1 WHERE max_characters__per_page_row_ = 32 AND standard = "B (global)"
What was the informational CVBS Lines of the encoding with max character of 32 and has B (global) standard?
CREATE TABLE table_1926240_1 (informational_cvbs_lines VARCHAR, max_characters__per_page_row_ VARCHAR, standard VARCHAR)
SELECT COUNT(total_viewers) FROM table_name_82 WHERE share = "16.2%" AND episode_no < 1
How many episodes have a share of 16.2% and an episode number of less than 1?
CREATE TABLE table_name_82 (total_viewers VARCHAR, share VARCHAR, episode_no VARCHAR)
SELECT start FROM table_name_55 WHERE duration = "6 months 2 days"
Which Start has a Duration of 6 months 2 days?
CREATE TABLE table_name_55 (start VARCHAR, duration VARCHAR)
SELECT COUNT(grand_final_dual_television_commentator) FROM table_1368649_9 WHERE year_s_ = 1961
How many grand final dual television commentators were there in 1961?
CREATE TABLE table_1368649_9 (grand_final_dual_television_commentator VARCHAR, year_s_ VARCHAR)
SELECT COUNT(votes) FROM table_name_72 WHERE _percentage_of_national_vote = 13.11 AND candidates_nominated > 39
How many votes were tallied with a % of national vote of 13.11, and over 39 candidates nominated?
CREATE TABLE table_name_72 (votes VARCHAR, _percentage_of_national_vote VARCHAR, candidates_nominated VARCHAR)
SELECT season__number FROM table_12419515_5 WHERE directed_by = "Patrick Norris"
Name the season number for the direction of patrick norris
CREATE TABLE table_12419515_5 (season__number VARCHAR, directed_by VARCHAR)
SELECT report FROM table_name_43 WHERE venue = "state sports centre"
What was the report at State Sports Centre?
CREATE TABLE table_name_43 (report VARCHAR, venue VARCHAR)
SELECT first_appearance FROM table_name_21 WHERE character = "aiden burn csi detective"
Where did the character of Aiden Burn csi detective first appear?
CREATE TABLE table_name_21 (first_appearance VARCHAR, character VARCHAR)
SELECT COUNT(rank__timeslot_) FROM table_15681686_4 WHERE viewers__millions_ = "9.38"
what is the total number of rank where viewers is 9.38?
CREATE TABLE table_15681686_4 (rank__timeslot_ VARCHAR, viewers__millions_ VARCHAR)
SELECT COUNT(opponents) FROM table_28979895_4 WHERE partner = "Anabel Medina Garrigues"
Name the opponents for anabel medina garrigues
CREATE TABLE table_28979895_4 (opponents VARCHAR, partner VARCHAR)
SELECT position FROM table_name_48 WHERE college_hall_of_fame = "no"
What Position has no College Hall of Fame?
CREATE TABLE table_name_48 (position VARCHAR, college_hall_of_fame VARCHAR)
SELECT SUM(attendance) FROM table_name_14 WHERE opponent = "green bay packers"
How many people attended the green bay packers game?
CREATE TABLE table_name_14 (attendance INTEGER, opponent VARCHAR)