question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
What is the brand name for the antibody Brentuximab Vedotin? | CREATE TABLE "cancer_immunotherapy_monoclonal_antibodi" (
"antibody" text,
"brand_name" text,
"approval_date" real,
"type" text,
"target" text,
"approved_treatment_s" text
); | SELECT "brand_name" FROM "cancer_immunotherapy_monoclonal_antibodi" WHERE "antibody"='Brentuximab vedotin'; | 1-1661124-1 |
How many targets are there with an approval date of 1997? | CREATE TABLE "cancer_immunotherapy_monoclonal_antibodi" (
"antibody" text,
"brand_name" text,
"approval_date" real,
"type" text,
"target" text,
"approved_treatment_s" text
); | SELECT COUNT("target") FROM "cancer_immunotherapy_monoclonal_antibodi" WHERE "approval_date"=1997; | 1-1661124-1 |
What are the approved treatments when the antibody is bevacizumab? | CREATE TABLE "cancer_immunotherapy_monoclonal_antibodi" (
"antibody" text,
"brand_name" text,
"approval_date" real,
"type" text,
"target" text,
"approved_treatment_s" text
); | SELECT "approved_treatment_s" FROM "cancer_immunotherapy_monoclonal_antibodi" WHERE "antibody"='Bevacizumab'; | 1-1661124-1 |
What is the target when the approved treatment is non-hodgkin lymphoma? | CREATE TABLE "cancer_immunotherapy_monoclonal_antibodi" (
"antibody" text,
"brand_name" text,
"approval_date" real,
"type" text,
"target" text,
"approved_treatment_s" text
); | SELECT "target" FROM "cancer_immunotherapy_monoclonal_antibodi" WHERE "approved_treatment_s"='non-Hodgkin lymphoma'; | 1-1661124-1 |
What is the target with an approval date of 2006? | CREATE TABLE "cancer_immunotherapy_monoclonal_antibodi" (
"antibody" text,
"brand_name" text,
"approval_date" real,
"type" text,
"target" text,
"approved_treatment_s" text
); | SELECT "target" FROM "cancer_immunotherapy_monoclonal_antibodi" WHERE "approval_date"=2006; | 1-1661124-1 |
What is the urban population % when the rural percentage is 43? | CREATE TABLE "population_of_kazakhstan_1939_2009" (
"year_january" real,
"population_000" real,
"rural_pct" real,
"urban_pct" real,
"source" text
); | SELECT MIN("urban_pct") FROM "population_of_kazakhstan_1939_2009" WHERE "rural_pct"=43; | 1-16645-1 |
What is the rural population percentage in 1979? | CREATE TABLE "population_of_kazakhstan_1939_2009" (
"year_january" real,
"population_000" real,
"rural_pct" real,
"urban_pct" real,
"source" text
); | SELECT MIN("rural_pct") FROM "population_of_kazakhstan_1939_2009" WHERE "year_january"=1979; | 1-16645-1 |
How many percentage figures are given for the urban population when the total population number is 14685? | CREATE TABLE "population_of_kazakhstan_1939_2009" (
"year_january" real,
"population_000" real,
"rural_pct" real,
"urban_pct" real,
"source" text
); | SELECT COUNT("urban_pct") FROM "population_of_kazakhstan_1939_2009" WHERE "population_000"=14685; | 1-16645-1 |
For how many years was the urban population 57%? | CREATE TABLE "population_of_kazakhstan_1939_2009" (
"year_january" real,
"population_000" real,
"rural_pct" real,
"urban_pct" real,
"source" text
); | SELECT COUNT("source") FROM "population_of_kazakhstan_1939_2009" WHERE "urban_pct"=57; | 1-16645-1 |
When tajik is the ethnicity what is islam? | CREATE TABLE "religion" (
"ethnicity" text,
"islam" text,
"christianity" text,
"judaism" text,
"buddhism" text,
"other" text,
"atheism" text,
"n_a" text
); | SELECT "islam" FROM "religion" WHERE "ethnicity"='Tajik'; | 1-16642-1 |
How many had a length of 455? | CREATE TABLE "course" (
"number" real,
"name" text,
"kilometer" real,
"pavement" text,
"length_m" real,
"average_climb_pct" real
); | SELECT COUNT("name") FROM "course" WHERE "length_m"=455; | 1-16654785-2 |
What is the average climb for Tenbosse? | CREATE TABLE "course" (
"number" real,
"name" text,
"kilometer" real,
"pavement" text,
"length_m" real,
"average_climb_pct" real
); | SELECT MIN("average_climb_pct") FROM "course" WHERE "name"='Tenbosse'; | 1-16654785-2 |
How many have a kilometers of 233? | CREATE TABLE "course" (
"number" real,
"name" text,
"kilometer" real,
"pavement" text,
"length_m" real,
"average_climb_pct" real
); | SELECT "number" FROM "course" WHERE "kilometer"=233; | 1-16654785-2 |
How many have a length of 375? | CREATE TABLE "course" (
"number" real,
"name" text,
"kilometer" real,
"pavement" text,
"length_m" real,
"average_climb_pct" real
); | SELECT COUNT("average_climb_pct") FROM "course" WHERE "length_m"=375; | 1-16654785-2 |
What was the team's playoff status in 2011? | CREATE TABLE "year_by_year" (
"year" text,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
); | SELECT "playoffs" FROM "year_by_year" WHERE "year"='2011'; | 1-16636344-1 |
What was the team's league in 2010? | CREATE TABLE "year_by_year" (
"year" text,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
); | SELECT "league" FROM "year_by_year" WHERE "year"='2010'; | 1-16636344-1 |
What is the league name for the regular season status of 2nd, mid atlantic? | CREATE TABLE "year_by_year" (
"year" text,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
); | SELECT "league" FROM "year_by_year" WHERE "regular_season"='2nd, Mid Atlantic'; | 1-16636344-1 |
Who was the winning driver at Okayama International Circuit? | CREATE TABLE "calendar" (
"round" real,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text
); | SELECT "winning_driver" FROM "calendar" WHERE "circuit"='Okayama International Circuit'; | 1-16670746-2 |
Who had the fastest lap when the winning team was Tom's Racing? | CREATE TABLE "calendar" (
"round" real,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text
); | SELECT "fastest_lap" FROM "calendar" WHERE "winning_team"='TOM''S Racing'; | 1-16670746-2 |
Who had the fastest lap in the race won by Team Impul at the Twin Ring Motegi circuit? | CREATE TABLE "calendar" (
"round" real,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text
); | SELECT "fastest_lap" FROM "calendar" WHERE "winning_team"='Team Impul' AND "circuit"='Twin Ring Motegi'; | 1-16670746-2 |
How many opponents did the team play in week 13? | CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"bills_points" real,
"opponents" real,
"bills_first_downs" real,
"record" text,
"attendance" real
); | SELECT COUNT("opponents") FROM "schedule" WHERE "game"=13; | 1-16677874-2 |
How many points did the opponent score on Sept. 14? | CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"bills_points" real,
"opponents" real,
"bills_first_downs" real,
"record" text,
"attendance" real
); | SELECT MAX("opponents") FROM "schedule" WHERE "date"='Sept. 14'; | 1-16677887-2 |
What team were the bills playing where their first down was 23? | CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"bills_points" real,
"opponents" real,
"bills_first_downs" real,
"record" text,
"attendance" real
); | SELECT "opponent" FROM "schedule" WHERE "bills_first_downs"=23; | 1-16677887-2 |
What was the record for the game on Sept. 14? | CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"bills_points" real,
"opponents" real,
"bills_first_downs" real,
"record" text,
"attendance" real
); | SELECT "record" FROM "schedule" WHERE "date"='Sept. 14'; | 1-16677887-2 |
When 12743 is the spelthorne what is the largest gore hundred? | CREATE TABLE "table1_16677738_1" (
"year" real,
"edmonton_hundred" real,
"elthorne_hundred" real,
"gore_hundred" real,
"isleworth_hundred" real,
"holborn_division" real,
"finsbury_division" real,
"kensington_division" real,
"tower_division" real,
"spelthorne_hundred" real,
"within_the_walls" real,
"without_the_walls" real,
"inns_of_court_and_chancery" real,
"westminster_city_and_liberty" real,
"total" real
); | SELECT MAX("gore_hundred") FROM "table1_16677738_1" WHERE "spelthorne_hundred"=12743; | 1-16677738-1 |
When 1546 is inns of court and chancery what is the finsbury division? | CREATE TABLE "table1_16677738_1" (
"year" real,
"edmonton_hundred" real,
"elthorne_hundred" real,
"gore_hundred" real,
"isleworth_hundred" real,
"holborn_division" real,
"finsbury_division" real,
"kensington_division" real,
"tower_division" real,
"spelthorne_hundred" real,
"within_the_walls" real,
"without_the_walls" real,
"inns_of_court_and_chancery" real,
"westminster_city_and_liberty" real,
"total" real
); | SELECT "finsbury_division" FROM "table1_16677738_1" WHERE "inns_of_court_and_chancery"=1546; | 1-16677738-1 |
What is the lowest overall year? | CREATE TABLE "table1_16677738_1" (
"year" real,
"edmonton_hundred" real,
"elthorne_hundred" real,
"gore_hundred" real,
"isleworth_hundred" real,
"holborn_division" real,
"finsbury_division" real,
"kensington_division" real,
"tower_division" real,
"spelthorne_hundred" real,
"within_the_walls" real,
"without_the_walls" real,
"inns_of_court_and_chancery" real,
"westminster_city_and_liberty" real,
"total" real
); | SELECT MIN("year") FROM "table1_16677738_1"; | 1-16677738-1 |
When 70489 is without walls what is the inns of court and chancery? | CREATE TABLE "table1_16677738_1" (
"year" real,
"edmonton_hundred" real,
"elthorne_hundred" real,
"gore_hundred" real,
"isleworth_hundred" real,
"holborn_division" real,
"finsbury_division" real,
"kensington_division" real,
"tower_division" real,
"spelthorne_hundred" real,
"within_the_walls" real,
"without_the_walls" real,
"inns_of_court_and_chancery" real,
"westminster_city_and_liberty" real,
"total" real
); | SELECT "inns_of_court_and_chancery" FROM "table1_16677738_1" WHERE "without_the_walls"=70489; | 1-16677738-1 |
When within the walls is larger than 56174.0 what is the lowest amount without the walls? | CREATE TABLE "table1_16677738_1" (
"year" real,
"edmonton_hundred" real,
"elthorne_hundred" real,
"gore_hundred" real,
"isleworth_hundred" real,
"holborn_division" real,
"finsbury_division" real,
"kensington_division" real,
"tower_division" real,
"spelthorne_hundred" real,
"within_the_walls" real,
"without_the_walls" real,
"inns_of_court_and_chancery" real,
"westminster_city_and_liberty" real,
"total" real
); | SELECT MIN("without_the_walls") FROM "table1_16677738_1" WHERE "within_the_walls">56174.0; | 1-16677738-1 |
When 272966 is the tower division what is the highest holborn division? | CREATE TABLE "table1_16677738_1" (
"year" real,
"edmonton_hundred" real,
"elthorne_hundred" real,
"gore_hundred" real,
"isleworth_hundred" real,
"holborn_division" real,
"finsbury_division" real,
"kensington_division" real,
"tower_division" real,
"spelthorne_hundred" real,
"within_the_walls" real,
"without_the_walls" real,
"inns_of_court_and_chancery" real,
"westminster_city_and_liberty" real,
"total" real
); | SELECT MAX("holborn_division") FROM "table1_16677738_1" WHERE "tower_division"=272966; | 1-16677738-1 |
How many stolen ends against where there when Thomas Dufour was skip? | CREATE TABLE "standings" (
"country" text,
"skip" text,
"w" real,
"l" real,
"pf" real,
"pa" real,
"ends_won" real,
"ends_lost" real,
"blank_ends_f_a" text,
"stolen_ends_for" real,
"stolen_ends_against" real,
"shot_pct" real
); | SELECT "stolen_ends_against" FROM "standings" WHERE "skip"='Thomas Dufour'; | 1-16684420-2 |
What is the maximum number of stolen ends against for Japan? | CREATE TABLE "standings" (
"country" text,
"skip" text,
"w" real,
"l" real,
"pf" real,
"pa" real,
"ends_won" real,
"ends_lost" real,
"blank_ends_f_a" text,
"stolen_ends_for" real,
"stolen_ends_against" real,
"shot_pct" real
); | SELECT MAX("stolen_ends_against") FROM "standings" WHERE "country"='Japan'; | 1-16684420-2 |
Who was the skip when the stolen ends against was 13? | CREATE TABLE "standings" (
"country" text,
"skip" text,
"w" real,
"l" real,
"pf" real,
"pa" real,
"ends_won" real,
"ends_lost" real,
"blank_ends_f_a" text,
"stolen_ends_for" real,
"stolen_ends_against" real,
"shot_pct" real
); | SELECT "skip" FROM "standings" WHERE "stolen_ends_against"=13; | 1-16684420-2 |
Name the most glucolse where cl is 154 | CREATE TABLE "composition_of_common_crystalloid_soluti" (
"solution" text,
"other_name" text,
"na_mmol_l" real,
"cl_mmol_l" real,
"glucose_mmol_l" real,
"glucose_mg_dl" real
); | SELECT MAX("glucose_mg_dl") FROM "composition_of_common_crystalloid_soluti" WHERE "cl_mmol_l"=154; | 1-16689223-1 |
Name the other name where glucose is 5000 | CREATE TABLE "composition_of_common_crystalloid_soluti" (
"solution" text,
"other_name" text,
"na_mmol_l" real,
"cl_mmol_l" real,
"glucose_mmol_l" real,
"glucose_mg_dl" real
); | SELECT "other_name" FROM "composition_of_common_crystalloid_soluti" WHERE "glucose_mg_dl"=5000; | 1-16689223-1 |
Name the other name where na plus is 77 | CREATE TABLE "composition_of_common_crystalloid_soluti" (
"solution" text,
"other_name" text,
"na_mmol_l" real,
"cl_mmol_l" real,
"glucose_mmol_l" real,
"glucose_mg_dl" real
); | SELECT "other_name" FROM "composition_of_common_crystalloid_soluti" WHERE "na_mmol_l"=77; | 1-16689223-1 |
Who are the batting partners for the 1997 season? | CREATE TABLE "test_record_partnerships_by_wicket" (
"wicket" text,
"runs" real,
"batting_partners" text,
"batting_team" text,
"fielding_team" text,
"venue" text,
"season" text
); | SELECT "batting_partners" FROM "test_record_partnerships_by_wicket" WHERE "season"='1997'; | 1-1670921-1 |
Which season reported wickets of 7th? | CREATE TABLE "test_record_partnerships_by_wicket" (
"wicket" text,
"runs" real,
"batting_partners" text,
"batting_team" text,
"fielding_team" text,
"venue" text,
"season" text
); | SELECT "season" FROM "test_record_partnerships_by_wicket" WHERE "wicket"='7th'; | 1-1670921-1 |
Which team is 9th in wickets? | CREATE TABLE "test_record_partnerships_by_wicket" (
"wicket" text,
"runs" real,
"batting_partners" text,
"batting_team" text,
"fielding_team" text,
"venue" text,
"season" text
); | SELECT "fielding_team" FROM "test_record_partnerships_by_wicket" WHERE "wicket"='9th'; | 1-1670921-1 |
What is the venue for batting partners Mahela Jayawardene and Prasanna Jayawardene | CREATE TABLE "test_record_partnerships_by_wicket" (
"wicket" text,
"runs" real,
"batting_partners" text,
"batting_team" text,
"fielding_team" text,
"venue" text,
"season" text
); | SELECT "venue" FROM "test_record_partnerships_by_wicket" WHERE "batting_partners"='Mahela Jayawardene and Prasanna Jayawardene'; | 1-1670921-1 |
How many teams are listed for 3rd wickets? | CREATE TABLE "test_record_partnerships_by_wicket" (
"wicket" text,
"runs" real,
"batting_partners" text,
"batting_team" text,
"fielding_team" text,
"venue" text,
"season" text
); | SELECT COUNT("batting_team") FROM "test_record_partnerships_by_wicket" WHERE "wicket"='3rd'; | 1-1670921-1 |
How many total batting partners were most successful in the 2006 season? | CREATE TABLE "top_10_test_partnerships_for_any_wicket" (
"runs" text,
"wicket" text,
"batting_partners" text,
"batting_team" text,
"fielding_team" text,
"venue" text,
"season" text
); | SELECT COUNT("batting_partners") FROM "top_10_test_partnerships_for_any_wicket" WHERE "season"='2006'; | 1-1670921-2 |
What batting partners batted for pakistan? | CREATE TABLE "top_10_test_partnerships_for_any_wicket" (
"runs" text,
"wicket" text,
"batting_partners" text,
"batting_team" text,
"fielding_team" text,
"venue" text,
"season" text
); | SELECT "batting_partners" FROM "top_10_test_partnerships_for_any_wicket" WHERE "batting_team"='Pakistan'; | 1-1670921-2 |
How many runs when bangladesh was the fielding team? | CREATE TABLE "top_10_test_partnerships_for_any_wicket" (
"runs" text,
"wicket" text,
"batting_partners" text,
"batting_team" text,
"fielding_team" text,
"venue" text,
"season" text
); | SELECT "runs" FROM "top_10_test_partnerships_for_any_wicket" WHERE "fielding_team"='Bangladesh'; | 1-1670921-2 |
What are the wickets when there are 451 runs and india is the fielding team? | CREATE TABLE "top_10_test_partnerships_for_any_wicket" (
"runs" text,
"wicket" text,
"batting_partners" text,
"batting_team" text,
"fielding_team" text,
"venue" text,
"season" text
); | SELECT "wicket" FROM "top_10_test_partnerships_for_any_wicket" WHERE "runs"='451' AND "fielding_team"='India'; | 1-1670921-2 |
What batting partners played in sydney? | CREATE TABLE "top_10_test_partnerships_for_any_wicket" (
"runs" text,
"wicket" text,
"batting_partners" text,
"batting_team" text,
"fielding_team" text,
"venue" text,
"season" text
); | SELECT "batting_partners" FROM "top_10_test_partnerships_for_any_wicket" WHERE "venue"='Sydney'; | 1-1670921-2 |
What batting partners were the most successful in 2004? | CREATE TABLE "top_10_test_partnerships_for_any_wicket" (
"runs" text,
"wicket" text,
"batting_partners" text,
"batting_team" text,
"fielding_team" text,
"venue" text,
"season" text
); | SELECT "batting_partners" FROM "top_10_test_partnerships_for_any_wicket" WHERE "season"='2004'; | 1-1670921-2 |
Name the falcons points for record of 3-2 | CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"falcons_points" real,
"opponents" real,
"record" text,
"attendance" real
); | SELECT "falcons_points" FROM "schedule" WHERE "record"='3-2'; | 1-16710829-2 |
Name the date for game 9 | CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"falcons_points" real,
"opponents" real,
"record" text,
"attendance" real
); | SELECT "date" FROM "schedule" WHERE "game"=9; | 1-16710829-2 |
Name the max game for attendance being 54774 | CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"falcons_points" real,
"opponents" real,
"record" text,
"attendance" real
); | SELECT MAX("game") FROM "schedule" WHERE "attendance"=54774; | 1-16710829-2 |
Name the total number of results for new orleans saints | CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"falcons_points" real,
"opponents" real,
"record" text,
"attendance" real
); | SELECT COUNT("result") FROM "schedule" WHERE "opponent"='New Orleans Saints'; | 1-16710829-2 |
What is the total number of opponents for the game recorded as 1-3? | CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"falcons_points" real,
"opponents" real,
"record" text,
"attendance" real
); | SELECT COUNT("opponent") FROM "schedule" WHERE "record"='1-3'; | 1-16710971-2 |
What was the result of the 1978 Atlanta Falcons season when the record was 1-2? | CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"falcons_points" real,
"opponents" real,
"record" text,
"attendance" real
); | SELECT "result" FROM "schedule" WHERE "record"='1-2'; | 1-16710971-2 |
How many points did the Falcons score when the record was 4-4? | CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"falcons_points" real,
"opponents" real,
"record" text,
"attendance" real
); | SELECT "falcons_points" FROM "schedule" WHERE "record"='4-4'; | 1-16710971-2 |
How many opponents were there for the game recorded as 6-4 in the Atlanta Falcons 1978 season? | CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"falcons_points" real,
"opponents" real,
"record" text,
"attendance" real
); | SELECT COUNT("opponents") FROM "schedule" WHERE "record"='6-4'; | 1-16710971-2 |
In games where the opponent was the San Francisco 49ers what was the minimum amount of points scored? | CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"falcons_points" real,
"opponents" real,
"record" text,
"attendance" real
); | SELECT MIN("falcons_points") FROM "schedule" WHERE "opponent"='San Francisco 49ers'; | 1-16710971-2 |
How many points did kiefer-bos-castrol honda have? | CREATE TABLE "by_seasons_and_teams" (
"season" real,
"class" text,
"team" text,
"motorcycle" text,
"type" text,
"races" real,
"wins" real,
"podiums" real,
"poles" real,
"fastest_laps" real,
"pts" text,
"position" text
); | SELECT "pts" FROM "by_seasons_and_teams" WHERE "team"='Kiefer-Bos-Castrol Honda'; | 1-16710541-2 |
What result did the ktm motorcycle achieve? | CREATE TABLE "by_seasons_and_teams" (
"season" real,
"class" text,
"team" text,
"motorcycle" text,
"type" text,
"races" real,
"wins" real,
"podiums" real,
"poles" real,
"fastest_laps" real,
"pts" text,
"position" text
); | SELECT "position" FROM "by_seasons_and_teams" WHERE "motorcycle"='KTM'; | 1-16710541-2 |
What is the lowest number of poles? | CREATE TABLE "by_seasons_and_teams" (
"season" real,
"class" text,
"team" text,
"motorcycle" text,
"type" text,
"races" real,
"wins" real,
"podiums" real,
"poles" real,
"fastest_laps" real,
"pts" text,
"position" text
); | SELECT MIN("poles") FROM "by_seasons_and_teams"; | 1-16710541-2 |
Name the least top 5 | CREATE TABLE "nascar_sprint_cup_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" text,
"team_s" text
); | SELECT MIN("top_5") FROM "nascar_sprint_cup_series"; | 1-1671401-1 |
name the top 5 where the winnings is $52,595 | CREATE TABLE "nascar_camping_world_truck_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" text,
"team_s" text
); | SELECT "top_5" FROM "nascar_camping_world_truck_series" WHERE "winnings"='$52,595'; | 1-1671401-3 |
name the total number of top 10 also where the position is 51st | CREATE TABLE "nascar_camping_world_truck_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" text,
"team_s" text
); | SELECT COUNT("top_10") FROM "nascar_camping_world_truck_series" WHERE "position"='51st'; | 1-1671401-3 |
name all the winnings that the start appears to be 7 | CREATE TABLE "nascar_camping_world_truck_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" text,
"team_s" text
); | SELECT "winnings" FROM "nascar_camping_world_truck_series" WHERE "starts"=7; | 1-1671401-3 |
Name the total number of winnings for 1995 | CREATE TABLE "nascar_nationwide_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" text,
"team_s" text
); | SELECT COUNT("winnings") FROM "nascar_nationwide_series" WHERE "year"=1995; | 1-1671401-2 |
Name the max top 5 for 5.0 avg finish | CREATE TABLE "nascar_nationwide_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" text,
"team_s" text
); | SELECT MAX("top_5") FROM "nascar_nationwide_series" WHERE "avg_finish"='5.0'; | 1-1671401-2 |
Name the poles for avg finish is 26.8 | CREATE TABLE "nascar_nationwide_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" text,
"team_s" text
); | SELECT "poles" FROM "nascar_nationwide_series" WHERE "avg_finish"='26.8'; | 1-1671401-2 |
Name the total number of teams for top 10 being 5 | CREATE TABLE "nascar_nationwide_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" text,
"team_s" text
); | SELECT COUNT("team_s") FROM "nascar_nationwide_series" WHERE "top_10"=5; | 1-1671401-2 |
How many times was the mens u20 recorded when the Womens 40 were Sydney Scorpions def North Queensland Cyclones? | CREATE TABLE "results_by_year" (
"year" real,
"mens_open" text,
"womens_open" text,
"mixed_open" text,
"mens_u20" text,
"womens_u20" text,
"senior_mixed" text,
"mens_30" text,
"womens_30" text,
"mens_35" text,
"womens_35" text,
"mens_40" text,
"womens_40" text,
"mens_45" text,
"mens_50" text
); | SELECT COUNT("mens_u20") FROM "results_by_year" WHERE "womens_40"='Sydney Scorpions def North Queensland Cyclones'; | 1-16724844-1 |
What were the results for mens 40 when the mens u20 was Southern Suns def Gold Coast Sharks? | CREATE TABLE "results_by_year" (
"year" real,
"mens_open" text,
"womens_open" text,
"mixed_open" text,
"mens_u20" text,
"womens_u20" text,
"senior_mixed" text,
"mens_30" text,
"womens_30" text,
"mens_35" text,
"womens_35" text,
"mens_40" text,
"womens_40" text,
"mens_45" text,
"mens_50" text
); | SELECT "mens_40" FROM "results_by_year" WHERE "mens_u20"='Southern Suns def Gold Coast Sharks'; | 1-16724844-1 |
What were the results of the mens open when the womens 40 was Sydney Scorpions defeated Hunter Hornets? | CREATE TABLE "results_by_year" (
"year" real,
"mens_open" text,
"womens_open" text,
"mixed_open" text,
"mens_u20" text,
"womens_u20" text,
"senior_mixed" text,
"mens_30" text,
"womens_30" text,
"mens_35" text,
"womens_35" text,
"mens_40" text,
"womens_40" text,
"mens_45" text,
"mens_50" text
); | SELECT "mens_open" FROM "results_by_year" WHERE "womens_40"='Sydney Scorpions defeated Hunter Hornets'; | 1-16724844-1 |
What were the results of the womens u20 when the mens 45 was Sunwest Razorbacks def Northern Eagles? | CREATE TABLE "results_by_year" (
"year" real,
"mens_open" text,
"womens_open" text,
"mixed_open" text,
"mens_u20" text,
"womens_u20" text,
"senior_mixed" text,
"mens_30" text,
"womens_30" text,
"mens_35" text,
"womens_35" text,
"mens_40" text,
"womens_40" text,
"mens_45" text,
"mens_50" text
); | SELECT "womens_u20" FROM "results_by_year" WHERE "mens_45"='SunWest Razorbacks def Northern Eagles'; | 1-16724844-1 |
What was the mens 45 when mens 40 was Sunwest Razorbacks def Sydney Mets? | CREATE TABLE "results_by_year" (
"year" real,
"mens_open" text,
"womens_open" text,
"mixed_open" text,
"mens_u20" text,
"womens_u20" text,
"senior_mixed" text,
"mens_30" text,
"womens_30" text,
"mens_35" text,
"womens_35" text,
"mens_40" text,
"womens_40" text,
"mens_45" text,
"mens_50" text
); | SELECT "mens_45" FROM "results_by_year" WHERE "mens_40"='SunWest Razorbacks def Sydney Mets'; | 1-16724844-1 |
What was the mens open when the mens u20 was Qld Country Rustlers def Southern Suns? | CREATE TABLE "results_by_year" (
"year" real,
"mens_open" text,
"womens_open" text,
"mixed_open" text,
"mens_u20" text,
"womens_u20" text,
"senior_mixed" text,
"mens_30" text,
"womens_30" text,
"mens_35" text,
"womens_35" text,
"mens_40" text,
"womens_40" text,
"mens_45" text,
"mens_50" text
); | SELECT "mens_open" FROM "results_by_year" WHERE "mens_u20"='Qld Country Rustlers def Southern Suns'; | 1-16724844-1 |
What date was the opponent the Los Angeles Raiders? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
); | SELECT "date" FROM "schedule" WHERE "opponent"='Los Angeles Raiders'; | 1-16729063-2 |
How many games were played at Cleveland Stadium? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
); | SELECT COUNT("date") FROM "schedule" WHERE "game_site"='Cleveland Stadium'; | 1-16729063-2 |
In what week number was the attendance 74716? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
); | SELECT COUNT("week") FROM "schedule" WHERE "attendance"=74716; | 1-16729063-2 |
What is the region where Iquitos is located? | CREATE TABLE "by_population" (
"province" text,
"population" real,
"region" text,
"name_of_city" text,
"districts" real
); | SELECT "region" FROM "by_population" WHERE "name_of_city"='Iquitos'; | 1-1672804-2 |
What is the region containing the Constitutional Province of Callao? | CREATE TABLE "by_population" (
"province" text,
"population" real,
"region" text,
"name_of_city" text,
"districts" real
); | SELECT "region" FROM "by_population" WHERE "province"='Constitutional Province of Callao'; | 1-1672804-2 |
How did the game end against the New Orleans Saints? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
); | SELECT "result" FROM "schedule" WHERE "opponent"='New Orleans Saints'; | 1-16729071-1 |
How many weeks had an attendance of 60038? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
); | SELECT COUNT("week") FROM "schedule" WHERE "attendance"=60038; | 1-16729071-1 |
Name the least points for daniël willemsen / kenny van gaalen | CREATE TABLE "the_2012_season" (
"position" real,
"driver_passenger" text,
"equipment" text,
"bike_no" real,
"points" real
); | SELECT MIN("points") FROM "the_2012_season" WHERE "driver_passenger"='Daniël Willemsen / Kenny van Gaalen'; | 1-16729457-17 |
Name the driver passenger for position 4 | CREATE TABLE "the_2012_season" (
"position" real,
"driver_passenger" text,
"equipment" text,
"bike_no" real,
"points" real
); | SELECT "driver_passenger" FROM "the_2012_season" WHERE "position"=4; | 1-16729457-17 |
Name the driver/passenger for position 8 | CREATE TABLE "the_2011_season" (
"position" real,
"driver_passenger" text,
"equipment" text,
"bike_no" real,
"points" real
); | SELECT "driver_passenger" FROM "the_2011_season" WHERE "position"=8; | 1-16729457-16 |
Name the driver/passenger for 6 position | CREATE TABLE "the_2011_season" (
"position" real,
"driver_passenger" text,
"equipment" text,
"bike_no" real,
"points" real
); | SELECT "driver_passenger" FROM "the_2011_season" WHERE "position"=6; | 1-16729457-16 |
Who was the winner when the total attendance was 16597? | CREATE TABLE "table1_1672976_5" (
"date" text,
"time" text,
"acc_team" text,
"big_ten_team" text,
"location" text,
"television" text,
"attendance" real,
"winner" text,
"challenge_leader" text
); | SELECT "winner" FROM "table1_1672976_5" WHERE "attendance"=16597; | 1-1672976-5 |
What is the socket for microprocessors with a frequency of 1.3 ghz? | CREATE TABLE "45_nm" (
"model_number" text,
"s_spec_number" text,
"frequency" text,
"gpu_frequency" text,
"l2_cache" text,
"i_o_bus" text,
"memory" text,
"voltage" text,
"tdp" text,
"socket" text,
"release_date" text,
"part_number_s" text,
"release_price_usd" text
); | SELECT "socket" FROM "45_nm" WHERE "frequency"='1.3 GHz'; | 1-16729930-18 |
For a release price of $72, what is the TDP of the microprocessor? | CREATE TABLE "45_nm" (
"model_number" text,
"s_spec_number" text,
"frequency" text,
"gpu_frequency" text,
"l2_cache" text,
"i_o_bus" text,
"memory" text,
"voltage" text,
"tdp" text,
"socket" text,
"release_date" text,
"part_number_s" text,
"release_price_usd" text
); | SELECT "tdp" FROM "45_nm" WHERE "release_price_usd"='$72'; | 1-16729930-18 |
For a processor with part number cy80632007221ab and TDP of 3.6 W, What are the available GPU frequencies? | CREATE TABLE "45_nm" (
"model_number" text,
"s_spec_number" text,
"frequency" text,
"gpu_frequency" text,
"l2_cache" text,
"i_o_bus" text,
"memory" text,
"voltage" text,
"tdp" text,
"socket" text,
"release_date" text,
"part_number_s" text,
"release_price_usd" text
); | SELECT "gpu_frequency" FROM "45_nm" WHERE "tdp"='3.6 W' AND "part_number_s"='CY80632007221AB'; | 1-16729930-18 |
For a processor with model number atom e665c and a TDP of 3.6 W, what is the sSpec number? | CREATE TABLE "45_nm" (
"model_number" text,
"s_spec_number" text,
"frequency" text,
"gpu_frequency" text,
"l2_cache" text,
"i_o_bus" text,
"memory" text,
"voltage" text,
"tdp" text,
"socket" text,
"release_date" text,
"part_number_s" text,
"release_price_usd" text
); | SELECT "s_spec_number" FROM "45_nm" WHERE "tdp"='3.6 W' AND "model_number"='Atom E665C'; | 1-16729930-18 |
What is the release price for a processor with part number cy80632007227ab? | CREATE TABLE "45_nm" (
"model_number" text,
"s_spec_number" text,
"frequency" text,
"gpu_frequency" text,
"l2_cache" text,
"i_o_bus" text,
"memory" text,
"voltage" text,
"tdp" text,
"socket" text,
"release_date" text,
"part_number_s" text,
"release_price_usd" text
); | SELECT "release_price_usd" FROM "45_nm" WHERE "part_number_s"='CY80632007227AB'; | 1-16729930-18 |
Name the fsb for atom z540 | CREATE TABLE "45_nm" (
"model_number" text,
"s_spec_number" text,
"frequency" text,
"l2_cache" text,
"fsb" text,
"mult" text,
"voltage" text,
"tdp" text,
"socket" text,
"release_date" text,
"part_number_s" text,
"release_price_usd" text
); | SELECT "fsb" FROM "45_nm" WHERE "model_number"='Atom Z540'; | 1-16729930-11 |
Name the frequency for part number of ac80566ue041dw | CREATE TABLE "45_nm" (
"model_number" text,
"s_spec_number" text,
"frequency" text,
"l2_cache" text,
"fsb" text,
"mult" text,
"voltage" text,
"tdp" text,
"socket" text,
"release_date" text,
"part_number_s" text,
"release_price_usd" text
); | SELECT "frequency" FROM "45_nm" WHERE "part_number_s"='AC80566UE041DW'; | 1-16729930-11 |
Name the memory for part number of ct80618003201aa | CREATE TABLE "45_nm" (
"model_number" text,
"s_spec_number" text,
"frequency" text,
"gpu_frequency" text,
"l2_cache" text,
"i_o_bus" text,
"memory" text,
"voltage" text,
"tdp" text,
"socket" text,
"release_date" text,
"part_number_s" text,
"release_price_usd" text
); | SELECT "memory" FROM "45_nm" WHERE "part_number_s"='CT80618003201AA'; | 1-16729930-17 |
Name the memory for meodel number for atom e640t | CREATE TABLE "45_nm" (
"model_number" text,
"s_spec_number" text,
"frequency" text,
"gpu_frequency" text,
"l2_cache" text,
"i_o_bus" text,
"memory" text,
"voltage" text,
"tdp" text,
"socket" text,
"release_date" text,
"part_number_s" text,
"release_price_usd" text
); | SELECT "memory" FROM "45_nm" WHERE "model_number"='Atom E640T'; | 1-16729930-17 |
Name the memory for frequency of 1.6 ghz | CREATE TABLE "45_nm" (
"model_number" text,
"s_spec_number" text,
"frequency" text,
"gpu_frequency" text,
"l2_cache" text,
"i_o_bus" text,
"memory" text,
"voltage" text,
"tdp" text,
"socket" text,
"release_date" text,
"part_number_s" text,
"release_price_usd" text
); | SELECT "memory" FROM "45_nm" WHERE "frequency"='1.6 GHz'; | 1-16729930-17 |
Who won the game where the Challenge Leader is ACC (2-1)? | CREATE TABLE "table1_1672976_6" (
"date" text,
"time" text,
"acc_team" text,
"big_ten_team" text,
"location" text,
"television" text,
"attendance" real,
"winner" text,
"challenge_leader" text
); | SELECT "winner" FROM "table1_1672976_6" WHERE "challenge_leader"='ACC (2-1)'; | 1-1672976-6 |
What station aired a game at 9:00pm? | CREATE TABLE "table1_1672976_6" (
"date" text,
"time" text,
"acc_team" text,
"big_ten_team" text,
"location" text,
"television" text,
"attendance" real,
"winner" text,
"challenge_leader" text
); | SELECT "television" FROM "table1_1672976_6" WHERE "time"='9:00PM'; | 1-1672976-6 |
ON JUNE 11, WHAT WAS THE NUMBER OF RNDS ? | CREATE TABLE "races" (
"rnd" real,
"race_name" text,
"circuit" text,
"city_location" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text,
"report" text
); | SELECT MIN("rnd") FROM "races" WHERE "date"='June 11'; | 1-16732659-2 |
FOR AUGUST 13 WHAT IS THE RND ? | CREATE TABLE "races" (
"rnd" real,
"race_name" text,
"circuit" text,
"city_location" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text,
"report" text
); | SELECT MAX("rnd") FROM "races" WHERE "date"='August 13'; | 1-16732659-2 |
PLEASE LIST ALL RACES WHERE THE RND IS 13. | CREATE TABLE "races" (
"rnd" real,
"race_name" text,
"circuit" text,
"city_location" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text,
"report" text
); | SELECT "race_name" FROM "races" WHERE "rnd"=13; | 1-16732659-2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.