question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
How many opponents were there when the opponent was Arizona State?
CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "cowboys_points" real, "opponents" real, "record" text );
SELECT MIN("opponents") FROM "schedule" WHERE "opponent"='Arizona State';
1-22815265-1
How many records show Utah as the opponent?
CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "cowboys_points" real, "opponents" real, "record" text );
SELECT COUNT("record") FROM "schedule" WHERE "opponent"='Utah';
1-22815265-1
How many opponents are there when cowboy points were 10?
CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "cowboys_points" real, "opponents" real, "record" text );
SELECT "opponents" FROM "schedule" WHERE "cowboys_points"=10;
1-22815265-1
How many records were there when opponents were 9?
CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "cowboys_points" real, "opponents" real, "record" text );
SELECT COUNT("record") FROM "schedule" WHERE "opponents"=9;
1-22815265-1
Name the number of record for 12 cowboys points
CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "cowboys_points" real, "opponents" real, "record" text );
SELECT COUNT("record") FROM "schedule" WHERE "cowboys_points"=12;
1-22815259-1
Name the most game for record 4-0
CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "cowboys_points" real, "opponents" real, "record" text );
SELECT MAX("game") FROM "schedule" WHERE "record"='4-0';
1-22815259-1
Name the result for cowboys points being 23
CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "cowboys_points" real, "opponents" real, "record" text );
SELECT COUNT("result") FROM "schedule" WHERE "cowboys_points"=23;
1-22815259-1
Name the record for arizona
CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "cowboys_points" real, "opponents" real, "record" text );
SELECT "record" FROM "schedule" WHERE "opponent"='Arizona';
1-22815259-1
Name the unemployment rate for 34024
CREATE TABLE "list_of_appalachian_regional_commission_" ( "county" text, "population" real, "unemployment_rate" text, "market_income_per_capita" text, "poverty_rate" text, "status" text );
SELECT COUNT("unemployment_rate") FROM "list_of_appalachian_regional_commission_" WHERE "population"=34024;
1-22815568-12
Name the total number of population for craig
CREATE TABLE "list_of_appalachian_regional_commission_" ( "county" text, "population" real, "unemployment_rate" text, "market_income_per_capita" text, "poverty_rate" text, "status" text );
SELECT COUNT("population") FROM "list_of_appalachian_regional_commission_" WHERE "county"='Craig';
1-22815568-12
Name the unemployment rate for botetourt
CREATE TABLE "list_of_appalachian_regional_commission_" ( "county" text, "population" real, "unemployment_rate" text, "market_income_per_capita" text, "poverty_rate" text, "status" text );
SELECT "unemployment_rate" FROM "list_of_appalachian_regional_commission_" WHERE "county"='Botetourt';
1-22815568-12
Name the status for unemployment rate being 6.7%
CREATE TABLE "list_of_appalachian_regional_commission_" ( "county" text, "population" real, "unemployment_rate" text, "market_income_per_capita" text, "poverty_rate" text, "status" text );
SELECT "status" FROM "list_of_appalachian_regional_commission_" WHERE "unemployment_rate"='6.7%';
1-22815568-12
What is the status of the county that has a 14.7% poverty rate?
CREATE TABLE "list_of_appalachian_regional_commission_" ( "county" text, "population" real, "unemployment_rate" text, "market_income_per_capita" text, "poverty_rate" text, "status" text );
SELECT "status" FROM "list_of_appalachian_regional_commission_" WHERE "poverty_rate"='14.7%';
1-22815568-1
What is the poverty rate in the county that has a market income per capita of $16,420?
CREATE TABLE "list_of_appalachian_regional_commission_" ( "county" text, "population" real, "unemployment_rate" text, "market_income_per_capita" text, "poverty_rate" text, "status" text );
SELECT "poverty_rate" FROM "list_of_appalachian_regional_commission_" WHERE "market_income_per_capita"='$16,420';
1-22815568-1
What is the lowest population in a county with market income per capita of $24,383?
CREATE TABLE "list_of_appalachian_regional_commission_" ( "county" text, "population" real, "unemployment_rate" text, "market_income_per_capita" text, "poverty_rate" text, "status" text );
SELECT MIN("population") FROM "list_of_appalachian_regional_commission_" WHERE "market_income_per_capita"='$24,383';
1-22815568-1
What is the povery rate of the county with market income per capita of $20,518?
CREATE TABLE "list_of_appalachian_regional_commission_" ( "county" text, "population" real, "unemployment_rate" text, "market_income_per_capita" text, "poverty_rate" text, "status" text );
SELECT "poverty_rate" FROM "list_of_appalachian_regional_commission_" WHERE "market_income_per_capita"='$20,518';
1-22815568-1
what is the market income per capita where the county is hancock?
CREATE TABLE "list_of_appalachian_regional_commission_" ( "county" text, "population" real, "unemployment_rate" text, "market_income_per_capita" text, "poverty_rate" text, "status" text );
SELECT "market_income_per_capita" FROM "list_of_appalachian_regional_commission_" WHERE "county"='Hancock';
1-22815568-13
what is the county where the market income per capita is $25,006?
CREATE TABLE "list_of_appalachian_regional_commission_" ( "county" text, "population" real, "unemployment_rate" text, "market_income_per_capita" text, "poverty_rate" text, "status" text );
SELECT "county" FROM "list_of_appalachian_regional_commission_" WHERE "market_income_per_capita"='$25,006';
1-22815568-13
what is the unemployment rate where the market income per capita is $16,406?
CREATE TABLE "list_of_appalachian_regional_commission_" ( "county" text, "population" real, "unemployment_rate" text, "market_income_per_capita" text, "poverty_rate" text, "status" text );
SELECT "unemployment_rate" FROM "list_of_appalachian_regional_commission_" WHERE "market_income_per_capita"='$16,406';
1-22815568-13
what is the unemployment rate for wayne county?
CREATE TABLE "list_of_appalachian_regional_commission_" ( "county" text, "population" real, "unemployment_rate" text, "market_income_per_capita" text, "poverty_rate" text, "status" text );
SELECT "unemployment_rate" FROM "list_of_appalachian_regional_commission_" WHERE "county"='Wayne';
1-22815568-13
What is the original air date of the episode with a production code of 105?
CREATE TABLE "table1_22815870_1" ( "series_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "prod_code" real );
SELECT "original_air_date" FROM "table1_22815870_1" WHERE "prod_code"=105;
1-22815870-1
What is the original air date of the episode titled "Pilot"?
CREATE TABLE "table1_22815870_1" ( "series_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "prod_code" real );
SELECT "original_air_date" FROM "table1_22815870_1" WHERE "title"='\"Pilot\"';
1-22815870-1
Who wrote the episode titled "Christmas"?
CREATE TABLE "table1_22815870_1" ( "series_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "prod_code" real );
SELECT "written_by" FROM "table1_22815870_1" WHERE "title"='\"Christmas\"';
1-22815870-1
What is the production code of the episode titled "Lenny"?
CREATE TABLE "table1_22815870_1" ( "series_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "prod_code" real );
SELECT MAX("prod_code") FROM "table1_22815870_1" WHERE "title"='\"Lenny\"';
1-22815870-1
What is the original air date of the episode titled "Mom at the Bar/Train Buddy" that was written b Adrienne Carter?
CREATE TABLE "table1_22815870_1" ( "series_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "prod_code" real );
SELECT "original_air_date" FROM "table1_22815870_1" WHERE "written_by"='Adrienne Carter' AND "title"='\"Mom at the Bar/Train Buddy\"';
1-22815870-1
What is the original air date of the episode titled "Commercial/Coach DMV"?
CREATE TABLE "table1_22815870_1" ( "series_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "prod_code" real );
SELECT "original_air_date" FROM "table1_22815870_1" WHERE "title"='\"Commercial/Coach DMV\"';
1-22815870-1
How many counties have a population of 2266?
CREATE TABLE "list_of_appalachian_regional_commission_" ( "county" text, "population" real, "unemployment_rate" text, "market_income_per_capita" text, "poverty_rate" text, "status" text );
SELECT COUNT("county") FROM "list_of_appalachian_regional_commission_" WHERE "population"=2266;
1-22815568-3
How many statuses are listed for Wayne county?
CREATE TABLE "list_of_appalachian_regional_commission_" ( "county" text, "population" real, "unemployment_rate" text, "market_income_per_capita" text, "poverty_rate" text, "status" text );
SELECT COUNT("status") FROM "list_of_appalachian_regional_commission_" WHERE "county"='Wayne';
1-22815568-3
What is the market income per capita in a county where the status is distressed and the unemployment rate is at 10.5%?
CREATE TABLE "list_of_appalachian_regional_commission_" ( "county" text, "population" real, "unemployment_rate" text, "market_income_per_capita" text, "poverty_rate" text, "status" text );
SELECT "market_income_per_capita" FROM "list_of_appalachian_regional_commission_" WHERE "status"='Distressed' AND "unemployment_rate"='10.5%';
1-22815568-3
What is the status for all the counties that have a poverty rate of 36.6%?
CREATE TABLE "list_of_appalachian_regional_commission_" ( "county" text, "population" real, "unemployment_rate" text, "market_income_per_capita" text, "poverty_rate" text, "status" text );
SELECT "status" FROM "list_of_appalachian_regional_commission_" WHERE "poverty_rate"='36.6%';
1-22815568-3
What is the status if the poverty rate is 11.4%?
CREATE TABLE "list_of_appalachian_regional_commission_" ( "county" text, "population" real, "unemployment_rate" text, "market_income_per_capita" text, "poverty_rate" text, "status" text );
SELECT "status" FROM "list_of_appalachian_regional_commission_" WHERE "poverty_rate"='11.4%';
1-22815568-6
If the poverty rate is 12.9%, what is the county?
CREATE TABLE "list_of_appalachian_regional_commission_" ( "county" text, "population" real, "unemployment_rate" text, "market_income_per_capita" text, "poverty_rate" text, "status" text );
SELECT "county" FROM "list_of_appalachian_regional_commission_" WHERE "poverty_rate"='12.9%';
1-22815568-6
What is the population maximum?
CREATE TABLE "list_of_appalachian_regional_commission_" ( "county" text, "population" real, "unemployment_rate" text, "market_income_per_capita" text, "poverty_rate" text, "status" text );
SELECT MAX("population") FROM "list_of_appalachian_regional_commission_";
1-22815568-6
What county is the unemployment rate 4.8%?
CREATE TABLE "list_of_appalachian_regional_commission_" ( "county" text, "population" real, "unemployment_rate" text, "market_income_per_capita" text, "poverty_rate" text, "status" text );
SELECT "county" FROM "list_of_appalachian_regional_commission_" WHERE "unemployment_rate"='4.8%';
1-22815568-6
If the poverty rate is 12.9%, what is the market income per capita?
CREATE TABLE "list_of_appalachian_regional_commission_" ( "county" text, "population" real, "unemployment_rate" text, "market_income_per_capita" text, "poverty_rate" text, "status" text );
SELECT "market_income_per_capita" FROM "list_of_appalachian_regional_commission_" WHERE "poverty_rate"='12.9%';
1-22815568-6
Name the viewers for 2.1 rating
CREATE TABLE "ratings_chart" ( "order" real, "episode" text, "airdate" text, "rating" text, "share" real, "rating_share_18_49" text, "viewers_millions" text, "rank_night" real );
SELECT "viewers_millions" FROM "ratings_chart" WHERE "rating"='2.1';
1-22822468-2
Name the most share for 2.76 million viewers
CREATE TABLE "ratings_chart" ( "order" real, "episode" text, "airdate" text, "rating" text, "share" real, "rating_share_18_49" text, "viewers_millions" text, "rank_night" real );
SELECT MAX("share") FROM "ratings_chart" WHERE "viewers_millions"='2.76';
1-22822468-2
Name the viewers for 1.2/4 rating
CREATE TABLE "ratings_chart" ( "order" real, "episode" text, "airdate" text, "rating" text, "share" real, "rating_share_18_49" text, "viewers_millions" text, "rank_night" real );
SELECT "viewers_millions" FROM "ratings_chart" WHERE "rating_share_18_49"='1.2/4';
1-22822468-2
Name the rating for 3.79 viewers
CREATE TABLE "ratings_chart" ( "order" real, "episode" text, "airdate" text, "rating" text, "share" real, "rating_share_18_49" text, "viewers_millions" text, "rank_night" real );
SELECT "rating_share_18_49" FROM "ratings_chart" WHERE "viewers_millions"='3.79';
1-22822468-2
Name the least europa league
CREATE TABLE "top_scorers" ( "r" real, "player" text, "scottish_premier_league" real, "scottish_cup" real, "scottish_league_cup" real, "champions_league_qualifying" real, "europa_league" real, "total" real );
SELECT MIN("europa_league") FROM "top_scorers";
1-22822098-3
Name the max total for aiden mcgeady
CREATE TABLE "top_scorers" ( "r" real, "player" text, "scottish_premier_league" real, "scottish_cup" real, "scottish_league_cup" real, "champions_league_qualifying" real, "europa_league" real, "total" real );
SELECT MAX("total") FROM "top_scorers" WHERE "player"='Aiden McGeady';
1-22822098-3
Name the scottish premier league georgios samaras
CREATE TABLE "top_scorers" ( "r" real, "player" text, "scottish_premier_league" real, "scottish_cup" real, "scottish_league_cup" real, "champions_league_qualifying" real, "europa_league" real, "total" real );
SELECT "scottish_premier_league" FROM "top_scorers" WHERE "player"='Georgios Samaras';
1-22822098-3
Name the total number of r for josh thompson
CREATE TABLE "top_scorers" ( "r" real, "player" text, "scottish_premier_league" real, "scottish_cup" real, "scottish_league_cup" real, "champions_league_qualifying" real, "europa_league" real, "total" real );
SELECT COUNT("r") FROM "top_scorers" WHERE "player"='Josh Thompson';
1-22822098-3
What was the total number of rebounds on november 27?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT COUNT("high_rebounds") FROM "game_log" WHERE "date"='November 27';
1-22822559-4
On what date did the Pistons play @ toronto?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "date" FROM "game_log" WHERE "team"='@ Toronto';
1-22822559-4
List the location and number of fans in attendance for game 7/
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT COUNT("location_attendance") FROM "game_log" WHERE "game"=7;
1-22822559-4
How many interceptions for the team who played 31 games?
CREATE TABLE "player_stats" ( "player" text, "games_played" real, "field_goals" real, "free_throws" real, "rebounds" real, "assists" real, "blocks" real, "steals" real, "points" real );
SELECT "steals" FROM "player_stats" WHERE "games_played"=31;
1-22824302-3
How many steals for the player who had 121 rebounds?
CREATE TABLE "player_stats" ( "player" text, "games_played" real, "field_goals" real, "free_throws" real, "rebounds" real, "assists" real, "blocks" real, "steals" real, "points" real );
SELECT MIN("steals") FROM "player_stats" WHERE "rebounds"=121;
1-22824302-3
What date was the Piston's record at 23-47?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "date" FROM "game_log" WHERE "record"='23-47';
1-22822559-8
Who had the highest rebounds during the game with a record of 23-47?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "high_rebounds" FROM "game_log" WHERE "record"='23-47';
1-22822559-8
How many rebound did the person who scored 147 points have?
CREATE TABLE "player_stats" ( "player" text, "games_played" real, "minutes" real, "field_goals" real, "three_pointers" real, "free_throws" real, "rebounds" real, "assists" real, "blocks" real, "steals" real, "points" real );
SELECT COUNT("rebounds") FROM "player_stats" WHERE "points"=147;
1-22824199-1
Of the players with 50 free throws, what is the lowest number of three pointers?
CREATE TABLE "player_stats" ( "player" text, "games_played" real, "minutes" real, "field_goals" real, "three_pointers" real, "free_throws" real, "rebounds" real, "assists" real, "blocks" real, "steals" real, "points" real );
SELECT MIN("three_pointers") FROM "player_stats" WHERE "free_throws"=50;
1-22824199-1
Who are all the players with 156 rebounds?
CREATE TABLE "player_stats" ( "player" text, "games_played" real, "minutes" real, "field_goals" real, "three_pointers" real, "free_throws" real, "rebounds" real, "assists" real, "blocks" real, "steals" real, "points" real );
SELECT "player" FROM "player_stats" WHERE "rebounds"=156;
1-22824199-1
Of the players who scored 5 three pointers, what is the highest number of games played?
CREATE TABLE "player_stats" ( "player" text, "games_played" real, "minutes" real, "field_goals" real, "three_pointers" real, "free_throws" real, "rebounds" real, "assists" real, "blocks" real, "steals" real, "points" real );
SELECT MAX("games_played") FROM "player_stats" WHERE "three_pointers"=5;
1-22824199-1
What is every number for the hometown of Canton, Illinois?
CREATE TABLE "roster" ( "no" real, "player" text, "hometown" text, "class" text, "position" text, "height" text, "weight" real );
SELECT "no" FROM "roster" WHERE "hometown"='Canton, Illinois';
1-22824297-1
Who is every player with a height of 6-5?
CREATE TABLE "roster" ( "no" real, "player" text, "hometown" text, "class" text, "position" text, "height" text, "weight" real );
SELECT "player" FROM "roster" WHERE "height"='6-5';
1-22824297-1
Who are all players from hometown of Carbondale, Illinois?
CREATE TABLE "roster" ( "no" real, "player" text, "hometown" text, "class" text, "position" text, "height" text, "weight" real );
SELECT "player" FROM "roster" WHERE "hometown"='Carbondale, Illinois';
1-22824297-1
What is every class with a position of guard and Tal Brody as the player?
CREATE TABLE "roster" ( "no" real, "player" text, "hometown" text, "class" text, "position" text, "height" text, "weight" real );
SELECT "class" FROM "roster" WHERE "position"='Guard' AND "player"='Tal Brody';
1-22824297-1
How many values for number occur with the hometown of Canton, Illinois?
CREATE TABLE "roster" ( "no" real, "player" text, "hometown" text, "class" text, "position" text, "height" text, "weight" real );
SELECT COUNT("no") FROM "roster" WHERE "hometown"='Canton, Illinois';
1-22824297-1
What class was ren alde?
CREATE TABLE "roster" ( "no" real, "player" text, "position" text, "height" text, "weight" real, "class" text, "hometown" text );
SELECT "class" FROM "roster" WHERE "player"='Ren Alde';
1-22824312-1
Who are the player's who weighed 170?
CREATE TABLE "roster" ( "no" real, "player" text, "position" text, "height" text, "weight" real, "class" text, "hometown" text );
SELECT "player" FROM "roster" WHERE "weight"=170;
1-22824312-1
What is jim dutcher's hometown?
CREATE TABLE "roster" ( "no" real, "player" text, "position" text, "height" text, "weight" real, "class" text, "hometown" text );
SELECT "hometown" FROM "roster" WHERE "player"='Jim Dutcher';
1-22824312-1
Name the total number of player for 51 points
CREATE TABLE "player_stats" ( "player" text, "games_played" real, "field_goals" real, "three_pointers" real, "free_throws" real, "rebounds" real, "assists" real, "blocks" real, "steals" real, "points" real );
SELECT COUNT("player") FROM "player_stats" WHERE "points"=51;
1-22824319-3
Name the most rebounds for larry smith
CREATE TABLE "player_stats" ( "player" text, "games_played" real, "field_goals" real, "three_pointers" real, "free_throws" real, "rebounds" real, "assists" real, "blocks" real, "steals" real, "points" real );
SELECT MAX("rebounds") FROM "player_stats" WHERE "player"='Larry Smith';
1-22824319-3
Name the steals for 5 blocks
CREATE TABLE "player_stats" ( "player" text, "games_played" real, "field_goals" real, "three_pointers" real, "free_throws" real, "rebounds" real, "assists" real, "blocks" real, "steals" real, "points" real );
SELECT "steals" FROM "player_stats" WHERE "blocks"=5;
1-22824319-3
Name the least points
CREATE TABLE "player_stats" ( "player" text, "games_played" real, "field_goals" real, "three_pointers" real, "free_throws" real, "rebounds" real, "assists" real, "blocks" real, "steals" real, "points" real );
SELECT MIN("points") FROM "player_stats";
1-22824319-3
When 0.6–1.4 is the b r (t) what is the h ci (ka/m)?
CREATE TABLE "magnetic_properties" ( "magnet" text, "b_r_t" text, "h_ci_k_a_m" text, "bh_max_k_j_m_3" text, "t_c_c" text );
SELECT "h_ci_k_a_m" FROM "magnetic_properties" WHERE "b_r_t"='0.6–1.4';
1-2282444-1
When nd 2 fe 14 b (bonded) is the magnet how many measurements of tc (°c)?
CREATE TABLE "magnetic_properties" ( "magnet" text, "b_r_t" text, "h_ci_k_a_m" text, "bh_max_k_j_m_3" text, "t_c_c" text );
SELECT COUNT("t_c_c") FROM "magnetic_properties" WHERE "magnet"='Nd 2 Fe 14 B (bonded)';
1-2282444-1
When 720 is the t c (°c) what is the h ci (ka/m)?
CREATE TABLE "magnetic_properties" ( "magnet" text, "b_r_t" text, "h_ci_k_a_m" text, "bh_max_k_j_m_3" text, "t_c_c" text );
SELECT "h_ci_k_a_m" FROM "magnetic_properties" WHERE "t_c_c"='720';
1-2282444-1
Name the sec wins for .357 percentage and 4-3 home record
CREATE TABLE "conference_standings" ( "team" text, "sec_wins" real, "sec_losses" real, "percentage" text, "home_record" text, "road_record" text, "overall_record" text );
SELECT "sec_wins" FROM "conference_standings" WHERE "percentage"='.357' AND "home_record"='4-3';
1-22825679-1
Name the percentage for georgia
CREATE TABLE "conference_standings" ( "team" text, "sec_wins" real, "sec_losses" real, "percentage" text, "home_record" text, "road_record" text, "overall_record" text );
SELECT "percentage" FROM "conference_standings" WHERE "team"='Georgia';
1-22825679-1
Name the overall record for road record being 4-3
CREATE TABLE "conference_standings" ( "team" text, "sec_wins" real, "sec_losses" real, "percentage" text, "home_record" text, "road_record" text, "overall_record" text );
SELECT "overall_record" FROM "conference_standings" WHERE "road_record"='4-3';
1-22825679-1
Name the number of road record for team ole miss
CREATE TABLE "conference_standings" ( "team" text, "sec_wins" real, "sec_losses" real, "percentage" text, "home_record" text, "road_record" text, "overall_record" text );
SELECT COUNT("road_record") FROM "conference_standings" WHERE "team"='Ole Miss';
1-22825679-1
Name the percentage for ole miss
CREATE TABLE "conference_standings" ( "team" text, "sec_wins" real, "sec_losses" real, "percentage" text, "home_record" text, "road_record" text, "overall_record" text );
SELECT "percentage" FROM "conference_standings" WHERE "team"='Ole Miss';
1-22825679-1
What is the most number of blocks kendall gill had?
CREATE TABLE "player_stats" ( "player" text, "games_played" real, "field_goals" real, "three_pointers" real, "free_throws" real, "rebounds" real, "assists" real, "blocks" real, "steals" real, "points" real );
SELECT MAX("blocks") FROM "player_stats" WHERE "player"='Kendall Gill';
1-22824324-2
What is the lowest number of three pointers in games where the number of rebounds was 178?
CREATE TABLE "player_stats" ( "player" text, "games_played" real, "field_goals" real, "three_pointers" real, "free_throws" real, "rebounds" real, "assists" real, "blocks" real, "steals" real, "points" real );
SELECT MIN("three_pointers") FROM "player_stats" WHERE "rebounds"=178;
1-22824324-2
How many steals were the in games that andy kaufmann played?
CREATE TABLE "player_stats" ( "player" text, "games_played" real, "field_goals" real, "three_pointers" real, "free_throws" real, "rebounds" real, "assists" real, "blocks" real, "steals" real, "points" real );
SELECT COUNT("steals") FROM "player_stats" WHERE "player"='Andy Kaufmann';
1-22824324-2
What is the lowest number of three pointers in games that kendall gill played?
CREATE TABLE "player_stats" ( "player" text, "games_played" real, "field_goals" real, "three_pointers" real, "free_throws" real, "rebounds" real, "assists" real, "blocks" real, "steals" real, "points" real );
SELECT MIN("three_pointers") FROM "player_stats" WHERE "player"='Kendall Gill';
1-22824324-2
How many games had three pointers where the number of points was 581?
CREATE TABLE "player_stats" ( "player" text, "games_played" real, "field_goals" real, "three_pointers" real, "free_throws" real, "rebounds" real, "assists" real, "blocks" real, "steals" real, "points" real );
SELECT COUNT("three_pointers") FROM "player_stats" WHERE "points"=581;
1-22824324-2
How many timeslots were available for the season finale on August 29, 2009?
CREATE TABLE "seasonal_ratings" ( "season" real, "episodes" real, "timeslot_et" text, "season_premiere" text, "season_finale" text, "tv_season" text, "rank" text, "viewers_in_millions" text );
SELECT COUNT("timeslot_et") FROM "seasonal_ratings" WHERE "season_finale"='August 29, 2009';
1-22837363-1
What was the highest amount of episodes for the season with 5.74 million viewers?
CREATE TABLE "seasonal_ratings" ( "season" real, "episodes" real, "timeslot_et" text, "season_premiere" text, "season_finale" text, "tv_season" text, "rank" text, "viewers_in_millions" text );
SELECT MAX("episodes") FROM "seasonal_ratings" WHERE "viewers_in_millions"='5.74';
1-22837363-1
What rank number had a season premiere on December 24, 2011?
CREATE TABLE "seasonal_ratings" ( "season" real, "episodes" real, "timeslot_et" text, "season_premiere" text, "season_finale" text, "tv_season" text, "rank" text, "viewers_in_millions" text );
SELECT "rank" FROM "seasonal_ratings" WHERE "season_premiere"='December 24, 2011';
1-22837363-1
How many rankings were there for the season with a finale on August 20, 2011?
CREATE TABLE "seasonal_ratings" ( "season" real, "episodes" real, "timeslot_et" text, "season_premiere" text, "season_finale" text, "tv_season" text, "rank" text, "viewers_in_millions" text );
SELECT COUNT("rank") FROM "seasonal_ratings" WHERE "season_finale"='August 20, 2011';
1-22837363-1
How many episodes had a season premiere on December 11, 2010?
CREATE TABLE "seasonal_ratings" ( "season" real, "episodes" real, "timeslot_et" text, "season_premiere" text, "season_finale" text, "tv_season" text, "rank" text, "viewers_in_millions" text );
SELECT COUNT("episodes") FROM "seasonal_ratings" WHERE "season_premiere"='December 11, 2010';
1-22837363-1
What was the season number that had a premiere on December 11, 2010?
CREATE TABLE "seasonal_ratings" ( "season" real, "episodes" real, "timeslot_et" text, "season_premiere" text, "season_finale" text, "tv_season" text, "rank" text, "viewers_in_millions" text );
SELECT MAX("season") FROM "seasonal_ratings" WHERE "season_premiere"='December 11, 2010';
1-22837363-1
Which surfaces have the final score of 6–1, 6–7 (2–7) , 7–6 (7–5) , 7–6 (10–8)?
CREATE TABLE "singles_19_11_titles_8_runner_ups" ( "outcome" text, "year" real, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text );
SELECT "surface" FROM "singles_19_11_titles_8_runner_ups" WHERE "score_in_the_final"='6–1, 6–7 (2–7) , 7–6 (7–5) , 7–6 (10–8)';
1-22834834-3
How many outcome have a score of 7–6 (9–7) , 6–3?
CREATE TABLE "singles_19_11_titles_8_runner_ups" ( "outcome" text, "year" real, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text );
SELECT COUNT("outcome") FROM "singles_19_11_titles_8_runner_ups" WHERE "score_in_the_final"='7–6 (9–7) , 6–3';
1-22834834-3
Which outcomes have a final score of 6–3, 6–2?
CREATE TABLE "singles_19_11_titles_8_runner_ups" ( "outcome" text, "year" real, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text );
SELECT "outcome" FROM "singles_19_11_titles_8_runner_ups" WHERE "score_in_the_final"='6–3, 6–2';
1-22834834-3
What is the last year that Andre Agassi was the final opponent?
CREATE TABLE "singles_19_11_titles_8_runner_ups" ( "outcome" text, "year" real, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text );
SELECT MAX("year") FROM "singles_19_11_titles_8_runner_ups" WHERE "opponent_in_the_final"='Andre Agassi';
1-22834834-3
How many years have a final score of 6–3, 6–2?
CREATE TABLE "singles_19_11_titles_8_runner_ups" ( "outcome" text, "year" real, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text );
SELECT COUNT("year") FROM "singles_19_11_titles_8_runner_ups" WHERE "score_in_the_final"='6–3, 6–2';
1-22834834-3
Which championship has a final score of 6–7 (9–11) , 6–4, 7–5, 4–6, 4–6?
CREATE TABLE "singles_19_11_titles_8_runner_ups" ( "outcome" text, "year" real, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text );
SELECT "championship" FROM "singles_19_11_titles_8_runner_ups" WHERE "score_in_the_final"='6–7 (9–11) , 6–4, 7–5, 4–6, 4–6';
1-22834834-3
How many years had a total earnings amount of 2254598?
CREATE TABLE "atp_tour_career_earnings" ( "year" real, "majors" real, "atp_wins" real, "total_wins" real, "earnings" real, "money_list_rank" real );
SELECT COUNT("year") FROM "atp_tour_career_earnings" WHERE "earnings"=2254598;
1-22834834-12
What is the latest year that data is available for?
CREATE TABLE "atp_tour_career_earnings" ( "year" real, "majors" real, "atp_wins" real, "total_wins" real, "earnings" real, "money_list_rank" real );
SELECT MAX("year") FROM "atp_tour_career_earnings";
1-22834834-12
What is the score in the final in the year 1994?
CREATE TABLE "singles_6_5_titles_1_runner_up" ( "outcome" text, "year" real, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text );
SELECT "score_in_the_final" FROM "singles_6_5_titles_1_runner_up" WHERE "year"=1994;
1-22834834-2
Who is the championship for the year of 1993?
CREATE TABLE "singles_6_5_titles_1_runner_up" ( "outcome" text, "year" real, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text );
SELECT "championship" FROM "singles_6_5_titles_1_runner_up" WHERE "year"=1993;
1-22834834-2
Who is the opponent in the final when frankfurt is championship and the year is less than 1993.0?
CREATE TABLE "singles_6_5_titles_1_runner_up" ( "outcome" text, "year" real, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text );
SELECT "opponent_in_the_final" FROM "singles_6_5_titles_1_runner_up" WHERE "championship"='Frankfurt' AND "year"<1993.0;
1-22834834-2
In what year was his money list rank 3?
CREATE TABLE "atp_tour_career_earnings" ( "year" real, "majors" real, "atp_wins" real, "total_wins" real, "earnings" real, "money_list_rank" real );
SELECT MIN("year") FROM "atp_tour_career_earnings" WHERE "money_list_rank"=3;
1-22839669-12
What was his money list rank in 2001?
CREATE TABLE "atp_tour_career_earnings" ( "year" real, "majors" real, "atp_wins" real, "total_wins" real, "earnings" real, "money_list_rank" real );
SELECT MIN("money_list_rank") FROM "atp_tour_career_earnings" WHERE "year"=2001;
1-22839669-12
How many atp wins did he have when his money list rank was 4?
CREATE TABLE "atp_tour_career_earnings" ( "year" real, "majors" real, "atp_wins" real, "total_wins" real, "earnings" real, "money_list_rank" real );
SELECT MAX("atp_wins") FROM "atp_tour_career_earnings" WHERE "money_list_rank"=4;
1-22839669-12
What is the maximum total wins he had for any year?
CREATE TABLE "atp_tour_career_earnings" ( "year" real, "majors" real, "atp_wins" real, "total_wins" real, "earnings" real, "money_list_rank" real );
SELECT MAX("total_wins") FROM "atp_tour_career_earnings";
1-22839669-12