output
stringlengths
27
479
instruction
stringlengths
407
1.39k
SELECT "brand_name" FROM "cancer_immunotherapy_monoclonal_antibodi" WHERE "antibody"='Brentuximab vedotin';
## Task Generate a SQL query to answer the following question: `What is the brand name for the antibody Brentuximab Vedotin?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "cancer_immunotherapy_monoclonal_antibodi" ( "antibody" text, "brand_name" t...
SELECT COUNT("target") FROM "cancer_immunotherapy_monoclonal_antibodi" WHERE "approval_date"=1997;
## Task Generate a SQL query to answer the following question: `How many targets are there with an approval date of 1997?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "cancer_immunotherapy_monoclonal_antibodi" ( "antibody" text, "brand_name" text...
SELECT "approved_treatment_s" FROM "cancer_immunotherapy_monoclonal_antibodi" WHERE "antibody"='Bevacizumab';
## Task Generate a SQL query to answer the following question: `What are the approved treatments when the antibody is bevacizumab?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "cancer_immunotherapy_monoclonal_antibodi" ( "antibody" text, "brand_n...
SELECT "target" FROM "cancer_immunotherapy_monoclonal_antibodi" WHERE "approved_treatment_s"='non-Hodgkin lymphoma';
## Task Generate a SQL query to answer the following question: `What is the target when the approved treatment is non-hodgkin lymphoma?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "cancer_immunotherapy_monoclonal_antibodi" ( "antibody" text, "br...
SELECT "target" FROM "cancer_immunotherapy_monoclonal_antibodi" WHERE "approval_date"=2006;
## Task Generate a SQL query to answer the following question: `What is the target with an approval date of 2006?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "cancer_immunotherapy_monoclonal_antibodi" ( "antibody" text, "brand_name" text, "app...
SELECT MIN("urban_pct") FROM "population_of_kazakhstan_1939_2009" WHERE "rural_pct"=43;
## Task Generate a SQL query to answer the following question: `What is the urban population % when the rural percentage is 43?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "population_of_kazakhstan_1939_2009" ( "year_january" real, "population_0...
SELECT MIN("rural_pct") FROM "population_of_kazakhstan_1939_2009" WHERE "year_january"=1979;
## Task Generate a SQL query to answer the following question: `What is the rural population percentage in 1979?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "population_of_kazakhstan_1939_2009" ( "year_january" real, "population_000" real, "ru...
SELECT COUNT("urban_pct") FROM "population_of_kazakhstan_1939_2009" WHERE "population_000"=14685;
## Task Generate a SQL query to answer the following question: `How many percentage figures are given for the urban population when the total population number is 14685?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "population_of_kazakhstan_1939_2009...
SELECT COUNT("source") FROM "population_of_kazakhstan_1939_2009" WHERE "urban_pct"=57;
## Task Generate a SQL query to answer the following question: `For how many years was the urban population 57%?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "population_of_kazakhstan_1939_2009" ( "year_january" real, "population_000" real, "ru...
SELECT "islam" FROM "religion" WHERE "ethnicity"='Tajik';
## Task Generate a SQL query to answer the following question: `When tajik is the ethnicity what is islam?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "religion" ( "ethnicity" text, "islam" text, "christianity" text, "judaism" text, "budd...
SELECT COUNT("name") FROM "course" WHERE "length_m"=455;
## Task Generate a SQL query to answer the following question: `How many had a length of 455?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "course" ( "number" real, "name" text, "kilometer" real, "pavement" text, "length_m" real, "average...
SELECT MIN("average_climb_pct") FROM "course" WHERE "name"='Tenbosse';
## Task Generate a SQL query to answer the following question: `What is the average climb for Tenbosse?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "course" ( "number" real, "name" text, "kilometer" real, "pavement" text, "length_m" real, ...
SELECT "number" FROM "course" WHERE "kilometer"=233;
## Task Generate a SQL query to answer the following question: `How many have a kilometers of 233?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "course" ( "number" real, "name" text, "kilometer" real, "pavement" text, "length_m" real, "av...
SELECT COUNT("average_climb_pct") FROM "course" WHERE "length_m"=375;
## Task Generate a SQL query to answer the following question: `How many have a length of 375?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "course" ( "number" real, "name" text, "kilometer" real, "pavement" text, "length_m" real, "averag...
SELECT "playoffs" FROM "year_by_year" WHERE "year"='2011';
## Task Generate a SQL query to answer the following question: `What was the team's playoff status in 2011?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "year_by_year" ( "year" text, "division" real, "league" text, "regular_season" text, "p...
SELECT "league" FROM "year_by_year" WHERE "year"='2010';
## Task Generate a SQL query to answer the following question: `What was the team's league in 2010?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "year_by_year" ( "year" text, "division" real, "league" text, "regular_season" text, "playoffs"...
SELECT "league" FROM "year_by_year" WHERE "regular_season"='2nd, Mid Atlantic';
## Task Generate a SQL query to answer the following question: `What is the league name for the regular season status of 2nd, mid atlantic?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "year_by_year" ( "year" text, "division" real, "league" tex...
SELECT "winning_driver" FROM "calendar" WHERE "circuit"='Okayama International Circuit';
## Task Generate a SQL query to answer the following question: `Who was the winning driver at Okayama International Circuit?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "calendar" ( "round" real, "circuit" text, "date" text, "pole_position" ...
SELECT "fastest_lap" FROM "calendar" WHERE "winning_team"='TOM''S Racing';
## Task Generate a SQL query to answer the following question: `Who had the fastest lap when the winning team was Tom's Racing?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "calendar" ( "round" real, "circuit" text, "date" text, "pole_positio...
SELECT "fastest_lap" FROM "calendar" WHERE "winning_team"='Team Impul' AND "circuit"='Twin Ring Motegi';
## Task Generate a SQL query to answer the following question: `Who had the fastest lap in the race won by Team Impul at the Twin Ring Motegi circuit?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "calendar" ( "round" real, "circuit" text, "date...
SELECT COUNT("opponents") FROM "schedule" WHERE "game"=13;
## Task Generate a SQL query to answer the following question: `How many opponents did the team play in week 13?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "bills_poin...
SELECT MAX("opponents") FROM "schedule" WHERE "date"='Sept. 14';
## Task Generate a SQL query to answer the following question: `How many points did the opponent score on Sept. 14?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "bills_p...
SELECT "opponent" FROM "schedule" WHERE "bills_first_downs"=23;
## Task Generate a SQL query to answer the following question: `What team were the bills playing where their first down was 23?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text...
SELECT "record" FROM "schedule" WHERE "date"='Sept. 14';
## Task Generate a SQL query to answer the following question: `What was the record for the game on Sept. 14?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "bills_points"...
SELECT MAX("gore_hundred") FROM "table1_16677738_1" WHERE "spelthorne_hundred"=12743;
## Task Generate a SQL query to answer the following question: `When 12743 is the spelthorne what is the largest gore hundred?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_16677738_1" ( "year" real, "edmonton_hundred" real, "elthorne_hu...
SELECT "finsbury_division" FROM "table1_16677738_1" WHERE "inns_of_court_and_chancery"=1546;
## Task Generate a SQL query to answer the following question: `When 1546 is inns of court and chancery what is the finsbury division?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_16677738_1" ( "year" real, "edmonton_hundred" real, "elt...
SELECT MIN("year") FROM "table1_16677738_1";
## Task Generate a SQL query to answer the following question: `What is the lowest overall year?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_16677738_1" ( "year" real, "edmonton_hundred" real, "elthorne_hundred" real, "gore_hundred" ...
SELECT "inns_of_court_and_chancery" FROM "table1_16677738_1" WHERE "without_the_walls"=70489;
## Task Generate a SQL query to answer the following question: `When 70489 is without walls what is the inns of court and chancery?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_16677738_1" ( "year" real, "edmonton_hundred" real, "elthor...
SELECT MIN("without_the_walls") FROM "table1_16677738_1" WHERE "within_the_walls">56174.0;
## Task Generate a SQL query to answer the following question: `When within the walls is larger than 56174.0 what is the lowest amount without the walls?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_16677738_1" ( "year" real, "edmonton_hu...
SELECT MAX("holborn_division") FROM "table1_16677738_1" WHERE "tower_division"=272966;
## Task Generate a SQL query to answer the following question: `When 272966 is the tower division what is the highest holborn division?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_16677738_1" ( "year" real, "edmonton_hundred" real, "el...
SELECT "stolen_ends_against" FROM "standings" WHERE "skip"='Thomas Dufour';
## Task Generate a SQL query to answer the following question: `How many stolen ends against where there when Thomas Dufour was skip? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "standings" ( "country" text, "skip" text, "w" real, "l" real,...
SELECT MAX("stolen_ends_against") FROM "standings" WHERE "country"='Japan';
## Task Generate a SQL query to answer the following question: `What is the maximum number of stolen ends against for Japan? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "standings" ( "country" text, "skip" text, "w" real, "l" real, "pf" r...
SELECT "skip" FROM "standings" WHERE "stolen_ends_against"=13;
## Task Generate a SQL query to answer the following question: `Who was the skip when the stolen ends against was 13? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "standings" ( "country" text, "skip" text, "w" real, "l" real, "pf" real, ...
SELECT MAX("glucose_mg_dl") FROM "composition_of_common_crystalloid_soluti" WHERE "cl_mmol_l"=154;
## Task Generate a SQL query to answer the following question: `Name the most glucolse where cl is 154` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "composition_of_common_crystalloid_soluti" ( "solution" text, "other_name" text, "na_mmol_l" rea...
SELECT "other_name" FROM "composition_of_common_crystalloid_soluti" WHERE "glucose_mg_dl"=5000;
## Task Generate a SQL query to answer the following question: `Name the other name where glucose is 5000` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "composition_of_common_crystalloid_soluti" ( "solution" text, "other_name" text, "na_mmol_l" ...
SELECT "other_name" FROM "composition_of_common_crystalloid_soluti" WHERE "na_mmol_l"=77;
## Task Generate a SQL query to answer the following question: `Name the other name where na plus is 77` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "composition_of_common_crystalloid_soluti" ( "solution" text, "other_name" text, "na_mmol_l" re...
SELECT "batting_partners" FROM "test_record_partnerships_by_wicket" WHERE "season"='1997';
## Task Generate a SQL query to answer the following question: `Who are the batting partners for the 1997 season?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "test_record_partnerships_by_wicket" ( "wicket" text, "runs" real, "batting_partners"...
SELECT "season" FROM "test_record_partnerships_by_wicket" WHERE "wicket"='7th';
## Task Generate a SQL query to answer the following question: `Which season reported wickets of 7th?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "test_record_partnerships_by_wicket" ( "wicket" text, "runs" real, "batting_partners" text, "ba...
SELECT "fielding_team" FROM "test_record_partnerships_by_wicket" WHERE "wicket"='9th';
## Task Generate a SQL query to answer the following question: `Which team is 9th in wickets?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "test_record_partnerships_by_wicket" ( "wicket" text, "runs" real, "batting_partners" text, "batting_te...
SELECT "venue" FROM "test_record_partnerships_by_wicket" WHERE "batting_partners"='Mahela Jayawardene and Prasanna Jayawardene';
## Task Generate a SQL query to answer the following question: `What is the venue for batting partners Mahela Jayawardene and Prasanna Jayawardene` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "test_record_partnerships_by_wicket" ( "wicket" text, ...
SELECT COUNT("batting_team") FROM "test_record_partnerships_by_wicket" WHERE "wicket"='3rd';
## Task Generate a SQL query to answer the following question: `How many teams are listed for 3rd wickets?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "test_record_partnerships_by_wicket" ( "wicket" text, "runs" real, "batting_partners" text, ...
SELECT COUNT("batting_partners") FROM "top_10_test_partnerships_for_any_wicket" WHERE "season"='2006';
## Task Generate a SQL query to answer the following question: `How many total batting partners were most successful in the 2006 season?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "top_10_test_partnerships_for_any_wicket" ( "runs" text, "wicket...
SELECT "batting_partners" FROM "top_10_test_partnerships_for_any_wicket" WHERE "batting_team"='Pakistan';
## Task Generate a SQL query to answer the following question: `What batting partners batted for pakistan?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "top_10_test_partnerships_for_any_wicket" ( "runs" text, "wicket" text, "batting_partners" t...
SELECT "runs" FROM "top_10_test_partnerships_for_any_wicket" WHERE "fielding_team"='Bangladesh';
## Task Generate a SQL query to answer the following question: `How many runs when bangladesh was the fielding team?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "top_10_test_partnerships_for_any_wicket" ( "runs" text, "wicket" text, "batting_p...
SELECT "wicket" FROM "top_10_test_partnerships_for_any_wicket" WHERE "runs"='451' AND "fielding_team"='India';
## Task Generate a SQL query to answer the following question: `What are the wickets when there are 451 runs and india is the fielding team?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "top_10_test_partnerships_for_any_wicket" ( "runs" text, "wi...
SELECT "batting_partners" FROM "top_10_test_partnerships_for_any_wicket" WHERE "venue"='Sydney';
## Task Generate a SQL query to answer the following question: `What batting partners played in sydney?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "top_10_test_partnerships_for_any_wicket" ( "runs" text, "wicket" text, "batting_partners" text...
SELECT "batting_partners" FROM "top_10_test_partnerships_for_any_wicket" WHERE "season"='2004';
## Task Generate a SQL query to answer the following question: `What batting partners were the most successful in 2004?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "top_10_test_partnerships_for_any_wicket" ( "runs" text, "wicket" text, "battin...
SELECT "falcons_points" FROM "schedule" WHERE "record"='3-2';
## Task Generate a SQL query to answer the following question: `Name the falcons points for record of 3-2` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "falcons_points" r...
SELECT "date" FROM "schedule" WHERE "game"=9;
## Task Generate a SQL query to answer the following question: `Name the date for game 9` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "falcons_points" real, "opponents...
SELECT MAX("game") FROM "schedule" WHERE "attendance"=54774;
## Task Generate a SQL query to answer the following question: `Name the max game for attendance being 54774` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "falcons_points...
SELECT COUNT("result") FROM "schedule" WHERE "opponent"='New Orleans Saints';
## Task Generate a SQL query to answer the following question: `Name the total number of results for new orleans saints` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "fal...
SELECT COUNT("opponent") FROM "schedule" WHERE "record"='1-3';
## Task Generate a SQL query to answer the following question: `What is the total number of opponents for the game recorded as 1-3?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" ...
SELECT "result" FROM "schedule" WHERE "record"='1-2';
## Task Generate a SQL query to answer the following question: `What was the result of the 1978 Atlanta Falcons season when the record was 1-2?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text,...
SELECT "falcons_points" FROM "schedule" WHERE "record"='4-4';
## Task Generate a SQL query to answer the following question: `How many points did the Falcons score when the record was 4-4? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text...
SELECT COUNT("opponents") FROM "schedule" WHERE "record"='6-4';
## Task Generate a SQL query to answer the following question: `How many opponents were there for the game recorded as 6-4 in the Atlanta Falcons 1978 season?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "schedule" ( "game" real, "date" text, "...
SELECT MIN("falcons_points") FROM "schedule" WHERE "opponent"='San Francisco 49ers';
## Task Generate a SQL query to answer the following question: `In games where the opponent was the San Francisco 49ers what was the minimum amount of points scored?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "schedule" ( "game" real, "date" te...
SELECT "pts" FROM "by_seasons_and_teams" WHERE "team"='Kiefer-Bos-Castrol Honda';
## Task Generate a SQL query to answer the following question: `How many points did kiefer-bos-castrol honda have?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "by_seasons_and_teams" ( "season" real, "class" text, "team" text, "motorcycle" te...
SELECT "position" FROM "by_seasons_and_teams" WHERE "motorcycle"='KTM';
## Task Generate a SQL query to answer the following question: `What result did the ktm motorcycle achieve?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "by_seasons_and_teams" ( "season" real, "class" text, "team" text, "motorcycle" text, "...
SELECT MIN("poles") FROM "by_seasons_and_teams";
## Task Generate a SQL query to answer the following question: `What is the lowest number of poles?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "by_seasons_and_teams" ( "season" real, "class" text, "team" text, "motorcycle" text, "type" te...
SELECT MIN("top_5") FROM "nascar_sprint_cup_series";
## Task Generate a SQL query to answer the following question: `Name the least top 5` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "nascar_sprint_cup_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top_10" real, "poles" r...
SELECT "top_5" FROM "nascar_camping_world_truck_series" WHERE "winnings"='$52,595';
## Task Generate a SQL query to answer the following question: `name the top 5 where the winnings is $52,595` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "nascar_camping_world_truck_series" ( "year" real, "starts" real, "wins" real, "top_5" r...
SELECT COUNT("top_10") FROM "nascar_camping_world_truck_series" WHERE "position"='51st';
## Task Generate a SQL query to answer the following question: `name the total number of top 10 also where the position is 51st ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "nascar_camping_world_truck_series" ( "year" real, "starts" real, "win...
SELECT "winnings" FROM "nascar_camping_world_truck_series" WHERE "starts"=7;
## Task Generate a SQL query to answer the following question: `name all the winnings that the start appears to be 7` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "nascar_camping_world_truck_series" ( "year" real, "starts" real, "wins" real, "...
SELECT COUNT("winnings") FROM "nascar_nationwide_series" WHERE "year"=1995;
## Task Generate a SQL query to answer the following question: `Name the total number of winnings for 1995` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "nascar_nationwide_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top...
SELECT MAX("top_5") FROM "nascar_nationwide_series" WHERE "avg_finish"='5.0';
## Task Generate a SQL query to answer the following question: `Name the max top 5 for 5.0 avg finish` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "nascar_nationwide_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top_10" ...
SELECT "poles" FROM "nascar_nationwide_series" WHERE "avg_finish"='26.8';
## Task Generate a SQL query to answer the following question: `Name the poles for avg finish is 26.8` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "nascar_nationwide_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top_10" ...
SELECT COUNT("team_s") FROM "nascar_nationwide_series" WHERE "top_10"=5;
## Task Generate a SQL query to answer the following question: `Name the total number of teams for top 10 being 5` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "nascar_nationwide_series" ( "year" real, "starts" real, "wins" real, "top_5" real,...
SELECT COUNT("mens_u20") FROM "results_by_year" WHERE "womens_40"='Sydney Scorpions def North Queensland Cyclones';
## Task Generate a SQL query to answer the following question: `How many times was the mens u20 recorded when the Womens 40 were Sydney Scorpions def North Queensland Cyclones?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "results_by_year" ( "year"...
SELECT "mens_40" FROM "results_by_year" WHERE "mens_u20"='Southern Suns def Gold Coast Sharks';
## Task Generate a SQL query to answer the following question: `What were the results for mens 40 when the mens u20 was Southern Suns def Gold Coast Sharks?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "results_by_year" ( "year" real, "mens_open"...
SELECT "mens_open" FROM "results_by_year" WHERE "womens_40"='Sydney Scorpions defeated Hunter Hornets';
## Task Generate a SQL query to answer the following question: `What were the results of the mens open when the womens 40 was Sydney Scorpions defeated Hunter Hornets?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "results_by_year" ( "year" real, ...
SELECT "womens_u20" FROM "results_by_year" WHERE "mens_45"='SunWest Razorbacks def Northern Eagles';
## Task Generate a SQL query to answer the following question: `What were the results of the womens u20 when the mens 45 was Sunwest Razorbacks def Northern Eagles?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "results_by_year" ( "year" real, "m...
SELECT "mens_45" FROM "results_by_year" WHERE "mens_40"='SunWest Razorbacks def Sydney Mets';
## Task Generate a SQL query to answer the following question: `What was the mens 45 when mens 40 was Sunwest Razorbacks def Sydney Mets?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "results_by_year" ( "year" real, "mens_open" text, "womens_op...
SELECT "mens_open" FROM "results_by_year" WHERE "mens_u20"='Qld Country Rustlers def Southern Suns';
## Task Generate a SQL query to answer the following question: `What was the mens open when the mens u20 was Qld Country Rustlers def Southern Suns?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "results_by_year" ( "year" real, "mens_open" text, ...
SELECT "date" FROM "schedule" WHERE "opponent"='Los Angeles Raiders';
## Task Generate a SQL query to answer the following question: `What date was the opponent the Los Angeles Raiders?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "game_si...
SELECT COUNT("date") FROM "schedule" WHERE "game_site"='Cleveland Stadium';
## Task Generate a SQL query to answer the following question: `How many games were played at Cleveland Stadium?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "game_site"...
SELECT COUNT("week") FROM "schedule" WHERE "attendance"=74716;
## Task Generate a SQL query to answer the following question: `In what week number was the attendance 74716?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "game_site" te...
SELECT "region" FROM "by_population" WHERE "name_of_city"='Iquitos';
## Task Generate a SQL query to answer the following question: `What is the region where Iquitos is located?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "by_population" ( "province" text, "population" real, "region" text, "name_of_city" text...
SELECT "region" FROM "by_population" WHERE "province"='Constitutional Province of Callao';
## Task Generate a SQL query to answer the following question: `What is the region containing the Constitutional Province of Callao?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "by_population" ( "province" text, "population" real, "region" tex...
SELECT "result" FROM "schedule" WHERE "opponent"='New Orleans Saints';
## Task Generate a SQL query to answer the following question: `How did the game end against the New Orleans Saints?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "game_s...
SELECT COUNT("week") FROM "schedule" WHERE "attendance"=60038;
## Task Generate a SQL query to answer the following question: `How many weeks had an attendance of 60038?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "game_site" text,...
SELECT MIN("points") FROM "the_2012_season" WHERE "driver_passenger"='Daniël Willemsen / Kenny van Gaalen';
## Task Generate a SQL query to answer the following question: `Name the least points for daniël willemsen / kenny van gaalen` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "the_2012_season" ( "position" real, "driver_passenger" text, "equipment"...
SELECT "driver_passenger" FROM "the_2012_season" WHERE "position"=4;
## Task Generate a SQL query to answer the following question: `Name the driver passenger for position 4` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "the_2012_season" ( "position" real, "driver_passenger" text, "equipment" text, "bike_no" re...
SELECT "driver_passenger" FROM "the_2011_season" WHERE "position"=8;
## Task Generate a SQL query to answer the following question: `Name the driver/passenger for position 8` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "the_2011_season" ( "position" real, "driver_passenger" text, "equipment" text, "bike_no" re...
SELECT "driver_passenger" FROM "the_2011_season" WHERE "position"=6;
## Task Generate a SQL query to answer the following question: `Name the driver/passenger for 6 position` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "the_2011_season" ( "position" real, "driver_passenger" text, "equipment" text, "bike_no" re...
SELECT "winner" FROM "table1_1672976_5" WHERE "attendance"=16597;
## Task Generate a SQL query to answer the following question: `Who was the winner when the total attendance was 16597?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1672976_5" ( "date" text, "time" text, "acc_team" text, "big_ten_team...
SELECT "socket" FROM "45_nm" WHERE "frequency"='1.3 GHz';
## Task Generate a SQL query to answer the following question: `What is the socket for microprocessors with a frequency of 1.3 ghz?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "45_nm" ( "model_number" text, "s_spec_number" text, "frequency" te...
SELECT "tdp" FROM "45_nm" WHERE "release_price_usd"='$72';
## Task Generate a SQL query to answer the following question: `For a release price of $72, what is the TDP of the microprocessor?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "45_nm" ( "model_number" text, "s_spec_number" text, "frequency" tex...
SELECT "gpu_frequency" FROM "45_nm" WHERE "tdp"='3.6 W' AND "part_number_s"='CY80632007221AB';
## Task Generate a SQL query to answer the following question: `For a processor with part number cy80632007221ab and TDP of 3.6 W, What are the available GPU frequencies?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "45_nm" ( "model_number" text, ...
SELECT "s_spec_number" FROM "45_nm" WHERE "tdp"='3.6 W' AND "model_number"='Atom E665C';
## Task Generate a SQL query to answer the following question: `For a processor with model number atom e665c and a TDP of 3.6 W, what is the sSpec number?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "45_nm" ( "model_number" text, "s_spec_number"...
SELECT "release_price_usd" FROM "45_nm" WHERE "part_number_s"='CY80632007227AB';
## Task Generate a SQL query to answer the following question: `What is the release price for a processor with part number cy80632007227ab?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "45_nm" ( "model_number" text, "s_spec_number" text, "freq...
SELECT "fsb" FROM "45_nm" WHERE "model_number"='Atom Z540';
## Task Generate a SQL query to answer the following question: `Name the fsb for atom z540` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "45_nm" ( "model_number" text, "s_spec_number" text, "frequency" text, "l2_cache" text, "fsb" text, "m...
SELECT "frequency" FROM "45_nm" WHERE "part_number_s"='AC80566UE041DW';
## Task Generate a SQL query to answer the following question: `Name the frequency for part number of ac80566ue041dw` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "45_nm" ( "model_number" text, "s_spec_number" text, "frequency" text, "l2_cache...
SELECT "memory" FROM "45_nm" WHERE "part_number_s"='CT80618003201AA';
## Task Generate a SQL query to answer the following question: `Name the memory for part number of ct80618003201aa` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "45_nm" ( "model_number" text, "s_spec_number" text, "frequency" text, "gpu_frequ...
SELECT "memory" FROM "45_nm" WHERE "model_number"='Atom E640T';
## Task Generate a SQL query to answer the following question: `Name the memory for meodel number for atom e640t` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "45_nm" ( "model_number" text, "s_spec_number" text, "frequency" text, "gpu_frequenc...
SELECT "memory" FROM "45_nm" WHERE "frequency"='1.6 GHz';
## Task Generate a SQL query to answer the following question: `Name the memory for frequency of 1.6 ghz` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "45_nm" ( "model_number" text, "s_spec_number" text, "frequency" text, "gpu_frequency" text,...
SELECT "winner" FROM "table1_1672976_6" WHERE "challenge_leader"='ACC (2-1)';
## Task Generate a SQL query to answer the following question: `Who won the game where the Challenge Leader is ACC (2-1)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1672976_6" ( "date" text, "time" text, "acc_team" text, "big_ten_te...
SELECT "television" FROM "table1_1672976_6" WHERE "time"='9:00PM';
## Task Generate a SQL query to answer the following question: `What station aired a game at 9:00pm?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1672976_6" ( "date" text, "time" text, "acc_team" text, "big_ten_team" text, "location...
SELECT MIN("rnd") FROM "races" WHERE "date"='June 11';
## Task Generate a SQL query to answer the following question: `ON JUNE 11, WHAT WAS THE NUMBER OF RNDS ?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "races" ( "rnd" real, "race_name" text, "circuit" text, "city_location" text, "date" text...
SELECT MAX("rnd") FROM "races" WHERE "date"='August 13';
## Task Generate a SQL query to answer the following question: `FOR AUGUST 13 WHAT IS THE RND ?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "races" ( "rnd" real, "race_name" text, "circuit" text, "city_location" text, "date" text, "pole_...
SELECT "race_name" FROM "races" WHERE "rnd"=13;
## Task Generate a SQL query to answer the following question: `PLEASE LIST ALL RACES WHERE THE RND IS 13.` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "races" ( "rnd" real, "race_name" text, "circuit" text, "city_location" text, "date" tex...