question
stringlengths 12
244
| create_table_statement
stringlengths 97
895
| sql_query
stringlengths 27
479
| wiki_sql_table_id
stringlengths 8
14
|
|---|---|---|---|
On what deate was the centerfold featured Luci Victoria?
|
CREATE TABLE "2003" (
"date" text,
"cover_model" text,
"centerfold_model" text,
"interview_subject" text,
"20_questions" text,
"pictorials" text
);
|
SELECT "date" FROM "2003" WHERE "centerfold_model"='Luci Victoria';
|
1-1566852-4
|
How many centerfold models were there when the cover model was Torrie Wilson?
|
CREATE TABLE "2003" (
"date" text,
"cover_model" text,
"centerfold_model" text,
"interview_subject" text,
"20_questions" text,
"pictorials" text
);
|
SELECT COUNT("centerfold_model") FROM "2003" WHERE "cover_model"='Torrie Wilson';
|
1-1566852-4
|
What is the name of the pictorial in the 11-98 issue?
|
CREATE TABLE "table1_1566850_9" (
"date" text,
"cover_model" text,
"centerfold_model" text,
"interview_subject" text,
"20_questions" text,
"pictorials" text
);
|
SELECT "pictorials" FROM "table1_1566850_9" WHERE "date"='11-98';
|
1-1566850-9
|
How many centerfolds were in the 9-98 issue?
|
CREATE TABLE "table1_1566850_9" (
"date" text,
"cover_model" text,
"centerfold_model" text,
"interview_subject" text,
"20_questions" text,
"pictorials" text
);
|
SELECT COUNT("centerfold_model") FROM "table1_1566850_9" WHERE "date"='9-98';
|
1-1566850-9
|
Who was interviewed in the 8-98 issue?
|
CREATE TABLE "table1_1566850_9" (
"date" text,
"cover_model" text,
"centerfold_model" text,
"interview_subject" text,
"20_questions" text,
"pictorials" text
);
|
SELECT "interview_subject" FROM "table1_1566850_9" WHERE "date"='8-98';
|
1-1566850-9
|
Who was asked 20 questions in the issue where the centerfold is Marliece Andrada?
|
CREATE TABLE "table1_1566850_9" (
"date" text,
"cover_model" text,
"centerfold_model" text,
"interview_subject" text,
"20_questions" text,
"pictorials" text
);
|
SELECT "20_questions" FROM "table1_1566850_9" WHERE "centerfold_model"='Marliece Andrada';
|
1-1566850-9
|
Who was asked 20 questions in the issue where the cover model is Linda Brava?
|
CREATE TABLE "table1_1566850_9" (
"date" text,
"cover_model" text,
"centerfold_model" text,
"interview_subject" text,
"20_questions" text,
"pictorials" text
);
|
SELECT "20_questions" FROM "table1_1566850_9" WHERE "cover_model"='Linda Brava';
|
1-1566850-9
|
Who was featured in the pictorials in the issue where John Peterman was asked 20 questions?
|
CREATE TABLE "table1_1566850_9" (
"date" text,
"cover_model" text,
"centerfold_model" text,
"interview_subject" text,
"20_questions" text,
"pictorials" text
);
|
SELECT "pictorials" FROM "table1_1566850_9" WHERE "20_questions"='John Peterman';
|
1-1566850-9
|
How many times was Jillian Grace the centerfold model?
|
CREATE TABLE "table1_1566852_6" (
"date" text,
"cover_model" text,
"centerfold_model" text,
"interview_subject" text,
"20_questions" text,
"pictorials" text
);
|
SELECT COUNT("date") FROM "table1_1566852_6" WHERE "centerfold_model"='Jillian Grace';
|
1-1566852-6
|
What were the interview subjects on those occasions where Bai Ling was the cover model?
|
CREATE TABLE "table1_1566852_6" (
"date" text,
"cover_model" text,
"centerfold_model" text,
"interview_subject" text,
"20_questions" text,
"pictorials" text
);
|
SELECT "interview_subject" FROM "table1_1566852_6" WHERE "cover_model"='Bai Ling';
|
1-1566852-6
|
How many total interview subjects wererthere when the centerfold model was Tamara Witmer?
|
CREATE TABLE "table1_1566852_6" (
"date" text,
"cover_model" text,
"centerfold_model" text,
"interview_subject" text,
"20_questions" text,
"pictorials" text
);
|
SELECT COUNT("interview_subject") FROM "table1_1566852_6" WHERE "centerfold_model"='Tamara Witmer';
|
1-1566852-6
|
What's the subject of 20 questions in those issues where Jillian Grace is the centerfold model?
|
CREATE TABLE "table1_1566852_6" (
"date" text,
"cover_model" text,
"centerfold_model" text,
"interview_subject" text,
"20_questions" text,
"pictorials" text
);
|
SELECT "20_questions" FROM "table1_1566852_6" WHERE "centerfold_model"='Jillian Grace';
|
1-1566852-6
|
Who were the cover model(s) on the 4-05 issue?
|
CREATE TABLE "table1_1566852_6" (
"date" text,
"cover_model" text,
"centerfold_model" text,
"interview_subject" text,
"20_questions" text,
"pictorials" text
);
|
SELECT "cover_model" FROM "table1_1566852_6" WHERE "date"='4-05';
|
1-1566852-6
|
Who was on the cover when the 20 questions subject was Scarlett Johansson?
|
CREATE TABLE "table1_1566852_6" (
"date" text,
"cover_model" text,
"centerfold_model" text,
"interview_subject" text,
"20_questions" text,
"pictorials" text
);
|
SELECT "cover_model" FROM "table1_1566852_6" WHERE "20_questions"='Scarlett Johansson';
|
1-1566852-6
|
Name the 20 years for 1600 kwh/kw p y is 8.8
|
CREATE TABLE "cost_per_kilowatt_hour_us_cents_k_wh" (
"20_years" text,
"2400_k_wh_k_w_p_y" text,
"2200_k_wh_k_w_p_y" text,
"2000_k_wh_k_w_p_y" text,
"1800_k_wh_k_w_p_y" text,
"1600_k_wh_k_w_p_y" text,
"1400_k_wh_k_w_p_y" text,
"1200_k_wh_k_w_p_y" text,
"1000_k_wh_k_w_p_y" text,
"800_k_wh_k_w_p_y" text
);
|
SELECT "20_years" FROM "cost_per_kilowatt_hour_us_cents_k_wh" WHERE "1600_k_wh_k_w_p_y"='8.8';
|
1-15677755-1
|
Name the 1800 kwh/kw p y when 2400 kwh/kw p y is 5.8
|
CREATE TABLE "cost_per_kilowatt_hour_us_cents_k_wh" (
"20_years" text,
"2400_k_wh_k_w_p_y" text,
"2200_k_wh_k_w_p_y" text,
"2000_k_wh_k_w_p_y" text,
"1800_k_wh_k_w_p_y" text,
"1600_k_wh_k_w_p_y" text,
"1400_k_wh_k_w_p_y" text,
"1200_k_wh_k_w_p_y" text,
"1000_k_wh_k_w_p_y" text,
"800_k_wh_k_w_p_y" text
);
|
SELECT "1800_k_wh_k_w_p_y" FROM "cost_per_kilowatt_hour_us_cents_k_wh" WHERE "2400_k_wh_k_w_p_y"='5.8';
|
1-15677755-1
|
Name the date of 20 questions for jimmy fallon
|
CREATE TABLE "2004" (
"date" text,
"cover_model" text,
"centerfold_model" text,
"interview_subject" text,
"20_questions" text,
"pictorials" text
);
|
SELECT "date" FROM "2004" WHERE "20_questions"='Jimmy Fallon';
|
1-1566852-5
|
Name the date for oliver stone
|
CREATE TABLE "2004" (
"date" text,
"cover_model" text,
"centerfold_model" text,
"interview_subject" text,
"20_questions" text,
"pictorials" text
);
|
SELECT "date" FROM "2004" WHERE "interview_subject"='Oliver Stone';
|
1-1566852-5
|
Name the 20 questions for derek jeter
|
CREATE TABLE "2004" (
"date" text,
"cover_model" text,
"centerfold_model" text,
"interview_subject" text,
"20_questions" text,
"pictorials" text
);
|
SELECT "20_questions" FROM "2004" WHERE "interview_subject"='Derek Jeter';
|
1-1566852-5
|
Name the pictorials for terrel owens
|
CREATE TABLE "2004" (
"date" text,
"cover_model" text,
"centerfold_model" text,
"interview_subject" text,
"20_questions" text,
"pictorials" text
);
|
SELECT "pictorials" FROM "2004" WHERE "20_questions"='Terrel Owens';
|
1-1566852-5
|
Name the centerfold model for terrel owens
|
CREATE TABLE "2004" (
"date" text,
"cover_model" text,
"centerfold_model" text,
"interview_subject" text,
"20_questions" text,
"pictorials" text
);
|
SELECT "centerfold_model" FROM "2004" WHERE "20_questions"='Terrel Owens';
|
1-1566852-5
|
Name the 20 questions for 8-04
|
CREATE TABLE "2004" (
"date" text,
"cover_model" text,
"centerfold_model" text,
"interview_subject" text,
"20_questions" text,
"pictorials" text
);
|
SELECT "20_questions" FROM "2004" WHERE "date"='8-04';
|
1-1566852-5
|
Name the open cup for 2010
|
CREATE TABLE "year_by_year" (
"year" real,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
);
|
SELECT "open_cup" FROM "year_by_year" WHERE "year"=2010;
|
1-15672920-1
|
IN WHAT ISSUE OF PLAYBOY WAS SHEPARD SMITH INTERVIEWED?
|
CREATE TABLE "2006" (
"date" text,
"cover_model" text,
"centerfold_model" text,
"interview_subject" text,
"20_questions" text,
"pictorials" text
);
|
SELECT "date" FROM "2006" WHERE "interview_subject"='Shepard Smith';
|
1-1566852-7
|
WHO WAS THE CENTERFOLD MODEL IN THE ISSUE WHERE JASON LEE ANSWERED THE 20 QUESTIONS?
|
CREATE TABLE "2006" (
"date" text,
"cover_model" text,
"centerfold_model" text,
"interview_subject" text,
"20_questions" text,
"pictorials" text
);
|
SELECT "centerfold_model" FROM "2006" WHERE "20_questions"='Jason Lee';
|
1-1566852-7
|
HOW MANY MODELS WERE ON THE COVER OF THE ISSUE WHERE THE CENTERFOLD WAS STEPHANIE LARIMORE?
|
CREATE TABLE "2006" (
"date" text,
"cover_model" text,
"centerfold_model" text,
"interview_subject" text,
"20_questions" text,
"pictorials" text
);
|
SELECT COUNT("cover_model") FROM "2006" WHERE "centerfold_model"='Stephanie Larimore';
|
1-1566852-7
|
IN THE ISSUE WITH KARA MONACO ON THE COVER, WHO WAS THE INTERVIEW SUBJECT?
|
CREATE TABLE "2006" (
"date" text,
"cover_model" text,
"centerfold_model" text,
"interview_subject" text,
"20_questions" text,
"pictorials" text
);
|
SELECT "interview_subject" FROM "2006" WHERE "cover_model"='Kara Monaco';
|
1-1566852-7
|
HOW MANY TIMES WAS LUDACRIS THE INTERVIEW SUBJECT FOR THE 20 QUESTIONS COLUMN?
|
CREATE TABLE "2006" (
"date" text,
"cover_model" text,
"centerfold_model" text,
"interview_subject" text,
"20_questions" text,
"pictorials" text
);
|
SELECT COUNT("20_questions") FROM "2006" WHERE "interview_subject"='Ludacris';
|
1-1566852-7
|
what is the arabic capital name wher the english capital name is manama?
|
CREATE TABLE "countries_territories_and_capitals_admin" (
"english_country_name" text,
"arabic_romanised_country_name" text,
"arabic_country_name" text,
"english_capital_name" text,
"arabic_romanised_capital_name" text,
"arabic_capital_name" text
);
|
SELECT "arabic_capital_name" FROM "countries_territories_and_capitals_admin" WHERE "english_capital_name"='Manama';
|
1-15694696-1
|
what is the arabic capital name where the english capital name is beirut?
|
CREATE TABLE "countries_territories_and_capitals_admin" (
"english_country_name" text,
"arabic_romanised_country_name" text,
"arabic_country_name" text,
"english_capital_name" text,
"arabic_romanised_capital_name" text,
"arabic_capital_name" text
);
|
SELECT "arabic_capital_name" FROM "countries_territories_and_capitals_admin" WHERE "english_capital_name"='Beirut';
|
1-15694696-1
|
what is the rank for the rating 4.4?
|
CREATE TABLE "u_s_nielsen_ratings" (
"num" real,
"episode" text,
"rating" text,
"share" real,
"rating_share_18_49" text,
"viewers_millions" text,
"rank_timeslot" text,
"rank_night" text,
"rank_week" text
);
|
SELECT "rank_night" FROM "u_s_nielsen_ratings" WHERE "rating"='4.4';
|
1-15681686-4
|
what is the rating where the rank is 48?
|
CREATE TABLE "u_s_nielsen_ratings" (
"num" real,
"episode" text,
"rating" text,
"share" real,
"rating_share_18_49" text,
"viewers_millions" text,
"rank_timeslot" text,
"rank_night" text,
"rank_week" text
);
|
SELECT "rating_share_18_49" FROM "u_s_nielsen_ratings" WHERE "rank_week"='48';
|
1-15681686-4
|
what is the total rank where the rank is 58?
|
CREATE TABLE "u_s_nielsen_ratings" (
"num" real,
"episode" text,
"rating" text,
"share" real,
"rating_share_18_49" text,
"viewers_millions" text,
"rank_timeslot" text,
"rank_night" text,
"rank_week" text
);
|
SELECT COUNT("rank_timeslot") FROM "u_s_nielsen_ratings" WHERE "rank_week"='58';
|
1-15681686-4
|
what rank has viewers at 6.45?
|
CREATE TABLE "u_s_nielsen_ratings" (
"num" real,
"episode" text,
"rating" text,
"share" real,
"rating_share_18_49" text,
"viewers_millions" text,
"rank_timeslot" text,
"rank_night" text,
"rank_week" text
);
|
SELECT "rank_week" FROM "u_s_nielsen_ratings" WHERE "viewers_millions"='6.45';
|
1-15681686-4
|
what is the total number of rank where viewers is 9.38?
|
CREATE TABLE "u_s_nielsen_ratings" (
"num" real,
"episode" text,
"rating" text,
"share" real,
"rating_share_18_49" text,
"viewers_millions" text,
"rank_timeslot" text,
"rank_night" text,
"rank_week" text
);
|
SELECT COUNT("rank_timeslot") FROM "u_s_nielsen_ratings" WHERE "viewers_millions"='9.38';
|
1-15681686-4
|
Where is the service pattern sydenham then fast to norwood junction?
|
CREATE TABLE "services" (
"platform" real,
"frequency_per_hour" real,
"destination" text,
"service_pattern" text,
"operator" text,
"line" text
);
|
SELECT "destination" FROM "services" WHERE "service_pattern"='Sydenham then fast to Norwood Junction';
|
1-1569516-1
|
How many platforms have a southern opertator and the pattern is all stations via clapham junction?
|
CREATE TABLE "services" (
"platform" real,
"frequency_per_hour" real,
"destination" text,
"service_pattern" text,
"operator" text,
"line" text
);
|
SELECT COUNT("platform") FROM "services" WHERE "operator"='Southern' AND "service_pattern"='All stations via Clapham Junction';
|
1-1569516-1
|
When London Bridge is the destination, what is the frequency?
|
CREATE TABLE "services" (
"platform" real,
"frequency_per_hour" real,
"destination" text,
"service_pattern" text,
"operator" text,
"line" text
);
|
SELECT "frequency_per_hour" FROM "services" WHERE "destination"='London Bridge';
|
1-1569516-1
|
When London Bridge is the destination, how many lines are there?
|
CREATE TABLE "services" (
"platform" real,
"frequency_per_hour" real,
"destination" text,
"service_pattern" text,
"operator" text,
"line" text
);
|
SELECT COUNT("line") FROM "services" WHERE "destination"='London Bridge';
|
1-1569516-1
|
When the service pattern is sydenham then fast to norwood junction, what is the destination?
|
CREATE TABLE "services" (
"platform" real,
"frequency_per_hour" real,
"destination" text,
"service_pattern" text,
"operator" text,
"line" text
);
|
SELECT "destination" FROM "services" WHERE "service_pattern"='Sydenham then fast to Norwood Junction';
|
1-1569516-1
|
What was the playoff advancement during the year 1998?
|
CREATE TABLE "year_by_year" (
"year" real,
"division" text,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
);
|
SELECT "playoffs" FROM "year_by_year" WHERE "year"=1998;
|
1-1570003-2
|
During 2003 what was open cup qualifying status?
|
CREATE TABLE "year_by_year" (
"year" real,
"division" text,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
);
|
SELECT "open_cup" FROM "year_by_year" WHERE "year"=2003;
|
1-1570003-2
|
What is the most recent year where team made it to 2nd round of the Open Cup?
|
CREATE TABLE "year_by_year" (
"year" real,
"division" text,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
);
|
SELECT MAX("year") FROM "year_by_year" WHERE "open_cup"='2nd Round';
|
1-1570003-2
|
Name the margin of victory when the number is 15
|
CREATE TABLE "european_tour_wins_19" (
"no" real,
"date" text,
"tournament" text,
"winning_score" text,
"to_par" text,
"margin_of_victory" text,
"runner_s_up" text
);
|
SELECT "margin_of_victory" FROM "european_tour_wins_19" WHERE "no"=15;
|
1-1569625-1
|
Name the number of numbers for howard clark
|
CREATE TABLE "european_tour_wins_19" (
"no" real,
"date" text,
"tournament" text,
"winning_score" text,
"to_par" text,
"margin_of_victory" text,
"runner_s_up" text
);
|
SELECT COUNT("no") FROM "european_tour_wins_19" WHERE "runner_s_up"='Howard Clark';
|
1-1569625-1
|
Name the margin of victory when tournament is algarve open de portugal
|
CREATE TABLE "european_tour_wins_19" (
"no" real,
"date" text,
"tournament" text,
"winning_score" text,
"to_par" text,
"margin_of_victory" text,
"runner_s_up" text
);
|
SELECT "margin_of_victory" FROM "european_tour_wins_19" WHERE "tournament"='Algarve Open de Portugal';
|
1-1569625-1
|
Name the tournament when margin of victory is 3 strokes and winning score is 71-66-70-67=274
|
CREATE TABLE "european_tour_wins_19" (
"no" real,
"date" text,
"tournament" text,
"winning_score" text,
"to_par" text,
"margin_of_victory" text,
"runner_s_up" text
);
|
SELECT "tournament" FROM "european_tour_wins_19" WHERE "margin_of_victory"='3 strokes' AND "winning_score"='71-66-70-67=274';
|
1-1569625-1
|
Name the most runs conceded
|
CREATE TABLE "australia" (
"name" text,
"overs_bowled" text,
"maidens" real,
"runs_conceded" real,
"wickets" real,
"extras" real,
"e_r" text
);
|
SELECT MAX("runs_conceded") FROM "australia";
|
1-15700367-4
|
Name the wickets when overs bowled is 9
|
CREATE TABLE "australia" (
"name" text,
"overs_bowled" text,
"maidens" real,
"runs_conceded" real,
"wickets" real,
"extras" real,
"e_r" text
);
|
SELECT "wickets" FROM "australia" WHERE "overs_bowled"='9';
|
1-15700367-4
|
Name the most maidens when e.r. 5.11
|
CREATE TABLE "australia" (
"name" text,
"overs_bowled" text,
"maidens" real,
"runs_conceded" real,
"wickets" real,
"extras" real,
"e_r" text
);
|
SELECT MAX("maidens") FROM "australia" WHERE "e_r"='5.11';
|
1-15700367-4
|
Name the least runs conceded for brett lee
|
CREATE TABLE "australia" (
"name" text,
"overs_bowled" text,
"maidens" real,
"runs_conceded" real,
"wickets" real,
"extras" real,
"e_r" text
);
|
SELECT MIN("runs_conceded") FROM "australia" WHERE "name"='Brett Lee';
|
1-15700367-4
|
How many runs conceded when the earned runs was 4.96?
|
CREATE TABLE "sri_lanka" (
"name" text,
"overs_bowled" text,
"maidens" real,
"runs_conceded" real,
"wickets" real,
"extras" real,
"e_r" text
);
|
SELECT "runs_conceded" FROM "sri_lanka" WHERE "e_r"='4.96';
|
1-15700367-6
|
How many players named sanath jayasuriya?
|
CREATE TABLE "sri_lanka" (
"name" text,
"overs_bowled" text,
"maidens" real,
"runs_conceded" real,
"wickets" real,
"extras" real,
"e_r" text
);
|
SELECT COUNT("runs_conceded") FROM "sri_lanka" WHERE "name"='Sanath Jayasuriya';
|
1-15700367-6
|
How many runs conceded for chaminda vaas?
|
CREATE TABLE "sri_lanka" (
"name" text,
"overs_bowled" text,
"maidens" real,
"runs_conceded" real,
"wickets" real,
"extras" real,
"e_r" text
);
|
SELECT "runs_conceded" FROM "sri_lanka" WHERE "name"='Chaminda Vaas';
|
1-15700367-6
|
How many overs bowled for muttiah muralitharan?
|
CREATE TABLE "sri_lanka" (
"name" text,
"overs_bowled" text,
"maidens" real,
"runs_conceded" real,
"wickets" real,
"extras" real,
"e_r" text
);
|
SELECT COUNT("overs_bowled") FROM "sri_lanka" WHERE "name"='Muttiah Muralitharan';
|
1-15700367-6
|
What was the ER average for the player that conceded 368 runs?
|
CREATE TABLE "sri_lanka" (
"name" text,
"overs_bowled" text,
"maidens" real,
"runs_conceded" real,
"wickets" real,
"extras" real,
"e_r" text
);
|
SELECT "e_r" FROM "sri_lanka" WHERE "runs_conceded"=368;
|
1-15700367-6
|
What is the lowest number of wickets for farveez maharoof?
|
CREATE TABLE "sri_lanka" (
"name" text,
"overs_bowled" text,
"maidens" real,
"runs_conceded" real,
"wickets" real,
"extras" real,
"e_r" text
);
|
SELECT MIN("wickets") FROM "sri_lanka" WHERE "name"='Farveez Maharoof';
|
1-15700367-6
|
What is the airdate when the story is listed as hugh leonard?
|
CREATE TABLE "series_2" (
"episode" real,
"title" text,
"story" text,
"adapted_by" text,
"director" text,
"airdate" text,
"exists" text
);
|
SELECT "airdate" FROM "series_2" WHERE "story"='Hugh Leonard';
|
1-15739098-2
|
who won the kansas state game on 11/26/1988
|
CREATE TABLE "record_vs_other_most_played_di_opponents" (
"kansas_state_vs" text,
"games_played" real,
"overall_record" text,
"last_5_meetings" text,
"last_10_meetings" text,
"current_streak" text,
"last_meeting" text
);
|
SELECT "kansas_state_vs" FROM "record_vs_other_most_played_di_opponents" WHERE "last_meeting"='11/26/1988';
|
1-15740666-6
|
how many games has kansas state and depaul played against each other
|
CREATE TABLE "record_vs_other_most_played_di_opponents" (
"kansas_state_vs" text,
"games_played" real,
"overall_record" text,
"last_5_meetings" text,
"last_10_meetings" text,
"current_streak" text,
"last_meeting" text
);
|
SELECT COUNT("games_played") FROM "record_vs_other_most_played_di_opponents" WHERE "kansas_state_vs"='DePaul';
|
1-15740666-6
|
if they played last on 12/5/1987 what is their record
|
CREATE TABLE "record_vs_other_most_played_di_opponents" (
"kansas_state_vs" text,
"games_played" real,
"overall_record" text,
"last_5_meetings" text,
"last_10_meetings" text,
"current_streak" text,
"last_meeting" text
);
|
SELECT "current_streak" FROM "record_vs_other_most_played_di_opponents" WHERE "last_meeting"='12/5/1987';
|
1-15740666-6
|
What number in the season was "reflections"?
|
CREATE TABLE "table1_15777546_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"originalairdate" text,
"tv_broadcast" text
);
|
SELECT "no_in_season" FROM "table1_15777546_1" WHERE "title"='\"Reflections\"';
|
1-15777546-1
|
Name the high points for march 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 "high_points" FROM "game_log" WHERE "date"='March 7';
|
1-15780049-8
|
Name the date for sacramento
|
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"='Sacramento';
|
1-15780049-8
|
Name the high rebounds for march 17
|
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 "date"='March 17';
|
1-15780049-8
|
Name the location attendance for philadelphia
|
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 "location_attendance" FROM "game_log" WHERE "team"='Philadelphia';
|
1-15780049-8
|
Who scored the most assists in game 59?
|
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_assists" FROM "game_log" WHERE "game"=59;
|
1-15780718-8
|
What was the record against Boston?
|
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 "record" FROM "game_log" WHERE "team"='Boston';
|
1-15780718-8
|
Name the poll winner for greg giraldo for porn
|
CREATE TABLE "season_1_2008" (
"num" real,
"advocate_num_1" text,
"advocate_num_2" text,
"root_of_all_evil" text,
"poll_winner" text,
"original_air_date" text
);
|
SELECT "poll_winner" FROM "season_1_2008" WHERE "advocate_num_2"='Greg Giraldo for Porn';
|
1-15781170-2
|
Name the number of advocate #1 that aired on april 2, 2008
|
CREATE TABLE "season_1_2008" (
"num" real,
"advocate_num_1" text,
"advocate_num_2" text,
"root_of_all_evil" text,
"poll_winner" text,
"original_air_date" text
);
|
SELECT COUNT("advocate_num_1") FROM "season_1_2008" WHERE "original_air_date"='April 2, 2008';
|
1-15781170-2
|
Name the poll winner for march 19, 2008
|
CREATE TABLE "season_1_2008" (
"num" real,
"advocate_num_1" text,
"advocate_num_2" text,
"root_of_all_evil" text,
"poll_winner" text,
"original_air_date" text
);
|
SELECT COUNT("poll_winner") FROM "season_1_2008" WHERE "original_air_date"='March 19, 2008';
|
1-15781170-2
|
Name the air date for andy kindler for donald trump
|
CREATE TABLE "season_1_2008" (
"num" real,
"advocate_num_1" text,
"advocate_num_2" text,
"root_of_all_evil" text,
"poll_winner" text,
"original_air_date" text
);
|
SELECT "original_air_date" FROM "season_1_2008" WHERE "advocate_num_1"='Andy Kindler for Donald Trump';
|
1-15781170-2
|
Name the # for youtube
|
CREATE TABLE "season_1_2008" (
"num" real,
"advocate_num_1" text,
"advocate_num_2" text,
"root_of_all_evil" text,
"poll_winner" text,
"original_air_date" text
);
|
SELECT "num" FROM "season_1_2008" WHERE "poll_winner"='YouTube';
|
1-15781170-2
|
Name the advocate #1 for american idol
|
CREATE TABLE "season_1_2008" (
"num" real,
"advocate_num_1" text,
"advocate_num_2" text,
"root_of_all_evil" text,
"poll_winner" text,
"original_air_date" text
);
|
SELECT "advocate_num_1" FROM "season_1_2008" WHERE "root_of_all_evil"='American Idol';
|
1-15781170-2
|
When steroids won the poll, who was advocate #1?
|
CREATE TABLE "season_2_2008" (
"num" real,
"advocate_num_1" text,
"advocate_num_2" text,
"root_of_all_evil" text,
"poll_winner" text,
"original_air_date" text
);
|
SELECT "advocate_num_1" FROM "season_2_2008" WHERE "poll_winner"='Steroids';
|
1-15781170-3
|
What are the original air dates when scientology isthe poll winner?
|
CREATE TABLE "season_2_2008" (
"num" real,
"advocate_num_1" text,
"advocate_num_2" text,
"root_of_all_evil" text,
"poll_winner" text,
"original_air_date" text
);
|
SELECT "original_air_date" FROM "season_2_2008" WHERE "poll_winner"='Scientology';
|
1-15781170-3
|
When bloggers was the poll winner, who was the root of all evil?
|
CREATE TABLE "season_2_2008" (
"num" real,
"advocate_num_1" text,
"advocate_num_2" text,
"root_of_all_evil" text,
"poll_winner" text,
"original_air_date" text
);
|
SELECT "root_of_all_evil" FROM "season_2_2008" WHERE "poll_winner"='Bloggers';
|
1-15781170-3
|
How many times did drinking games win the poll?
|
CREATE TABLE "season_2_2008" (
"num" real,
"advocate_num_1" text,
"advocate_num_2" text,
"root_of_all_evil" text,
"poll_winner" text,
"original_air_date" text
);
|
SELECT COUNT("num") FROM "season_2_2008" WHERE "poll_winner"='Drinking Games';
|
1-15781170-3
|
What date was an episode with a run time of 24:30 broadcasted?
|
CREATE TABLE "table1_1579922_1" (
"episode" text,
"broadcast_date" text,
"run_time" text,
"viewers_in_millions" text,
"archive" text
);
|
SELECT "broadcast_date" FROM "table1_1579922_1" WHERE "run_time"='24:30';
|
1-1579922-1
|
What episode had a run time of 24:25?
|
CREATE TABLE "table1_1579922_1" (
"episode" text,
"broadcast_date" text,
"run_time" text,
"viewers_in_millions" text,
"archive" text
);
|
SELECT "episode" FROM "table1_1579922_1" WHERE "run_time"='24:25';
|
1-1579922-1
|
Who was the original artist for week number Top 16 (8 women)?
|
CREATE TABLE "performances" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
);
|
SELECT "original_artist" FROM "performances" WHERE "week_num"='Top 16 (8 Women)';
|
1-15796072-1
|
What was the order number where the original artist is The Doors?
|
CREATE TABLE "performances" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
);
|
SELECT "order_num" FROM "performances" WHERE "original_artist"='The Doors';
|
1-15796072-1
|
What was the theme when the original artist was The Beatles?
|
CREATE TABLE "performances" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
);
|
SELECT "theme" FROM "performances" WHERE "original_artist"='The Beatles';
|
1-15796072-1
|
Who was the original artist when the theme was 1980s?
|
CREATE TABLE "performances" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
);
|
SELECT "original_artist" FROM "performances" WHERE "theme"='1980s';
|
1-15796072-1
|
Who was the original artist when the order number is 9?
|
CREATE TABLE "performances" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
);
|
SELECT "original_artist" FROM "performances" WHERE "order_num"='9';
|
1-15796072-1
|
Which episode was N/A in region 1
|
CREATE TABLE "table1_15823956_1" (
"series" text,
"episodes" real,
"series_premiere" text,
"series_finale" text,
"region_1" text,
"region_2" text,
"region_4" text
);
|
SELECT "episodes" FROM "table1_15823956_1" WHERE "region_1"='N/A';
|
1-15823956-1
|
When was series premiere on the pilot episode
|
CREATE TABLE "table1_15823956_1" (
"series" text,
"episodes" real,
"series_premiere" text,
"series_finale" text,
"region_1" text,
"region_2" text,
"region_4" text
);
|
SELECT "series_premiere" FROM "table1_15823956_1" WHERE "series"='Pilot';
|
1-15823956-1
|
What is the region 1 date for series 4
|
CREATE TABLE "table1_15823956_1" (
"series" text,
"episodes" real,
"series_premiere" text,
"series_finale" text,
"region_1" text,
"region_2" text,
"region_4" text
);
|
SELECT "region_1" FROM "table1_15823956_1" WHERE "series"='4';
|
1-15823956-1
|
How many episodes in the series that premieres 5 february 2012
|
CREATE TABLE "table1_15823956_1" (
"series" text,
"episodes" real,
"series_premiere" text,
"series_finale" text,
"region_1" text,
"region_2" text,
"region_4" text
);
|
SELECT "episodes" FROM "table1_15823956_1" WHERE "series_premiere"='5 February 2012';
|
1-15823956-1
|
What season began on december 5, 1953?
|
CREATE TABLE "table1_15824796_3" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
);
|
SELECT MAX("season_num") FROM "table1_15824796_3" WHERE "original_air_date"='December 5, 1953';
|
1-15824796-3
|
What is the title of the first episode of the season that begin on february 27, 1954?
|
CREATE TABLE "table1_15824796_3" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
);
|
SELECT "title" FROM "table1_15824796_3" WHERE "original_air_date"='February 27, 1954';
|
1-15824796-3
|
What is the title of the episode that aired on december 12, 1953?
|
CREATE TABLE "table1_15824796_3" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
);
|
SELECT "title" FROM "table1_15824796_3" WHERE "original_air_date"='December 12, 1953';
|
1-15824796-3
|
How many episodes aired on february 13, 1954?
|
CREATE TABLE "table1_15824796_3" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
);
|
SELECT COUNT("title") FROM "table1_15824796_3" WHERE "original_air_date"='February 13, 1954';
|
1-15824796-3
|
Which titles were directed by George Blair and written by Jackson Gillis?
|
CREATE TABLE "table1_15824796_3" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
);
|
SELECT "title" FROM "table1_15824796_3" WHERE "directed_by"='George Blair' AND "written_by"='Jackson Gillis';
|
1-15824796-3
|
What are all the CFL teams where the pick number is 36?
|
CREATE TABLE "round_five" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
|
SELECT "cfl_team" FROM "round_five" WHERE "pick_num"=36;
|
1-15817998-5
|
What are the positions in the college of Alberta?
|
CREATE TABLE "round_five" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
|
SELECT "position" FROM "round_five" WHERE "college"='Alberta';
|
1-15817998-5
|
What is the total number of CFL teams in the college Wilfrid Laurier
|
CREATE TABLE "round_five" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
|
SELECT COUNT("cfl_team") FROM "round_five" WHERE "college"='Wilfrid Laurier';
|
1-15817998-5
|
What is the college that Jeffrey Simmer plays for?
|
CREATE TABLE "round_five" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
|
SELECT "college" FROM "round_five" WHERE "player"='Jeffrey Simmer';
|
1-15817998-5
|
Name the least matches for year 2008
|
CREATE TABLE "performance_summary_in_indian_premier_le" (
"year" real,
"matches" real,
"wins" real,
"losses" real,
"no_result" real,
"tied" real,
"success_rate" text,
"position" text,
"summary" text
);
|
SELECT MIN("matches") FROM "performance_summary_in_indian_premier_le" WHERE "year"=2008;
|
1-15829930-5
|
Name the maximum wins for 68.75%
|
CREATE TABLE "performance_summary_in_indian_premier_le" (
"year" real,
"matches" real,
"wins" real,
"losses" real,
"no_result" real,
"tied" real,
"success_rate" text,
"position" text,
"summary" text
);
|
SELECT MAX("wins") FROM "performance_summary_in_indian_premier_le" WHERE "success_rate"='68.75%';
|
1-15829930-5
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.