answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT COUNT(stage) FROM table_15294880_2 WHERE winner = "Alberto Contador" AND points_classification = "Alberto Contador"
CREATE TABLE table_15294880_2 (stage VARCHAR, winner VARCHAR, points_classification VARCHAR)
How many stages were there where the winner and the points classification were Alberto Contador?
SELECT COUNT(team_classification) FROM table_15294880_2 WHERE winner = "Alessandro Ballan"
CREATE TABLE table_15294880_2 (team_classification VARCHAR, winner VARCHAR)
When the winner was Alessandro Ballan, how many total team classifications were there?
SELECT COUNT(general_classification) FROM table_15294880_2 WHERE team_classification = "Quick Step"
CREATE TABLE table_15294880_2 (general_classification VARCHAR, team_classification VARCHAR)
When the team classification was quick step, what was the total number of general classifications?
SELECT 250 AS cc_winner FROM table_15299235_1 WHERE grand_prix = "Spanish grand_prix"
CREATE TABLE table_15299235_1 (grand_prix VARCHAR)
Who won the spanish grand prix?
SELECT date FROM table_15299235_1 WHERE circuit = "Indianapolis"
CREATE TABLE table_15299235_1 (date VARCHAR, circuit VARCHAR)
What is the date for the Indianapolis circuit?
SELECT 250 AS cc_winner FROM table_15299235_1 WHERE round = 9
CREATE TABLE table_15299235_1 (round VARCHAR)
in round 9 who was the 250cc winner?
SELECT condition_parameter FROM table_15314901_1 WHERE velocity_angle_η_in_i_radians = "ln[(1 + √5)/2] ≅ 0.481"
CREATE TABLE table_15314901_1 (condition_parameter VARCHAR, velocity_angle_η_in_i_radians VARCHAR)
If the velocity angle is ln[(1 + √5)/2] ≅ 0.481, what is the condition/parameter?
SELECT coordinate_velocity_v_dx_dt_in_units_of_c FROM table_15314901_1 WHERE condition_parameter = "Rapidity of 2 hyperbolic radians"
CREATE TABLE table_15314901_1 (coordinate_velocity_v_dx_dt_in_units_of_c VARCHAR, condition_parameter VARCHAR)
If the the condition/parameter is rapidity of 2 hyperbolic radians, what is the coordinate velocity v dx/dt in units of c?
SELECT velocity_angle_η_in_i_radians FROM table_15314901_1 WHERE coordinate_velocity_v_dx_dt_in_units_of_c = "(e 2 − 1)/(e 2 + 1) ≅ 0.761"
CREATE TABLE table_15314901_1 (velocity_angle_η_in_i_radians VARCHAR, coordinate_velocity_v_dx_dt_in_units_of_c VARCHAR)
If the coordinate velocity v dx/dt in units of c is (e 2 − 1)/(e 2 + 1) ≅ 0.761, what is the velocity angle η in i-radians?
SELECT COUNT(coordinate_velocity_v_dx_dt_in_units_of_c) FROM table_15314901_1 WHERE velocity_angle_η_in_i_radians = "ln[2 + √5] ≅ 1.444"
CREATE TABLE table_15314901_1 (coordinate_velocity_v_dx_dt_in_units_of_c VARCHAR, velocity_angle_η_in_i_radians VARCHAR)
What is the coordinate velocity v dx/dt in units of c total number if the velocity angle η in i-radians is ln[2 + √5] ≅ 1.444?
SELECT proper_velocity_w_dx_dτ_in_units_of_c FROM table_15314901_1 WHERE condition_parameter = "Rapidity of 1 hyperbolic radian"
CREATE TABLE table_15314901_1 (proper_velocity_w_dx_dτ_in_units_of_c VARCHAR, condition_parameter VARCHAR)
If the condition/parameter is rapidity of 1 hyperbolic radian, what is the proper velocity w dx/dτ in units of c?
SELECT school_year FROM table_15315103_1 WHERE class_aAAA = Dayton
CREATE TABLE table_15315103_1 (school_year VARCHAR, class_aAAA VARCHAR, Dayton VARCHAR)
What year is dayton in class AAAA?
SELECT class_aAAAA FROM table_15315103_1 WHERE school_year = "1995-96"
CREATE TABLE table_15315103_1 (class_aAAAA VARCHAR, school_year VARCHAR)
Who is in class during 1995-96?
SELECT year FROM table_15315816_1 WHERE tournament_location = "Western Turnpike Golf Course"
CREATE TABLE table_15315816_1 (year VARCHAR, tournament_location VARCHAR)
When are all years that tournament location is Western Turnpike Golf Course?
SELECT year FROM table_15315816_1 WHERE champion = "Ji Min Jeong"
CREATE TABLE table_15315816_1 (year VARCHAR, champion VARCHAR)
When are all years that the champion is Ji Min Jeong?
SELECT winners_share__$_ FROM table_15315816_1 WHERE year = "2004"
CREATE TABLE table_15315816_1 (winners_share__$_ VARCHAR, year VARCHAR)
How much are all winners share ($) in the year 2004?
SELECT COUNT(dates) FROM table_15315816_1 WHERE year = "2006"
CREATE TABLE table_15315816_1 (dates VARCHAR, year VARCHAR)
When are all dates in the year 2006?
SELECT dates FROM table_15315816_1 WHERE score = "205 (–8)" AND country = "Australia"
CREATE TABLE table_15315816_1 (dates VARCHAR, score VARCHAR, country VARCHAR)
When are all dates with a score of 205 (–8) in Australia?
SELECT dates FROM table_15315816_1 WHERE country = "Canada"
CREATE TABLE table_15315816_1 (dates VARCHAR, country VARCHAR)
What are all of the dates in the country of Canada?
SELECT dates FROM table_15315276_1 WHERE champion = "Jenny Gleason"
CREATE TABLE table_15315276_1 (dates VARCHAR, champion VARCHAR)
When was Jenny Gleason the champion of the Northeast Delta Dental International?
SELECT tournament_location FROM table_15315276_1 WHERE champion = "Misun Cho"
CREATE TABLE table_15315276_1 (tournament_location VARCHAR, champion VARCHAR)
Where was the tournament located when Misun Cho won the championship?
SELECT MAX(purse__) AS $_ FROM table_15315276_1
CREATE TABLE table_15315276_1 (purse__ INTEGER)
What is the maximum purse prize of the Northeast Delta Dental International Championship?
SELECT COUNT(purse__) AS $_ FROM table_15315276_1 WHERE champion = "Jenny Shin"
CREATE TABLE table_15315276_1 (purse__ VARCHAR, champion VARCHAR)
How many prizes were available when Jenny Shin became the champion?
SELECT team FROM table_15318779_1 WHERE points = 21
CREATE TABLE table_15318779_1 (team VARCHAR, points VARCHAR)
Which team had 21 points?
SELECT MAX(won) FROM table_15318779_1 WHERE team = "Palmeiras"
CREATE TABLE table_15318779_1 (won INTEGER, team VARCHAR)
How many games did Palmeiras win?
SELECT COUNT(lost) FROM table_15319684_1 WHERE against = 46
CREATE TABLE table_15319684_1 (lost VARCHAR, against VARCHAR)
Name the number of lost for against being 46
SELECT COUNT(against) FROM table_15319684_1 WHERE team = "Portuguesa Santista"
CREATE TABLE table_15319684_1 (against VARCHAR, team VARCHAR)
Name the number of against for portuguesa santista
SELECT won FROM table_15319684_1 WHERE difference = "33"
CREATE TABLE table_15319684_1 (won VARCHAR, difference VARCHAR)
Name the won for difference being 33
SELECT MIN(lost) FROM table_15319684_1 WHERE team = "Corinthians"
CREATE TABLE table_15319684_1 (lost INTEGER, team VARCHAR)
Name the most losst for corinthians
SELECT r_z___arcsecond__ FROM table_15318324_1 WHERE r_y___arcsecond__ = "−0.247"
CREATE TABLE table_15318324_1 (r_z___arcsecond__ VARCHAR, r_y___arcsecond__ VARCHAR)
How many values of r z (arcsecond) correspond with a r y (arcsecond) value of −0.247?
SELECT r_z___arcsecond__ FROM table_15318324_1 WHERE target_datum = "Ireland 1965"
CREATE TABLE table_15318324_1 (r_z___arcsecond__ VARCHAR, target_datum VARCHAR)
How many values of r z(arcsecond) are associated with a target datum of Ireland 1965?
SELECT muslim___percentage_of_total_population_ FROM table_1532779_1 WHERE population_of_england_and_wales_000 = 49634
CREATE TABLE table_1532779_1 (muslim___percentage_of_total_population_ VARCHAR, population_of_england_and_wales_000 VARCHAR)
What is the muslim percentage of the 49634 population of england and wales 000?
SELECT MAX(census_year) FROM table_1532779_1
CREATE TABLE table_1532779_1 (census_year INTEGER)
What is the most recent census year?
SELECT muslim___percentage_of_total_population_ FROM table_1532779_1 WHERE registered_mosques = 614
CREATE TABLE table_1532779_1 (muslim___percentage_of_total_population_ VARCHAR, registered_mosques VARCHAR)
What was the percentage of muslims during a time where there were 614 registered mosques?
SELECT MAX(pa) FROM table_15333005_1 WHERE locale = Ontario
CREATE TABLE table_15333005_1 (pa INTEGER, locale VARCHAR, Ontario VARCHAR)
Name the most pa for ontario
SELECT Ends AS lost FROM table_15333005_1 WHERE pa = 67
CREATE TABLE table_15333005_1 (Ends VARCHAR, pa VARCHAR)
Name the ends lost for 67 pa
SELECT COUNT(Ends) AS won FROM table_15333005_1 WHERE l = 4 AND stolen_ends = 17
CREATE TABLE table_15333005_1 (Ends VARCHAR, l VARCHAR, stolen_ends VARCHAR)
Name the number ends won when L is 4 and stolen ends is 17
SELECT date FROM table_15346009_1 WHERE tournament = "JELD-WEN Tradition"
CREATE TABLE table_15346009_1 (date VARCHAR, tournament VARCHAR)
What day was Jeld-Wen Tradition held?
SELECT date FROM table_15346009_1 WHERE winner = "Bernhard Langer (2)"
CREATE TABLE table_15346009_1 (date VARCHAR, winner VARCHAR)
What day did Bernhard Langer (2) win?
SELECT date FROM table_15346009_1 WHERE location = "Alabama"
CREATE TABLE table_15346009_1 (date VARCHAR, location VARCHAR)
On what day was the tournament in Alabama?
SELECT 1 AS st_prize__$__ FROM table_15346009_1 WHERE score = "271 (-9)"
CREATE TABLE table_15346009_1 (score VARCHAR)
What was the value of 1st prize when the score was 271 (-9)?
SELECT date FROM table_15346009_1 WHERE score = "200 (-16)"
CREATE TABLE table_15346009_1 (date VARCHAR, score VARCHAR)
What day was the score 200 (-16)?
SELECT location FROM table_15346009_1 WHERE tournament = "Outback Steakhouse Pro-Am"
CREATE TABLE table_15346009_1 (location VARCHAR, tournament VARCHAR)
Where was Outback Steakhouse Pro-AM held?
SELECT date_of_polls FROM table_15329030_1 WHERE state = "Mizoram"
CREATE TABLE table_15329030_1 (date_of_polls VARCHAR, state VARCHAR)
Which dates of polls occur in the Mizoram state?
SELECT COUNT(date_of_polls) FROM table_15329030_1 WHERE state = "Madhya Pradesh"
CREATE TABLE table_15329030_1 (date_of_polls VARCHAR, state VARCHAR)
How many dates of polls occur in the Madhya Pradesh state?
SELECT COUNT(against) FROM table_15352382_1 WHERE difference = 11
CREATE TABLE table_15352382_1 (against VARCHAR, difference VARCHAR)
How many under the category of Against have a Difference of 11
SELECT won FROM table_15352382_1 WHERE against = 20
CREATE TABLE table_15352382_1 (won VARCHAR, against VARCHAR)
if Against is 20 how much is Won?
SELECT drawn FROM table_15352382_1 WHERE team = "Portuguesa Santista"
CREATE TABLE table_15352382_1 (drawn VARCHAR, team VARCHAR)
How many Drawn does the team Portuguesa Santista have?
SELECT drawn FROM table_15352382_1 WHERE team = "Corinthians"
CREATE TABLE table_15352382_1 (drawn VARCHAR, team VARCHAR)
How many drawn does the team Corinthians have?
SELECT MAX(won) FROM table_15331868_1 WHERE difference = "1"
CREATE TABLE table_15331868_1 (won INTEGER, difference VARCHAR)
What is the highest number won with a difference of 1?
SELECT MAX(position) FROM table_15331868_1 WHERE against = 28
CREATE TABLE table_15331868_1 (position INTEGER, against VARCHAR)
What the highest position when there is 28 against?
SELECT MAX(won) FROM table_15331868_1 WHERE points = 31
CREATE TABLE table_15331868_1 (won INTEGER, points VARCHAR)
What is the highest number won when the number of points is 31?
SELECT MIN(position) FROM table_15331868_1 WHERE difference = "6"
CREATE TABLE table_15331868_1 (position INTEGER, difference VARCHAR)
What is the smalledt position when the difference was 6?
SELECT COUNT(average_weekly_rank) FROM table_15358729_6 WHERE average_nightly_rank = "No. 2"
CREATE TABLE table_15358729_6 (average_weekly_rank VARCHAR, average_nightly_rank VARCHAR)
How many were the show's average weekly ranking when it reached No. 2 in average nightly ranking?
SELECT timeslot FROM table_15358729_6 WHERE season = 3
CREATE TABLE table_15358729_6 (timeslot VARCHAR, season VARCHAR)
What is the show's time slot during season 3?
SELECT february FROM table_1539201_1
CREATE TABLE table_1539201_1 (february VARCHAR)
Name all of the february
SELECT june FROM table_1539201_1
CREATE TABLE table_1539201_1 (june VARCHAR)
Name the junes
SELECT july FROM table_1539201_1
CREATE TABLE table_1539201_1 (july VARCHAR)
Name the julys
SELECT COUNT(february) FROM table_1539201_1
CREATE TABLE table_1539201_1 (february VARCHAR)
Name the number of februaries
SELECT MAX(points) FROM table_15405904_1 WHERE position = 2
CREATE TABLE table_15405904_1 (points INTEGER, position VARCHAR)
How many points are listed when the position is 2?
SELECT MAX(drawn) FROM table_15405904_1 WHERE lost = 2
CREATE TABLE table_15405904_1 (drawn INTEGER, lost VARCHAR)
When there is a lost of 2 what is the mumber drawn?
SELECT MIN(played) FROM table_15405904_1
CREATE TABLE table_15405904_1 (played INTEGER)
How many games are played?
SELECT MIN(lost) FROM table_15405904_1 WHERE position = 2
CREATE TABLE table_15405904_1 (lost INTEGER, position VARCHAR)
When the position is 2 what is the number lost?
SELECT MIN(won) FROM table_15405904_1 WHERE team = "Ypiranga-SP"
CREATE TABLE table_15405904_1 (won INTEGER, team VARCHAR)
When the team is ypiranga-sp what is the number of won games?
SELECT difference FROM table_15400878_1 WHERE drawn > 2.0
CREATE TABLE table_15400878_1 (difference VARCHAR, drawn INTEGER)
Name the difference for when drawn is larger than 2.0
SELECT MAX(against) FROM table_15400878_1 WHERE team = "Minas Gerais"
CREATE TABLE table_15400878_1 (against INTEGER, team VARCHAR)
Name the most against for minas gerais
SELECT LMS AS class FROM table_15412381_5 WHERE lms_nos = "14510-5"
CREATE TABLE table_15412381_5 (LMS VARCHAR, lms_nos VARCHAR)
What is the LMS class of trains with numbers 14510-5?
SELECT date FROM table_15412381_5 WHERE wheels = 279
CREATE TABLE table_15412381_5 (date VARCHAR, wheels VARCHAR)
What is the date of the 279 wheels?
SELECT lms_nos FROM table_15412381_5 WHERE builder = "G&SWR Kilmarnock"
CREATE TABLE table_15412381_5 (lms_nos VARCHAR, builder VARCHAR)
What is the LMS number of the trains built by G&SWR Kilmarnock?
SELECT COUNT(wheels) FROM table_15412381_5 WHERE lms_nos = "16377-9"
CREATE TABLE table_15412381_5 (wheels VARCHAR, lms_nos VARCHAR)
How many figures are there for wheels for LMS numbers 16377-9?
SELECT MAX(saffir_simpson_category) FROM table_15416002_1
CREATE TABLE table_15416002_1 (saffir_simpson_category INTEGER)
What is the maximum number for the Saffir-Simpson category in the Carvill Hurricane Index?
SELECT MAX(v_mph_) FROM table_15416002_1 WHERE chi = "13.5"
CREATE TABLE table_15416002_1 (v_mph_ INTEGER, chi VARCHAR)
What is the maximum miles per hour recorded when the CHI (Carvill Hurricane Index) is equal to 13.5
SELECT chi FROM table_15416002_1 WHERE nhc_advisory_number = "49B"
CREATE TABLE table_15416002_1 (chi VARCHAR, nhc_advisory_number VARCHAR)
What is the CHI (Carvill Hurricane Index) when the NHC advisory number is equal to 49b?
SELECT MAX(r_miles_) FROM table_15416002_1 WHERE landfall = "Texas" AND saffir_simpson_category < 3.0
CREATE TABLE table_15416002_1 (r_miles_ INTEGER, landfall VARCHAR, saffir_simpson_category VARCHAR)
What is the maximum number of miles reached in a Texas landfall when the Saffir-Simpson category is smaller than 3.0?
SELECT r_miles_ FROM table_15416002_1 WHERE chi = "9.9"
CREATE TABLE table_15416002_1 (r_miles_ VARCHAR, chi VARCHAR)
What are the miles when the Carvill Hurricane Index (CHI) is equal to 9.9?
SELECT saffir_simpson_category FROM table_15416002_1 WHERE name = "Bonnie"
CREATE TABLE table_15416002_1 (saffir_simpson_category VARCHAR, name VARCHAR)
What is the Saffir-Simpson category for the hurricane named Bonnie?
SELECT common_name FROM table_15417439_1 WHERE accession_number = "XP_852505.1"
CREATE TABLE table_15417439_1 (common_name VARCHAR, accession_number VARCHAR)
What kind of animal corresponds to the accession number xp_852505.1?
SELECT similarity FROM table_15417439_1 WHERE genus_species = "Sus scrofa"
CREATE TABLE table_15417439_1 (similarity VARCHAR, genus_species VARCHAR)
How similar is the genus/species sus scrofa?
SELECT identity FROM table_15417439_1 WHERE genus_species = "Arabidopsis thaliana"
CREATE TABLE table_15417439_1 (identity VARCHAR, genus_species VARCHAR)
What identities do the genus/species arabidopsis thaliana have?
SELECT common_name FROM table_15417439_1 WHERE genus_species = "Rattus norvegicus"
CREATE TABLE table_15417439_1 (common_name VARCHAR, genus_species VARCHAR)
What's the animals name when the genus/species is rattus norvegicus?
SELECT length FROM table_15417439_1 WHERE genus_species = "Arabidopsis thaliana"
CREATE TABLE table_15417439_1 (length VARCHAR, genus_species VARCHAR)
For the genus/species arabidopsis thaliana, what are the lengths?
SELECT COUNT(original_air_date) FROM table_15430813_1 WHERE no_in_season = 17
CREATE TABLE table_15430813_1 (original_air_date VARCHAR, no_in_season VARCHAR)
How many original air dates were there for episode 17?
SELECT institution FROM table_15438337_1 WHERE country = "London, United Kingdom"
CREATE TABLE table_15438337_1 (institution VARCHAR, country VARCHAR)
Which company was based in London, United Kingdom?
SELECT original_air_date FROM table_15431959_1 WHERE written_by = "Peter DeLuise"
CREATE TABLE table_15431959_1 (original_air_date VARCHAR, written_by VARCHAR)
What was the original air date of Stargate SG-1 written by Peter Deluise?
SELECT MAX(no_in_season) FROM table_15431959_1 WHERE directed_by = "Peter DeLuise"
CREATE TABLE table_15431959_1 (no_in_season INTEGER, directed_by VARCHAR)
How many seasons did Peter Deluise direct Stargate SG-1?
SELECT fifth_district FROM table_15442974_1 WHERE third_district = "William Womer"
CREATE TABLE table_15442974_1 (fifth_district VARCHAR, third_district VARCHAR)
Name the fifth district for william womer
SELECT third_district FROM table_15442974_1 WHERE fifth_district = "Christine Young"
CREATE TABLE table_15442974_1 (third_district VARCHAR, fifth_district VARCHAR)
Name the third district for christine young
SELECT fourth_district FROM table_15442974_1 WHERE second_district = "Joan Runnels"
CREATE TABLE table_15442974_1 (fourth_district VARCHAR, second_district VARCHAR)
Name the fourth district for joan runnels
SELECT fourth_district FROM table_15442974_1 WHERE first_district = "Beverly Bodem"
CREATE TABLE table_15442974_1 (fourth_district VARCHAR, first_district VARCHAR)
Name the fourth district for beverly bodem
SELECT COUNT(fifth_district) FROM table_15442974_1 WHERE third_district = "Richard Houskamp"
CREATE TABLE table_15442974_1 (fifth_district VARCHAR, third_district VARCHAR)
Name the number for fifth district for richard houskamp
SELECT fifth_district FROM table_15442974_1 WHERE fourth_district = "Steve Rudoni"
CREATE TABLE table_15442974_1 (fifth_district VARCHAR, fourth_district VARCHAR)
Name the fifth district for steve rudoni
SELECT locale FROM table_1543845_63 WHERE stolen_ends = 12 AND shot_pct = "77%"
CREATE TABLE table_1543845_63 (locale VARCHAR, stolen_ends VARCHAR, shot_pct VARCHAR)
What was the location when the stolen ends is 12 and shot pct is 77%?
SELECT stolen_ends FROM table_1543845_63 WHERE locale = Sweden
CREATE TABLE table_1543845_63 (stolen_ends VARCHAR, locale VARCHAR, Sweden VARCHAR)
How many stolen ends were there when the locale was Sweden?
SELECT school_club_team FROM table_15463188_17 WHERE season = "2012" AND acquisition_via = "Trade"
CREATE TABLE table_15463188_17 (school_club_team VARCHAR, season VARCHAR, acquisition_via VARCHAR)
What was the school/club team whose season was in 2012 and were acquired via trade?
SELECT school_club_team FROM table_15463188_17 WHERE name = "Mark Sanford"
CREATE TABLE table_15463188_17 (school_club_team VARCHAR, name VARCHAR)
Which school/club team has a player named Mark Sanford?
SELECT COUNT(number) FROM table_15463188_17 WHERE school_club_team = "Manuel Luis Quezon"
CREATE TABLE table_15463188_17 (number VARCHAR, school_club_team VARCHAR)
How many school/club teams have a player named Manuel Luis Quezon?
SELECT COUNT(name) FROM table_15463188_17 WHERE school_club_team = "Washington"
CREATE TABLE table_15463188_17 (name VARCHAR, school_club_team VARCHAR)
How many players are listed for the school/club team Washington?
SELECT COUNT(position) FROM table_15463188_17 WHERE season = "2009"
CREATE TABLE table_15463188_17 (position VARCHAR, season VARCHAR)
How many players with a position are listed for the 2009 season?
SELECT school_club_team FROM table_15463188_1 WHERE position = "Guard"
CREATE TABLE table_15463188_1 (school_club_team VARCHAR, position VARCHAR)
Name the school/club for guard
SELECT position FROM table_15463188_1 WHERE name = "judy-ann ramirez"
CREATE TABLE table_15463188_1 (position VARCHAR, name VARCHAR)
Name the position for judy-ann ramirez