question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
When was the game on Taylor Field played?
CREATE TABLE "regular_season" ( "week" real, "date" text, "opponent" text, "location" text, "final_score" text, "attendance" real, "record" text );
SELECT "date" FROM "regular_season" WHERE "location"='Taylor Field';
1-21796261-4
Who placed fourth when the winner was Greg Hancock?
CREATE TABLE "calendar" ( "round" real, "date" text, "city_and_venue" text, "winner" text, "runner_up" text, "3rd_placed" text, "4th_placed" text, "results" text );
SELECT "4th_placed" FROM "calendar" WHERE "winner"='Greg Hancock';
1-21808535-1
Who was the runner-up on September 11?
CREATE TABLE "calendar" ( "round" real, "date" text, "city_and_venue" text, "winner" text, "runner_up" text, "3rd_placed" text, "4th_placed" text, "results" text );
SELECT "runner_up" FROM "calendar" WHERE "date"='September 11';
1-21808535-1
How many rounds were on July 10?
CREATE TABLE "calendar" ( "round" real, "date" text, "city_and_venue" text, "winner" text, "runner_up" text, "3rd_placed" text, "4th_placed" text, "results" text );
SELECT COUNT("round") FROM "calendar" WHERE "date"='July 10';
1-21808535-1
Name the number of years for 18.5
CREATE TABLE "nascar_sprint_cup_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top_10" real, "poles" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, "team_s" text );
SELECT COUNT("year") FROM "nascar_sprint_cup_series" WHERE "avg_finish"='18.5';
1-2181798-1
Name the max top 5 for avg finish being 27.6
CREATE TABLE "nascar_sprint_cup_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top_10" real, "poles" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, "team_s" text );
SELECT MAX("top_5") FROM "nascar_sprint_cup_series" WHERE "avg_finish"='27.6';
1-2181798-1
Name the number of wins for 30 starts
CREATE TABLE "nascar_sprint_cup_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top_10" real, "poles" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, "team_s" text );
SELECT COUNT("wins") FROM "nascar_sprint_cup_series" WHERE "starts"=30;
1-2181798-1
Name the year for donlavey racing bill davis racing
CREATE TABLE "nascar_sprint_cup_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top_10" real, "poles" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, "team_s" text );
SELECT "year" FROM "nascar_sprint_cup_series" WHERE "team_s"='Donlavey Racing Bill Davis Racing';
1-2181798-1
Name the starts for 23.7
CREATE TABLE "nascar_sprint_cup_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top_10" real, "poles" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, "team_s" text );
SELECT "starts" FROM "nascar_sprint_cup_series" WHERE "avg_start"='23.7';
1-2181798-1
Name the position for 23.7 avg start
CREATE TABLE "nascar_sprint_cup_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top_10" real, "poles" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, "team_s" text );
SELECT COUNT("position") FROM "nascar_sprint_cup_series" WHERE "avg_start"='23.7';
1-2181798-1
What is the car number for the Chevrolet Monte Carlo that Teresa Earnhardt owns and Paul Menard is her driver?
CREATE TABLE "full_time_entries" ( "team" text, "car_s" text, "num" real, "driver_s" text, "primary_sponsor_s" text, "listed_owner_s" text, "crew_chief" text );
SELECT MIN("num") FROM "full_time_entries" WHERE "car_s"='Chevrolet Monte Carlo' AND "listed_owner_s"='Teresa Earnhardt' AND "driver_s"='Paul Menard';
1-2182170-1
What type of car does Jeff Fuller drive?
CREATE TABLE "full_time_entries" ( "team" text, "car_s" text, "num" real, "driver_s" text, "primary_sponsor_s" text, "listed_owner_s" text, "crew_chief" text );
SELECT "car_s" FROM "full_time_entries" WHERE "driver_s"='Jeff Fuller';
1-2182170-1
How many cars does Gregg Mixon own?
CREATE TABLE "full_time_entries" ( "team" text, "car_s" text, "num" real, "driver_s" text, "primary_sponsor_s" text, "listed_owner_s" text, "crew_chief" text );
SELECT COUNT("car_s") FROM "full_time_entries" WHERE "listed_owner_s"='Gregg Mixon';
1-2182170-1
Who is Wayne Day's crew chief?
CREATE TABLE "full_time_entries" ( "team" text, "car_s" text, "num" real, "driver_s" text, "primary_sponsor_s" text, "listed_owner_s" text, "crew_chief" text );
SELECT "crew_chief" FROM "full_time_entries" WHERE "listed_owner_s"='Wayne Day';
1-2182170-1
What number is on the car that Geoffrey Bodine drives?
CREATE TABLE "full_time_entries" ( "team" text, "car_s" text, "num" real, "driver_s" text, "primary_sponsor_s" text, "listed_owner_s" text, "crew_chief" text );
SELECT MIN("num") FROM "full_time_entries" WHERE "driver_s"='Geoffrey Bodine';
1-2182170-1
What episode number in the season is episode 24 in the series?
CREATE TABLE "table1_2182654_3" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text );
SELECT "no_in_season" FROM "table1_2182654_3" WHERE "no_in_series"=24;
1-2182654-3
How many episodes in the season were directed by Jeremy Podeswa?
CREATE TABLE "table1_2182654_3" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text );
SELECT COUNT("no_in_season") FROM "table1_2182654_3" WHERE "directed_by"='Jeremy Podeswa';
1-2182654-3
What is the name of the episode directed by Miguel Arteta?
CREATE TABLE "table1_2182654_3" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text );
SELECT "title" FROM "table1_2182654_3" WHERE "directed_by"='Miguel Arteta';
1-2182654-3
How many episodes in the series were directed by Alan Taylor?
CREATE TABLE "table1_2182654_3" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text );
SELECT COUNT("no_in_series") FROM "table1_2182654_3" WHERE "directed_by"='Alan Taylor';
1-2182654-3
How many different teams had an average start of 12.9?
CREATE TABLE "nascar_nationwide_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top_10" real, "poles" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, "team_s" text );
SELECT COUNT("team_s") FROM "nascar_nationwide_series" WHERE "avg_start"='12.9';
1-2182562-2
How high was the amount of winnings (in $) in the year with 15 starts?
CREATE TABLE "nascar_nationwide_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top_10" real, "poles" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, "team_s" text );
SELECT "winnings" FROM "nascar_nationwide_series" WHERE "starts"=15;
1-2182562-2
How many different amounts of winnings were there for the year when the team had an average finish of 17.4?
CREATE TABLE "nascar_nationwide_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top_10" real, "poles" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, "team_s" text );
SELECT COUNT("winnings") FROM "nascar_nationwide_series" WHERE "avg_finish"='17.4';
1-2182562-2
What was the top 5 in the year with an average finish of 8.2?
CREATE TABLE "nascar_nationwide_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top_10" real, "poles" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, "team_s" text );
SELECT MIN("top_5") FROM "nascar_nationwide_series" WHERE "avg_finish"='8.2';
1-2182562-2
What was the position of the team with an average finish of 21.5?
CREATE TABLE "nascar_nationwide_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top_10" real, "poles" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, "team_s" text );
SELECT "position" FROM "nascar_nationwide_series" WHERE "avg_finish"='21.5';
1-2182562-2
How many years was the position 97th?
CREATE TABLE "nascar_sprint_cup_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top_10" real, "poles" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, "team_s" text );
SELECT COUNT("year") FROM "nascar_sprint_cup_series" WHERE "position"='97th';
1-2182562-1
How many wins when the average start is 29.0?
CREATE TABLE "nascar_sprint_cup_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top_10" real, "poles" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, "team_s" text );
SELECT COUNT("wins") FROM "nascar_sprint_cup_series" WHERE "avg_start"='29.0';
1-2182562-1
What is the average finish when winnings equals $71,200?
CREATE TABLE "nascar_sprint_cup_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top_10" real, "poles" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, "team_s" text );
SELECT "avg_finish" FROM "nascar_sprint_cup_series" WHERE "winnings"='$71,200';
1-2182562-1
What year did the winnings equal $281,945?
CREATE TABLE "nascar_sprint_cup_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top_10" real, "poles" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, "team_s" text );
SELECT "year" FROM "nascar_sprint_cup_series" WHERE "winnings"='$281,945';
1-2182562-1
What are the top 5 average finishes equalling 40.3?
CREATE TABLE "nascar_sprint_cup_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top_10" real, "poles" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, "team_s" text );
SELECT "top_5" FROM "nascar_sprint_cup_series" WHERE "avg_finish"='40.3';
1-2182562-1
Who wrote episode 31 in the series?
CREATE TABLE "table1_21831229_3" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_u_s_air_date" text, "prod_code" real );
SELECT "written_by" FROM "table1_21831229_3" WHERE "no_in_series"=31;
1-21831229-3
What was the date that the episode with a production code of 213 was originally aired?
CREATE TABLE "table1_21831229_3" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_u_s_air_date" text, "prod_code" real );
SELECT "original_u_s_air_date" FROM "table1_21831229_3" WHERE "prod_code"=213;
1-21831229-3
Who was playing when the score was 5–7, 6–7 (4–7)?
CREATE TABLE "doubles_7_3_4" ( "outcome" text, "year" real, "championship" text, "surface" text, "partner" text, "opponents" text, "score" text );
SELECT "opponents" FROM "doubles_7_3_4" WHERE "score"='5–7, 6–7 (4–7)';
1-2186447-1
Who was playing when the score was 5–7, 5–7?
CREATE TABLE "doubles_7_3_4" ( "outcome" text, "year" real, "championship" text, "surface" text, "partner" text, "opponents" text, "score" text );
SELECT "opponents" FROM "doubles_7_3_4" WHERE "score"='5–7, 5–7';
1-2186447-1
How many partners were there when the score was 7–6 (7–4) , 6–3?
CREATE TABLE "doubles_7_3_4" ( "outcome" text, "year" real, "championship" text, "surface" text, "partner" text, "opponents" text, "score" text );
SELECT COUNT("partner") FROM "doubles_7_3_4" WHERE "score"='7–6 (7–4) , 6–3';
1-2186447-1
What was their record when they played the stampeders?
CREATE TABLE "regular_season" ( "week" real, "date" text, "opponent" text, "location" text, "final_score" text, "attendance" real, "record" text );
SELECT "record" FROM "regular_season" WHERE "opponent"='Stampeders';
1-21839208-4
What was their record in week 11?
CREATE TABLE "regular_season" ( "week" real, "date" text, "opponent" text, "location" text, "final_score" text, "attendance" real, "record" text );
SELECT "record" FROM "regular_season" WHERE "week"=11;
1-21839208-4
Name the least wins
CREATE TABLE "nascar_sprint_cup_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top_10" real, "poles" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, "team_s" text );
SELECT MIN("wins") FROM "nascar_sprint_cup_series";
1-2187333-1
Name the avg start for avg finish of 18.3
CREATE TABLE "nascar_sprint_cup_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top_10" real, "poles" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, "team_s" text );
SELECT "avg_start" FROM "nascar_sprint_cup_series" WHERE "avg_finish"='18.3';
1-2187333-1
Name the year for #16 roush racing for poles less than smaller 1.0
CREATE TABLE "nascar_sprint_cup_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top_10" real, "poles" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, "team_s" text );
SELECT "year" FROM "nascar_sprint_cup_series" WHERE "team_s"='#16 Roush Racing' AND "poles"<1.0;
1-2187333-1
Name the transmission for ps (kw; hp) @4500-6000
CREATE TABLE "table1_21888587_1" ( "model" text, "engine" text, "power_rpm" text, "torque_rpm" text, "0_100km_h_acceleration" text, "top_speed" text, "transmission" text, "co_2_emissions" text );
SELECT "transmission" FROM "table1_21888587_1" WHERE "power_rpm"='PS (kW; hp) @4500-6000';
1-21888587-1
Name the 0–100km/h acceleration for ps (kw; hp) @5400
CREATE TABLE "table1_21888587_1" ( "model" text, "engine" text, "power_rpm" text, "torque_rpm" text, "0_100km_h_acceleration" text, "top_speed" text, "transmission" text, "co_2_emissions" text );
SELECT "0_100km_h_acceleration" FROM "table1_21888587_1" WHERE "power_rpm"='PS (kW; hp) @5400';
1-21888587-1
Name the listen owners for repairone
CREATE TABLE "team_chart" ( "team" text, "truck_s" text, "num" real, "driver_s" text, "primary_sponsor_s" text, "listed_owner_s" text, "crew_chief" text );
SELECT "listed_owner_s" FROM "team_chart" WHERE "primary_sponsor_s"='RepairOne';
1-2187178-1
Name the trucks for scott neal
CREATE TABLE "team_chart" ( "team" text, "truck_s" text, "num" real, "driver_s" text, "primary_sponsor_s" text, "listed_owner_s" text, "crew_chief" text );
SELECT "truck_s" FROM "team_chart" WHERE "crew_chief"='Scott Neal';
1-2187178-1
Name the listed owners for brevak racing
CREATE TABLE "team_chart" ( "team" text, "truck_s" text, "num" real, "driver_s" text, "primary_sponsor_s" text, "listed_owner_s" text, "crew_chief" text );
SELECT "listed_owner_s" FROM "team_chart" WHERE "team"='Brevak Racing';
1-2187178-1
Name the crew chief for ricky craven
CREATE TABLE "team_chart" ( "team" text, "truck_s" text, "num" real, "driver_s" text, "primary_sponsor_s" text, "listed_owner_s" text, "crew_chief" text );
SELECT "crew_chief" FROM "team_chart" WHERE "driver_s"='Ricky Craven';
1-2187178-1
Name the drivers for superchips
CREATE TABLE "team_chart" ( "team" text, "truck_s" text, "num" real, "driver_s" text, "primary_sponsor_s" text, "listed_owner_s" text, "crew_chief" text );
SELECT "driver_s" FROM "team_chart" WHERE "primary_sponsor_s"='Superchips';
1-2187178-1
When was Viva Cuba submitted?
CREATE TABLE "table1_21904740_1" ( "year_ceremony" text, "english_title" text, "spanish_title" text, "director" text, "result" text );
SELECT "year_ceremony" FROM "table1_21904740_1" WHERE "spanish_title"='Viva Cuba';
1-21904740-1
Name the name for 15 yield
CREATE TABLE "list_of_most_powerful_nuclear_tests" ( "date_gmt" text, "yield_megatons" text, "deployment" text, "country" text, "test_site" text, "name_or_number" text );
SELECT "name_or_number" FROM "list_of_most_powerful_nuclear_tests" WHERE "yield_megatons"='15';
1-2189647-1
What is the rank of the company known for retailing?
CREATE TABLE "public_companies" ( "state_rank_by_revenue" real, "company_name" text, "national_rank" real, "revenue_billions_2012_estimate" text, "headquarters_city" text, "known_for" text );
SELECT COUNT("state_rank_by_revenue") FROM "public_companies" WHERE "known_for"='Retailing';
1-21926985-2
What is the rank for Murphy Oil?
CREATE TABLE "public_companies" ( "state_rank_by_revenue" real, "company_name" text, "national_rank" real, "revenue_billions_2012_estimate" text, "headquarters_city" text, "known_for" text );
SELECT "state_rank_by_revenue" FROM "public_companies" WHERE "company_name"='Murphy Oil';
1-21926985-2
Where is the company with estimated revenue of 33.3 billion headquartered?
CREATE TABLE "public_companies" ( "state_rank_by_revenue" real, "company_name" text, "national_rank" real, "revenue_billions_2012_estimate" text, "headquarters_city" text, "known_for" text );
SELECT "headquarters_city" FROM "public_companies" WHERE "revenue_billions_2012_estimate"='33.3';
1-21926985-2
What is the national rank of Windstream?
CREATE TABLE "public_companies" ( "state_rank_by_revenue" real, "company_name" text, "national_rank" real, "revenue_billions_2012_estimate" text, "headquarters_city" text, "known_for" text );
SELECT MIN("national_rank") FROM "public_companies" WHERE "company_name"='Windstream';
1-21926985-2
What is the state rank of the company with 6.8 billion in revenue?
CREATE TABLE "public_companies" ( "state_rank_by_revenue" real, "company_name" text, "national_rank" real, "revenue_billions_2012_estimate" text, "headquarters_city" text, "known_for" text );
SELECT "state_rank_by_revenue" FROM "public_companies" WHERE "revenue_billions_2012_estimate"='6.8';
1-21926985-2
Name the entrant for benedicto campos
CREATE TABLE "entries" ( "no" real, "driver" text, "entrant" text, "constructor" text, "chassis" text, "engine" text );
SELECT "entrant" FROM "entries" WHERE "driver"='Benedicto Campos';
1-21977704-1
Name the number for automóvil club argentino for juan manuel fangio
CREATE TABLE "entries" ( "no" real, "driver" text, "entrant" text, "constructor" text, "chassis" text, "engine" text );
SELECT "no" FROM "entries" WHERE "entrant"='Automóvil Club Argentino' AND "driver"='Juan Manuel Fangio';
1-21977704-1
Name the most number for automóvil club argentino for benedicto campos
CREATE TABLE "entries" ( "no" real, "driver" text, "entrant" text, "constructor" text, "chassis" text, "engine" text );
SELECT MAX("no") FROM "entries" WHERE "entrant"='Automóvil Club Argentino' AND "driver"='Benedicto Campos';
1-21977704-1
Name the driver for talbot l6
CREATE TABLE "entries" ( "no" real, "driver" text, "entrant" text, "constructor" text, "chassis" text, "engine" text );
SELECT "driver" FROM "entries" WHERE "engine"='Talbot L6';
1-21977704-1
Name the constructor for alberto ascari
CREATE TABLE "entries" ( "no" real, "driver" text, "entrant" text, "constructor" text, "chassis" text, "engine" text );
SELECT "constructor" FROM "entries" WHERE "driver"='Alberto Ascari';
1-21977704-1
Name the chassis for alta
CREATE TABLE "entries" ( "no" real, "driver" text, "entrant" text, "constructor" text, "chassis" text, "engine" text );
SELECT "chassis" FROM "entries" WHERE "constructor"='Alta';
1-21977704-1
The Maserati 4cl's minimum no was?
CREATE TABLE "table1_21977627_1" ( "no" real, "driver" text, "entrant" text, "constructor" text, "chassis" text, "engine" text );
SELECT MIN("no") FROM "table1_21977627_1" WHERE "chassis"='Maserati 4CL';
1-21977627-1
How many entrants was yves giraud-cabantous?
CREATE TABLE "table1_21977627_1" ( "no" real, "driver" text, "entrant" text, "constructor" text, "chassis" text, "engine" text );
SELECT COUNT("entrant") FROM "table1_21977627_1" WHERE "driver"='Yves Giraud-Cabantous';
1-21977627-1
What chasis did the maserati l6s have?
CREATE TABLE "table1_21977627_1" ( "no" real, "driver" text, "entrant" text, "constructor" text, "chassis" text, "engine" text );
SELECT "chassis" FROM "table1_21977627_1" WHERE "engine"='Maserati L6s';
1-21977627-1
How many drivers did Bob Gerard Racing have?
CREATE TABLE "table1_21977627_1" ( "no" real, "driver" text, "entrant" text, "constructor" text, "chassis" text, "engine" text );
SELECT COUNT("driver") FROM "table1_21977627_1" WHERE "entrant"='Bob Gerard Racing';
1-21977627-1
For the team with 7 points, how many points were scored against this season?
CREATE TABLE "season_2006" ( "position" real, "club" text, "played" real, "h_win" real, "h_draw" real, "a_win" real, "a_draw" real, "lost" real, "def" real, "pts_for" real, "pts_agst" real, "pair" real, "long" real, "points" real, "average" text );
SELECT COUNT("pts_agst") FROM "season_2006" WHERE "points"=7;
1-21991074-1
What is the maximum number of points scored against?
CREATE TABLE "season_2006" ( "position" real, "club" text, "played" real, "h_win" real, "h_draw" real, "a_win" real, "a_draw" real, "lost" real, "def" real, "pts_for" real, "pts_agst" real, "pair" real, "long" real, "points" real, "average" text );
SELECT MAX("pts_agst") FROM "season_2006";
1-21991074-1
What is Chesterfield Spires average?
CREATE TABLE "season_2006" ( "position" real, "club" text, "played" real, "h_win" real, "h_draw" real, "a_win" real, "a_draw" real, "lost" real, "def" real, "pts_for" real, "pts_agst" real, "pair" real, "long" real, "points" real, "average" text );
SELECT "average" FROM "season_2006" WHERE "club"='Chesterfield Spires';
1-21991074-1
What is the total number of January (°C) temperatures when the July (°C) temperatures were 22/13?
CREATE TABLE "average_daily_maximum_and_minimum_temper" ( "location" text, "july_c" text, "july_f" text, "january_c" text, "january_f" text );
SELECT COUNT("january_c") FROM "average_daily_maximum_and_minimum_temper" WHERE "july_c"='22/13';
1-21980-1
What is the total number of January (°C) temperatures when the July (°C) temperatures were 23/15?
CREATE TABLE "average_daily_maximum_and_minimum_temper" ( "location" text, "july_c" text, "july_f" text, "january_c" text, "january_f" text );
SELECT COUNT("january_c") FROM "average_daily_maximum_and_minimum_temper" WHERE "july_c"='23/15';
1-21980-1
In what location were the January (°F) temperatures 30/17?
CREATE TABLE "average_daily_maximum_and_minimum_temper" ( "location" text, "july_c" text, "july_f" text, "january_c" text, "january_f" text );
SELECT "location" FROM "average_daily_maximum_and_minimum_temper" WHERE "january_f"='30/17';
1-21980-1
What were the July (°C) temperatures when the July (°F) temperatures were 71/55?
CREATE TABLE "average_daily_maximum_and_minimum_temper" ( "location" text, "july_c" text, "july_f" text, "january_c" text, "january_f" text );
SELECT "july_c" FROM "average_daily_maximum_and_minimum_temper" WHERE "july_f"='71/55';
1-21980-1
What were the January (°F) temperatures in the Corner Brook location?
CREATE TABLE "average_daily_maximum_and_minimum_temper" ( "location" text, "july_c" text, "july_f" text, "january_c" text, "january_f" text );
SELECT "january_f" FROM "average_daily_maximum_and_minimum_temper" WHERE "location"='Corner Brook';
1-21980-1
Name the most points agst
CREATE TABLE "season_2008" ( "position" real, "club" text, "played" real, "won" real, "drawn" real, "lost" real, "def" real, "pts_for" real, "pts_agst" real, "long" real, "points" real, "average" text );
SELECT MAX("pts_agst") FROM "season_2008";
1-21991074-3
Name the least lost
CREATE TABLE "season_2008" ( "position" real, "club" text, "played" real, "won" real, "drawn" real, "lost" real, "def" real, "pts_for" real, "pts_agst" real, "long" real, "points" real, "average" text );
SELECT MIN("lost") FROM "season_2008";
1-21991074-3
who are the writers of the episode that had 3.07 millions of North American spectators?
CREATE TABLE "table1_21979779_1" ( "no" real, "num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text );
SELECT "written_by" FROM "table1_21979779_1" WHERE "u_s_viewers_million"='3.07';
1-21979779-1
what is the biggest series episode number whose production code is 2t7211?
CREATE TABLE "table1_21979779_1" ( "no" real, "num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text );
SELECT MAX("no") FROM "table1_21979779_1" WHERE "production_code"='2T7211';
1-21979779-1
what is the smallest series episode number whose production code is 2t7211?
CREATE TABLE "table1_21979779_1" ( "no" real, "num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text );
SELECT MIN("no") FROM "table1_21979779_1" WHERE "production_code"='2T7211';
1-21979779-1
when was the premiere of the episode where the amount of North American spectators was 1.76 millions?
CREATE TABLE "table1_21979779_1" ( "no" real, "num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text );
SELECT "original_air_date" FROM "table1_21979779_1" WHERE "u_s_viewers_million"='1.76';
1-21979779-1
how many maximum series number have 2apx05 prod. code.
CREATE TABLE "table1_21994729_3" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "prod_code" text );
SELECT MAX("series_num") FROM "table1_21994729_3" WHERE "prod_code"='2APX05';
1-21994729-3
What are all the title directed by reginald hudlin
CREATE TABLE "table1_21994729_3" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "prod_code" text );
SELECT COUNT("title") FROM "table1_21994729_3" WHERE "directed_by"='Reginald Hudlin';
1-21994729-3
reginald hudlin directed how many written by.
CREATE TABLE "table1_21994729_3" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "prod_code" text );
SELECT "written_by" FROM "table1_21994729_3" WHERE "directed_by"='Reginald Hudlin';
1-21994729-3
Who wore the episode with the production code of 1apx11?
CREATE TABLE "table1_21994729_2" ( "series_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "prod_code" text );
SELECT "written_by" FROM "table1_21994729_2" WHERE "prod_code"='1APX11';
1-21994729-2
Who wrote the episode titled "heroes"?
CREATE TABLE "table1_21994729_2" ( "series_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "prod_code" text );
SELECT "written_by" FROM "table1_21994729_2" WHERE "title"='\"Heroes\"';
1-21994729-2
If the rank is 11, what is the total amount?
CREATE TABLE "college" ( "rank" real, "school" text, "basic_elements" text, "tumbling" text, "stunts" text, "tosses" text, "pyramids" text, "deductions" text, "total" text );
SELECT "total" FROM "college" WHERE "rank"=11;
1-21995420-9
If the school is Central Colleges of the Philippines CCP Bobcats, what is the stunts number?
CREATE TABLE "college" ( "rank" real, "school" text, "basic_elements" text, "tumbling" text, "stunts" text, "tosses" text, "pyramids" text, "deductions" text, "total" text );
SELECT "stunts" FROM "college" WHERE "school"='Central Colleges of the Philippines CCP Bobcats';
1-21995420-9
What is the 07 points minimum if the 08 points is 50?
CREATE TABLE "relegation" ( "pos" real, "team" text, "07_pts" real, "08_pts" real, "09_pts" real, "total_pts" real, "total_pld" real, "avg" text );
SELECT MIN("07_pts") FROM "relegation" WHERE "08_pts"=50;
1-22011138-7
If the POS is 3, what is the 08 points?
CREATE TABLE "relegation" ( "pos" real, "team" text, "07_pts" real, "08_pts" real, "09_pts" real, "total_pts" real, "total_pld" real, "avg" text );
SELECT "08_pts" FROM "relegation" WHERE "pos"=3;
1-22011138-7
If the team is Rubio ñú, what is the 08 points?
CREATE TABLE "relegation" ( "pos" real, "team" text, "07_pts" real, "08_pts" real, "09_pts" real, "total_pts" real, "total_pld" real, "avg" text );
SELECT "08_pts" FROM "relegation" WHERE "team"='Rubio Ñú';
1-22011138-7
If the average is 1.2803, what is the total points maximum?
CREATE TABLE "relegation" ( "pos" real, "team" text, "07_pts" real, "08_pts" real, "09_pts" real, "total_pts" real, "total_pld" real, "avg" text );
SELECT MAX("total_pts") FROM "relegation" WHERE "avg"='1.2803';
1-22011138-7
If the POS is 4, what is the total PLD?
CREATE TABLE "relegation" ( "pos" real, "team" text, "07_pts" real, "08_pts" real, "09_pts" real, "total_pts" real, "total_pld" real, "avg" text );
SELECT "total_pld" FROM "relegation" WHERE "pos"=4;
1-22011138-7
What is the team name when 243 is the total?
CREATE TABLE "open_qualifiers" ( "rank" real, "team_name" text, "basic_elements" text, "tumbling" text, "stunts" text, "tosses_pyramids" text, "deductions" text, "total" text );
SELECT "team_name" FROM "open_qualifiers" WHERE "total"='243';
1-22014431-3
Which team names have 44.5 for tumbling?
CREATE TABLE "open_qualifiers" ( "rank" real, "team_name" text, "basic_elements" text, "tumbling" text, "stunts" text, "tosses_pyramids" text, "deductions" text, "total" text );
SELECT "team_name" FROM "open_qualifiers" WHERE "tumbling"='44.5';
1-22014431-3
What is the total if 44 is tosses/pyramids?
CREATE TABLE "open_qualifiers" ( "rank" real, "team_name" text, "basic_elements" text, "tumbling" text, "stunts" text, "tosses_pyramids" text, "deductions" text, "total" text );
SELECT "total" FROM "open_qualifiers" WHERE "tosses_pyramids"='44';
1-22014431-3
How many deductions have 56.5 as tosses/pyramids?
CREATE TABLE "open_qualifiers" ( "rank" real, "team_name" text, "basic_elements" text, "tumbling" text, "stunts" text, "tosses_pyramids" text, "deductions" text, "total" text );
SELECT "deductions" FROM "open_qualifiers" WHERE "tosses_pyramids"='56.5';
1-22014431-3
What is the rank when 36.5 is tumbling?
CREATE TABLE "open_qualifiers" ( "rank" real, "team_name" text, "basic_elements" text, "tumbling" text, "stunts" text, "tosses_pyramids" text, "deductions" text, "total" text );
SELECT COUNT("rank") FROM "open_qualifiers" WHERE "tumbling"='36.5';
1-22014431-3
What is the rank when 64.5 is tosses/pyramids?
CREATE TABLE "open_qualifiers" ( "rank" real, "team_name" text, "basic_elements" text, "tumbling" text, "stunts" text, "tosses_pyramids" text, "deductions" text, "total" text );
SELECT MAX("rank") FROM "open_qualifiers" WHERE "tosses_pyramids"='64.5';
1-22014431-3
How many different outcomes of the French Championships were there?
CREATE TABLE "men_s_doubles_16_10_titles_6_runner_ups" ( "outcome" text, "year" real, "championship" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score_in_the_final" text );
SELECT COUNT("outcome") FROM "men_s_doubles_16_10_titles_6_runner_ups" WHERE "championship"='French Championships';
1-2201724-2
How many different final scores were there in 1963?
CREATE TABLE "men_s_doubles_16_10_titles_6_runner_ups" ( "outcome" text, "year" real, "championship" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score_in_the_final" text );
SELECT COUNT("score_in_the_final") FROM "men_s_doubles_16_10_titles_6_runner_ups" WHERE "year"=1963;
1-2201724-2
Who directed the film titled 'Steam of Life'?
CREATE TABLE "submissions" ( "year_ceremony" text, "film_title_used_in_nomination" text, "title_in_the_original_language" text, "director" text, "result" text );
SELECT "director" FROM "submissions" WHERE "film_title_used_in_nomination"='Steam of Life';
1-22020724-1
What year was the ceremony where the film 'Tummien Perhosten Koti' was submitted?
CREATE TABLE "submissions" ( "year_ceremony" text, "film_title_used_in_nomination" text, "title_in_the_original_language" text, "director" text, "result" text );
SELECT "year_ceremony" FROM "submissions" WHERE "title_in_the_original_language"='Tummien perhosten koti';
1-22020724-1
What are the results for the film titled 'Joki'?
CREATE TABLE "submissions" ( "year_ceremony" text, "film_title_used_in_nomination" text, "title_in_the_original_language" text, "director" text, "result" text );
SELECT COUNT("result") FROM "submissions" WHERE "title_in_the_original_language"='Joki';
1-22020724-1