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