output
stringlengths
27
479
instruction
stringlengths
407
1.39k
SELECT "original_airdate" FROM "episodes" WHERE "title"='\"Getting Even\"';
## Task Generate a SQL query to answer the following question: `What date did "getting even" originally air?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "episodes" ( "episode_num" real, "series_num" real, "title" text, "director" text, "writer" text, "original_airdate" text, "viewers_in_millions" text ); ### SQL Given the database schema, here is the SQL query that answers `What date did "getting even" originally air?`: ```sql
SELECT "writer" FROM "episodes" WHERE "episode_num"=26;
## Task Generate a SQL query to answer the following question: `Who wrote episode 26 in the series?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "episodes" ( "episode_num" real, "series_num" real, "title" text, "director" text, "writer" text, "original_airdate" text, "viewers_in_millions" text ); ### SQL Given the database schema, here is the SQL query that answers `Who wrote episode 26 in the series?`: ```sql
SELECT "g_s_km" FROM "characteristics_of_telephone_cable_as_a_" WHERE "frequency_hz"='100k';
## Task Generate a SQL query to answer the following question: `What is the g (μs/km)when the frequency (hz) is 100k?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "characteristics_of_telephone_cable_as_a_" ( "frequency_hz" text, "r_km" text, "l_m_h_km" text, "g_s_km" text, "c_n_f_km" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the g (μs/km)when the frequency (hz) is 100k?`: ```sql
SELECT "r_km" FROM "characteristics_of_telephone_cable_as_a_" WHERE "frequency_hz"='10k';
## Task Generate a SQL query to answer the following question: `What is the r (ω/km) when the frequency is 10k?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "characteristics_of_telephone_cable_as_a_" ( "frequency_hz" text, "r_km" text, "l_m_h_km" text, "g_s_km" text, "c_n_f_km" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the r (ω/km) when the frequency is 10k?`: ```sql
SELECT "c_n_f_km" FROM "characteristics_of_telephone_cable_as_a_" WHERE "r_km"='463.59';
## Task Generate a SQL query to answer the following question: `What is the c (nf/km) when the r (ω/km) is 463.59?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "characteristics_of_telephone_cable_as_a_" ( "frequency_hz" text, "r_km" text, "l_m_h_km" text, "g_s_km" text, "c_n_f_km" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the c (nf/km) when the r (ω/km) is 463.59?`: ```sql
SELECT "c_n_f_km" FROM "characteristics_of_telephone_cable_as_a_" WHERE "l_m_h_km"='0.6099';
## Task Generate a SQL query to answer the following question: `what is the c (nf/km) when the l (mh/km) is 0.6099?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "characteristics_of_telephone_cable_as_a_" ( "frequency_hz" text, "r_km" text, "l_m_h_km" text, "g_s_km" text, "c_n_f_km" text ); ### SQL Given the database schema, here is the SQL query that answers `what is the c (nf/km) when the l (mh/km) is 0.6099?`: ```sql
SELECT "frequency_hz" FROM "characteristics_of_telephone_cable_as_a_" WHERE "g_s_km"='53.205';
## Task Generate a SQL query to answer the following question: `what is the frequency (hz) when the g (μs/km) is 53.205?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "characteristics_of_telephone_cable_as_a_" ( "frequency_hz" text, "r_km" text, "l_m_h_km" text, "g_s_km" text, "c_n_f_km" text ); ### SQL Given the database schema, here is the SQL query that answers `what is the frequency (hz) when the g (μs/km) is 53.205?`: ```sql
SELECT "imports" FROM "see_also" WHERE "country"='United Arab Emirates';
## Task Generate a SQL query to answer the following question: `In the country United Arab Emirates, what is the number of imports?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "see_also" ( "country" text, "exports" text, "imports" text, "total_trade" text, "trade_balance" text ); ### SQL Given the database schema, here is the SQL query that answers `In the country United Arab Emirates, what is the number of imports?`: ```sql
SELECT "total_trade" FROM "see_also" WHERE "exports"='6,099.06';
## Task Generate a SQL query to answer the following question: `Where the number of exports are 6,099.06, what is the total trade?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "see_also" ( "country" text, "exports" text, "imports" text, "total_trade" text, "trade_balance" text ); ### SQL Given the database schema, here is the SQL query that answers `Where the number of exports are 6,099.06, what is the total trade?`: ```sql
SELECT "country" FROM "see_also" WHERE "exports"='1,278.13';
## Task Generate a SQL query to answer the following question: `In which country are there 1,278.13 exports?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "see_also" ( "country" text, "exports" text, "imports" text, "total_trade" text, "trade_balance" text ); ### SQL Given the database schema, here is the SQL query that answers `In which country are there 1,278.13 exports?`: ```sql
SELECT "exports" FROM "see_also" WHERE "total_trade"='14,954.86';
## Task Generate a SQL query to answer the following question: `Where the total trade is 14,954.86, what are the exports?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "see_also" ( "country" text, "exports" text, "imports" text, "total_trade" text, "trade_balance" text ); ### SQL Given the database schema, here is the SQL query that answers `Where the total trade is 14,954.86, what are the exports?`: ```sql
SELECT "total_trade" FROM "see_also" WHERE "country"='Switzerland';
## Task Generate a SQL query to answer the following question: `In the country Switzerland, what is the total trade?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "see_also" ( "country" text, "exports" text, "imports" text, "total_trade" text, "trade_balance" text ); ### SQL Given the database schema, here is the SQL query that answers `In the country Switzerland, what is the total trade?`: ```sql
SELECT "total_trade" FROM "see_also" WHERE "exports"='13,608.65';
## Task Generate a SQL query to answer the following question: `Where the exports is 13,608.65, what is the total trade?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "see_also" ( "country" text, "exports" text, "imports" text, "total_trade" text, "trade_balance" text ); ### SQL Given the database schema, here is the SQL query that answers `Where the exports is 13,608.65, what is the total trade?`: ```sql
SELECT "location" FROM "tournament_results" WHERE "dates"='Jul 8-11';
## Task Generate a SQL query to answer the following question: `What is the location for tournament on Jul 8-11?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "tournament_results" ( "dates" text, "tournament" text, "location" text, "prize_fund" real, "winner" text, "owgr_pts" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the location for tournament on Jul 8-11?`: ```sql
SELECT "dates" FROM "tournament_results" WHERE "location"='Hokkaidō' AND "prize_fund"=150000000;
## Task Generate a SQL query to answer the following question: `What is the date of the tournament at Hokkaidō with prize of ¥150000000?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "tournament_results" ( "dates" text, "tournament" text, "location" text, "prize_fund" real, "winner" text, "owgr_pts" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the date of the tournament at Hokkaidō with prize of ¥150000000?`: ```sql
SELECT "prize_fund" FROM "tournament_results" WHERE "location"='Ibaraki';
## Task Generate a SQL query to answer the following question: `What is the prize for the tournament at Ibaraki?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "tournament_results" ( "dates" text, "tournament" text, "location" text, "prize_fund" real, "winner" text, "owgr_pts" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the prize for the tournament at Ibaraki?`: ```sql
SELECT COUNT("title") FROM "table1_26150013_1" WHERE "original_air_date"='April 3, 2012';
## Task Generate a SQL query to answer the following question: `How many titles are there for the original air date April 3, 2012?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_26150013_1" ( "no_in_series" text, "no_in_season" text, "title" text, "animation_directors" text, "written_by" text, "original_air_date" text ); ### SQL Given the database schema, here is the SQL query that answers `How many titles are there for the original air date April 3, 2012?`: ```sql
SELECT "location" FROM "silver_label" WHERE "distance"='Marathon' AND "month_held"='February';
## Task Generate a SQL query to answer the following question: `What are all of the area where distance is marathon and month held is february` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "silver_label" ( "road_race" text, "distance" text, "location" text, "country" text, "month_held" text ); ### SQL Given the database schema, here is the SQL query that answers `What are all of the area where distance is marathon and month held is february`: ```sql
SELECT COUNT("country") FROM "silver_label" WHERE "road_race"='Ottawa Marathon';
## Task Generate a SQL query to answer the following question: `What's the whole range of united states where road race is ottawa marathon` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "silver_label" ( "road_race" text, "distance" text, "location" text, "country" text, "month_held" text ); ### SQL Given the database schema, here is the SQL query that answers `What's the whole range of united states where road race is ottawa marathon`: ```sql
SELECT "road_race" FROM "bronze_label" WHERE "country"='Germany' AND "month_held"='May';
## Task Generate a SQL query to answer the following question: `What race is held in Germany in the month of May? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "bronze_label" ( "road_race" text, "distance" text, "location" text, "country" text, "month_held" text ); ### SQL Given the database schema, here is the SQL query that answers `What race is held in Germany in the month of May? `: ```sql
SELECT COUNT("month_held") FROM "bronze_label" WHERE "distance"='Marathon' AND "location"='Brighton';
## Task Generate a SQL query to answer the following question: `How many times a year is the Brighton Marathon held?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "bronze_label" ( "road_race" text, "distance" text, "location" text, "country" text, "month_held" text ); ### SQL Given the database schema, here is the SQL query that answers `How many times a year is the Brighton Marathon held?`: ```sql
SELECT "month_held" FROM "bronze_label" WHERE "location"='Paris';
## Task Generate a SQL query to answer the following question: `What month is the Paris 20k Road Race held?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "bronze_label" ( "road_race" text, "distance" text, "location" text, "country" text, "month_held" text ); ### SQL Given the database schema, here is the SQL query that answers `What month is the Paris 20k Road Race held?`: ```sql
SELECT COUNT("month_held") FROM "bronze_label" WHERE "road_race"='Paris 20K';
## Task Generate a SQL query to answer the following question: `How many times a year is the Paris 20k road race held?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "bronze_label" ( "road_race" text, "distance" text, "location" text, "country" text, "month_held" text ); ### SQL Given the database schema, here is the SQL query that answers `How many times a year is the Paris 20k road race held?`: ```sql
SELECT "road_race" FROM "bronze_label" WHERE "location"='Omsk';
## Task Generate a SQL query to answer the following question: `What is the name of the road race held in Omsk, Russia?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "bronze_label" ( "road_race" text, "distance" text, "location" text, "country" text, "month_held" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the name of the road race held in Omsk, Russia?`: ```sql
SELECT "location" FROM "gold_label" WHERE "road_race"='Istanbul Marathon';
## Task Generate a SQL query to answer the following question: `Where was the istanbul marathon?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "gold_label" ( "road_race" text, "distance" text, "location" text, "country" text, "month_held" text ); ### SQL Given the database schema, here is the SQL query that answers `Where was the istanbul marathon?`: ```sql
SELECT "distance" FROM "gold_label" WHERE "road_race"='Great Manchester Run';
## Task Generate a SQL query to answer the following question: `How long was the great manchester run?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "gold_label" ( "road_race" text, "distance" text, "location" text, "country" text, "month_held" text ); ### SQL Given the database schema, here is the SQL query that answers `How long was the great manchester run?`: ```sql
SELECT "country" FROM "gold_label" WHERE "road_race"='Xiamen International Marathon';
## Task Generate a SQL query to answer the following question: `In which country was the xiamen international marathon?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "gold_label" ( "road_race" text, "distance" text, "location" text, "country" text, "month_held" text ); ### SQL Given the database schema, here is the SQL query that answers `In which country was the xiamen international marathon?`: ```sql
SELECT "location" FROM "gold_label" WHERE "road_race"='Berlin Marathon';
## Task Generate a SQL query to answer the following question: `In which city was the berlin marathon?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "gold_label" ( "road_race" text, "distance" text, "location" text, "country" text, "month_held" text ); ### SQL Given the database schema, here is the SQL query that answers `In which city was the berlin marathon?`: ```sql
SELECT COUNT("road_race") FROM "gold_label" WHERE "country"='Japan' AND "location"='Fukuoka';
## Task Generate a SQL query to answer the following question: `How many races were in fukuoka, japan?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "gold_label" ( "road_race" text, "distance" text, "location" text, "country" text, "month_held" text ); ### SQL Given the database schema, here is the SQL query that answers `How many races were in fukuoka, japan?`: ```sql
SELECT COUNT("no_in_series") FROM "table1_26168687_3" WHERE "vessel_operator"='Canadian Coast Guard';
## Task Generate a SQL query to answer the following question: `How many times is the vessel operator canadian coast guard?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_26168687_3" ( "no_in_series" real, "no_in_season" real, "title" text, "vessel_type" text, "vessel_operator" text, "narrated_by" text, "original_air_date" real ); ### SQL Given the database schema, here is the SQL query that answers `How many times is the vessel operator canadian coast guard?`: ```sql
SELECT "vessel_type" FROM "table1_26168687_3" WHERE "vessel_operator"='Jumbo Shipping';
## Task Generate a SQL query to answer the following question: `What is the vessel type for vessel operator Jumbo shipping?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_26168687_3" ( "no_in_series" real, "no_in_season" real, "title" text, "vessel_type" text, "vessel_operator" text, "narrated_by" text, "original_air_date" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the vessel type for vessel operator Jumbo shipping?`: ```sql
SELECT "narrated_by" FROM "table1_26168687_3" WHERE "vessel_operator"='De Beers';
## Task Generate a SQL query to answer the following question: `Who narrated when the vessel operator is de beers?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_26168687_3" ( "no_in_series" real, "no_in_season" real, "title" text, "vessel_type" text, "vessel_operator" text, "narrated_by" text, "original_air_date" real ); ### SQL Given the database schema, here is the SQL query that answers `Who narrated when the vessel operator is de beers?`: ```sql
SELECT COUNT("no_in_series") FROM "table1_2618061_1" WHERE "production_code"=66210;
## Task Generate a SQL query to answer the following question: `How many episodes had the production code 66210?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2618061_1" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real ); ### SQL Given the database schema, here is the SQL query that answers `How many episodes had the production code 66210?`: ```sql
SELECT "original_air_date" FROM "table1_2618061_1" WHERE "title"='\"Kiss the Girls and Make Them Die\"';
## Task Generate a SQL query to answer the following question: `What was the original air date of "kiss the girls and make them die"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2618061_1" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real ); ### SQL Given the database schema, here is the SQL query that answers `What was the original air date of "kiss the girls and make them die"?`: ```sql
SELECT COUNT("written_by") FROM "table1_2618061_1" WHERE "directed_by"='James Quinn';
## Task Generate a SQL query to answer the following question: `How many episodes were directed by james quinn?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2618061_1" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real ); ### SQL Given the database schema, here is the SQL query that answers `How many episodes were directed by james quinn?`: ```sql
SELECT "title" FROM "table1_2618061_1" WHERE "directed_by"='Daniel Sackheim';
## Task Generate a SQL query to answer the following question: `What is the title of the episode written by daniel sackheim?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2618061_1" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the title of the episode written by daniel sackheim?`: ```sql
SELECT MIN("br_up") FROM "table1_26176081_29" WHERE "long"=94;
## Task Generate a SQL query to answer the following question: `What is the lowest brup when long is 94?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_26176081_29" ( "name" text, "gp" real, "solo" real, "ast" real, "total" real, "tfl_yds" text, "no_yds" text, "br_up" real, "no_yds" text, "avg" text, "td" real, "long" real, "rcv_yds" text, "ff" real, "blkd_kick" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the lowest brup when long is 94?`: ```sql
SELECT MIN("gp") FROM "table1_26176081_29";
## Task Generate a SQL query to answer the following question: `What is the lowest gp?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_26176081_29" ( "name" text, "gp" real, "solo" real, "ast" real, "total" real, "tfl_yds" text, "no_yds" text, "br_up" real, "no_yds" text, "avg" text, "td" real, "long" real, "rcv_yds" text, "ff" real, "blkd_kick" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the lowest gp?`: ```sql
SELECT MAX("ff") FROM "table1_26176081_29" WHERE "solo"=56;
## Task Generate a SQL query to answer the following question: `What is the highest ff when solo is 56?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_26176081_29" ( "name" text, "gp" real, "solo" real, "ast" real, "total" real, "tfl_yds" text, "no_yds" text, "br_up" real, "no_yds" text, "avg" text, "td" real, "long" real, "rcv_yds" text, "ff" real, "blkd_kick" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the highest ff when solo is 56?`: ```sql
SELECT "name" FROM "table1_26176081_29" WHERE "tfl_yds"='2-2';
## Task Generate a SQL query to answer the following question: `What is the name when tfl-yds is 2-2?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_26176081_29" ( "name" text, "gp" real, "solo" real, "ast" real, "total" real, "tfl_yds" text, "no_yds" text, "br_up" real, "no_yds" text, "avg" text, "td" real, "long" real, "rcv_yds" text, "ff" real, "blkd_kick" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the name when tfl-yds is 2-2?`: ```sql
SELECT "no_yds" FROM "table1_26176081_29" WHERE "no_yds"='1-13';
## Task Generate a SQL query to answer the following question: `What is no-yds when no.-yds is 1-13?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_26176081_29" ( "name" text, "gp" real, "solo" real, "ast" real, "total" real, "tfl_yds" text, "no_yds" text, "br_up" real, "no_yds" text, "avg" text, "td" real, "long" real, "rcv_yds" text, "ff" real, "blkd_kick" real ); ### SQL Given the database schema, here is the SQL query that answers `What is no-yds when no.-yds is 1-13?`: ```sql
SELECT MAX("f_laps") FROM "career_summary";
## Task Generate a SQL query to answer the following question: `what are the maximum f/laps?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "career_summary" ( "season" real, "series" text, "team" text, "races" real, "wins" real, "poles" real, "f_laps" real, "podiums" real, "points" real, "position" text ); ### SQL Given the database schema, here is the SQL query that answers `what are the maximum f/laps?`: ```sql
SELECT "wins" FROM "career_summary" WHERE "series"='Formula Renault 2.0 NEC' AND "position"='18th';
## Task Generate a SQL query to answer the following question: `how many wins had series formula renault 2.0 nec and the position is 18th?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "career_summary" ( "season" real, "series" text, "team" text, "races" real, "wins" real, "poles" real, "f_laps" real, "podiums" real, "points" real, "position" text ); ### SQL Given the database schema, here is the SQL query that answers `how many wins had series formula renault 2.0 nec and the position is 18th?`: ```sql
SELECT MIN("poles") FROM "career_summary";
## Task Generate a SQL query to answer the following question: `what are the minimum poles?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "career_summary" ( "season" real, "series" text, "team" text, "races" real, "wins" real, "poles" real, "f_laps" real, "podiums" real, "points" real, "position" text ); ### SQL Given the database schema, here is the SQL query that answers `what are the minimum poles?`: ```sql
SELECT "original_air_date" FROM "table1_2618072_1" WHERE "written_by"='Michael S. Chernuchin & Joe Morgenstern';
## Task Generate a SQL query to answer the following question: `When was the original air date written by michael s. chernuchin & joe morgenstern?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2618072_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real ); ### SQL Given the database schema, here is the SQL query that answers `When was the original air date written by michael s. chernuchin & joe morgenstern?`: ```sql
SELECT "written_by" FROM "table1_2618072_1" WHERE "title"='\"His Hour Upon the Stage\"';
## Task Generate a SQL query to answer the following question: `Who is the written by when the title is "his hour upon the stage"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2618072_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real ); ### SQL Given the database schema, here is the SQL query that answers `Who is the written by when the title is "his hour upon the stage"?`: ```sql
SELECT "directed_by" FROM "table1_2618072_1" WHERE "production_code"=67425;
## Task Generate a SQL query to answer the following question: `Who is the directed by when the production code is 67425?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2618072_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real ); ### SQL Given the database schema, here is the SQL query that answers `Who is the directed by when the production code is 67425?`: ```sql
SELECT "written_by" FROM "table1_2618119_1" WHERE "original_air_date"='October 23, 1996';
## Task Generate a SQL query to answer the following question: `Who are all writers with original air date of October 23, 1996?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2618119_1" ( "no_in_series" real, "no_in_season" 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 `Who are all writers with original air date of October 23, 1996?`: ```sql
SELECT COUNT("title") FROM "table1_2618119_1" WHERE "directed_by"='Matthew Penn' AND "no_in_series"=143;
## Task Generate a SQL query to answer the following question: `How many titles have directors of matthew Penn and number in series of 143?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2618119_1" ( "no_in_series" real, "no_in_season" 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 titles have directors of matthew Penn and number in series of 143?`: ```sql
SELECT COUNT("no_in_series") FROM "table1_2618119_1" WHERE "no_in_season"=8;
## Task Generate a SQL query to answer the following question: `How many numbers in series were for the number in season of 8?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2618119_1" ( "no_in_series" real, "no_in_season" 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 numbers in series were for the number in season of 8?`: ```sql
SELECT "directed_by" FROM "table1_2618113_1" WHERE "production_code"='K0122';
## Task Generate a SQL query to answer the following question: `Who directed k0122?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2618113_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); ### SQL Given the database schema, here is the SQL query that answers `Who directed k0122?`: ```sql
SELECT MAX("no_in_season") FROM "table1_2618113_1" WHERE "production_code"='K0104';
## Task Generate a SQL query to answer the following question: `Which season had k0104?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2618113_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); ### SQL Given the database schema, here is the SQL query that answers `Which season had k0104?`: ```sql
SELECT "no_in_season" FROM "table1_2618113_1" WHERE "title"='\"Angel\"';
## Task Generate a SQL query to answer the following question: `Which season had "angel"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2618113_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); ### SQL Given the database schema, here is the SQL query that answers `Which season had "angel"?`: ```sql
SELECT "original_air_date" FROM "table1_2618113_1" WHERE "production_code"='K0120';
## Task Generate a SQL query to answer the following question: `What was the airdate of k0120?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2618113_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the airdate of k0120?`: ```sql
SELECT "original_air_date" FROM "table1_2618251_1" WHERE "title"='\"Gunplay\"';
## Task Generate a SQL query to answer the following question: `What are the original air date(s) for "gunplay"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2618251_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real, "u_s_viewers_millions" text ); ### SQL Given the database schema, here is the SQL query that answers `What are the original air date(s) for "gunplay"?`: ```sql
SELECT "directed_by" FROM "table1_2618251_1" WHERE "title"='\"Dining Out\"';
## Task Generate a SQL query to answer the following question: `Who directed the episode "dining out"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2618251_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real, "u_s_viewers_millions" text ); ### SQL Given the database schema, here is the SQL query that answers `Who directed the episode "dining out"?`: ```sql
SELECT "institution" FROM "current_members" WHERE "nickname"='Seahawks';
## Task Generate a SQL query to answer the following question: `What is the institution with the nickname seahawks?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "current_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "nickname" text, "joined" text, "primary_conference" text, "colors" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the institution with the nickname seahawks?`: ```sql
SELECT "colors" FROM "current_members" WHERE "nickname"='Engineers';
## Task Generate a SQL query to answer the following question: `What is the colors for the nickname engineers?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "current_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "nickname" text, "joined" text, "primary_conference" text, "colors" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the colors for the nickname engineers?`: ```sql
SELECT COUNT("institution") FROM "current_members" WHERE "colors"='Blue & Gold';
## Task Generate a SQL query to answer the following question: `How many have the colors blue & gold?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "current_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "nickname" text, "joined" text, "primary_conference" text, "colors" text ); ### SQL Given the database schema, here is the SQL query that answers `How many have the colors blue & gold?`: ```sql
SELECT "institution" FROM "current_members" WHERE "nickname"='Engineers';
## Task Generate a SQL query to answer the following question: `What is the institution with the nickname engineers?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "current_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "nickname" text, "joined" text, "primary_conference" text, "colors" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the institution with the nickname engineers?`: ```sql
SELECT "enrollment" FROM "current_members" WHERE "colors"='Green & Black';
## Task Generate a SQL query to answer the following question: `What is the enrollment for the colors green & black?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "current_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "nickname" text, "joined" text, "primary_conference" text, "colors" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the enrollment for the colors green & black?`: ```sql
SELECT "institution" FROM "freedom_conference" WHERE "location"='Wilkes-Barre, Pennsylvania';
## Task Generate a SQL query to answer the following question: `What institution(s) are located in wilkes-barre, pennsylvania?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "freedom_conference" ( "institution" text, "location" text, "nickname" text, "founded" real, "type" text, "enrollment" real, "joined_mac" real ); ### SQL Given the database schema, here is the SQL query that answers `What institution(s) are located in wilkes-barre, pennsylvania?`: ```sql
SELECT MAX("enrollment") FROM "freedom_conference" WHERE "joined_mac"=1997;
## Task Generate a SQL query to answer the following question: `What is the highest enrollment schools that joined the mac in 1997?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "freedom_conference" ( "institution" text, "location" text, "nickname" text, "founded" real, "type" text, "enrollment" real, "joined_mac" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the highest enrollment schools that joined the mac in 1997?`: ```sql
SELECT MAX("joined_mac") FROM "freedom_conference" WHERE "institution"='Delaware Valley College';
## Task Generate a SQL query to answer the following question: `What is the enrollment at delaware valley college?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "freedom_conference" ( "institution" text, "location" text, "nickname" text, "founded" real, "type" text, "enrollment" real, "joined_mac" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the enrollment at delaware valley college?`: ```sql
SELECT MIN("joined_mac") FROM "freedom_conference" WHERE "nickname"='Eagles';
## Task Generate a SQL query to answer the following question: `What year did the the school with the nickname eagles join the mac?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "freedom_conference" ( "institution" text, "location" text, "nickname" text, "founded" real, "type" text, "enrollment" real, "joined_mac" real ); ### SQL Given the database schema, here is the SQL query that answers `What year did the the school with the nickname eagles join the mac?`: ```sql
SELECT "institution" FROM "current_members" WHERE "nickname"='Bobcats';
## Task Generate a SQL query to answer the following question: `Which institution's nickname is the Bobcats? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "current_members" ( "institution" text, "location" text, "nickname" text, "founded" real, "founding_religious_affiliation" text, "enrollment" real, "joined" real ); ### SQL Given the database schema, here is the SQL query that answers `Which institution's nickname is the Bobcats? `: ```sql
SELECT "enrollment" FROM "current_members" WHERE "location"='New London, Connecticut';
## Task Generate a SQL query to answer the following question: `What is the enrollment at the institution in New London, Connecticut? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "current_members" ( "institution" text, "location" text, "nickname" text, "founded" real, "founding_religious_affiliation" text, "enrollment" real, "joined" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the enrollment at the institution in New London, Connecticut? `: ```sql
SELECT "joined" FROM "current_members" WHERE "location"='Lewiston, Maine';
## Task Generate a SQL query to answer the following question: `When did the institution located in Lewiston, Maine join the conference? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "current_members" ( "institution" text, "location" text, "nickname" text, "founded" real, "founding_religious_affiliation" text, "enrollment" real, "joined" real ); ### SQL Given the database schema, here is the SQL query that answers `When did the institution located in Lewiston, Maine join the conference? `: ```sql
SELECT "institution" FROM "current_members" WHERE "nickname"='Polar Bears';
## Task Generate a SQL query to answer the following question: `Which institution's nickname is the Polar Bears?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "current_members" ( "institution" text, "location" text, "nickname" text, "founded" real, "founding_religious_affiliation" text, "enrollment" real, "joined" real ); ### SQL Given the database schema, here is the SQL query that answers `Which institution's nickname is the Polar Bears?`: ```sql
SELECT "nickname" FROM "current_members" WHERE "institution"='Linfield College';
## Task Generate a SQL query to answer the following question: `What is the nickname of Linfield College?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "current_members" ( "institution" text, "location" text, "nickname" text, "founded" real, "type" text, "enrollment" real, "joined" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the nickname of Linfield College?`: ```sql
SELECT "founded" FROM "current_members" WHERE "type"='Private/Baptist';
## Task Generate a SQL query to answer the following question: `When was the private/baptist school founded?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "current_members" ( "institution" text, "location" text, "nickname" text, "founded" real, "type" text, "enrollment" real, "joined" text ); ### SQL Given the database schema, here is the SQL query that answers `When was the private/baptist school founded?`: ```sql
SELECT COUNT("enrollment") FROM "current_members" WHERE "joined"='1931, 1949 1';
## Task Generate a SQL query to answer the following question: `How many different items appear in the enrollment column that joined in 1931, 1949 1?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "current_members" ( "institution" text, "location" text, "nickname" text, "founded" real, "type" text, "enrollment" real, "joined" text ); ### SQL Given the database schema, here is the SQL query that answers `How many different items appear in the enrollment column that joined in 1931, 1949 1?`: ```sql
SELECT "location" FROM "current_members" WHERE "joined"='1926, 1996 2';
## Task Generate a SQL query to answer the following question: `What is the location of the University that joined in 1926, 1996 2?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "current_members" ( "institution" text, "location" text, "nickname" text, "founded" real, "type" text, "enrollment" real, "joined" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the location of the University that joined in 1926, 1996 2?`: ```sql
SELECT MIN("founded") FROM "current_members";
## Task Generate a SQL query to answer the following question: `When was the earliest founded university?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "current_members" ( "institution" text, "location" text, "nickname" text, "founded" real, "type" text, "enrollment" real, "joined" text ); ### SQL Given the database schema, here is the SQL query that answers `When was the earliest founded university?`: ```sql
SELECT "standing" FROM "regular_season" WHERE "goals_against"=130;
## Task Generate a SQL query to answer the following question: `What was the team standing if the won 130 goals against another team?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "regular_season" ( "season" text, "games" real, "won" real, "lost" real, "tied" real, "points" real, "goals_for" real, "goals_against" real, "standing" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the team standing if the won 130 goals against another team?`: ```sql
SELECT "type" FROM "current_members" WHERE "location"='Roanoke, Virginia';
## Task Generate a SQL query to answer the following question: `What is every type for the location of Roanoke, Virginia?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "current_members" ( "institution" text, "location" text, "nickname" text, "founded" real, "type" text, "enrollment" real, "football" text, "joined" real ); ### SQL Given the database schema, here is the SQL query that answers `What is every type for the location of Roanoke, Virginia?`: ```sql
SELECT COUNT("joined") FROM "current_members" WHERE "institution"='Guilford College';
## Task Generate a SQL query to answer the following question: `How many values for joined occur at Guilford College?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "current_members" ( "institution" text, "location" text, "nickname" text, "founded" real, "type" text, "enrollment" real, "football" text, "joined" real ); ### SQL Given the database schema, here is the SQL query that answers `How many values for joined occur at Guilford College?`: ```sql
SELECT "institution" FROM "current_members" WHERE "nickname"='Quakers';
## Task Generate a SQL query to answer the following question: `What is every institution with the nickname of Quakers?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "current_members" ( "institution" text, "location" text, "nickname" text, "founded" real, "type" text, "enrollment" real, "football" text, "joined" real ); ### SQL Given the database schema, here is the SQL query that answers `What is every institution with the nickname of Quakers?`: ```sql
SELECT "football" FROM "current_members" WHERE "enrollment"=998;
## Task Generate a SQL query to answer the following question: `What is every entry for football when enrollment is 998?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "current_members" ( "institution" text, "location" text, "nickname" text, "founded" real, "type" text, "enrollment" real, "football" text, "joined" real ); ### SQL Given the database schema, here is the SQL query that answers `What is every entry for football when enrollment is 998?`: ```sql
SELECT MIN("joined") FROM "current_members";
## Task Generate a SQL query to answer the following question: `What is the least value of joined?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "current_members" ( "institution" text, "location" text, "nickname" text, "founded" real, "type" text, "enrollment" real, "football" text, "joined" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the least value of joined?`: ```sql
SELECT "institution" FROM "current_members" WHERE "nickname"='WildCats';
## Task Generate a SQL query to answer the following question: `What is every institution with the nickname of Wildcats?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "current_members" ( "institution" text, "location" text, "nickname" text, "founded" real, "type" text, "enrollment" real, "football" text, "joined" real ); ### SQL Given the database schema, here is the SQL query that answers `What is every institution with the nickname of Wildcats?`: ```sql
SELECT "title" FROM "table1_26199130_1" WHERE "production_code"='2ALF03';
## Task Generate a SQL query to answer the following question: `What is the title of the episode with production code 2alf03?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_26199130_1" ( "no" real, "num" real, "title" text, "directed_by" text, "written_by" text, "u_s_viewers_million" text, "rank_week" text, "original_air_date" text, "production_code" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the title of the episode with production code 2alf03?`: ```sql
SELECT "rank_week" FROM "table1_26199130_1" WHERE "no"=34;
## Task Generate a SQL query to answer the following question: `What was the rank (week) for episode number 34?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_26199130_1" ( "no" real, "num" real, "title" text, "directed_by" text, "written_by" text, "u_s_viewers_million" text, "rank_week" text, "original_air_date" text, "production_code" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the rank (week) for episode number 34?`: ```sql
SELECT MAX("no") FROM "table1_26199130_1" WHERE "u_s_viewers_million"='11.96';
## Task Generate a SQL query to answer the following question: `What numbered episode had 11.96 million US viewers?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_26199130_1" ( "no" real, "num" real, "title" text, "directed_by" text, "written_by" text, "u_s_viewers_million" text, "rank_week" text, "original_air_date" text, "production_code" text ); ### SQL Given the database schema, here is the SQL query that answers `What numbered episode had 11.96 million US viewers?`: ```sql
SELECT COUNT("num") FROM "table1_26200084_1" WHERE "directed_by"='Steven DePaul' AND "title"='\"Sudden Flight\"';
## Task Generate a SQL query to answer the following question: `How many episode numbers were directed by Steven DePaul and titled "Sudden Flight"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_26200084_1" ( "no" real, "num" real, "title" text, "directed_by" text, "written_by" text, "u_s_viewers_million" text, "rank_week" text, "original_air_date" text, "production_code" text ); ### SQL Given the database schema, here is the SQL query that answers `How many episode numbers were directed by Steven DePaul and titled "Sudden Flight"?`: ```sql
SELECT "rank_week" FROM "table1_26200084_1" WHERE "num"=19;
## Task Generate a SQL query to answer the following question: `What was the ranking of episode #19?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_26200084_1" ( "no" real, "num" real, "title" text, "directed_by" text, "written_by" text, "u_s_viewers_million" text, "rank_week" text, "original_air_date" text, "production_code" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the ranking of episode #19?`: ```sql
SELECT "production_code" FROM "table1_26200084_1" WHERE "rank_week"='28';
## Task Generate a SQL query to answer the following question: `What was the production code of the episode ranked 28?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_26200084_1" ( "no" real, "num" real, "title" text, "directed_by" text, "written_by" text, "u_s_viewers_million" text, "rank_week" text, "original_air_date" text, "production_code" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the production code of the episode ranked 28?`: ```sql
SELECT "title" FROM "table1_26200084_1" WHERE "directed_by"='David Mamet';
## Task Generate a SQL query to answer the following question: `What was the title of the episode directed by David Mamet?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_26200084_1" ( "no" real, "num" real, "title" text, "directed_by" text, "written_by" text, "u_s_viewers_million" text, "rank_week" text, "original_air_date" text, "production_code" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the title of the episode directed by David Mamet?`: ```sql
SELECT "production_code" FROM "table1_26198709_1" WHERE "u_s_viewers_million"='18.07';
## Task Generate a SQL query to answer the following question: `What is the production code for the episode that had 18.07 million viewers? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_26198709_1" ( "no" real, "title" text, "directed_by" text, "written_by" text, "u_s_viewers_million" text, "rank_week" real, "original_air_date" text, "production_code" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the production code for the episode that had 18.07 million viewers? `: ```sql
SELECT MAX("rank_week") FROM "table1_26198709_1" WHERE "production_code"='1ALF05';
## Task Generate a SQL query to answer the following question: `What is the weeks rank for the episode with the production code 1alf05? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_26198709_1" ( "no" real, "title" text, "directed_by" text, "written_by" text, "u_s_viewers_million" text, "rank_week" real, "original_air_date" text, "production_code" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the weeks rank for the episode with the production code 1alf05? `: ```sql
SELECT COUNT("original_air_date") FROM "table1_26198709_1" WHERE "u_s_viewers_million"='15.50';
## Task Generate a SQL query to answer the following question: `How many air dates does the episode with 15.50 million viewers have? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_26198709_1" ( "no" real, "title" text, "directed_by" text, "written_by" text, "u_s_viewers_million" text, "rank_week" real, "original_air_date" text, "production_code" text ); ### SQL Given the database schema, here is the SQL query that answers `How many air dates does the episode with 15.50 million viewers have? `: ```sql
SELECT "written_by" FROM "table1_26198709_1" WHERE "u_s_viewers_million"='18.07';
## Task Generate a SQL query to answer the following question: `Who wrote the episode with 18.07 million viewers? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_26198709_1" ( "no" real, "title" text, "directed_by" text, "written_by" text, "u_s_viewers_million" text, "rank_week" real, "original_air_date" text, "production_code" text ); ### SQL Given the database schema, here is the SQL query that answers `Who wrote the episode with 18.07 million viewers? `: ```sql
SELECT MAX("points_against") FROM "standings" WHERE "club"='Toronto Rebels';
## Task Generate a SQL query to answer the following question: `How many points were scored against the Toronto Rebels?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "standings" ( "club" text, "wins" real, "losses" real, "points_for" real, "points_against" real, "percentage" text, "points" real ); ### SQL Given the database schema, here is the SQL query that answers `How many points were scored against the Toronto Rebels?`: ```sql
SELECT MIN("points_for") FROM "standings" WHERE "club"='Toronto Downtown Dingos';
## Task Generate a SQL query to answer the following question: `How many points did the Toronto Downtown Dingos score?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "standings" ( "club" text, "wins" real, "losses" real, "points_for" real, "points_against" real, "percentage" text, "points" real ); ### SQL Given the database schema, here is the SQL query that answers `How many points did the Toronto Downtown Dingos score?`: ```sql
SELECT "losses" FROM "standings" WHERE "club"='Toronto Downtown Dingos';
## Task Generate a SQL query to answer the following question: `How many losses does Toronto Downtown Dingos have?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "standings" ( "club" text, "wins" real, "losses" real, "points_for" real, "points_against" real, "percentage" text, "points" real ); ### SQL Given the database schema, here is the SQL query that answers `How many losses does Toronto Downtown Dingos have?`: ```sql
SELECT "percentage" FROM "standings" WHERE "points_for"=63;
## Task Generate a SQL query to answer the following question: `What is the percentage listed for the team who scored 63 points?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "standings" ( "club" text, "wins" real, "losses" real, "points_for" real, "points_against" real, "percentage" text, "points" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the percentage listed for the team who scored 63 points?`: ```sql
SELECT MAX("losses") FROM "standings" WHERE "club"='Central Blues';
## Task Generate a SQL query to answer the following question: `How many losses does Central Blues have?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "standings" ( "club" text, "wins" real, "losses" real, "points_for" real, "points_against" real, "percentage" text, "points" real ); ### SQL Given the database schema, here is the SQL query that answers `How many losses does Central Blues have?`: ```sql
SELECT COUNT("specimen_weight_size") FROM "notes" WHERE "estimated_exposure_m_rem_hr"='0.28';
## Task Generate a SQL query to answer the following question: `if the estimated exposure ( mrem )/hr* is 0.28, what is the specimen weight/size?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "notes" ( "specimen_weight_size" text, "calculated_activity_bq" real, "calculated_activity_ci" text, "estimated_activity_gr_api" text, "estimated_exposure_m_rem_hr" text ); ### SQL Given the database schema, here is the SQL query that answers `if the estimated exposure ( mrem )/hr* is 0.28, what is the specimen weight/size?`: ```sql
SELECT "estimated_exposure_m_rem_hr" FROM "notes" WHERE "specimen_weight_size"='1000 g / 8.79 cm';
## Task Generate a SQL query to answer the following question: `If the specimen weight /size is 1000 g / 8.79 cm, what is the estimated exposure ( mrem )/hr*?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "notes" ( "specimen_weight_size" text, "calculated_activity_bq" real, "calculated_activity_ci" text, "estimated_activity_gr_api" text, "estimated_exposure_m_rem_hr" text ); ### SQL Given the database schema, here is the SQL query that answers `If the specimen weight /size is 1000 g / 8.79 cm, what is the estimated exposure ( mrem )/hr*?`: ```sql
SELECT "specimen_weight_size" FROM "notes" WHERE "calculated_activity_ci"='4.96×10 −11';
## Task Generate a SQL query to answer the following question: `If the calculated activity (CI) is 4.96×10 −11, what is the specimen weight/size?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "notes" ( "specimen_weight_size" text, "calculated_activity_bq" real, "calculated_activity_ci" text, "estimated_activity_gr_api" text, "estimated_exposure_m_rem_hr" text ); ### SQL Given the database schema, here is the SQL query that answers `If the calculated activity (CI) is 4.96×10 −11, what is the specimen weight/size?`: ```sql