answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT TV AS season FROM table_1348989_2 WHERE season = "3rd"
CREATE TABLE table_1348989_2 (TV VARCHAR, season VARCHAR)
In what TV season did the 3rd season air?
SELECT COUNT(ranking) FROM table_1348989_2 WHERE season = "5th"
CREATE TABLE table_1348989_2 (ranking VARCHAR, season VARCHAR)
How many rankings did the 5th season have?
SELECT COUNT(season) AS Finale FROM table_1348989_2 WHERE season = "2nd"
CREATE TABLE table_1348989_2 (season VARCHAR)
How many times did the 2nd season have a finale?
SELECT COUNT(county) FROM table_1350350_2 WHERE per_capita_income = "$20,101"
CREATE TABLE table_1350350_2 (county VARCHAR, per_capita_income VARCHAR)
how many county with per capita income being $20,101
SELECT place FROM table_1350350_2 WHERE per_capita_income = "$14,793"
CREATE TABLE table_1350350_2 (place VARCHAR, per_capita_income VARCHAR)
who is the the place with per capita income being $14,793
SELECT number_of_households FROM table_1350350_2 WHERE per_capita_income = "$16,820"
CREATE TABLE table_1350350_2 (number_of_households VARCHAR, per_capita_income VARCHAR)
what's the number of households with per capita income being $16,820
SELECT MAX(rank) FROM table_1350350_2 WHERE per_capita_income = "$17,013"
CREATE TABLE table_1350350_2 (rank INTEGER, per_capita_income VARCHAR)
what is the maximum rank with per capita income being $17,013
SELECT barrier FROM table_13498403_1 WHERE jockey = "Darryll Holland"
CREATE TABLE table_13498403_1 (barrier VARCHAR, jockey VARCHAR)
How old is Darryll Holland's horse
SELECT COUNT(trainer) FROM table_13498403_1 WHERE jockey = "N Rawiller"
CREATE TABLE table_13498403_1 (trainer VARCHAR, jockey VARCHAR)
how many people work with N Rawiller
SELECT MAX(barrier) FROM table_13498403_1 WHERE trainer = "Daniel Morton"
CREATE TABLE table_13498403_1 (barrier INTEGER, trainer VARCHAR)
How old is Daniel Morton
SELECT Radio AS electrical FROM table_1348246_3 WHERE secretariat = "WTR I"
CREATE TABLE table_1348246_3 (Radio VARCHAR, secretariat VARCHAR)
What are radio electricals when secretariat is wtr i?
SELECT electrical FROM table_1348246_3 WHERE secretariat = "PO(W)"
CREATE TABLE table_1348246_3 (electrical VARCHAR, secretariat VARCHAR)
What are electricals where secretariat is po(w)?
SELECT mechanical FROM table_1348246_3 WHERE regulating = "LPM"
CREATE TABLE table_1348246_3 (mechanical VARCHAR, regulating VARCHAR)
What mechanical has lpm regulation?
SELECT MAX(series_number) FROM table_13505192_3 WHERE episode_title = "Things That Fly"
CREATE TABLE table_13505192_3 (series_number INTEGER, episode_title VARCHAR)
What number episode in the series is the episode "things that fly"?
SELECT MIN(production_code) FROM table_13505192_3 WHERE season_number = 8
CREATE TABLE table_13505192_3 (production_code INTEGER, season_number VARCHAR)
What is the production code for season episode 8?
SELECT COUNT(episode_title) FROM table_13505192_3 WHERE series_number = 35
CREATE TABLE table_13505192_3 (episode_title VARCHAR, series_number VARCHAR)
How many episodes have a series number of 35?
SELECT MIN(series_number) FROM table_13505192_3 WHERE season_number = 24
CREATE TABLE table_13505192_3 (series_number INTEGER, season_number VARCHAR)
What is the series number for season episode 24?
SELECT COUNT(fastest_lap) FROM table_13512105_3 WHERE rnd = 6
CREATE TABLE table_13512105_3 (fastest_lap VARCHAR, rnd VARCHAR)
how many have times of 6
SELECT winning_team FROM table_13512105_3 WHERE winning_driver = "Ryan Briscoe" AND fastest_lap = "Tomas Scheckter"
CREATE TABLE table_13512105_3 (winning_team VARCHAR, winning_driver VARCHAR, fastest_lap VARCHAR)
which brand have drivers who won with the names of ryan briscoe and tomas scheckter
SELECT fastest_lap FROM table_13512105_3 WHERE most_laps_led = "Scott Dixon" AND pole_position = "Graham Rahal"
CREATE TABLE table_13512105_3 (fastest_lap VARCHAR, most_laps_led VARCHAR, pole_position VARCHAR)
who else along with scott dixon and graham rahal drove with the most speed
SELECT COUNT(rnd) FROM table_13512105_3 WHERE race = "Kansas"
CREATE TABLE table_13512105_3 (rnd VARCHAR, race VARCHAR)
tell the number of times where kansas was the location
SELECT channel_tv___dt__ FROM table_1353096_2 WHERE city_of_license_market = "Boston"
CREATE TABLE table_1353096_2 (channel_tv___dt__ VARCHAR, city_of_license_market VARCHAR)
What TV channel had a license from Boston?
SELECT station FROM table_1353096_2 WHERE city_of_license_market = "Fort Collins, Colorado"
CREATE TABLE table_1353096_2 (station VARCHAR, city_of_license_market VARCHAR)
Which station has a license in Fort Collins, Colorado?
SELECT current_status FROM table_1353096_2 WHERE station = "KDAF **"
CREATE TABLE table_1353096_2 (current_status VARCHAR, station VARCHAR)
What is the current status of the KDAF ** Station?
SELECT COUNT(current_status) FROM table_1353096_2 WHERE station = "WJW-TV ++"
CREATE TABLE table_1353096_2 (current_status VARCHAR, station VARCHAR)
How many entries are listed under "current status" for the WJW-TV ++ Station?
SELECT COUNT(station) FROM table_1353096_1 WHERE primary_affiliation = "Fox" AND owned_since = "1986"
CREATE TABLE table_1353096_1 (station VARCHAR, primary_affiliation VARCHAR, owned_since VARCHAR)
How many stations have fox as the primary affiliation and have been owned since 1986?
SELECT channel_tv___dt__ FROM table_1353096_1 WHERE station = "KDFW ++"
CREATE TABLE table_1353096_1 (channel_tv___dt__ VARCHAR, station VARCHAR)
What channel has station kdfw ++?
SELECT city_of_license__market FROM table_1353096_1 WHERE channel_tv___dt__ = "25 (31)"
CREATE TABLE table_1353096_1 (city_of_license__market VARCHAR, channel_tv___dt__ VARCHAR)
What city has channel tv (dt) 25 (31)?
SELECT COUNT(channel_tv___dt__) FROM table_1353096_1 WHERE city_of_license__market = "Austin, Texas"
CREATE TABLE table_1353096_1 (channel_tv___dt__ VARCHAR, city_of_license__market VARCHAR)
How many channel tv (dt)s are in austin, texas?
SELECT owned_since FROM table_1353096_1 WHERE channel_tv___dt__ = "10 (10)"
CREATE TABLE table_1353096_1 (owned_since VARCHAR, channel_tv___dt__ VARCHAR)
When was 10 (10) bought?
SELECT umpires FROM table_13514348_7 WHERE simpson_medal = "Paul Medhurst (C)"
CREATE TABLE table_13514348_7 (umpires VARCHAR, simpson_medal VARCHAR)
Who were the umpires when Paul Medhurst (C) won the Simpson Medal?
SELECT umpires FROM table_13514348_7 WHERE simpson_medal = "Paul Vines (S)"
CREATE TABLE table_13514348_7 (umpires VARCHAR, simpson_medal VARCHAR)
Who were the umpires when Paul Vines (S) won the Simpson Medal?
SELECT venue FROM table_13514348_7 WHERE captain = "Luke Blackwell"
CREATE TABLE table_13514348_7 (venue VARCHAR, captain VARCHAR)
Which venue did Luke Blackwell serve as captain?
SELECT MIN(180 AS s) FROM table_13535824_2
CREATE TABLE table_13535824_2 (Id VARCHAR)
what's the minimum 180s value
SELECT new_channel_s_ FROM table_13549921_18 WHERE programme = "Gladiators"
CREATE TABLE table_13549921_18 (new_channel_s_ VARCHAR, programme VARCHAR)
What channel number is Gladiators on
SELECT programme FROM table_13549921_18 WHERE date_s__of_return = "July 2008"
CREATE TABLE table_13549921_18 (programme VARCHAR, date_s__of_return VARCHAR)
What show is coming back on in July 2008
SELECT mens_doubles FROM table_13553701_1 WHERE womens_singles = "Wang Shixian"
CREATE TABLE table_13553701_1 (mens_doubles VARCHAR, womens_singles VARCHAR)
Who are the mens doubles and womens singles is wang shixian?
SELECT mens_singles FROM table_13553701_1 WHERE womens_singles = "Wang Shixian"
CREATE TABLE table_13553701_1 (mens_singles VARCHAR, womens_singles VARCHAR)
Who is the mens singles and womens singlses is wang shixian?
SELECT mens_doubles FROM table_13553701_1 WHERE mens_singles = "Lee Hyun-il"
CREATE TABLE table_13553701_1 (mens_doubles VARCHAR, mens_singles VARCHAR)
Who are the mens doubles and and mens singles is lee hyun-il?
SELECT mens_singles FROM table_13553701_1 WHERE womens_singles = "Sun Yu"
CREATE TABLE table_13553701_1 (mens_singles VARCHAR, womens_singles VARCHAR)
Who are the mens singles and womens singles with sun yu?
SELECT MAX(competition_finish) FROM table_1354805_6 WHERE average = "31.1"
CREATE TABLE table_1354805_6 (competition_finish INTEGER, average VARCHAR)
what is the highest number where people got done at 31.1
SELECT couple FROM table_1354805_6 WHERE number_of_dances = 11 AND competition_finish > 2.0
CREATE TABLE table_1354805_6 (couple VARCHAR, number_of_dances VARCHAR, competition_finish VARCHAR)
who danced 11 and finished at more than a 2.0
SELECT average FROM table_1354805_6 WHERE number_of_dances = 1
CREATE TABLE table_1354805_6 (average VARCHAR, number_of_dances VARCHAR)
tell the competitions where the mean is 1
SELECT rank_by_average FROM table_1354805_6 WHERE number_of_dances = 7
CREATE TABLE table_1354805_6 (rank_by_average VARCHAR, number_of_dances VARCHAR)
tell the mean of the times competition for the 7 jigs
SELECT COUNT(number_of_dances) FROM table_1354805_6 WHERE average = "34.0"
CREATE TABLE table_1354805_6 (number_of_dances VARCHAR, average VARCHAR)
how many turns were completed to make a mean of 34.0
SELECT gender FROM table_13555999_1 WHERE junior_high_school__12_15_yrs_ = "24mm"
CREATE TABLE table_13555999_1 (gender VARCHAR, junior_high_school__12_15_yrs_ VARCHAR)
What is the gender of the junior high school is 24mm?
SELECT university_students_and_adults__18yrs + _ FROM table_13555999_1 WHERE senior_high_school__15_18_yrs_ = "26mm"
CREATE TABLE table_13555999_1 (university_students_and_adults__18yrs VARCHAR, _ VARCHAR, senior_high_school__15_18_yrs_ VARCHAR)
What amount of the university students and adults ehre the the senior high school is 26mm?
SELECT senior_high_school__15_18_yrs_ FROM table_13555999_1 WHERE junior_high_school__12_15_yrs_ = "114cm"
CREATE TABLE table_13555999_1 (senior_high_school__15_18_yrs_ VARCHAR, junior_high_school__12_15_yrs_ VARCHAR)
What amount of senior high school where junior high school is 114cm?
SELECT specification FROM table_13555999_1 WHERE senior_high_school__15_18_yrs_ = "25mm"
CREATE TABLE table_13555999_1 (specification VARCHAR, senior_high_school__15_18_yrs_ VARCHAR)
What is the specification where senior high school is 25mm?
SELECT junior_high_school__12_15_yrs_ FROM table_13555999_1 WHERE gender = "Male" AND specification = "Minimum diameter of sakigawa"
CREATE TABLE table_13555999_1 (junior_high_school__12_15_yrs_ VARCHAR, gender VARCHAR, specification VARCHAR)
What amount is the junior high school where the gender is male and the specification is minimum diameter of sakigawa?
SELECT gender FROM table_13555999_1 WHERE senior_high_school__15_18_yrs_ = "26mm"
CREATE TABLE table_13555999_1 (gender VARCHAR, senior_high_school__15_18_yrs_ VARCHAR)
What is the gender of senior high school 26mm?
SELECT score FROM table_13557843_3 WHERE record = "1-2"
CREATE TABLE table_13557843_3 (score VARCHAR, record VARCHAR)
What was the score of the game when the team was 1-2?
SELECT high_assists FROM table_13557843_3 WHERE team = "Charlotte"
CREATE TABLE table_13557843_3 (high_assists VARCHAR, team VARCHAR)
Who had the high assists against charlotte?
SELECT COUNT(high_points) FROM table_13557843_5 WHERE team = "Utah"
CREATE TABLE table_13557843_5 (high_points VARCHAR, team VARCHAR)
How many leading scorers were there in the game against Utah?
SELECT COUNT(location_attendance) FROM table_13557843_7 WHERE team = "Charlotte"
CREATE TABLE table_13557843_7 (location_attendance VARCHAR, team VARCHAR)
how many location attendance with team being charlotte
SELECT game FROM table_13557843_7 WHERE date = "March 7"
CREATE TABLE table_13557843_7 (game VARCHAR, date VARCHAR)
what's the game with date being march 7
SELECT date FROM table_13557843_7 WHERE game = 72
CREATE TABLE table_13557843_7 (date VARCHAR, game VARCHAR)
what's the date with game being 72
SELECT COUNT(high_assists) FROM table_13557843_7 WHERE score = "L 90–98 (OT)"
CREATE TABLE table_13557843_7 (high_assists VARCHAR, score VARCHAR)
how many high assbeingts with score being l 90–98 (ot)
SELECT high_rebounds FROM table_13557843_7 WHERE team = "Vancouver"
CREATE TABLE table_13557843_7 (high_rebounds VARCHAR, team VARCHAR)
who is the the high rebounds with team being vancouver
SELECT COUNT(record) FROM table_13557843_8 WHERE date = "April 12"
CREATE TABLE table_13557843_8 (record VARCHAR, date VARCHAR)
How many pairs of numbers are under record on April 12?
SELECT COUNT(won) FROM table_13564702_3 WHERE tries_for = "92"
CREATE TABLE table_13564702_3 (won VARCHAR, tries_for VARCHAR)
Name total number of won for tries for 92
SELECT club FROM table_13564702_3 WHERE tries_for = "83"
CREATE TABLE table_13564702_3 (club VARCHAR, tries_for VARCHAR)
Name the club when tries for is 83
SELECT try_bonus FROM table_13564702_3 WHERE club = "Kenfig Hill RFC"
CREATE TABLE table_13564702_3 (try_bonus VARCHAR, club VARCHAR)
Name the try bonus for kenfig hill rfc
SELECT tries_against FROM table_13564702_3 WHERE played = "22" AND points_against = "183"
CREATE TABLE table_13564702_3 (tries_against VARCHAR, played VARCHAR, points_against VARCHAR)
Name the tries against for played 22 and points against of 183
SELECT COUNT(points_for) FROM table_13564702_3 WHERE try_bonus = "10"
CREATE TABLE table_13564702_3 (points_for VARCHAR, try_bonus VARCHAR)
Name the total number of points for when try bonus is 10
SELECT COUNT(won) FROM table_13564702_3 WHERE club = "Maesteg Harlequins RFC"
CREATE TABLE table_13564702_3 (won VARCHAR, club VARCHAR)
Name the number of won for maesteg harlequins rfc
SELECT played FROM table_13564637_3 WHERE lost = "8"
CREATE TABLE table_13564637_3 (played VARCHAR, lost VARCHAR)
What amount had all played that lost were 8?
SELECT club FROM table_13564637_3 WHERE drawn = "1" AND lost = "10"
CREATE TABLE table_13564637_3 (club VARCHAR, drawn VARCHAR, lost VARCHAR)
what is the name of the club where drawn is 1 and lost is 10?
SELECT tries_against FROM table_13564637_3 WHERE lost = "4"
CREATE TABLE table_13564637_3 (tries_against VARCHAR, lost VARCHAR)
what are the tries where the game was lost by 4?
SELECT COUNT(try_bonus) FROM table_13564637_3 WHERE won = "11"
CREATE TABLE table_13564637_3 (try_bonus VARCHAR, won VARCHAR)
what amount of try bonus where the game was won by 11?
SELECT COUNT(tries_against) FROM table_13564637_3 WHERE points_for = "325"
CREATE TABLE table_13564637_3 (tries_against VARCHAR, points_for VARCHAR)
what is the total amount of tries where the points were 325?
SELECT "points" AS _against FROM table_13564637_4 WHERE "points" = "points"
CREATE TABLE table_13564637_4 (Id VARCHAR)
What is the name of the column points against?
SELECT points_for FROM table_13564637_4 WHERE points = "53"
CREATE TABLE table_13564637_4 (points_for VARCHAR, points VARCHAR)
How many points for when the points was 53?
SELECT played FROM table_13564637_4 WHERE points_against = "321"
CREATE TABLE table_13564637_4 (played VARCHAR, points_against VARCHAR)
What is the played total when the points against was 321?
SELECT tries_for FROM table_13564637_4 WHERE points_against = "547"
CREATE TABLE table_13564637_4 (tries_for VARCHAR, points_against VARCHAR)
How many tries for when the points against was 547?
SELECT drawn FROM table_13564637_4 WHERE club = "Tylorstown RFC"
CREATE TABLE table_13564637_4 (drawn VARCHAR, club VARCHAR)
How many total games drawn for club tylorstown rfc?
SELECT COUNT(autonomous_community) FROM table_13566548_1 WHERE total_renewable_generation = 1375
CREATE TABLE table_13566548_1 (autonomous_community VARCHAR, total_renewable_generation VARCHAR)
How many communities had a total renewable generation of 1375?
SELECT autonomous_community FROM table_13566548_1 WHERE wind_power = 1042
CREATE TABLE table_13566548_1 (autonomous_community VARCHAR, wind_power VARCHAR)
What is the community with a wind power of 1042?
SELECT COUNT(group) FROM table_1358608_4 WHERE distance = "2020 m"
CREATE TABLE table_1358608_4 (group VARCHAR, distance VARCHAR)
How many races were for a distance of 2020 m?
SELECT winner_2nd FROM table_1358608_4 WHERE venue = "Belmont"
CREATE TABLE table_1358608_4 (winner_2nd VARCHAR, venue VARCHAR)
Who was the winner of the race at Belmont?
SELECT date FROM table_1358608_4 WHERE result = "6th"
CREATE TABLE table_1358608_4 (date VARCHAR, result VARCHAR)
On what date did Northerly place 6th?
SELECT weight__kg_ FROM table_1358608_4 WHERE race = "Ranvet Stakes"
CREATE TABLE table_1358608_4 (weight__kg_ VARCHAR, race VARCHAR)
What was the weight in kg on the day of the race at Ranvet Stakes?
SELECT result FROM table_1358608_4 WHERE date = "19 Oct 2002"
CREATE TABLE table_1358608_4 (result VARCHAR, date VARCHAR)
What was Northerly's result at the race on 19 Oct 2002?
SELECT distance FROM table_1358608_4 WHERE group = "G3"
CREATE TABLE table_1358608_4 (distance VARCHAR, group VARCHAR)
What was the distance of the race in which Northerly raced in group G3?
SELECT software_executable_space_protection FROM table_1357052_6 WHERE distribution = "Gentoo"
CREATE TABLE table_1357052_6 (software_executable_space_protection VARCHAR, distribution VARCHAR)
what's the software executable space protection with dbeingtribution being gentoo
SELECT distribution FROM table_1357052_6 WHERE grsecurity = "No"
CREATE TABLE table_1357052_6 (distribution VARCHAR, grsecurity VARCHAR)
what's the dbeingtribution with grsecurity being no
SELECT grsecurity FROM table_1357052_6 WHERE distribution = "Debian / Ubuntu"
CREATE TABLE table_1357052_6 (grsecurity VARCHAR, distribution VARCHAR)
what's the grsecurity with dbeingtribution being debian / ubuntu
SELECT distribution FROM table_1357052_6 WHERE grsecurity = "Optional" AND compile_time_buffer_checks = "Yes"
CREATE TABLE table_1357052_6 (distribution VARCHAR, grsecurity VARCHAR, compile_time_buffer_checks VARCHAR)
what's the dbeingtribution with grsecurity being optional and compile time buffer checks being yes
SELECT distribution FROM table_1357052_6 WHERE rsbac = "Unknown"
CREATE TABLE table_1357052_6 (distribution VARCHAR, rsbac VARCHAR)
what's the dbeingtribution with rsbac being unknown
SELECT 2002 AS _commission FROM table_136027_2 WHERE district = "district 3"
CREATE TABLE table_136027_2 (district VARCHAR)
Who is on the 2002 commission from district 3?
SELECT others_percentage FROM table_13608101_1 WHERE parish = "Tangipahoa"
CREATE TABLE table_13608101_1 (others_percentage VARCHAR, parish VARCHAR)
what's the others% with parbeingh being tangipahoa
SELECT MAX(bush_number) FROM table_13608101_1 WHERE others_percentage = "1.57%"
CREATE TABLE table_13608101_1 (bush_number INTEGER, others_percentage VARCHAR)
what is the maximum bush# with others% being 1.57%
SELECT COUNT(bush_percentage) FROM table_13608101_1 WHERE total_number = 191269
CREATE TABLE table_13608101_1 (bush_percentage VARCHAR, total_number VARCHAR)
how many bush% with total# being 191269
SELECT MAX(game) FROM table_13619027_10
CREATE TABLE table_13619027_10 (game INTEGER)
What is the highest game number?
SELECT COUNT(weight__kg_) FROM table_1360997_3 WHERE winner_2nd = "1st - Defier" AND venue = "Randwick"
CREATE TABLE table_1360997_3 (weight__kg_ VARCHAR, winner_2nd VARCHAR, venue VARCHAR)
How many entries are there for weight when the winner is 1st - defier and venue is randwick?
SELECT jockey FROM table_1360997_3 WHERE venue = "Rosehill" AND weight__kg_ = "57.5"
CREATE TABLE table_1360997_3 (jockey VARCHAR, venue VARCHAR, weight__kg_ VARCHAR)
Who was the jockey at Rosehill and the weight was 57.5 kg?
SELECT winner_2nd FROM table_1360997_3 WHERE time = "1:36.30"
CREATE TABLE table_1360997_3 (winner_2nd VARCHAR, time VARCHAR)
When the time is 1:36.30 what shows as winner?
SELECT income_poverty_f FROM table_13618358_1 WHERE exports__usd_mn__2011 = 2470
CREATE TABLE table_13618358_1 (income_poverty_f VARCHAR, exports__usd_mn__2011 VARCHAR)
What was the depravitiy of earnings where international sales was 2470?
SELECT MAX(2010 AS _population__000_) FROM table_13618358_1 WHERE agri_culture_b = "6.9"
CREATE TABLE table_13618358_1 (agri_culture_b VARCHAR)
What was head count in 2010 where the farm production is 6.9?
SELECT COUNT(district) FROM table_13618358_1 WHERE income_poverty_f = "27.7"
CREATE TABLE table_13618358_1 (district VARCHAR, income_poverty_f VARCHAR)
How many districts had an depravity level of 27.7