answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT MIN(points) FROM table_27539808_5 WHERE game = 32
CREATE TABLE table_27539808_5 (points INTEGER, game VARCHAR)
What is the lowest number of points for game 32?
SELECT location_attendance FROM table_27539808_5 WHERE december = 1
CREATE TABLE table_27539808_5 (location_attendance VARCHAR, december VARCHAR)
What is the location and attendance total from the game on December 1?
SELECT directed_by FROM table_27547668_3 WHERE viewers = 899000
CREATE TABLE table_27547668_3 (directed_by VARCHAR, viewers VARCHAR)
Who directed the episode with 899000 viewers?
SELECT MIN(_number) FROM table_27547668_3
CREATE TABLE table_27547668_3 (_number INTEGER)
What is the smallest numbered episode in the series listed?
SELECT viewers FROM table_27547668_3 WHERE _number = 13
CREATE TABLE table_27547668_3 (viewers VARCHAR, _number VARCHAR)
How many people watched episode number 13?
SELECT no FROM table_27547668_3 WHERE written_by = "Greg Nelson" AND directed_by = "Keith Samples"
CREATE TABLE table_27547668_3 (no VARCHAR, written_by VARCHAR, directed_by VARCHAR)
What episode number in the season was written by Greg nelson and directed by Keith samples?
SELECT title FROM table_27547668_2 WHERE prod_code = 102
CREATE TABLE table_27547668_2 (title VARCHAR, prod_code VARCHAR)
What is the title of the episode with production code 102?
SELECT original_airdate FROM table_27547668_2 WHERE _number = 6
CREATE TABLE table_27547668_2 (original_airdate VARCHAR, _number VARCHAR)
What is the original air date of # 6?
SELECT original_airdate FROM table_27547668_2 WHERE viewers = 908000
CREATE TABLE table_27547668_2 (original_airdate VARCHAR, viewers VARCHAR)
What is the original air date of the episode with 908000 viewers?
SELECT COUNT(season) AS premiere FROM table_27553627_2 WHERE viewers__in_millions_ = "15.27"
CREATE TABLE table_27553627_2 (season VARCHAR, viewers__in_millions_ VARCHAR)
How many season premieres had 15.27 million viewers?
SELECT season AS finale FROM table_27553627_2 WHERE rank = "20th"
CREATE TABLE table_27553627_2 (season VARCHAR, rank VARCHAR)
When was the season finale that ranked 20th?
SELECT tv_season FROM table_27553627_2 WHERE viewers__in_millions_ = "14.54"
CREATE TABLE table_27553627_2 (tv_season VARCHAR, viewers__in_millions_ VARCHAR)
What tv season year had 14.54 million viewers?
SELECT MAX(episodes) FROM table_27553627_2 WHERE viewers__in_millions_ = "14.41"
CREATE TABLE table_27553627_2 (episodes INTEGER, viewers__in_millions_ VARCHAR)
What episode number had 14.41 million viewers?
SELECT MIN(rnd) FROM table_27561505_2 WHERE circuit = "Laguna Seca"
CREATE TABLE table_27561505_2 (rnd INTEGER, circuit VARCHAR)
What is the minimum rnd at Laguna Seca?
SELECT COUNT(gt_20_winning_team) FROM table_27561503_2 WHERE sports_20_winning_team = "#16 Trans Ocean Motors" AND circuit = "Castle Rock"
CREATE TABLE table_27561503_2 (gt_20_winning_team VARCHAR, sports_20_winning_team VARCHAR, circuit VARCHAR)
Name the gt 2.0 winning team for sports 2.0 winning team for #16 trans ocean motors for castle rock
SELECT COUNT(results) FROM table_27561503_2 WHERE sports_20_winning_team = "#23 Lotus"
CREATE TABLE table_27561503_2 (results VARCHAR, sports_20_winning_team VARCHAR)
Name the results for #23 lotus
SELECT results FROM table_27561503_2 WHERE gt_20_winning_team = "Herb Wetanson"
CREATE TABLE table_27561503_2 (results VARCHAR, gt_20_winning_team VARCHAR)
Name results for herb wetanson
SELECT province FROM table_27592654_2 WHERE electorate = "Collingwood"
CREATE TABLE table_27592654_2 (province VARCHAR, electorate VARCHAR)
What was the province if the electorate was Collingwood?
SELECT province FROM table_27592654_2 WHERE election_date = "5 Cannot handle non-empty timestamp argument! 1861"
CREATE TABLE table_27592654_2 (province VARCHAR, election_date VARCHAR)
What was the province with an election date of 5 cannot handle non-empty timestamp argument! 1861?
SELECT races FROM table_27582888_1 WHERE final_placing = "5th"
CREATE TABLE table_27582888_1 (races VARCHAR, final_placing VARCHAR)
Name the races for final placing being 5th
SELECT MAX(poles) FROM table_27582888_1 WHERE podiums = 4
CREATE TABLE table_27582888_1 (poles INTEGER, podiums VARCHAR)
Name the post poles for 4 podiums
SELECT song_choice FROM table_27614571_1 WHERE theme = "Samba"
CREATE TABLE table_27614571_1 (song_choice VARCHAR, theme VARCHAR)
What was Barreto's song choice when the theme was samba?
SELECT song_choice FROM table_27614571_1 WHERE original_artist = "Patricia Marx"
CREATE TABLE table_27614571_1 (song_choice VARCHAR, original_artist VARCHAR)
What was Barreto's song choice where the original artist was Patricia Marx?
SELECT week__number FROM table_27614571_1 WHERE original_artist = "Leila Pinheiro"
CREATE TABLE table_27614571_1 (week__number VARCHAR, original_artist VARCHAR)
In which week # was the original artist of Barreto's song choice was Leila Pinheiro?
SELECT MIN(year) FROM table_27611593_5
CREATE TABLE table_27611593_5 (year INTEGER)
When did the earliest tournament happened?
SELECT partner FROM table_27611593_5 WHERE score = "6–2, 3–6, 6–7 (7-9)"
CREATE TABLE table_27611593_5 (partner VARCHAR, score VARCHAR)
Who was Petrova's partner where she scored 6–2, 3–6, 6–7 (7-9)?
SELECT opponents FROM table_27611593_5 WHERE partner = "Vania King"
CREATE TABLE table_27611593_5 (opponents VARCHAR, partner VARCHAR)
Who were Petrova's opponents with Vania King?
SELECT written_by FROM table_27610775_1 WHERE prod_code = 211
CREATE TABLE table_27610775_1 (written_by VARCHAR, prod_code VARCHAR)
Who wrote the episode with the production code 211?
SELECT MAX(prod_code) FROM table_27610775_1 WHERE directed_by = "Sean McNamara"
CREATE TABLE table_27610775_1 (prod_code INTEGER, directed_by VARCHAR)
What is the maximum production code of the episode directed by Sean McNamara?
SELECT COUNT(audition_city) FROM table_27615445_1 WHERE episode_air_date = "June 24, 2010"
CREATE TABLE table_27615445_1 (audition_city VARCHAR, episode_air_date VARCHAR)
How many audition city's are there with an episode air date of June 24, 2010?
SELECT episode_air_date FROM table_27615445_1 WHERE audition_venue = "Nego Quirido Sambadrome"
CREATE TABLE table_27615445_1 (episode_air_date VARCHAR, audition_venue VARCHAR)
List all episode air dates that auditioned at Nego Quirido Sambadrome?
SELECT episode_air_date FROM table_27615445_1 WHERE guest_fourth_judge = "Luiza Possi"
CREATE TABLE table_27615445_1 (episode_air_date VARCHAR, guest_fourth_judge VARCHAR)
List all episode air dates where Luiza Possi was the guest fourth judge?
SELECT COUNT(episode_air_date) FROM table_27615445_1 WHERE audition_city = "Rio de Janeiro"
CREATE TABLE table_27615445_1 (episode_air_date VARCHAR, audition_city VARCHAR)
How many episode air dates are there for auditioning city Rio De Janeiro?
SELECT audition_venue FROM table_27615445_1 WHERE guest_fourth_judge = "Peninha"
CREATE TABLE table_27615445_1 (audition_venue VARCHAR, guest_fourth_judge VARCHAR)
Where was the audition venue where Peninha was the guest fourth judge?
SELECT song_choice FROM table_27616663_1 WHERE original_artist = "Marisa Monte"
CREATE TABLE table_27616663_1 (song_choice VARCHAR, original_artist VARCHAR)
Which song was picked that was originally performed by Marisa Monte?
SELECT result FROM table_27616663_1 WHERE original_artist = "Caetano Veloso"
CREATE TABLE table_27616663_1 (result VARCHAR, original_artist VARCHAR)
What was the result of the performance of the song by Caetano Veloso?
SELECT order__number FROM table_27616663_1 WHERE theme = "Male Singers"
CREATE TABLE table_27616663_1 (order__number VARCHAR, theme VARCHAR)
What was the order # of the theme Male Singers?
SELECT theme FROM table_27616663_1 WHERE original_artist = "Rosana"
CREATE TABLE table_27616663_1 (theme VARCHAR, original_artist VARCHAR)
What was the theme when original artist Rosana's song was performed?
SELECT COUNT(week__number) FROM table_27614707_1 WHERE theme = "Judge's Choice" AND order__number = "4"
CREATE TABLE table_27614707_1 (week__number VARCHAR, theme VARCHAR, order__number VARCHAR)
How many different weeks are there in order number 4 that were judge's choice?
SELECT song_choice FROM table_27614707_1 WHERE week__number = "Top 5" AND original_artist = "Marisa Monte"
CREATE TABLE table_27614707_1 (song_choice VARCHAR, week__number VARCHAR, original_artist VARCHAR)
What Marisa Monte song choice was song during top 5?
SELECT original_artist FROM table_27614707_1 WHERE theme = "Top 12 Men"
CREATE TABLE table_27614707_1 (original_artist VARCHAR, theme VARCHAR)
Who was the original artist of the Top 12 Men theme?
SELECT result FROM table_27614707_1 WHERE theme = "Top 12 Men"
CREATE TABLE table_27614707_1 (result VARCHAR, theme VARCHAR)
What was the result of the Top 12 Men theme?
SELECT week__number FROM table_27614707_1 WHERE result = "Bottom 3"
CREATE TABLE table_27614707_1 (week__number VARCHAR, result VARCHAR)
What week number was the result bottom 3?
SELECT points_per_game FROM table_2761641_1 WHERE assists_per_game = "1.5"
CREATE TABLE table_2761641_1 (points_per_game VARCHAR, assists_per_game VARCHAR)
How many points per game did he have when he had 1.5 assists per game?
SELECT rebounds_per_game FROM table_2761641_1 WHERE tournament = "2006 FIBA World Championship"
CREATE TABLE table_2761641_1 (rebounds_per_game VARCHAR, tournament VARCHAR)
How many rebounds per game did he have at the 2006 fiba world championship?
SELECT rebounds_per_game FROM table_2761641_1 WHERE tournament = "2003 EuroBasket"
CREATE TABLE table_2761641_1 (rebounds_per_game VARCHAR, tournament VARCHAR)
How many rebounds per game did he have at the 2003 eurobasket?
SELECT assists_per_game FROM table_2761641_1 WHERE points_per_game = "6.8"
CREATE TABLE table_2761641_1 (assists_per_game VARCHAR, points_per_game VARCHAR)
How many assists per game did he have when he had 6.8 points per game?
SELECT prod_code FROM table_27622417_1 WHERE no_in_series = 87
CREATE TABLE table_27622417_1 (prod_code VARCHAR, no_in_series VARCHAR)
which is the production code when the number of the episode in series is 87?
SELECT no_in_series FROM table_27622417_1 WHERE prod_code = "405"
CREATE TABLE table_27622417_1 (no_in_series VARCHAR, prod_code VARCHAR)
what is the number of the episode in the series whose production code is 405?
SELECT original_us_air_date FROM table_27622417_1 WHERE prod_code = "415"
CREATE TABLE table_27622417_1 (original_us_air_date VARCHAR, prod_code VARCHAR)
when was the premiere of the episode whose production code is 415?
SELECT written_by FROM table_27622417_1 WHERE prod_code = "411"
CREATE TABLE table_27622417_1 (written_by VARCHAR, prod_code VARCHAR)
who were the writers in the episode whose production code was 411?
SELECT directed_by FROM table_27622417_1 WHERE no_in_season = 17
CREATE TABLE table_27622417_1 (directed_by VARCHAR, no_in_season VARCHAR)
who were the director of the episode whose number in the season is 17?
SELECT currency FROM table_2764267_2 WHERE negotiable_debt_at_mid_2005___us_dollar_bn_equivalent_ = 1300
CREATE TABLE table_2764267_2 (currency VARCHAR, negotiable_debt_at_mid_2005___us_dollar_bn_equivalent_ VARCHAR)
Name the currency for negotiable debt being 1300
SELECT country FROM table_2764267_2 WHERE currency = "Yen"
CREATE TABLE table_2764267_2 (country VARCHAR, currency VARCHAR)
Name the country that has the yen
SELECT COUNT(country) FROM table_2764267_2 WHERE currency = "US dollar"
CREATE TABLE table_2764267_2 (country VARCHAR, currency VARCHAR)
Name the number of countries that have the us dollar
SELECT country FROM table_2764267_2 WHERE currency = "US dollar"
CREATE TABLE table_2764267_2 (country VARCHAR, currency VARCHAR)
Name the country for the us dollar
SELECT COUNT(team) FROM table_27631756_2 WHERE head_coach = "Mahdi Ali"
CREATE TABLE table_27631756_2 (team VARCHAR, head_coach VARCHAR)
How many teams have a head coach named mahdi ali?
SELECT COUNT(captain) FROM table_27631756_2 WHERE kitmaker = "N/A"
CREATE TABLE table_27631756_2 (captain VARCHAR, kitmaker VARCHAR)
How many captains have the kitmaker as n/a?
SELECT COUNT(kitmaker) FROM table_27631756_2 WHERE team = "Ittihad Kalba"
CREATE TABLE table_27631756_2 (kitmaker VARCHAR, team VARCHAR)
How many kitmaker correspond to team ittihad kalba?
SELECT captain FROM table_27631756_2 WHERE shirt_sponsor = "N/A"
CREATE TABLE table_27631756_2 (captain VARCHAR, shirt_sponsor VARCHAR)
What is the name of the captain when teh shirt sponsor is n/a?
SELECT COUNT(captain) FROM table_27631756_2 WHERE shirt_sponsor = "Toshiba"
CREATE TABLE table_27631756_2 (captain VARCHAR, shirt_sponsor VARCHAR)
How many captains when the shirt sponsor is toshiba?
SELECT chairman FROM table_27631756_2 WHERE captain = "Fawzi Bashir"
CREATE TABLE table_27631756_2 (chairman VARCHAR, captain VARCHAR)
Who is the chairman when teh captain is fawzi bashir?
SELECT season FROM table_27631002_1 WHERE f_laps = 0 AND races = 2
CREATE TABLE table_27631002_1 (season VARCHAR, f_laps VARCHAR, races VARCHAR)
Which season had f/laps is 0 and races is 2?
SELECT COUNT(points) FROM table_27631002_1 WHERE position = "6th"
CREATE TABLE table_27631002_1 (points VARCHAR, position VARCHAR)
How many entries are there for points for the 6th position?
SELECT COUNT(season) FROM table_27631002_1 WHERE position = "2nd"
CREATE TABLE table_27631002_1 (season VARCHAR, position VARCHAR)
How many season are shown for the 2nd position?
SELECT wins FROM table_27631002_1 WHERE position = "7th"
CREATE TABLE table_27631002_1 (wins VARCHAR, position VARCHAR)
What are the wins for the 7th position?
SELECT position FROM table_27631002_1 WHERE series = "Austria Formel 3 Cup"
CREATE TABLE table_27631002_1 (position VARCHAR, series VARCHAR)
What is the position for the austria formel 3 cup series?
SELECT COUNT(ppi__pixels_per_inch__) FROM table_27653752_1 WHERE ppcm__pixels_per_cm__ = 87
CREATE TABLE table_27653752_1 (ppi__pixels_per_inch__ VARCHAR, ppcm__pixels_per_cm__ VARCHAR)
How many different PPI does the model with ppcm of 87 have?
SELECT resolution FROM table_27653752_1 WHERE pixels_per_degree__ppd_ = 69
CREATE TABLE table_27653752_1 (resolution VARCHAR, pixels_per_degree__ppd_ VARCHAR)
What's the resolution of the model with a PPD of 69?
SELECT ihsa_music_class FROM table_27653955_1 WHERE mascot = "Lancers"
CREATE TABLE table_27653955_1 (ihsa_music_class VARCHAR, mascot VARCHAR)
What is the IHSA music class for the mascot that is the lancers?
SELECT ihsa_cheerleading_class FROM table_27653955_1 WHERE enrollment = 2600
CREATE TABLE table_27653955_1 (ihsa_cheerleading_class VARCHAR, enrollment VARCHAR)
What is the IHSA cheerleading class for the enrollment of 2600?
SELECT colors FROM table_27653955_1 WHERE enrollment = 2020
CREATE TABLE table_27653955_1 (colors VARCHAR, enrollment VARCHAR)
What are the colors for the enrollment of 2020?
SELECT MIN(old_membership_total) FROM table_27671835_3
CREATE TABLE table_27671835_3 (old_membership_total INTEGER)
What is the smallest number for old membership total?
SELECT MIN(members_lost) FROM table_27671835_3 WHERE net_change = "−1"
CREATE TABLE table_27671835_3 (members_lost INTEGER, net_change VARCHAR)
What is the lowest number of members lost when the net change is −1?
SELECT MAX(new_membership_total) FROM table_27671835_3 WHERE members_lost > 1.0
CREATE TABLE table_27671835_3 (new_membership_total INTEGER, members_lost INTEGER)
What is the new membership total if the members lost is bigger than 1.0?
SELECT members_added FROM table_27671835_3 WHERE conference = "NCHC (men only)"
CREATE TABLE table_27671835_3 (members_added VARCHAR, conference VARCHAR)
How many members were added at the nchc (men only) conference?
SELECT new_membership_total FROM table_27671835_3 WHERE conference = "NCHC (men only)"
CREATE TABLE table_27671835_3 (new_membership_total VARCHAR, conference VARCHAR)
What was the new membership total at the nchc (men only) conference?
SELECT outgoing_manager FROM table_27683516_3 WHERE incoming_manager = "Štefan Tarkovič"
CREATE TABLE table_27683516_3 (outgoing_manager VARCHAR, incoming_manager VARCHAR)
What is the outgoing manager when the incoming manager is štefan tarkovič?
SELECT COUNT(team) FROM table_27683516_3 WHERE date_of_vacancy = "30 October 2010"
CREATE TABLE table_27683516_3 (team VARCHAR, date_of_vacancy VARCHAR)
How many dates of vacancy were on 30 october 2010?
SELECT manner_of_departure FROM table_27683516_3 WHERE date_of_vacancy = "28 September 2010"
CREATE TABLE table_27683516_3 (manner_of_departure VARCHAR, date_of_vacancy VARCHAR)
What is the manner of departure when the date of vacancy is 28 september 2010?
SELECT date_of_appointment FROM table_27683516_3 WHERE date_of_vacancy = "24 November 2010"
CREATE TABLE table_27683516_3 (date_of_appointment VARCHAR, date_of_vacancy VARCHAR)
What is the date of appointment when the date of vacancy is 24 november 2010?
SELECT outgoing_manager FROM table_27683516_3 WHERE date_of_vacancy = "10 October 2010"
CREATE TABLE table_27683516_3 (outgoing_manager VARCHAR, date_of_vacancy VARCHAR)
What is the outgoing manager when the date of vacancy is 10 october 2010?
SELECT table FROM table_27683516_3 WHERE team = "Slovan Bratislava"
CREATE TABLE table_27683516_3 (table VARCHAR, team VARCHAR)
What is the table when the team is slovan bratislava?
SELECT COUNT(visitors__total_) FROM table_27685921_1 WHERE exhibitors__total_ = 1654
CREATE TABLE table_27685921_1 (visitors__total_ VARCHAR, exhibitors__total_ VARCHAR)
how many people come to visit when the 1654 exhibitions
SELECT MAX(year) FROM table_27685921_1 WHERE exhibitors__total_ = 1701
CREATE TABLE table_27685921_1 (year INTEGER, exhibitors__total_ VARCHAR)
what is the most time where exhibitions is 1701
SELECT high_points FROM table_27700375_10 WHERE date = "March 14"
CREATE TABLE table_27700375_10 (high_points VARCHAR, date VARCHAR)
who had high points on march 14?
SELECT high_rebounds FROM table_27700375_10 WHERE game = 69
CREATE TABLE table_27700375_10 (high_rebounds VARCHAR, game VARCHAR)
who had high rebounds at game 69?
SELECT team FROM table_27698941_8 WHERE date = "January 17"
CREATE TABLE table_27698941_8 (team VARCHAR, date VARCHAR)
Who were the 76ers opponents on January 17?
SELECT COUNT(high_points) FROM table_27698941_8 WHERE game = 34
CREATE TABLE table_27698941_8 (high_points VARCHAR, game VARCHAR)
How many players held the high point records for game 34?
SELECT record FROM table_27698941_8 WHERE date = "January 7"
CREATE TABLE table_27698941_8 (record VARCHAR, date VARCHAR)
What the win - loss recored for January 7?
SELECT COUNT(high_points) FROM table_27698941_2 WHERE date = "October 5"
CREATE TABLE table_27698941_2 (high_points VARCHAR, date VARCHAR)
How many people led in points during the game on October 5?
SELECT date FROM table_27700375_11 WHERE location_attendance = "The Palace of Auburn Hills 14,554"
CREATE TABLE table_27700375_11 (date VARCHAR, location_attendance VARCHAR)
Name the date for the palace of auburn hills 14,554
SELECT MIN(game) FROM table_27700375_11 WHERE score = "L 109–116 (OT)"
CREATE TABLE table_27700375_11 (game INTEGER, score VARCHAR)
Name the least game for l 109–116 (ot)
SELECT high_rebounds FROM table_27700375_11 WHERE team = "Charlotte"
CREATE TABLE table_27700375_11 (high_rebounds VARCHAR, team VARCHAR)
Name the high rebounds for charlotte
SELECT high_rebounds FROM table_27700375_11 WHERE location_attendance = "Wells Fargo Center 16,695"
CREATE TABLE table_27700375_11 (high_rebounds VARCHAR, location_attendance VARCHAR)
Name the high rebounds for wells fargo center 16,695
SELECT high_rebounds FROM table_27700375_8 WHERE high_points = "Brook Lopez (15)"
CREATE TABLE table_27700375_8 (high_rebounds VARCHAR, high_points VARCHAR)
Who got the high rebounds if Brook Lopez (15) earned the high points?
SELECT high_assists FROM table_27700375_8 WHERE team = "@ Indiana"
CREATE TABLE table_27700375_8 (high_assists VARCHAR, team VARCHAR)
Who got high assists for team @ Indiana?
SELECT COUNT(record) FROM table_27700375_8 WHERE high_assists = "Devin Harris (6)"
CREATE TABLE table_27700375_8 (record VARCHAR, high_assists VARCHAR)
How many record data were written when Devin Harris (6) was High Assists?
SELECT COUNT(game) FROM table_27700375_8 WHERE date = "January 5"
CREATE TABLE table_27700375_8 (game VARCHAR, date VARCHAR)
How many games were held on January 5?
SELECT high_assists FROM table_27700530_11 WHERE team = "Houston"
CREATE TABLE table_27700530_11 (high_assists VARCHAR, team VARCHAR)
Who had highest assists at the game against Houston?