answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
484
SELECT channel FROM table_24598274_20 WHERE local_title = "Live to Dance"
The local title "Live to Dance" was aired in which channel?
CREATE TABLE table_24598274_20 (channel VARCHAR, local_title VARCHAR)
SELECT points FROM table_16795394_3 WHERE team__number2 = "Atlético Nacional"
For team Atlético Nacional, what were the points?
CREATE TABLE table_16795394_3 (points VARCHAR, team__number2 VARCHAR)
SELECT SUM(rank) FROM table_name_72 WHERE gold = 0 AND silver < 0
What is the rank of the team with 0 gold and less than 0 silvers?
CREATE TABLE table_name_72 (rank INTEGER, gold VARCHAR, silver VARCHAR)
SELECT result FROM table_name_43 WHERE attendance = "75,466"
What is the result of the game when the attendance is 75,466?
CREATE TABLE table_name_43 (result VARCHAR, attendance VARCHAR)
SELECT MAX(points) FROM table_name_70 WHERE year = "2012"
What are the highest points with 2012 as the year?
CREATE TABLE table_name_70 (points INTEGER, year VARCHAR)
SELECT current_club FROM table_name_97 WHERE player = "bassem balaa"
Which Current Club has a Player of bassem balaa?
CREATE TABLE table_name_97 (current_club VARCHAR, player VARCHAR)
SELECT MAX(pick) FROM table_name_58 WHERE name = "ron whaley"
What is the highest pick of ron whaley?
CREATE TABLE table_name_58 (pick INTEGER, name VARCHAR)
SELECT COUNT(candidates) FROM table_1342198_6 WHERE incumbent = "Cecil R. King"
How many candidates were there in the race where Cecil R. King is the incumbent?
CREATE TABLE table_1342198_6 (candidates VARCHAR, incumbent VARCHAR)
SELECT COUNT(points) FROM table_name_38 WHERE match > 18
What is the total number of Points from a Match that is larger than 18?
CREATE TABLE table_name_38 (points VARCHAR, match INTEGER)
SELECT COUNT(driver) FROM table_17304308_1 WHERE fin_pos = 19
Name the number of driver for fin pos of 19
CREATE TABLE table_17304308_1 (driver VARCHAR, fin_pos VARCHAR)
SELECT leading_scorer FROM table_name_8 WHERE date = "april 7"
Who was the leading scorer on April 7?
CREATE TABLE table_name_8 (leading_scorer VARCHAR, date VARCHAR)
SELECT province FROM table_name_56 WHERE south_asians_2001 < 190 AND south_asians_2011 = 115
Which province had fewer than 190 South Asians in 2001 and 115 South Asians in 2011?
CREATE TABLE table_name_56 (province VARCHAR, south_asians_2001 VARCHAR, south_asians_2011 VARCHAR)
SELECT name FROM table_name_84 WHERE type = "loan" AND moving_to = "chelsea"
Who is moving to Chelsea on loan?
CREATE TABLE table_name_84 (name VARCHAR, type VARCHAR, moving_to VARCHAR)
SELECT MAX(meas_num) FROM table_256286_13 WHERE description = "Extending Eminent Domain Over Roads and Ways"
When extending eminent domain over roads and ways is the description what is the highest means number?
CREATE TABLE table_256286_13 (meas_num INTEGER, description VARCHAR)
SELECT date FROM table_name_52 WHERE opponent = "seattle"
What was the date of the game against seattle?
CREATE TABLE table_name_52 (date VARCHAR, opponent VARCHAR)
SELECT manufacturer FROM table_name_91 WHERE rider = "bradley smith"
Who is the manufacturer of the car driven by Bradley Smith?
CREATE TABLE table_name_91 (manufacturer VARCHAR, rider VARCHAR)
SELECT SUM(week) FROM table_name_58 WHERE result = "w 23-17"
Which Week had a Result of w 23-17?
CREATE TABLE table_name_58 (week INTEGER, result VARCHAR)
SELECT strike_rate FROM table_28846752_12 WHERE average = "32.78"
What is the strike rate for the player with an average of 32.78?
CREATE TABLE table_28846752_12 (strike_rate VARCHAR, average VARCHAR)
SELECT year FROM table_name_12 WHERE winner = "olympiacos" AND venue = "georgios karaiskakis stadium" AND runner_up = "iraklis"
When is the winner olympiacos, the venue is georgios karaiskakis stadium and the runner-up is iraklis?
CREATE TABLE table_name_12 (year VARCHAR, runner_up VARCHAR, winner VARCHAR, venue VARCHAR)
SELECT MIN(zone) FROM table_name_88 WHERE managed_by = "southern" AND platforms < 2
Which Zone is the lowest when Managed By Southern and has Platforms under 2?
CREATE TABLE table_name_88 (zone INTEGER, managed_by VARCHAR, platforms VARCHAR)
SELECT COUNT(rank) FROM table_24489942_10 WHERE nationality = "Switzerland"
Name the rank for switzerland
CREATE TABLE table_24489942_10 (rank VARCHAR, nationality VARCHAR)
SELECT democratic FROM table_name_99 WHERE district < 7 AND republican = "dan mansell"
Which Democratic has a District smaller than 7, and a Republican of dan mansell?
CREATE TABLE table_name_99 (democratic VARCHAR, district VARCHAR, republican VARCHAR)
SELECT player FROM table_name_23 WHERE round < 9 AND overall > 143 AND position = "db"
Who is the athlete who was picked before round 9, had an overall draft pick after number 143 and plays the position of db?
CREATE TABLE table_name_23 (player VARCHAR, position VARCHAR, round VARCHAR, overall VARCHAR)
SELECT number_one_single_s_ FROM table_27441210_5 WHERE artist = "Desvarieux, Jacob"
Name the number one singles for desvarieux, jacob
CREATE TABLE table_27441210_5 (number_one_single_s_ VARCHAR, artist VARCHAR)
SELECT SUM(wins) FROM table_name_2 WHERE club = "port fairy" AND against < 1510
What is the sum of wins for Port Fairy with under 1510 against?
CREATE TABLE table_name_2 (wins INTEGER, club VARCHAR, against VARCHAR)
SELECT nation FROM table_name_64 WHERE name = "carolina hermann / daniel hermann"
What nation are carolina hermann / daniel hermann from?
CREATE TABLE table_name_64 (nation VARCHAR, name VARCHAR)
SELECT opponent FROM table_name_21 WHERE week = 3
What is the Opponent of the game in Week 3?
CREATE TABLE table_name_21 (opponent VARCHAR, week VARCHAR)
SELECT MAX(races) FROM table_17289224_1 WHERE wins = 3
When the wins is 3, what is the maximum races?
CREATE TABLE table_17289224_1 (races INTEGER, wins VARCHAR)
SELECT score FROM table_name_98 WHERE country = "england"
What is the player from England's score?
CREATE TABLE table_name_98 (score VARCHAR, country VARCHAR)
SELECT MAX(season) FROM table_name_94 WHERE runners_up = "al ahly"
What is the latest season where Al Ahly is the runners-up?
CREATE TABLE table_name_94 (season INTEGER, runners_up VARCHAR)
SELECT points_for FROM table_name_78 WHERE points_against = "678"
What were the points for that had a game where there was 678 against?
CREATE TABLE table_name_78 (points_for VARCHAR, points_against VARCHAR)
SELECT component FROM table_name_21 WHERE integrated = "one"
What component has an integrated of one?
CREATE TABLE table_name_21 (component VARCHAR, integrated VARCHAR)
SELECT date FROM table_name_86 WHERE outcome = "runner-up" AND opponent_in_the_final = "gilles simon"
Which date has an Outcome of runner-up, and an Opponent in the final of gilles simon?
CREATE TABLE table_name_86 (date VARCHAR, outcome VARCHAR, opponent_in_the_final VARCHAR)
SELECT years FROM table_name_56 WHERE player = "alton lister category:articles with hcards"
Alton Lister Category:Articles with hCards has what as the listed years?
CREATE TABLE table_name_56 (years VARCHAR, player VARCHAR)
SELECT MAX(margin) FROM table_22754491_1 WHERE winner = "K. Balathandayutham"
What is the margin when k. balathandayutham is the winner?
CREATE TABLE table_22754491_1 (margin INTEGER, winner VARCHAR)
SELECT time FROM table_name_54 WHERE song_title = "burning love"
How long is the song titled burning love?
CREATE TABLE table_name_54 (time VARCHAR, song_title VARCHAR)
SELECT genre FROM table_name_33 WHERE developer_s_ = "naughty dog"
What game was developed by Naughty Dog?
CREATE TABLE table_name_33 (genre VARCHAR, developer_s_ VARCHAR)
SELECT MAX(losses) FROM table_name_89 WHERE goals_for < 45 AND points < 18
What were the highest losses when the goal was smaller than 45 and the points was smaller than 18?
CREATE TABLE table_name_89 (losses INTEGER, goals_for VARCHAR, points VARCHAR)
SELECT wins FROM table_1697190_1 WHERE best_finish = "2nd"
Name the wins for best finish being 2nd
CREATE TABLE table_1697190_1 (wins VARCHAR, best_finish VARCHAR)
SELECT package_option FROM table_name_3 WHERE content = "tennis"
What is Package/Option, when Content is Tennis?
CREATE TABLE table_name_3 (package_option VARCHAR, content VARCHAR)
SELECT T1.course_name FROM Courses AS T1 JOIN Student_Course_Enrolment AS T2 ON T1.course_id = T2.course_id GROUP BY T1.course_name HAVING COUNT(*) = 1
What are the names of the courses that have exactly 1 student enrollment?
CREATE TABLE Courses (course_name VARCHAR, course_id VARCHAR); CREATE TABLE Student_Course_Enrolment (course_id VARCHAR)
SELECT opponent FROM table_name_18 WHERE date = "october 9, 1966"
Who was the game played against on October 9, 1966?
CREATE TABLE table_name_18 (opponent VARCHAR, date VARCHAR)
SELECT party FROM table_22753245_1 WHERE constituency = "1. Chennai North"
What is the party when the constituency is 1. Chennai North?
CREATE TABLE table_22753245_1 (party VARCHAR, constituency VARCHAR)
SELECT segment_b FROM table_name_54 WHERE netflix = "s03e01"
What was the B segmint for Netlix S03E01?
CREATE TABLE table_name_54 (segment_b VARCHAR, netflix VARCHAR)
SELECT tournament_location FROM table_name_43 WHERE country = "south korea"
What tournament location has south korea as the country?
CREATE TABLE table_name_43 (tournament_location VARCHAR, country VARCHAR)
SELECT date FROM table_name_90 WHERE opponent = "real juventud"
what is the date when the opponent is real juventud?
CREATE TABLE table_name_90 (date VARCHAR, opponent VARCHAR)
SELECT COUNT(2008) FROM table_name_82 WHERE 2006 = 6.9 AND 2007 < 7.1
How many 2008s have 6.9 as a 2006, with a 2007 less than 7.1?
CREATE TABLE table_name_82 (Id VARCHAR)
SELECT MIN(release) FROM table_name_81 WHERE director = "sharon gosling" AND title = "pathogen"
What was the earliest release for Pathogen directed by Sharon Gosling?
CREATE TABLE table_name_81 (release INTEGER, director VARCHAR, title VARCHAR)
SELECT torque FROM table_name_99 WHERE type = "16 valves dohc" AND code = "k4m hi-flex"
What is the torque of the engine with a type 16 valves dohc and a code k4m hi-flex?
CREATE TABLE table_name_99 (torque VARCHAR, type VARCHAR, code VARCHAR)
SELECT score FROM table_name_63 WHERE competition = "friendly match"
What is the score of the friendly match?
CREATE TABLE table_name_63 (score VARCHAR, competition VARCHAR)
SELECT AVG(vertical_relief__ft_) FROM table_name_94 WHERE rank > 40 AND location = "va0573"
What is the mean vertical relief in feet when the rank is more than 40 and the location is va0573?
CREATE TABLE table_name_94 (vertical_relief__ft_ INTEGER, rank VARCHAR, location VARCHAR)
SELECT role FROM table_name_41 WHERE origin = "european union"
What is the role of the aircraft that originates from the European Union?
CREATE TABLE table_name_41 (role VARCHAR, origin VARCHAR)
SELECT SUM(silver) FROM table_name_93 WHERE bronze = 10
What is the silver total for nations with 10 bronze medals?
CREATE TABLE table_name_93 (silver INTEGER, bronze VARCHAR)
SELECT winning_score FROM table_name_4 WHERE margin_of_victory = "playoff" AND tournament = "safeco classic"
What was the winning score when the margin of victory was a playoff for the Tournament of safeco classic?
CREATE TABLE table_name_4 (winning_score VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR)
SELECT nhl_team FROM table_1013129_8 WHERE player = "Peter Strom"
What is the NHL team that has Peter Strom?
CREATE TABLE table_1013129_8 (nhl_team VARCHAR, player VARCHAR)
SELECT l1_cache FROM table_name_35 WHERE fsb_speed = "800mhz" AND clock_speed = "1.2ghz"
Which L1 Cache has an FSB speed of 800mhz and a clock speed of 1.2ghz?
CREATE TABLE table_name_35 (l1_cache VARCHAR, fsb_speed VARCHAR, clock_speed VARCHAR)
SELECT surface FROM table_name_61 WHERE tournament = "pune, india"
What Surface has a Tournament of pune, india?
CREATE TABLE table_name_61 (surface VARCHAR, tournament VARCHAR)
SELECT grüne FROM table_name_14 WHERE rettö = "0.6%" AND state = "tyrol"
What percent did GRÜNE get in Tyrol where RETTÖ got 0.6%?
CREATE TABLE table_name_14 (grüne VARCHAR, rettö VARCHAR, state VARCHAR)
SELECT AVG(game) FROM table_name_45 WHERE date = "january 30"
What average game has January 30 as the date?
CREATE TABLE table_name_45 (game INTEGER, date VARCHAR)
SELECT COUNT(july_1), _2013_projection FROM table_name_58 WHERE rank = "27"
How many July 1, 2013 projections have a Rank of 27?
CREATE TABLE table_name_58 (_2013_projection VARCHAR, july_1 VARCHAR, rank VARCHAR)
SELECT years FROM table_name_15 WHERE distance = "marathon" AND wins = 3
I want the years for marathon distance and wins of 3
CREATE TABLE table_name_15 (years VARCHAR, distance VARCHAR, wins VARCHAR)
SELECT event FROM table_name_51 WHERE record = "2-0"
What event did he have a 2-0 record?
CREATE TABLE table_name_51 (event VARCHAR, record VARCHAR)
SELECT week FROM table_name_65 WHERE winners = "serena williams 6–1, 6–7(7), 6–3"
In what Week was Serena Williams 6–1, 6–7(7), 6–3 the Winner?
CREATE TABLE table_name_65 (week VARCHAR, winners VARCHAR)
SELECT document_type_code, document_name, document_description FROM Documents WHERE document_name = 'Noel CV' OR document_name = 'King Book'
List the document type code, document name, and document description for the document with name 'Noel CV' or name 'King Book'.
CREATE TABLE Documents (document_type_code VARCHAR, document_name VARCHAR, document_description VARCHAR)
SELECT llws FROM table_name_37 WHERE year = 2003
What is the LLWS when the Year is 2003?
CREATE TABLE table_name_37 (llws VARCHAR, year VARCHAR)
SELECT AVG(total_points) FROM table_name_29 WHERE matches = 34 AND rides = 111 AND bonus_pts > 15
What is the total for 34 matches with 111 rides, but no more than 15 bonus points?
CREATE TABLE table_name_29 (total_points INTEGER, bonus_pts VARCHAR, matches VARCHAR, rides VARCHAR)
SELECT to_par FROM table_name_5 WHERE player = "bunky henry"
What is the to par of player bunky henry?
CREATE TABLE table_name_5 (to_par VARCHAR, player VARCHAR)
SELECT engine_code FROM table_name_9 WHERE model = "xdrive35i"
What is the engine code for the model xdrive35i?
CREATE TABLE table_name_9 (engine_code VARCHAR, model VARCHAR)
SELECT 2 AS nd_leg FROM table_name_48 WHERE team_1 = "internacional"
What is the 2nd leg of the Internacional Team 1?
CREATE TABLE table_name_48 (team_1 VARCHAR)
SELECT rank FROM table_name_83 WHERE year_opened = "1959" AND state = "pennsylvania"
What is the rank for the year opened in 1959 in Pennsylvania?
CREATE TABLE table_name_83 (rank VARCHAR, year_opened VARCHAR, state VARCHAR)
SELECT females_rank FROM table_14785903_1 WHERE states = "Karnataka"
What is the female rank in Karnataka?
CREATE TABLE table_14785903_1 (females_rank VARCHAR, states VARCHAR)
SELECT argon FROM table_name_56 WHERE neon = "0.484"
Name the Argon which has a Neon of 0.484?
CREATE TABLE table_name_56 (argon VARCHAR, neon VARCHAR)
SELECT purpose FROM table_name_71 WHERE band = "am" AND callsign = "6wh"
Band of am, and a Callsign of 6wh has what purpose?
CREATE TABLE table_name_71 (purpose VARCHAR, band VARCHAR, callsign VARCHAR)
SELECT MIN(world) FROM table_19017269_5 WHERE latin_america_caribbean = "788 (8.1%)"
What is population in the world when 788 (8.1%)?
CREATE TABLE table_19017269_5 (world INTEGER, latin_america_caribbean VARCHAR)
SELECT surface FROM table_name_30 WHERE city = "caracas" AND tournament = "venezuela f5 futures"
On what Surface will the Venezuela F5 Futures in Caracas be played?
CREATE TABLE table_name_30 (surface VARCHAR, city VARCHAR, tournament VARCHAR)
SELECT MIN(points) FROM table_name_24 WHERE name = "ehc münchen ii" AND position < 7
what is the lowest points when name is ehc münchen ii and position is less than 7?
CREATE TABLE table_name_24 (points INTEGER, name VARCHAR, position VARCHAR)
SELECT AVG(series__number) FROM table_name_81 WHERE directed_by = "milan cheylov" AND written_by = "will dixon"
What series number was directed by milan cheylov and written by will dixon?
CREATE TABLE table_name_81 (series__number INTEGER, directed_by VARCHAR, written_by VARCHAR)
SELECT power__kw_ FROM table_name_83 WHERE location = "cebu"
What is the Power (kW) for the station located in Cebu?
CREATE TABLE table_name_83 (power__kw_ VARCHAR, location VARCHAR)
SELECT name FROM table_name_56 WHERE pennant_number = "f82"
Which Name has a Pennant number of f82?
CREATE TABLE table_name_56 (name VARCHAR, pennant_number VARCHAR)
SELECT region FROM table_name_49 WHERE format = "stereo lp" AND catalog = "amlh 66078"
What is the region for Catalog amlh 66078 in stereo lp format?
CREATE TABLE table_name_49 (region VARCHAR, format VARCHAR, catalog VARCHAR)
SELECT championship_game FROM table_name_29 WHERE final_four = "1" AND conference = "american south"
What is the Championship Game when the Final Four is 1 and the conference is American South?
CREATE TABLE table_name_29 (championship_game VARCHAR, final_four VARCHAR, conference VARCHAR)
SELECT rating / SHARE(18 - 49) FROM table_23730973_5 WHERE viewers__millions_ = "5.90"
What was the rating/share for 18-49 for the episode that had 5.90 million viewers?
CREATE TABLE table_23730973_5 (rating VARCHAR, viewers__millions_ VARCHAR)
SELECT COUNT(runs) FROM table_name_87 WHERE average < 27.22
What is the total number of runs where the average is less than 27.22?
CREATE TABLE table_name_87 (runs VARCHAR, average INTEGER)
SELECT race_time FROM table_28178756_1 WHERE date = "May 11"
List the race time for may 11.
CREATE TABLE table_28178756_1 (race_time VARCHAR, date VARCHAR)
SELECT MAX(crowd) FROM table_name_73 WHERE venue = "arden street oval"
How big was the largest crowd recorded at the Arden Street Oval venue?
CREATE TABLE table_name_73 (crowd INTEGER, venue VARCHAR)
SELECT MAX(round) FROM table_name_60 WHERE college_junior_club_team__league_ = "minnesota junior stars (mjhl)"
What is the highest round for the Minnesota Junior Stars (Mjhl)?
CREATE TABLE table_name_60 (round INTEGER, college_junior_club_team__league_ VARCHAR)
SELECT points_classification FROM table_name_19 WHERE intergiro_classification = "sven krauß" AND mountains_classification = "koldo gil" AND trofeo_super_team = "liquigas-bianchi" AND stage = "9"
What is the points classification when the Intergiro classification is Sven Krauß, and the mountains classification is koldo gil, Trofeo Super Team is Liquigas-Bianchi, and stage is 9?
CREATE TABLE table_name_19 (points_classification VARCHAR, stage VARCHAR, trofeo_super_team VARCHAR, intergiro_classification VARCHAR, mountains_classification VARCHAR)
SELECT MIN(grid) FROM table_name_79 WHERE team = "mi-jack conquest racing" AND points = "16"
What is the smallest grid value that had 16 points and a team of Mi-Jack Conquest Racing?
CREATE TABLE table_name_79 (grid INTEGER, team VARCHAR, points VARCHAR)
SELECT best FROM table_name_99 WHERE team = "rocketsports racing" AND name = "alex tagliani"
What is Best, when Team is "Rocketsports Racing", and when Name is "Alex Tagliani"?
CREATE TABLE table_name_99 (best VARCHAR, team VARCHAR, name VARCHAR)
SELECT score FROM table_name_83 WHERE home = "quebec nordiques" AND date = "april 16"
Which Score has a Home of quebec nordiques on april 16?
CREATE TABLE table_name_83 (score VARCHAR, home VARCHAR, date VARCHAR)
SELECT original_broadway_production FROM table_name_52 WHERE first_us_national_tour = "roger bart"
Which Original Broadway production has a First US National Tour of roger bart?
CREATE TABLE table_name_52 (original_broadway_production VARCHAR, first_us_national_tour VARCHAR)
SELECT color_commentator_s_ FROM table_name_53 WHERE year < 2012 AND network = "espn"
Who were the collor commentator(s) for ESPN before 2012?
CREATE TABLE table_name_53 (color_commentator_s_ VARCHAR, year VARCHAR, network VARCHAR)
SELECT COUNT(winnings) FROM table_1671401_2 WHERE year = 1995
Name the total number of winnings for 1995
CREATE TABLE table_1671401_2 (winnings VARCHAR, year VARCHAR)
SELECT shooting_score__pts_ FROM table_name_7 WHERE total > 5464 AND athlete = "heather fell ( gbr )"
Which Shooting Score (pts) has a Total larger than 5464 and a Athlete of heather fell ( gbr )?
CREATE TABLE table_name_7 (shooting_score__pts_ VARCHAR, total VARCHAR, athlete VARCHAR)
SELECT date FROM table_name_52 WHERE home_team = "north melbourne"
What day did North Melbourne play as the home team?
CREATE TABLE table_name_52 (date VARCHAR, home_team VARCHAR)
SELECT week_5 FROM table_name_95 WHERE week_3 = "felicia taylor"
Felicia Taylor was cyber girl in week 3, so who was the cyber girl in week 5?
CREATE TABLE table_name_95 (week_5 VARCHAR, week_3 VARCHAR)
SELECT time FROM table_name_38 WHERE length = "21.40km" AND name = "santa rosa 1"
In the 21.40km Santa Rosa 1 Stage, what was the Time?
CREATE TABLE table_name_38 (time VARCHAR, length VARCHAR, name VARCHAR)
SELECT released FROM table_1620397_2 WHERE author = "Pat Mills"
Name the released for pat mills
CREATE TABLE table_1620397_2 (released VARCHAR, author VARCHAR)
SELECT country FROM table_name_63 WHERE place < 8 AND points < 5
Which country has a place smaller than 8 and points smaller than 5?
CREATE TABLE table_name_63 (country VARCHAR, place VARCHAR, points VARCHAR)
SELECT COUNT(wins) FROM table_name_29 WHERE losses > 980 AND first_season < 1906 AND college = "washington state" AND rank > 42
How many wins were there for Washington State College with losses greater than 980 and a first season before 1906 and rank greater than 42?
CREATE TABLE table_name_29 (wins VARCHAR, rank VARCHAR, college VARCHAR, losses VARCHAR, first_season VARCHAR)