question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
What is the number of external links with a coach named Katie Kansas?
CREATE TABLE "season_13_num_dream_bigger" ( "season" real, "episode" real, "episode_summary" text, "premier_date" text, "external_link" text, "coach" text );
SELECT COUNT("external_link") FROM "season_13_num_dream_bigger" WHERE "coach"='Katie Kansas';
1-2140071-13
What is the minimum number of seasons?
CREATE TABLE "season_13_num_dream_bigger" ( "season" real, "episode" real, "episode_summary" text, "premier_date" text, "external_link" text, "coach" text );
SELECT MIN("season") FROM "season_13_num_dream_bigger";
1-2140071-13
What is the episode summary for episode 5?
CREATE TABLE "season_13_num_dream_bigger" ( "season" real, "episode" real, "episode_summary" text, "premier_date" text, "external_link" text, "coach" text );
SELECT "episode_summary" FROM "season_13_num_dream_bigger" WHERE "episode"=5;
1-2140071-13
What is the summary for the episode with a coach named Rebecca Star?
CREATE TABLE "season_13_num_dream_bigger" ( "season" real, "episode" real, "episode_summary" text, "premier_date" text, "external_link" text, "coach" text );
SELECT "episode_summary" FROM "season_13_num_dream_bigger" WHERE "coach"='Rebecca Star';
1-2140071-13
Name the episode with maritza reveron
CREATE TABLE "table1_2140071_10" ( "season" real, "episode" real, "episode_summary" text, "premier_date" text, "external_link" text, "coach" text );
SELECT "episode" FROM "table1_2140071_10" WHERE "coach"='Maritza Reveron';
1-2140071-10
Name the season for august 16, 2010
CREATE TABLE "table1_2140071_10" ( "season" real, "episode" real, "episode_summary" text, "premier_date" text, "external_link" text, "coach" text );
SELECT "season" FROM "table1_2140071_10" WHERE "premier_date"='August 16, 2010';
1-2140071-10
Name the number of episode summary for jesse csincsak
CREATE TABLE "table1_2140071_10" ( "season" real, "episode" real, "episode_summary" text, "premier_date" text, "external_link" text, "coach" text );
SELECT COUNT("episode_summary") FROM "table1_2140071_10" WHERE "coach"='Jesse Csincsak';
1-2140071-10
Name the number of coach for full episode deshunae is made into a volleyball player.
CREATE TABLE "table1_2140071_10" ( "season" real, "episode" real, "episode_summary" text, "premier_date" text, "external_link" text, "coach" text );
SELECT COUNT("coach") FROM "table1_2140071_10" WHERE "external_link"='Full Episode' AND "episode_summary"='Deshunae is made into a volleyball player.';
1-2140071-10
Name the coach for may 20, 2010
CREATE TABLE "table1_2140071_10" ( "season" real, "episode" real, "episode_summary" text, "premier_date" text, "external_link" text, "coach" text );
SELECT "coach" FROM "table1_2140071_10" WHERE "premier_date"='May 20, 2010';
1-2140071-10
Name the team for june 20
CREATE TABLE "table1_2139390_2" ( "year" real, "date" text, "driver" text, "team" text, "manufacturer" text, "laps" text, "miles_km" text, "race_time" text, "average_speed_mph" text, "report" text );
SELECT "team" FROM "table1_2139390_2" WHERE "date"='June 20';
1-2139390-2
Name the race time for 2002
CREATE TABLE "table1_2139390_2" ( "year" real, "date" text, "driver" text, "team" text, "manufacturer" text, "laps" text, "miles_km" text, "race_time" text, "average_speed_mph" text, "report" text );
SELECT "race_time" FROM "table1_2139390_2" WHERE "year"=2002;
1-2139390-2
How many seasons have a premier date of January 6, 2005?
CREATE TABLE "season_5" ( "season" real, "episode" real, "episode_summary" text, "premier_date" text, "external_link" text, "coach" text );
SELECT COUNT("season") FROM "season_5" WHERE "premier_date"='January 6, 2005';
1-2140071-5
What is the last season?
CREATE TABLE "season_5" ( "season" real, "episode" real, "episode_summary" text, "premier_date" text, "external_link" text, "coach" text );
SELECT MAX("season") FROM "season_5";
1-2140071-5
What date did the episode, with John O'Connell as the coach, premier?
CREATE TABLE "season_5" ( "season" real, "episode" real, "episode_summary" text, "premier_date" text, "external_link" text, "coach" text );
SELECT "premier_date" FROM "season_5" WHERE "coach"='John O''Connell';
1-2140071-5
Name the result for total attendance-regular season
CREATE TABLE "canadian_football_league_attendance" ( "type_of_record" text, "attendance" real, "date_year" text, "stadium" text, "result_games" text );
SELECT "result_games" FROM "canadian_football_league_attendance" WHERE "type_of_record"='Total Attendance-Regular season';
1-21436373-11
Name the result/games for 52521
CREATE TABLE "canadian_football_league_attendance" ( "type_of_record" text, "attendance" real, "date_year" text, "stadium" text, "result_games" text );
SELECT "result_games" FROM "canadian_football_league_attendance" WHERE "attendance"=52521;
1-21436373-11
Name the result/games for 54530
CREATE TABLE "canadian_football_league_attendance" ( "type_of_record" text, "attendance" real, "date_year" text, "stadium" text, "result_games" text );
SELECT "result_games" FROM "canadian_football_league_attendance" WHERE "attendance"=54530;
1-21436373-11
Name the stadium for regular season game
CREATE TABLE "canadian_football_league_attendance" ( "type_of_record" text, "attendance" real, "date_year" text, "stadium" text, "result_games" text );
SELECT "stadium" FROM "canadian_football_league_attendance" WHERE "type_of_record"='Regular season game';
1-21436373-11
Name the result/games for 54741
CREATE TABLE "canadian_football_league_attendance" ( "type_of_record" text, "attendance" real, "date_year" text, "stadium" text, "result_games" text );
SELECT "result_games" FROM "canadian_football_league_attendance" WHERE "attendance"=54741;
1-21436373-11
state team #2 in the match of first leg score 0-1
CREATE TABLE "first_round" ( "team_num1" text, "agg_score" text, "team_num2" text, "1st_leg" text, "2nd_leg" text );
SELECT "team_num2" FROM "first_round" WHERE "1st_leg"='0-1';
1-21434618-1
give the 1st leg score against ilisiakos
CREATE TABLE "first_round" ( "team_num1" text, "agg_score" text, "team_num2" text, "1st_leg" text, "2nd_leg" text );
SELECT "1st_leg" FROM "first_round" WHERE "team_num2"='Ilisiakos';
1-21434618-1
which team #1 played again chalkida
CREATE TABLE "first_round" ( "team_num1" text, "agg_score" text, "team_num2" text, "1st_leg" text, "2nd_leg" text );
SELECT "team_num1" FROM "first_round" WHERE "team_num2"='Chalkida';
1-21434618-1
which team#2 played against poseidon neoi porroi
CREATE TABLE "first_round" ( "team_num1" text, "agg_score" text, "team_num2" text, "1st_leg" text, "2nd_leg" text );
SELECT "team_num2" FROM "first_round" WHERE "team_num1"='Poseidon Neoi Porroi';
1-21434618-1
When was the pre-season game record achieved?
CREATE TABLE "table1_21436373_10" ( "type_of_record" text, "attendance" real, "date_year" text, "stadium" text, "result_games" text );
SELECT "date_year" FROM "table1_21436373_10" WHERE "type_of_record"='Pre-season game';
1-21436373-10
What is the maximal number of people that attended any of these games?
CREATE TABLE "table1_21436373_10" ( "type_of_record" text, "attendance" real, "date_year" text, "stadium" text, "result_games" text );
SELECT MAX("attendance") FROM "table1_21436373_10";
1-21436373-10
what is the attendance in 2011 records
CREATE TABLE "canadian_football_league_attendance" ( "type_of_record" text, "attendance" real, "date_year" text, "stadium" text, "result_games" text );
SELECT "attendance" FROM "canadian_football_league_attendance" WHERE "date_year"='2011';
1-21436373-12
what type of record was made where result/games is 10 games (29,606 avg.)
CREATE TABLE "canadian_football_league_attendance" ( "type_of_record" text, "attendance" real, "date_year" text, "stadium" text, "result_games" text );
SELECT "type_of_record" FROM "canadian_football_league_attendance" WHERE "result_games"='10 games (29,606 avg.)';
1-21436373-12
where was the total attendance-regular season record made
CREATE TABLE "canadian_football_league_attendance" ( "type_of_record" text, "attendance" real, "date_year" text, "stadium" text, "result_games" text );
SELECT "stadium" FROM "canadian_football_league_attendance" WHERE "type_of_record"='Total Attendance-Regular season';
1-21436373-12
where was sun 09/12/93 record made
CREATE TABLE "canadian_football_league_attendance" ( "type_of_record" text, "attendance" real, "date_year" text, "stadium" text, "result_games" text );
SELECT "stadium" FROM "canadian_football_league_attendance" WHERE "date_year"='Sun 09/12/93';
1-21436373-12
how many records had result/games: 10 games (29,606 avg.)
CREATE TABLE "canadian_football_league_attendance" ( "type_of_record" text, "attendance" real, "date_year" text, "stadium" text, "result_games" text );
SELECT COUNT("type_of_record") FROM "canadian_football_league_attendance" WHERE "result_games"='10 games (29,606 avg.)';
1-21436373-12
what is the highest attendance for a total attendance-regular season record
CREATE TABLE "canadian_football_league_attendance" ( "type_of_record" text, "attendance" real, "date_year" text, "stadium" text, "result_games" text );
SELECT MAX("attendance") FROM "canadian_football_league_attendance" WHERE "type_of_record"='Total Attendance-Regular season';
1-21436373-12
When 2005 is the date/year how many measurements of attendance are there?
CREATE TABLE "canadian_football_league_attendance" ( "type_of_record" text, "attendance" real, "date_year" text, "stadium" text, "result_games" text );
SELECT COUNT("attendance") FROM "canadian_football_league_attendance" WHERE "date_year"='2005';
1-21436373-7
When 27585 is the attendance what are the results of the games?
CREATE TABLE "canadian_football_league_attendance" ( "type_of_record" text, "attendance" real, "date_year" text, "stadium" text, "result_games" text );
SELECT "result_games" FROM "canadian_football_league_attendance" WHERE "attendance"=27585;
1-21436373-7
When 9 games (28,002 avg.) is the results of the games what is the date/year?
CREATE TABLE "canadian_football_league_attendance" ( "type_of_record" text, "attendance" real, "date_year" text, "stadium" text, "result_games" text );
SELECT "date_year" FROM "canadian_football_league_attendance" WHERE "result_games"='9 games (28,002 avg.)';
1-21436373-7
When 255627 is the attendance what is the stadium?
CREATE TABLE "canadian_football_league_attendance" ( "type_of_record" text, "attendance" real, "date_year" text, "stadium" text, "result_games" text );
SELECT "stadium" FROM "canadian_football_league_attendance" WHERE "attendance"=255627;
1-21436373-7
What record was set on Tue 11/02/75?
CREATE TABLE "canadian_football_league_attendance" ( "type_of_record" text, "attendance" real, "date_year" text, "stadium" text, "result_games" text );
SELECT "type_of_record" FROM "canadian_football_league_attendance" WHERE "date_year"='Tue 11/02/75';
1-21436373-8
What record was set when the result/game was equal to 9 games (28,595 avg.)
CREATE TABLE "canadian_football_league_attendance" ( "type_of_record" text, "attendance" real, "date_year" text, "stadium" text, "result_games" text );
SELECT "type_of_record" FROM "canadian_football_league_attendance" WHERE "result_games"='9 games (28,595 avg.)';
1-21436373-8
What record was set when the result/game was montreal 20 @ ottawa 10?
CREATE TABLE "canadian_football_league_attendance" ( "type_of_record" text, "attendance" real, "date_year" text, "stadium" text, "result_games" text );
SELECT "type_of_record" FROM "canadian_football_league_attendance" WHERE "result_games"='Montreal 20 @ Ottawa 10';
1-21436373-8
Which stadium had the result/game montreal 20 @ ottawa 10?
CREATE TABLE "canadian_football_league_attendance" ( "type_of_record" text, "attendance" real, "date_year" text, "stadium" text, "result_games" text );
SELECT "stadium" FROM "canadian_football_league_attendance" WHERE "result_games"='Montreal 20 @ Ottawa 10';
1-21436373-8
For what year is the type of record 'total attendance-regular season?
CREATE TABLE "table1_21436373_5" ( "type_of_record" text, "attendance" real, "date_year" text, "stadium" text, "result_games" text );
SELECT "date_year" FROM "table1_21436373_5" WHERE "type_of_record"='Total Attendance-Regular season';
1-21436373-5
What type of record is the result of the game Montreal 31 @ Calgary 32?
CREATE TABLE "table1_21436373_5" ( "type_of_record" text, "attendance" real, "date_year" text, "stadium" text, "result_games" text );
SELECT "type_of_record" FROM "table1_21436373_5" WHERE "result_games"='Montreal 31 @ Calgary 32';
1-21436373-5
On what date/s has attendance been 45010?
CREATE TABLE "table1_21436373_5" ( "type_of_record" text, "attendance" real, "date_year" text, "stadium" text, "result_games" text );
SELECT "date_year" FROM "table1_21436373_5" WHERE "attendance"=45010;
1-21436373-5
What is the number of attendance with the pre-season game as the type of record?
CREATE TABLE "canadian_football_league_attendance" ( "type_of_record" text, "attendance" real, "date_year" text, "stadium" text, "result_games" text );
SELECT COUNT("attendance") FROM "canadian_football_league_attendance" WHERE "type_of_record"='Pre-season game';
1-21436373-6
Which type of record has result/games of 9 games (57,144 avg.)
CREATE TABLE "canadian_football_league_attendance" ( "type_of_record" text, "attendance" real, "date_year" text, "stadium" text, "result_games" text );
SELECT "type_of_record" FROM "canadian_football_league_attendance" WHERE "result_games"='9 games (57,144 avg.)';
1-21436373-6
What is the result/games of Sun 11/28/10 as the date/year?
CREATE TABLE "canadian_football_league_attendance" ( "type_of_record" text, "attendance" real, "date_year" text, "stadium" text, "result_games" text );
SELECT "result_games" FROM "canadian_football_league_attendance" WHERE "date_year"='Sun 11/28/10';
1-21436373-6
Which stadium has the date/year of Fri 06/25/82?
CREATE TABLE "canadian_football_league_attendance" ( "type_of_record" text, "attendance" real, "date_year" text, "stadium" text, "result_games" text );
SELECT "stadium" FROM "canadian_football_league_attendance" WHERE "date_year"='Fri 06/25/82';
1-21436373-6
Which type of record has result/games of b.c. 16 @ edmonton 22?
CREATE TABLE "canadian_football_league_attendance" ( "type_of_record" text, "attendance" real, "date_year" text, "stadium" text, "result_games" text );
SELECT "type_of_record" FROM "canadian_football_league_attendance" WHERE "result_games"='B.C. 16 @ Edmonton 22';
1-21436373-6
What was the populati in 2000 for Panlicsian?
CREATE TABLE "barangays" ( "barangay" text, "population_2000" real, "population_2007" real, "population_2010" real, "barangay_fiesta" text );
SELECT MIN("population_2000") FROM "barangays" WHERE "barangay"='Panlicsian';
1-2144436-1
What was the population in 2010 for Minane
CREATE TABLE "barangays" ( "barangay" text, "population_2000" real, "population_2007" real, "population_2010" real, "barangay_fiesta" text );
SELECT MAX("population_2010") FROM "barangays" WHERE "barangay"='Minane';
1-2144436-1
What is the 2007 population for Corazon de Jesus?
CREATE TABLE "barangays" ( "barangay" text, "population_2000" real, "population_2007" real, "population_2010" real, "barangay_fiesta" text );
SELECT "population_2007" FROM "barangays" WHERE "barangay"='Corazon De Jesus';
1-2144436-1
What is the 2010 population when the 2000 population is 5720?
CREATE TABLE "barangays" ( "barangay" text, "population_2000" real, "population_2007" real, "population_2010" real, "barangay_fiesta" text );
SELECT MAX("population_2010") FROM "barangays" WHERE "population_2000"=5720;
1-2144436-1
Name the romaji by your side ~hikari's theme~ (popup.version)
CREATE TABLE "pocket_monsters_diamond_pearl_series" ( "num" real, "japanese_title" text, "r_maji" text, "japanese_translation" text, "vocalist" text, "episodes_used" text );
SELECT "r_maji" FROM "pocket_monsters_diamond_pearl_series" WHERE "japanese_translation"='By Your Side ~Hikari''s Theme~ (PopUp.Version)';
1-2144389-8
Name the vocalist for kaze no messēji (pokapoka-version)
CREATE TABLE "pocket_monsters_diamond_pearl_series" ( "num" real, "japanese_title" text, "r_maji" text, "japanese_translation" text, "vocalist" text, "episodes_used" text );
SELECT "vocalist" FROM "pocket_monsters_diamond_pearl_series" WHERE "r_maji"='Kaze no Messēji (PokaPoka-Version)';
1-2144389-8
Name the least number for 君のそばで~ヒカリのテーマ~(popup.version)
CREATE TABLE "pocket_monsters_diamond_pearl_series" ( "num" real, "japanese_title" text, "r_maji" text, "japanese_translation" text, "vocalist" text, "episodes_used" text );
SELECT MIN("num") FROM "pocket_monsters_diamond_pearl_series" WHERE "japanese_title"='君のそばで~ヒカリのテーマ~(PopUp.Version)';
1-2144389-8
Name the number of vocalists for which one ~ is it?
CREATE TABLE "pocket_monsters_diamond_pearl_series" ( "num" real, "japanese_title" text, "r_maji" text, "japanese_translation" text, "vocalist" text, "episodes_used" text );
SELECT COUNT("vocalist") FROM "pocket_monsters_diamond_pearl_series" WHERE "japanese_translation"='Which One ~ Is It?';
1-2144389-8
Name the to par for 20 feb 2005
CREATE TABLE "alpg_tour_6" ( "no" real, "date" text, "tournament" text, "winning_score" text, "to_par" text, "margin_of_victory" text, "runner_s_up" text );
SELECT "to_par" FROM "alpg_tour_6" WHERE "date"='20 Feb 2005';
1-21469545-2
Name the number for margin of victory being 3 strokes
CREATE TABLE "alpg_tour_6" ( "no" real, "date" text, "tournament" text, "winning_score" text, "to_par" text, "margin_of_victory" text, "runner_s_up" text );
SELECT COUNT("no") FROM "alpg_tour_6" WHERE "margin_of_victory"='3 strokes';
1-21469545-2
Name the winning score for 8 feb 2009
CREATE TABLE "alpg_tour_6" ( "no" real, "date" text, "tournament" text, "winning_score" text, "to_par" text, "margin_of_victory" text, "runner_s_up" text );
SELECT COUNT("winning_score") FROM "alpg_tour_6" WHERE "date"='8 Feb 2009';
1-21469545-2
Who published the title in the pet-raising simulator genre?
CREATE TABLE "table1_21458142_1" ( "title" text, "total_copies_sold" text, "sales_breakdown" text, "genre" text, "release_date" text, "developer" text, "publisher" text );
SELECT "publisher" FROM "table1_21458142_1" WHERE "genre"='Pet-raising simulator';
1-21458142-1
What's the sales breakdown for Nintendo's Mario Kart DS?
CREATE TABLE "table1_21458142_1" ( "title" text, "total_copies_sold" text, "sales_breakdown" text, "genre" text, "release_date" text, "developer" text, "publisher" text );
SELECT "sales_breakdown" FROM "table1_21458142_1" WHERE "publisher"='Nintendo' AND "title"='Mario Kart DS';
1-21458142-1
How many copies were sold of the game released on october 23, 2008?
CREATE TABLE "table1_21458142_1" ( "title" text, "total_copies_sold" text, "sales_breakdown" text, "genre" text, "release_date" text, "developer" text, "publisher" text );
SELECT "total_copies_sold" FROM "table1_21458142_1" WHERE "release_date"='October 23, 2008';
1-21458142-1
What's the sales breakdown of the Nintendo game released on May 15, 2006?
CREATE TABLE "table1_21458142_1" ( "title" text, "total_copies_sold" text, "sales_breakdown" text, "genre" text, "release_date" text, "developer" text, "publisher" text );
SELECT "sales_breakdown" FROM "table1_21458142_1" WHERE "publisher"='Nintendo' AND "release_date"='May 15, 2006';
1-21458142-1
Name the most races
CREATE TABLE "round_robin" ( "team_name" text, "races" real, "won" real, "rr1_pts" real, "rr2_pts" real, "total_pts" text, "ranking" real );
SELECT MAX("races") FROM "round_robin";
1-21457754-2
Name the most races
CREATE TABLE "round_robin" ( "team_name" text, "races" real, "won" real, "rr1_pts" real, "rr2_pts" real, "total_pts" text, "ranking" real );
SELECT MAX("races") FROM "round_robin";
1-21457754-2
Name the most rr 1 pts
CREATE TABLE "round_robin" ( "team_name" text, "races" real, "won" real, "rr1_pts" real, "rr2_pts" real, "total_pts" text, "ranking" real );
SELECT MAX("rr1_pts") FROM "round_robin";
1-21457754-2
Name the number of total pts for gbr challenge
CREATE TABLE "round_robin" ( "team_name" text, "races" real, "won" real, "rr1_pts" real, "rr2_pts" real, "total_pts" text, "ranking" real );
SELECT COUNT("total_pts") FROM "round_robin" WHERE "team_name"='GBR Challenge';
1-21457754-2
What is the total number of second place finishes when the city & nation was Chicago, USA?
CREATE TABLE "rank_by_number_of_wins" ( "city_nation" text, "first_place" real, "second_place" real, "third_place" real, "total_top_3_placements" real, "first_place_winning_year_s_if_applicable" text );
SELECT COUNT("second_place") FROM "rank_by_number_of_wins" WHERE "city_nation"='Chicago, USA';
1-2146364-2
What is the total number of third place finishes when the city & nation was Vancouver, Canada?
CREATE TABLE "rank_by_number_of_wins" ( "city_nation" text, "first_place" real, "second_place" real, "third_place" real, "total_top_3_placements" real, "first_place_winning_year_s_if_applicable" text );
SELECT MIN("third_place") FROM "rank_by_number_of_wins" WHERE "city_nation"='Vancouver, Canada';
1-2146364-2
What is the largest third place finish when first place winning year(s) (if applicable) was n/a?
CREATE TABLE "rank_by_number_of_wins" ( "city_nation" text, "first_place" real, "second_place" real, "third_place" real, "total_top_3_placements" real, "first_place_winning_year_s_if_applicable" text );
SELECT MAX("third_place") FROM "rank_by_number_of_wins" WHERE "first_place_winning_year_s_if_applicable"='N/A';
1-2146364-2
What is the smallest third place finish?
CREATE TABLE "rank_by_number_of_wins" ( "city_nation" text, "first_place" real, "second_place" real, "third_place" real, "total_top_3_placements" real, "first_place_winning_year_s_if_applicable" text );
SELECT MIN("third_place") FROM "rank_by_number_of_wins";
1-2146364-2
What change caused a change of staff in March 9, 1865?
CREATE TABLE "table1_2147588_3" ( "state_class" text, "vacator" text, "reason_for_change" text, "successor" text, "date_of_successors_formal_installation" text );
SELECT "reason_for_change" FROM "table1_2147588_3" WHERE "date_of_successors_formal_installation"='March 9, 1865';
1-2147588-3
Who was the successor for the new seat?
CREATE TABLE "table1_2147588_3" ( "state_class" text, "vacator" text, "reason_for_change" text, "successor" text, "date_of_successors_formal_installation" text );
SELECT "successor" FROM "table1_2147588_3" WHERE "vacator"='New seat';
1-2147588-3
What was the reason for change in staff in formal installations on March 15, 1865?
CREATE TABLE "table1_2147588_3" ( "state_class" text, "vacator" text, "reason_for_change" text, "successor" text, "date_of_successors_formal_installation" text );
SELECT "reason_for_change" FROM "table1_2147588_3" WHERE "date_of_successors_formal_installation"='March 15, 1865';
1-2147588-3
Who was the successor for the new seat?
CREATE TABLE "table1_2147588_3" ( "state_class" text, "vacator" text, "reason_for_change" text, "successor" text, "date_of_successors_formal_installation" text );
SELECT "successor" FROM "table1_2147588_3" WHERE "vacator"='New seat';
1-2147588-3
When nathaniel g. taylor (u) is the successor what is the vacator?
CREATE TABLE "table1_2147588_4" ( "district" text, "vacator" text, "reason_for_change" text, "successor" text, "date_successor_seated" text );
SELECT "vacator" FROM "table1_2147588_4" WHERE "successor"='Nathaniel G. Taylor (U)';
1-2147588-4
When william b. campbell (u) is the successor what is the district?
CREATE TABLE "table1_2147588_4" ( "district" text, "vacator" text, "reason_for_change" text, "successor" text, "date_successor_seated" text );
SELECT "district" FROM "table1_2147588_4" WHERE "successor"='William B. Campbell (U)';
1-2147588-4
When james brooks (d) is the vacator what is the date the successor was seated?
CREATE TABLE "table1_2147588_4" ( "district" text, "vacator" text, "reason_for_change" text, "successor" text, "date_successor_seated" text );
SELECT "date_successor_seated" FROM "table1_2147588_4" WHERE "vacator"='James Brooks (D)';
1-2147588-4
When john w. leftwich (uu) is the successor what is the date the successor was seated?
CREATE TABLE "table1_2147588_4" ( "district" text, "vacator" text, "reason_for_change" text, "successor" text, "date_successor_seated" text );
SELECT "date_successor_seated" FROM "table1_2147588_4" WHERE "successor"='John W. Leftwich (UU)';
1-2147588-4
When new york 8th is teh district who is the successor?
CREATE TABLE "table1_2147588_4" ( "district" text, "vacator" text, "reason_for_change" text, "successor" text, "date_successor_seated" text );
SELECT "successor" FROM "table1_2147588_4" WHERE "district"='New York 8th';
1-2147588-4
When 20 is the rr4 points what is the lowest rr3 points?
CREATE TABLE "round_robin" ( "team_name" text, "races" real, "won" real, "rr1_pts" real, "rr2_pts" real, "rr3_pts" real, "rr4_pts" text, "total_pts" real, "ranking" real );
SELECT MIN("rr3_pts") FROM "round_robin" WHERE "rr4_pts"='20';
1-21489362-2
When 70 is the total points what is the rr4 points?
CREATE TABLE "round_robin" ( "team_name" text, "races" real, "won" real, "rr1_pts" real, "rr2_pts" real, "rr3_pts" real, "rr4_pts" text, "total_pts" real, "ranking" real );
SELECT "rr4_pts" FROM "round_robin" WHERE "total_pts"=70;
1-21489362-2
When 3 is the rr1 points what is won score?
CREATE TABLE "round_robin" ( "team_name" text, "races" real, "won" real, "rr1_pts" real, "rr2_pts" real, "rr3_pts" real, "rr4_pts" text, "total_pts" real, "ranking" real );
SELECT "won" FROM "round_robin" WHERE "rr1_pts"=3;
1-21489362-2
When spanish challenge is the team name what are the rr1 points?
CREATE TABLE "round_robin" ( "team_name" text, "races" real, "won" real, "rr1_pts" real, "rr2_pts" real, "rr3_pts" real, "rr4_pts" text, "total_pts" real, "ranking" real );
SELECT "rr1_pts" FROM "round_robin" WHERE "team_name"='Spanish Challenge';
1-21489362-2
Name the innings for 5088 runs scored
CREATE TABLE "references" ( "name" text, "career" text, "matches" real, "innings" real, "not_out" real, "runs_scored" real, "high_score" text, "50s" real, "100s" real, "average" text );
SELECT COUNT("innings") FROM "references" WHERE "runs_scored"=5088;
1-21486890-1
Name the matches for mark taylor category:articles with hcards
CREATE TABLE "references" ( "name" text, "career" text, "matches" real, "innings" real, "not_out" real, "runs_scored" real, "high_score" text, "50s" real, "100s" real, "average" text );
SELECT MAX("matches") FROM "references" WHERE "name"='Mark Taylor Category:Articles with hCards';
1-21486890-1
Name the most runs scored
CREATE TABLE "references" ( "name" text, "career" text, "matches" real, "innings" real, "not_out" real, "runs_scored" real, "high_score" text, "50s" real, "100s" real, "average" text );
SELECT MAX("runs_scored") FROM "references";
1-21486890-1
Name the least matches for not out being 44
CREATE TABLE "references" ( "name" text, "career" text, "matches" real, "innings" real, "not_out" real, "runs_scored" real, "high_score" text, "50s" real, "100s" real, "average" text );
SELECT MIN("matches") FROM "references" WHERE "not_out"=44;
1-21486890-1
What nation was Pageos 1 from?
CREATE TABLE "table1_2150068_1" ( "satellite" text, "launch_date_utc" text, "decay" text, "mass_kg" text, "diameter_m" text, "nssdc_id" text, "nation" text, "usage" text );
SELECT "nation" FROM "table1_2150068_1" WHERE "satellite"='PAGEOS 1';
1-2150068-1
What was the launch date for the sattelite with ado that was 4 kg and 3 meters in diameter?
CREATE TABLE "table1_2150068_1" ( "satellite" text, "launch_date_utc" text, "decay" text, "mass_kg" text, "diameter_m" text, "nssdc_id" text, "nation" text, "usage" text );
SELECT "launch_date_utc" FROM "table1_2150068_1" WHERE "usage"='ado' AND "mass_kg"='4' AND "diameter_m"='3';
1-2150068-1
What was the decay for the sattelite that was 180 kg?
CREATE TABLE "table1_2150068_1" ( "satellite" text, "launch_date_utc" text, "decay" text, "mass_kg" text, "diameter_m" text, "nssdc_id" text, "nation" text, "usage" text );
SELECT "decay" FROM "table1_2150068_1" WHERE "mass_kg"='180';
1-2150068-1
What is the nssdc id for Echo 1?
CREATE TABLE "table1_2150068_1" ( "satellite" text, "launch_date_utc" text, "decay" text, "mass_kg" text, "diameter_m" text, "nssdc_id" text, "nation" text, "usage" text );
SELECT "nssdc_id" FROM "table1_2150068_1" WHERE "satellite"='Echo 1';
1-2150068-1
What is the launch date for the sattelite with a nssdc id of 1960-009a?
CREATE TABLE "table1_2150068_1" ( "satellite" text, "launch_date_utc" text, "decay" text, "mass_kg" text, "diameter_m" text, "nssdc_id" text, "nation" text, "usage" text );
SELECT "launch_date_utc" FROM "table1_2150068_1" WHERE "nssdc_id"='1960-009A';
1-2150068-1
What is the decay for the sattelite with an id that is 1990-081c?
CREATE TABLE "table1_2150068_1" ( "satellite" text, "launch_date_utc" text, "decay" text, "mass_kg" text, "diameter_m" text, "nssdc_id" text, "nation" text, "usage" text );
SELECT "decay" FROM "table1_2150068_1" WHERE "nssdc_id"='1990-081C';
1-2150068-1
How many song titles belong to the artist Ratt?
CREATE TABLE "soundtrack" ( "year" real, "song_title" text, "artist" text, "genre" text, "original_game" text, "band_tier_venue" text, "exportable_to_gh5_bh" text );
SELECT COUNT("song_title") FROM "soundtrack" WHERE "artist"='Ratt';
1-21500850-1
What is every original game for the artist Lynyrd Skynyrd?
CREATE TABLE "soundtrack" ( "year" real, "song_title" text, "artist" text, "genre" text, "original_game" text, "band_tier_venue" text, "exportable_to_gh5_bh" text );
SELECT "original_game" FROM "soundtrack" WHERE "artist"='Lynyrd Skynyrd';
1-21500850-1
What is every song title for the rock genre and Guitar Hero as original game and the artist is Queens of the Stone Age?
CREATE TABLE "soundtrack" ( "year" real, "song_title" text, "artist" text, "genre" text, "original_game" text, "band_tier_venue" text, "exportable_to_gh5_bh" text );
SELECT "song_title" FROM "soundtrack" WHERE "genre"='Rock' AND "original_game"='Guitar Hero' AND "artist"='Queens of the Stone Age';
1-21500850-1
What is every song title for 2007?
CREATE TABLE "soundtrack" ( "year" real, "song_title" text, "artist" text, "genre" text, "original_game" text, "band_tier_venue" text, "exportable_to_gh5_bh" text );
SELECT "song_title" FROM "soundtrack" WHERE "year"=2007;
1-21500850-1
What was Lambert's song choice in the top 13?
CREATE TABLE "table1_21501511_1" ( "week_num" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text );
SELECT "song_choice" FROM "table1_21501511_1" WHERE "week_num"='Top 13';
1-21501511-1
What order did Lambert perform in the top 11?
CREATE TABLE "table1_21501511_1" ( "week_num" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text );
SELECT "order_num" FROM "table1_21501511_1" WHERE "week_num"='Top 11';
1-21501511-1
What week was themed disco?
CREATE TABLE "table1_21501511_1" ( "week_num" text, "theme" text, "song_choice" text, "original_artist" text, "order_num" text, "result" text );
SELECT "week_num" FROM "table1_21501511_1" WHERE "theme"='Disco';
1-21501511-1