question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
How many master recordings are there for "Famous for Nothing"?
CREATE TABLE "table1_12588029_3" ( "year" real, "song_title" text, "artist" text, "master_recording" text, "release_date" text, "single_pack" text );
SELECT COUNT("master_recording") FROM "table1_12588029_3" WHERE "song_title"='\"Famous For Nothing\"';
1-12588029-3
What is the biggest number of the team who's owned by Jeff Gordon?
CREATE TABLE "full_time_teams" ( "team" text, "car_s" text, "num" real, "driver_s" text, "primary_sponsor_s" text, "owner_s" text, "crew_chief" text );
SELECT MAX("num") FROM "full_time_teams" WHERE "owner_s"='Jeff Gordon';
1-1266602-1
What is the driver for the team whose primary sponsor is Quicken Loans / Haas Automation?
CREATE TABLE "full_time_teams" ( "team" text, "car_s" text, "num" real, "driver_s" text, "primary_sponsor_s" text, "owner_s" text, "crew_chief" text );
SELECT "driver_s" FROM "full_time_teams" WHERE "primary_sponsor_s"='Quicken Loans / Haas Automation';
1-1266602-1
What's the total number of crew chiefs of the Fas Lane Racing team?
CREATE TABLE "full_time_teams" ( "team" text, "car_s" text, "num" real, "driver_s" text, "primary_sponsor_s" text, "owner_s" text, "crew_chief" text );
SELECT COUNT("crew_chief") FROM "full_time_teams" WHERE "team"='FAS Lane Racing';
1-1266602-1
What date did De Vries start?
CREATE TABLE "loans" ( "no" real, "p" text, "name" text, "country" text, "age" real, "loan_club" text, "started" text, "ended" text, "start_source" text, "end_source" text );
SELECT "started" FROM "loans" WHERE "name"='de Vries';
1-12608427-8
What is the number for De Vries?
CREATE TABLE "loans" ( "no" real, "p" text, "name" text, "country" text, "age" real, "loan_club" text, "started" text, "ended" text, "start_source" text, "end_source" text );
SELECT MIN("no") FROM "loans" WHERE "name"='de Vries';
1-12608427-8
What was the loan club when Derry played?
CREATE TABLE "loans" ( "no" real, "p" text, "name" text, "country" text, "age" real, "loan_club" text, "started" text, "ended" text, "start_source" text, "end_source" text );
SELECT "loan_club" FROM "loans" WHERE "name"='Derry';
1-12608427-8
Who was the loan club for the Westlake game?
CREATE TABLE "loans" ( "no" real, "p" text, "name" text, "country" text, "age" real, "loan_club" text, "started" text, "ended" text, "start_source" text, "end_source" text );
SELECT "loan_club" FROM "loans" WHERE "name"='Westlake';
1-12608427-8
What was the position (P) for Clapham?
CREATE TABLE "loans" ( "no" real, "p" text, "name" text, "country" text, "age" real, "loan_club" text, "started" text, "ended" text, "start_source" text, "end_source" text );
SELECT "p" FROM "loans" WHERE "name"='Clapham';
1-12608427-8
What district is represented by a Republican Appropriations Committee?
CREATE TABLE "current_members_of_the_baltimore_county_" ( "district" text, "counties_represented" text, "delegate" text, "party" text, "first_elected" real, "committee" text );
SELECT "district" FROM "current_members_of_the_baltimore_county_" WHERE "party"='Republican' AND "committee"='Appropriations';
1-12679326-1
What are the districts represented by the Democratic Party and a Committee in Economic Matters?
CREATE TABLE "current_members_of_the_baltimore_county_" ( "district" text, "counties_represented" text, "delegate" text, "party" text, "first_elected" real, "committee" text );
SELECT "district" FROM "current_members_of_the_baltimore_county_" WHERE "committee"='Economic Matters' AND "party"='Democratic';
1-12679326-1
Name the number of constr with the first win at the 1978 brazilian grand prix
CREATE TABLE "table1_12707313_2" ( "pos" real, "manufacturer" text, "seasons" text, "starts" real, "wins" real, "sole_supplier" real, "first_win" text, "last_win" text, "drivers" real, "constr" real );
SELECT COUNT("constr") FROM "table1_12707313_2" WHERE "first_win"='1978 Brazilian Grand Prix';
1-12707313-2
What was the first win for pos 6?
CREATE TABLE "table1_12707313_2" ( "pos" real, "manufacturer" text, "seasons" text, "starts" real, "wins" real, "sole_supplier" real, "first_win" text, "last_win" text, "drivers" real, "constr" real );
SELECT "first_win" FROM "table1_12707313_2" WHERE "pos"=6;
1-12707313-2
What is the molecular target listed under the compounded name of hemiasterlin (e7974)
CREATE TABLE "clinical_pipeline_of_marine_pharmacology" ( "clinical_status" text, "compound_name" text, "trademark" text, "marine_organism" text, "chemical_class" text, "molecular_target" text, "clinical_trials" text, "disease_area" text );
SELECT "molecular_target" FROM "clinical_pipeline_of_marine_pharmacology" WHERE "compound_name"='Hemiasterlin (E7974)';
1-12715053-1
What is the molecular target listed under the trademark of irvalec ®
CREATE TABLE "clinical_pipeline_of_marine_pharmacology" ( "clinical_status" text, "compound_name" text, "trademark" text, "marine_organism" text, "chemical_class" text, "molecular_target" text, "clinical_trials" text, "disease_area" text );
SELECT "molecular_target" FROM "clinical_pipeline_of_marine_pharmacology" WHERE "trademark"='Irvalec ®';
1-12715053-1
What is the compound name listed where marine organism α is worm
CREATE TABLE "clinical_pipeline_of_marine_pharmacology" ( "clinical_status" text, "compound_name" text, "trademark" text, "marine_organism" text, "chemical_class" text, "molecular_target" text, "clinical_trials" text, "disease_area" text );
SELECT "compound_name" FROM "clinical_pipeline_of_marine_pharmacology" WHERE "marine_organism"='Worm';
1-12715053-1
How many compound names list a chemical class of depsipeptide and a clinical trials β value of 1/7?
CREATE TABLE "clinical_pipeline_of_marine_pharmacology" ( "clinical_status" text, "compound_name" text, "trademark" text, "marine_organism" text, "chemical_class" text, "molecular_target" text, "clinical_trials" text, "disease_area" text );
SELECT COUNT("compound_name") FROM "clinical_pipeline_of_marine_pharmacology" WHERE "chemical_class"='Depsipeptide' AND "clinical_trials"='1/7';
1-12715053-1
What is the trademark listed for the molecular target : dna-binding?
CREATE TABLE "clinical_pipeline_of_marine_pharmacology" ( "clinical_status" text, "compound_name" text, "trademark" text, "marine_organism" text, "chemical_class" text, "molecular_target" text, "clinical_trials" text, "disease_area" text );
SELECT "trademark" FROM "clinical_pipeline_of_marine_pharmacology" WHERE "molecular_target"='DNA-Binding';
1-12715053-1
How many trademarks list a molecular target of minor groove of dna and a clinical status value of phase i?
CREATE TABLE "clinical_pipeline_of_marine_pharmacology" ( "clinical_status" text, "compound_name" text, "trademark" text, "marine_organism" text, "chemical_class" text, "molecular_target" text, "clinical_trials" text, "disease_area" text );
SELECT COUNT("trademark") FROM "clinical_pipeline_of_marine_pharmacology" WHERE "molecular_target"='Minor Groove of DNA' AND "clinical_status"='Phase I';
1-12715053-1
What's the number of the episode directed by Tucker Gates?
CREATE TABLE "table1_12722302_3" ( "no" real, "num" real, "title" text, "directed_by" text, "written_by" text, "bens_location" text, "original_air_date" text, "u_s_viewers_million" text );
SELECT "no" FROM "table1_12722302_3" WHERE "directed_by"='Tucker Gates';
1-12722302-3
Who is the director of the episode titled "Cheyenne, WY"?
CREATE TABLE "table1_12722302_3" ( "no" real, "num" real, "title" text, "directed_by" text, "written_by" text, "bens_location" text, "original_air_date" text, "u_s_viewers_million" text );
SELECT "directed_by" FROM "table1_12722302_3" WHERE "title"='\"Cheyenne, WY\"';
1-12722302-3
What was the original air date for the episode with 3.90 u.s. viewers (millions)?
CREATE TABLE "table1_12722302_2" ( "no" real, "title" text, "directed_by" text, "written_by" text, "bens_location" text, "original_air_date" text, "u_s_viewers_million" text );
SELECT "original_air_date" FROM "table1_12722302_2" WHERE "u_s_viewers_million"='3.90';
1-12722302-2
What is the original air date for no. 2?
CREATE TABLE "table1_12722302_2" ( "no" real, "title" text, "directed_by" text, "written_by" text, "bens_location" text, "original_air_date" text, "u_s_viewers_million" text );
SELECT "original_air_date" FROM "table1_12722302_2" WHERE "no"=2;
1-12722302-2
Who directed "hot and bothered"?
CREATE TABLE "table1_12722302_2" ( "no" real, "title" text, "directed_by" text, "written_by" text, "bens_location" text, "original_air_date" text, "u_s_viewers_million" text );
SELECT "directed_by" FROM "table1_12722302_2" WHERE "title"='\"Hot and Bothered\"';
1-12722302-2
Who directed the episode with 3.19 million u.s. viewers?
CREATE TABLE "table1_12722302_2" ( "no" real, "title" text, "directed_by" text, "written_by" text, "bens_location" text, "original_air_date" text, "u_s_viewers_million" text );
SELECT "directed_by" FROM "table1_12722302_2" WHERE "u_s_viewers_million"='3.19';
1-12722302-2
What's the price (in USD) of the model whose L3 is 18 mb?
CREATE TABLE "table1_12740151_8" ( "model_number" text, "clock_speed" text, "l2" text, "l3" text, "fsb_speed" text, "multiplier" text, "cores" real, "threads_per_core" real, "voltage" text, "tdp_w" text, "socket" text, "release_date" text, "price_usd" text );
SELECT "price_usd" FROM "table1_12740151_8" WHERE "l3"='18 MB';
1-12740151-8
What's the clock speed of the model that costs $910?
CREATE TABLE "table1_12740151_8" ( "model_number" text, "clock_speed" text, "l2" text, "l3" text, "fsb_speed" text, "multiplier" text, "cores" real, "threads_per_core" real, "voltage" text, "tdp_w" text, "socket" text, "release_date" text, "price_usd" text );
SELECT "clock_speed" FROM "table1_12740151_8" WHERE "price_usd"='$910';
1-12740151-8
what is the least amount in the tournament?
CREATE TABLE "goalscorers" ( "player" text, "league" real, "scottish_cup" real, "league_cup" real, "challenge_cup" real, "total" real );
SELECT MIN("league_cup") FROM "goalscorers";
1-12755786-8
what is the tourney where the winner is kevin mckinlay?
CREATE TABLE "goalscorers" ( "player" text, "league" real, "scottish_cup" real, "league_cup" real, "challenge_cup" real, "total" real );
SELECT "league_cup" FROM "goalscorers" WHERE "player"='Kevin McKinlay';
1-12755786-8
what's the thursday iuppiter (jupiter) with tuesday mars (mars) being marterì
CREATE TABLE "greco_roman_tradition" ( "day_see_irregularities" text, "sunday_s_l_sun" text, "monday_luna_moon" text, "tuesday_mars_mars" text, "wednesday_mercurius_mercury" text, "thursday_iuppiter_jupiter" text, "friday_venus_venus" text, "saturday_saturnus_saturn" text );
SELECT "thursday_iuppiter_jupiter" FROM "greco_roman_tradition" WHERE "tuesday_mars_mars"='Marterì';
1-1277350-1
what's the sunday sōl (sun) with friday venus (venus) being vernes
CREATE TABLE "greco_roman_tradition" ( "day_see_irregularities" text, "sunday_s_l_sun" text, "monday_luna_moon" text, "tuesday_mars_mars" text, "wednesday_mercurius_mercury" text, "thursday_iuppiter_jupiter" text, "friday_venus_venus" text, "saturday_saturnus_saturn" text );
SELECT "sunday_s_l_sun" FROM "greco_roman_tradition" WHERE "friday_venus_venus"='vernes';
1-1277350-1
what's the thursday iuppiter (jupiter) with friday venus (venus) being vendredi
CREATE TABLE "greco_roman_tradition" ( "day_see_irregularities" text, "sunday_s_l_sun" text, "monday_luna_moon" text, "tuesday_mars_mars" text, "wednesday_mercurius_mercury" text, "thursday_iuppiter_jupiter" text, "friday_venus_venus" text, "saturday_saturnus_saturn" text );
SELECT "thursday_iuppiter_jupiter" FROM "greco_roman_tradition" WHERE "friday_venus_venus"='vendredi';
1-1277350-1
what's the tuesday mars (mars) with day: (see irregularities ) being ancient greek
CREATE TABLE "greco_roman_tradition" ( "day_see_irregularities" text, "sunday_s_l_sun" text, "monday_luna_moon" text, "tuesday_mars_mars" text, "wednesday_mercurius_mercury" text, "thursday_iuppiter_jupiter" text, "friday_venus_venus" text, "saturday_saturnus_saturn" text );
SELECT "tuesday_mars_mars" FROM "greco_roman_tradition" WHERE "day_see_irregularities"='Ancient Greek';
1-1277350-1
what's the saturday saturnus ( saturn) with wednesday mercurius (mercury) being mercuridi
CREATE TABLE "greco_roman_tradition" ( "day_see_irregularities" text, "sunday_s_l_sun" text, "monday_luna_moon" text, "tuesday_mars_mars" text, "wednesday_mercurius_mercury" text, "thursday_iuppiter_jupiter" text, "friday_venus_venus" text, "saturday_saturnus_saturn" text );
SELECT "saturday_saturnus_saturn" FROM "greco_roman_tradition" WHERE "wednesday_mercurius_mercury"='Mercuridi';
1-1277350-1
what's the thursday iuppiter (jupiter) with saturday saturnus ( saturn) being jesarn
CREATE TABLE "greco_roman_tradition" ( "day_see_irregularities" text, "sunday_s_l_sun" text, "monday_luna_moon" text, "tuesday_mars_mars" text, "wednesday_mercurius_mercury" text, "thursday_iuppiter_jupiter" text, "friday_venus_venus" text, "saturday_saturnus_saturn" text );
SELECT "thursday_iuppiter_jupiter" FROM "greco_roman_tradition" WHERE "saturday_saturnus_saturn"='Jesarn';
1-1277350-1
What is the sequencer when ion torrent pgm is 200-400 bp?
CREATE TABLE "comparison" ( "sequencer" text, "ion_torrent_pgm" text, "454_gs_flx" text, "hi_seq_2000" text, "so_li_dv4" text, "pac_bio" text, "sanger_3730xl" text );
SELECT "sequencer" FROM "comparison" WHERE "ion_torrent_pgm"='200-400 bp';
1-127511-1
How many times was Sanger 3730xl $2400 usd?
CREATE TABLE "comparison" ( "sequencer" text, "ion_torrent_pgm" text, "454_gs_flx" text, "hi_seq_2000" text, "so_li_dv4" text, "pac_bio" text, "sanger_3730xl" text );
SELECT COUNT("ion_torrent_pgm") FROM "comparison" WHERE "sanger_3730xl"='$2400 USD';
1-127511-1
How much was solidv4 when pacbio is $300 usd?
CREATE TABLE "comparison" ( "sequencer" text, "ion_torrent_pgm" text, "454_gs_flx" text, "hi_seq_2000" text, "so_li_dv4" text, "pac_bio" text, "sanger_3730xl" text );
SELECT "so_li_dv4" FROM "comparison" WHERE "pac_bio"='$300 USD';
1-127511-1
What is solidv4 when sequencer is data output per run?
CREATE TABLE "comparison" ( "sequencer" text, "ion_torrent_pgm" text, "454_gs_flx" text, "hi_seq_2000" text, "so_li_dv4" text, "pac_bio" text, "sanger_3730xl" text );
SELECT "so_li_dv4" FROM "comparison" WHERE "sequencer"='Data output per run';
1-127511-1
WHat is hiseq 2000 when 454 gs flx is 700 bp?
CREATE TABLE "comparison" ( "sequencer" text, "ion_torrent_pgm" text, "454_gs_flx" text, "hi_seq_2000" text, "so_li_dv4" text, "pac_bio" text, "sanger_3730xl" text );
SELECT "hi_seq_2000" FROM "comparison" WHERE "454_gs_flx"='700 bp';
1-127511-1
What is 454 gs flx when pacbio is 100-500 mb?
CREATE TABLE "comparison" ( "sequencer" text, "ion_torrent_pgm" text, "454_gs_flx" text, "hi_seq_2000" text, "so_li_dv4" text, "pac_bio" text, "sanger_3730xl" text );
SELECT "454_gs_flx" FROM "comparison" WHERE "pac_bio"='100-500 Mb';
1-127511-1
How was times was the dance the jive and the week # was 10?
CREATE TABLE "table1_1276219_1" ( "year" real, "celebrity_partner" text, "week_num" text, "dance" text, "horwood" real, "phillips" real, "goodman" real, "tonioli" real, "total" real );
SELECT COUNT("phillips") FROM "table1_1276219_1" WHERE "dance"='Jive' AND "week_num"='10';
1-1276219-1
What's the Slovene word for Thursday?
CREATE TABLE "days_numbered_from_monday" ( "day_see_irregularities" text, "monday_first_day" text, "tuesday_second_day" text, "wednesday_third_day" text, "thursday_fourth_day" text, "friday_fifth_day" text, "saturday_sixth_day" text, "sunday_seventh_day" text );
SELECT "thursday_fourth_day" FROM "days_numbered_from_monday" WHERE "day_see_irregularities"='Slovene';
1-1277350-5
How do you say Friday in Polish?
CREATE TABLE "days_numbered_from_monday" ( "day_see_irregularities" text, "monday_first_day" text, "tuesday_second_day" text, "wednesday_third_day" text, "thursday_fourth_day" text, "friday_fifth_day" text, "saturday_sixth_day" text, "sunday_seventh_day" text );
SELECT "friday_fifth_day" FROM "days_numbered_from_monday" WHERE "day_see_irregularities"='Polish';
1-1277350-5
What's the Croatian word for Saturday?
CREATE TABLE "days_numbered_from_monday" ( "day_see_irregularities" text, "monday_first_day" text, "tuesday_second_day" text, "wednesday_third_day" text, "thursday_fourth_day" text, "friday_fifth_day" text, "saturday_sixth_day" text, "sunday_seventh_day" text );
SELECT "saturday_sixth_day" FROM "days_numbered_from_monday" WHERE "day_see_irregularities"='Croatian';
1-1277350-5
In the system where Sunday is ஞாயிற்று கிழமை nyāyitru kizhamai, what is Saturday?
CREATE TABLE "indian_astrology" ( "day" text, "sunday_surya_the_sun" text, "monday_soma_the_moon" text, "tuesday_mangala_mars" text, "wednesday_budha_mercury" text, "thursday_guru_jupiter" text, "friday_shukra_venus" text, "saturday_shani_saturn" text );
SELECT "saturday_shani_saturn" FROM "indian_astrology" WHERE "sunday_surya_the_sun"='ஞாயிற்று கிழமை Nyāyitru kizhamai';
1-1277350-3
In language where Wednesday is বুধবার budhbar, what is Thursday?
CREATE TABLE "indian_astrology" ( "day" text, "sunday_surya_the_sun" text, "monday_soma_the_moon" text, "tuesday_mangala_mars" text, "wednesday_budha_mercury" text, "thursday_guru_jupiter" text, "friday_shukra_venus" text, "saturday_shani_saturn" text );
SELECT "thursday_guru_jupiter" FROM "indian_astrology" WHERE "wednesday_budha_mercury"='বুধবার Budhbar';
1-1277350-3
In language where Saturday is සෙනසුරාදා senasuraadaa, what is Tuesday?
CREATE TABLE "indian_astrology" ( "day" text, "sunday_surya_the_sun" text, "monday_soma_the_moon" text, "tuesday_mangala_mars" text, "wednesday_budha_mercury" text, "thursday_guru_jupiter" text, "friday_shukra_venus" text, "saturday_shani_saturn" text );
SELECT "tuesday_mangala_mars" FROM "indian_astrology" WHERE "saturday_shani_saturn"='සෙනසුරාදා Senasuraadaa';
1-1277350-3
In language where Thursday is برس وار bres'var, what is Sunday?
CREATE TABLE "indian_astrology" ( "day" text, "sunday_surya_the_sun" text, "monday_soma_the_moon" text, "tuesday_mangala_mars" text, "wednesday_budha_mercury" text, "thursday_guru_jupiter" text, "friday_shukra_venus" text, "saturday_shani_saturn" text );
SELECT "sunday_surya_the_sun" FROM "indian_astrology" WHERE "thursday_guru_jupiter"='برس وار Bres''var';
1-1277350-3
In language where Wednesday is برھ وار budh'var, what is Saturday?
CREATE TABLE "indian_astrology" ( "day" text, "sunday_surya_the_sun" text, "monday_soma_the_moon" text, "tuesday_mangala_mars" text, "wednesday_budha_mercury" text, "thursday_guru_jupiter" text, "friday_shukra_venus" text, "saturday_shani_saturn" text );
SELECT "saturday_shani_saturn" FROM "indian_astrology" WHERE "wednesday_budha_mercury"='برھ وار Budh''var';
1-1277350-3
What is saturday day seven when thursday day five is ሐሙስ hamus?
CREATE TABLE "table1_1277350_7" ( "day_see_irregularities" text, "sunday_day_one" text, "monday_day_two" text, "tuesday_day_three" text, "wednesday_day_four" text, "thursday_day_five" text, "friday_day_six" text, "saturday_day_seven" text );
SELECT "saturday_day_seven" FROM "table1_1277350_7" WHERE "thursday_day_five"='ሐሙስ hamus';
1-1277350-7
What is thursday day five when friday day six is პარასკევი p'arask'evi?
CREATE TABLE "table1_1277350_7" ( "day_see_irregularities" text, "sunday_day_one" text, "monday_day_two" text, "tuesday_day_three" text, "wednesday_day_four" text, "thursday_day_five" text, "friday_day_six" text, "saturday_day_seven" text );
SELECT "thursday_day_five" FROM "table1_1277350_7" WHERE "friday_day_six"='პარასკევი p''arask''evi';
1-1277350-7
What is tuesday day three when thursday day five is kamis?
CREATE TABLE "table1_1277350_7" ( "day_see_irregularities" text, "sunday_day_one" text, "monday_day_two" text, "tuesday_day_three" text, "wednesday_day_four" text, "thursday_day_five" text, "friday_day_six" text, "saturday_day_seven" text );
SELECT "tuesday_day_three" FROM "table1_1277350_7" WHERE "thursday_day_five"='Kamis';
1-1277350-7
What is friday day six when thursday day five is پچھمبے pachhambey?
CREATE TABLE "table1_1277350_7" ( "day_see_irregularities" text, "sunday_day_one" text, "monday_day_two" text, "tuesday_day_three" text, "wednesday_day_four" text, "thursday_day_five" text, "friday_day_six" text, "saturday_day_seven" text );
SELECT "friday_day_six" FROM "table1_1277350_7" WHERE "thursday_day_five"='پچھمبے pachhambey';
1-1277350-7
What is friday day six when monday day two is isnin?
CREATE TABLE "table1_1277350_7" ( "day_see_irregularities" text, "sunday_day_one" text, "monday_day_two" text, "tuesday_day_three" text, "wednesday_day_four" text, "thursday_day_five" text, "friday_day_six" text, "saturday_day_seven" text );
SELECT "friday_day_six" FROM "table1_1277350_7" WHERE "monday_day_two"='Isnin';
1-1277350-7
How many time is sunday day one is ahad?
CREATE TABLE "table1_1277350_7" ( "day_see_irregularities" text, "sunday_day_one" text, "monday_day_two" text, "tuesday_day_three" text, "wednesday_day_four" text, "thursday_day_five" text, "friday_day_six" text, "saturday_day_seven" text );
SELECT COUNT("thursday_day_five") FROM "table1_1277350_7" WHERE "sunday_day_one"='Ahad';
1-1277350-7
What is the least amount of freight carried when the super b capacity reached was February 26?
CREATE TABLE "statistics" ( "year" real, "road_opened" text, "road_closed" text, "freight_carried_s_tonne" real, "super_b_capacity_reached_citation_needed" text, "number_of_truck_loads_north" real );
SELECT MIN("freight_carried_s_tonne") FROM "statistics" WHERE "super_b_capacity_reached_citation_needed"='February 26';
1-12791809-1
What is the most number of truck loads north?
CREATE TABLE "statistics" ( "year" real, "road_opened" text, "road_closed" text, "freight_carried_s_tonne" real, "super_b_capacity_reached_citation_needed" text, "number_of_truck_loads_north" real );
SELECT MAX("number_of_truck_loads_north") FROM "statistics";
1-12791809-1
What is thea year the road closed April 13?
CREATE TABLE "statistics" ( "year" real, "road_opened" text, "road_closed" text, "freight_carried_s_tonne" real, "super_b_capacity_reached_citation_needed" text, "number_of_truck_loads_north" real );
SELECT MAX("year") FROM "statistics" WHERE "road_closed"='April 13';
1-12791809-1
When was the Super B capacity reached when the number of truck loads north was 7735?
CREATE TABLE "statistics" ( "year" real, "road_opened" text, "road_closed" text, "freight_carried_s_tonne" real, "super_b_capacity_reached_citation_needed" text, "number_of_truck_loads_north" real );
SELECT "super_b_capacity_reached_citation_needed" FROM "statistics" WHERE "number_of_truck_loads_north"=7735;
1-12791809-1
When was the super b capacity reached when the freight carried s tonne was 198818?
CREATE TABLE "statistics" ( "year" real, "road_opened" text, "road_closed" text, "freight_carried_s_tonne" real, "super_b_capacity_reached_citation_needed" text, "number_of_truck_loads_north" real );
SELECT "super_b_capacity_reached_citation_needed" FROM "statistics" WHERE "freight_carried_s_tonne"=198818;
1-12791809-1
How many loses corresponded to giving up 714 points?
CREATE TABLE "2010_2011_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );
SELECT "lost" FROM "2010_2011_table" WHERE "points_against"='714';
1-12792876-2
How many draws were there when there were 30 tries against?
CREATE TABLE "2010_2011_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );
SELECT "drawn" FROM "2010_2011_table" WHERE "tries_against"='30';
1-12792876-2
How many try bonuses were there when there were 64 tries for?
CREATE TABLE "2010_2011_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );
SELECT "try_bonus" FROM "2010_2011_table" WHERE "tries_for"='64';
1-12792876-2
Which club gave up 714 points?
CREATE TABLE "2010_2011_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );
SELECT "club" FROM "2010_2011_table" WHERE "points_against"='714';
1-12792876-2
What is the third entry in the row with a first entry of "club"?
CREATE TABLE "2010_2011_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );
SELECT "won" FROM "2010_2011_table" WHERE "club"='Club';
1-12792876-2
What is the 8th entry in the row with a first entry of "club"?
CREATE TABLE "2010_2011_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );
SELECT "tries_for" FROM "2010_2011_table" WHERE "club"='Club';
1-12792876-2
How many were won with the points against was 450?
CREATE TABLE "2009_2010_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );
SELECT COUNT("won") FROM "2009_2010_table" WHERE "points_against"='450';
1-12792876-3
what was the drawn when the tries for was 46?
CREATE TABLE "2009_2010_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );
SELECT "drawn" FROM "2009_2010_table" WHERE "tries_for"='46';
1-12792876-3
What was the won when the points for was 496?
CREATE TABLE "2009_2010_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );
SELECT "won" FROM "2009_2010_table" WHERE "points_for"='496';
1-12792876-3
What was the losing bonus when the points against was 445?
CREATE TABLE "2009_2010_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );
SELECT "losing_bonus" FROM "2009_2010_table" WHERE "points_against"='445';
1-12792876-3
What was the tries against when the drawn was 2?
CREATE TABLE "2009_2010_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );
SELECT "tries_against" FROM "2009_2010_table" WHERE "drawn"='2';
1-12792876-3
What was the drawn when the tries against was 89?
CREATE TABLE "2009_2010_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );
SELECT "drawn" FROM "2009_2010_table" WHERE "tries_against"='89';
1-12792876-3
What is the number of the name for number 4?
CREATE TABLE "list_of_daimy" ( "num" real, "name" text, "tenure" text, "courtesy_title" text, "court_rank" text, "revenues" text, "lineage" text );
SELECT COUNT("name") FROM "list_of_daimy" WHERE "num"=4;
1-12803263-1
What is the most number?
CREATE TABLE "list_of_daimy" ( "num" real, "name" text, "tenure" text, "courtesy_title" text, "court_rank" text, "revenues" text, "lineage" text );
SELECT MAX("num") FROM "list_of_daimy";
1-12803263-1
what amount played tried for 60?
CREATE TABLE "2007_2008_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );
SELECT COUNT("played") FROM "2007_2008_table" WHERE "tries_for"='60';
1-12807904-5
How many played where the points were 80?
CREATE TABLE "2007_2008_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );
SELECT "played" FROM "2007_2008_table" WHERE "points"='80';
1-12807904-5
what amount of points were lost by 13?
CREATE TABLE "2007_2008_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );
SELECT "points" FROM "2007_2008_table" WHERE "lost"='13';
1-12807904-5
what are the total points agains the score of 63?
CREATE TABLE "2007_2008_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );
SELECT "points_against" FROM "2007_2008_table" WHERE "points"='63';
1-12807904-5
What amount of points where points were 389?
CREATE TABLE "2007_2008_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );
SELECT COUNT("points") FROM "2007_2008_table" WHERE "points_against"='389';
1-12807904-5
HOW MANY PLAYERS PLAYED IN THE GAME THAT WON WITH 438 POINTS
CREATE TABLE "2009_2010_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );
SELECT "played" FROM "2009_2010_table" WHERE "points_for"='438';
1-12807904-3
HOW MANY GAMES HAD A WIN WITH A BONUS OF 11
CREATE TABLE "2009_2010_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );
SELECT "won" FROM "2009_2010_table" WHERE "try_bonus"='11';
1-12807904-3
HOW MANY GAMES WERE TIED AT 3?
CREATE TABLE "2009_2010_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );
SELECT "tries_for" FROM "2009_2010_table" WHERE "drawn"='3';
1-12807904-3
HOW MANY GAMES HAD BONUS POINTS OF 6?
CREATE TABLE "2009_2010_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );
SELECT "points_for" FROM "2009_2010_table" WHERE "try_bonus"='6';
1-12807904-3
HOW MANY GAMES WERE TIED AT 76?
CREATE TABLE "2009_2010_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );
SELECT "drawn" FROM "2009_2010_table" WHERE "points"='76';
1-12807904-3
HOW MANY GAMES WERE LOST BY 12 POINTS?
CREATE TABLE "2009_2010_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );
SELECT COUNT("points_for") FROM "2009_2010_table" WHERE "lost"='12';
1-12807904-3
What was the number of earnings were cuts made are 19 and money list rank is 3?
CREATE TABLE "european_tour_professional_career_summar" ( "year" real, "starts" real, "cuts_made" real, "wins" real, "2nd" real, "3rd" real, "top_10" real, "top_25" real, "earnings" real, "money_list_rank" real );
SELECT "earnings" FROM "european_tour_professional_career_summar" WHERE "cuts_made"=19 AND "money_list_rank"=3;
1-12821159-14
How many listings are under money list rank wher 2nd' value is larger than 2.0?
CREATE TABLE "european_tour_professional_career_summar" ( "year" real, "starts" real, "cuts_made" real, "wins" real, "2nd" real, "3rd" real, "top_10" real, "top_25" real, "earnings" real, "money_list_rank" real );
SELECT COUNT("money_list_rank") FROM "european_tour_professional_career_summar" WHERE "2nd">2.0;
1-12821159-14
what are all the barrel lengths whith the name ar-15a3 competition hbar
CREATE TABLE "r_series_models" ( "colt_model_no" text, "name" text, "stock" text, "fire_control" text, "rear_sight" text, "forward_assist" text, "case_deflector" text, "barrel_length" text, "barrel_profile" text, "barrel_twist" text, "hand_guards" text, "bayonet_lug" text, "muzzle_device" text );
SELECT "barrel_length" FROM "r_series_models" WHERE "name"='AR-15A3 Competition HBAR';
1-12834315-2
What is the fire control for the sporter target
CREATE TABLE "r_series_models" ( "colt_model_no" text, "name" text, "stock" text, "fire_control" text, "rear_sight" text, "forward_assist" text, "case_deflector" text, "barrel_length" text, "barrel_profile" text, "barrel_twist" text, "hand_guards" text, "bayonet_lug" text, "muzzle_device" text );
SELECT "fire_control" FROM "r_series_models" WHERE "name"='Sporter Target';
1-12834315-2
What is the days with rain figure for the city of Santiago de Compostela?
CREATE TABLE "climate" ( "city_town" text, "july_av_t" text, "rain" text, "days_with_rain_year_summer" text, "days_with_frost" real, "sunlight_hours" real );
SELECT "days_with_rain_year_summer" FROM "climate" WHERE "city_town"='Santiago de Compostela';
1-12837-1
How many rain figures are provided for sunlight hours in 1966?
CREATE TABLE "climate" ( "city_town" text, "july_av_t" text, "rain" text, "days_with_rain_year_summer" text, "days_with_frost" real, "sunlight_hours" real );
SELECT COUNT("rain") FROM "climate" WHERE "sunlight_hours"=1966;
1-12837-1
What is the value of barrel twist when the barrel profile is SFW?
CREATE TABLE "diemaco_colt_canada_models" ( "colt_model_no" text, "diemaco_model" text, "stock" text, "fire_control" text, "rear_sight" text, "forward_assist" text, "barrel_length" text, "barrel_profile" text, "barrel_twist" text, "hand_guards" text, "bayonet_lug" text, "muzzle_device" text );
SELECT "barrel_twist" FROM "diemaco_colt_canada_models" WHERE "barrel_profile"='SFW';
1-12834315-8
What kind of hand guards are associated with a rear sight of A1 and stock of A2?
CREATE TABLE "diemaco_colt_canada_models" ( "colt_model_no" text, "diemaco_model" text, "stock" text, "fire_control" text, "rear_sight" text, "forward_assist" text, "barrel_length" text, "barrel_profile" text, "barrel_twist" text, "hand_guards" text, "bayonet_lug" text, "muzzle_device" text );
SELECT "hand_guards" FROM "diemaco_colt_canada_models" WHERE "rear_sight"='A1' AND "stock"='A2';
1-12834315-8
How many inches is the barrel length when the rear sight is weaver and the barrel profile is A2?
CREATE TABLE "diemaco_colt_canada_models" ( "colt_model_no" text, "diemaco_model" text, "stock" text, "fire_control" text, "rear_sight" text, "forward_assist" text, "barrel_length" text, "barrel_profile" text, "barrel_twist" text, "hand_guards" text, "bayonet_lug" text, "muzzle_device" text );
SELECT "barrel_length" FROM "diemaco_colt_canada_models" WHERE "rear_sight"='Weaver' AND "barrel_profile"='A2';
1-12834315-8
What is the muzzle device on the colt model le1020?
CREATE TABLE "le_series_models" ( "colt_model_no" text, "name" text, "stock" text, "fire_control" text, "rear_sight" text, "forward_assist" text, "barrel_length" text, "barrel_profile" text, "barrel_twist" text, "hand_guards" text, "bayonet_lug" text, "muzzle_device" text );
SELECT "muzzle_device" FROM "le_series_models" WHERE "colt_model_no"='LE1020';
1-12834315-5
What is the barrell profile that goes with the gas piston carbine?
CREATE TABLE "le_series_models" ( "colt_model_no" text, "name" text, "stock" text, "fire_control" text, "rear_sight" text, "forward_assist" text, "barrel_length" text, "barrel_profile" text, "barrel_twist" text, "hand_guards" text, "bayonet_lug" text, "muzzle_device" text );
SELECT "barrel_profile" FROM "le_series_models" WHERE "name"='Gas Piston Carbine';
1-12834315-5
What models have an a2 barrel profile?
CREATE TABLE "le_series_models" ( "colt_model_no" text, "name" text, "stock" text, "fire_control" text, "rear_sight" text, "forward_assist" text, "barrel_length" text, "barrel_profile" text, "barrel_twist" text, "hand_guards" text, "bayonet_lug" text, "muzzle_device" text );
SELECT "name" FROM "le_series_models" WHERE "barrel_profile"='A2';
1-12834315-5
What hand guard system is used with a gas piston commando?
CREATE TABLE "le_series_models" ( "colt_model_no" text, "name" text, "stock" text, "fire_control" text, "rear_sight" text, "forward_assist" text, "barrel_length" text, "barrel_profile" text, "barrel_twist" text, "hand_guards" text, "bayonet_lug" text, "muzzle_device" text );
SELECT "hand_guards" FROM "le_series_models" WHERE "name"='Gas Piston Commando';
1-12834315-5
What is the bayonet lug status for a m4 hbar and m4le carbine equipped?
CREATE TABLE "le_series_models" ( "colt_model_no" text, "name" text, "stock" text, "fire_control" text, "rear_sight" text, "forward_assist" text, "barrel_length" text, "barrel_profile" text, "barrel_twist" text, "hand_guards" text, "bayonet_lug" text, "muzzle_device" text );
SELECT "bayonet_lug" FROM "le_series_models" WHERE "barrel_profile"='M4 HBAR' AND "name"='M4LE Carbine';
1-12834315-5