question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
What country'c capital is santiago?
CREATE TABLE "table1_14098_1" ( "country_or_territory_with_flag" text, "area_km_per_sqmi" text, "population_july_2009_est" real, "population_density_per_km" text, "capital" text );
SELECT "country_or_territory_with_flag" FROM "table1_14098_1" WHERE "capital"='Santiago';
1-14098-1
who is the the voice actor (englbeingh 1998 / pioneer) with voice actor (englbeingh 1997 / saban) being alec willows and voice actor (englbeingh 2006 / funimation) being andy mcavin
CREATE TABLE "cast" ( "character_name" text, "voice_actor_japanese" text, "voice_actor_english_1997_saban" text, "voice_actor_english_1998_pioneer" text, "voice_actor_english_2006_fu_nimation" text );
SELECT "voice_actor_english_1998_pioneer" FROM "cast" WHERE "voice_actor_english_1997_saban"='Alec Willows' AND "voice_actor_english_2006_fu_nimation"='Andy McAvin';
1-1410384-1
what's the character name with voice actor (englbeingh 1997 / saban) being ian james corlett
CREATE TABLE "cast" ( "character_name" text, "voice_actor_japanese" text, "voice_actor_english_1997_saban" text, "voice_actor_english_1998_pioneer" text, "voice_actor_english_2006_fu_nimation" text );
SELECT "character_name" FROM "cast" WHERE "voice_actor_english_1997_saban"='Ian James Corlett';
1-1410384-1
what's the character name with voice actor (englbeingh 1998 / pioneer) being paul dobson
CREATE TABLE "cast" ( "character_name" text, "voice_actor_japanese" text, "voice_actor_english_1997_saban" text, "voice_actor_english_1998_pioneer" text, "voice_actor_english_2006_fu_nimation" text );
SELECT "character_name" FROM "cast" WHERE "voice_actor_english_1998_pioneer"='Paul Dobson';
1-1410384-1
how many voice actor (englbeingh 1998 / pioneer) with voice actor (japanese) being shinobu satouchi
CREATE TABLE "cast" ( "character_name" text, "voice_actor_japanese" text, "voice_actor_english_1997_saban" text, "voice_actor_english_1998_pioneer" text, "voice_actor_english_2006_fu_nimation" text );
SELECT COUNT("voice_actor_english_1998_pioneer") FROM "cast" WHERE "voice_actor_japanese"='Shinobu Satouchi';
1-1410384-1
who is the the voice actor (japanese) with character name being goku
CREATE TABLE "cast" ( "character_name" text, "voice_actor_japanese" text, "voice_actor_english_1997_saban" text, "voice_actor_english_1998_pioneer" text, "voice_actor_english_2006_fu_nimation" text );
SELECT "voice_actor_japanese" FROM "cast" WHERE "character_name"='Goku';
1-1410384-1
how many big wins does peru state college have
CREATE TABLE "college_sports" ( "school" text, "mascot" text, "conference" text, "national_titles" real, "founded" real );
SELECT COUNT("national_titles") FROM "college_sports" WHERE "school"='Peru State College';
1-14115168-4
which school has 14 large championships
CREATE TABLE "college_sports" ( "school" text, "mascot" text, "conference" text, "national_titles" real, "founded" real );
SELECT "school" FROM "college_sports" WHERE "national_titles"=14;
1-14115168-4
how many overall championships does concordia university have
CREATE TABLE "college_sports" ( "school" text, "mascot" text, "conference" text, "national_titles" real, "founded" real );
SELECT MIN("national_titles") FROM "college_sports" WHERE "school"='Concordia University';
1-14115168-4
what's the duration with mission being sts-87
CREATE TABLE "use" ( "edo_flight" real, "shuttle" text, "mission" text, "launch_date" text, "duration" text, "primary_payload_s" text );
SELECT "duration" FROM "use" WHERE "mission"='STS-87';
1-14118521-1
what's the edo flight with duration being 17 days, 15 hours, 53 minutes, 18 seconds
CREATE TABLE "use" ( "edo_flight" real, "shuttle" text, "mission" text, "launch_date" text, "duration" text, "primary_payload_s" text );
SELECT "edo_flight" FROM "use" WHERE "duration"='17 days, 15 hours, 53 minutes, 18 seconds';
1-14118521-1
what's the primary payload(s) with launch date being july 8, 1994
CREATE TABLE "use" ( "edo_flight" real, "shuttle" text, "mission" text, "launch_date" text, "duration" text, "primary_payload_s" text );
SELECT "primary_payload_s" FROM "use" WHERE "launch_date"='July 8, 1994';
1-14118521-1
what's the mission with primary payload(s) being spacelab life sciences-2
CREATE TABLE "use" ( "edo_flight" real, "shuttle" text, "mission" text, "launch_date" text, "duration" text, "primary_payload_s" text );
SELECT "mission" FROM "use" WHERE "primary_payload_s"='Spacelab Life Sciences-2';
1-14118521-1
what's the shuttle with primary payload(s) being united states microgravity laboratory-1
CREATE TABLE "use" ( "edo_flight" real, "shuttle" text, "mission" text, "launch_date" text, "duration" text, "primary_payload_s" text );
SELECT "shuttle" FROM "use" WHERE "primary_payload_s"='United States Microgravity Laboratory-1';
1-14118521-1
how many primary payload(s) with shuttle being columbia and duration being 13 days, 19 hours, 30 minutes, 4 seconds
CREATE TABLE "use" ( "edo_flight" real, "shuttle" text, "mission" text, "launch_date" text, "duration" text, "primary_payload_s" text );
SELECT COUNT("primary_payload_s") FROM "use" WHERE "shuttle"='Columbia' AND "duration"='13 days, 19 hours, 30 minutes, 4 seconds';
1-14118521-1
what's the pts with team being kopron team scot
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"='Kopron Team Scot';
1-14139408-1
what's the pts with position being nc
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 "position"='NC';
1-14139408-1
what's the pts with poles being smaller than 1.0 and motorcycle being aprilia and class being 250cc
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 "poles"<1.0 AND "motorcycle"='Aprilia' AND "class"='250cc';
1-14139408-1
what's the poles with pts being 81
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 "poles" FROM "by_seasons_and_teams" WHERE "pts"='81';
1-14139408-1
how many class with poles being bigger than 1.0
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 COUNT("class") FROM "by_seasons_and_teams" WHERE "poles">1.0;
1-14139408-1
what's the position with team being skilled racing team
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 "team"='Skilled Racing Team';
1-14139408-1
Who was the defensive award winner in February when the rookie award was given to Rhys Duch?
CREATE TABLE "weekly_awards" ( "month" text, "week" real, "overall" text, "offensive" text, "defensive" text, "transition" text, "rookie" text );
SELECT "defensive" FROM "weekly_awards" WHERE "month"='February' AND "rookie"='Rhys Duch';
1-14132239-3
Who was the offensive award winner the week when Bob Watson was given the overall award?
CREATE TABLE "weekly_awards" ( "month" text, "week" real, "overall" text, "offensive" text, "defensive" text, "transition" text, "rookie" text );
SELECT "offensive" FROM "weekly_awards" WHERE "overall"='Bob Watson';
1-14132239-3
Who was the defensive award winner when the rookie award was given to Daryl Veltman and the offensive award was given to Mark Steenhuis?
CREATE TABLE "weekly_awards" ( "month" text, "week" real, "overall" text, "offensive" text, "defensive" text, "transition" text, "rookie" text );
SELECT "defensive" FROM "weekly_awards" WHERE "rookie"='Daryl Veltman' AND "offensive"='Mark Steenhuis';
1-14132239-3
Who won the rookie award the week the transition award was given to Brodie Merrill and the offensive award was given to Pat Maddalena?
CREATE TABLE "weekly_awards" ( "month" text, "week" real, "overall" text, "offensive" text, "defensive" text, "transition" text, "rookie" text );
SELECT "rookie" FROM "weekly_awards" WHERE "transition"='Brodie Merrill' AND "offensive"='Pat Maddalena';
1-14132239-3
What is the lowest enrollment value out of the enrollment values I'd the schools with a 3A WIAA clarification?
CREATE TABLE "high_schools_grades_9_12" ( "high_school" text, "type" text, "established" real, "enrollment" real, "mascot" text, "wiaa_classification" text, "notes" text );
SELECT MIN("enrollment") FROM "high_schools_grades_9_12" WHERE "wiaa_classification"='3A';
1-1414702-3
What is the WIAA classification of Oakland Alternative High School?
CREATE TABLE "high_schools_grades_9_12" ( "high_school" text, "type" text, "established" real, "enrollment" real, "mascot" text, "wiaa_classification" text, "notes" text );
SELECT "wiaa_classification" FROM "high_schools_grades_9_12" WHERE "high_school"='Oakland Alternative';
1-1414702-3
When was Mount Tahoma established?
CREATE TABLE "high_schools_grades_9_12" ( "high_school" text, "type" text, "established" real, "enrollment" real, "mascot" text, "wiaa_classification" text, "notes" text );
SELECT MAX("established") FROM "high_schools_grades_9_12" WHERE "high_school"='Mount Tahoma';
1-1414702-3
What's the note about the school established in the year of 1973?
CREATE TABLE "high_schools_grades_9_12" ( "high_school" text, "type" text, "established" real, "enrollment" real, "mascot" text, "wiaa_classification" text, "notes" text );
SELECT "notes" FROM "high_schools_grades_9_12" WHERE "established"=1973;
1-1414702-3
Who was in the 4th district in 1924?
CREATE TABLE "supervisors" ( "year" real, "1st_district" text, "2nd_district" text, "3rd_district" text, "4th_district" text, "5th_district" text );
SELECT "4th_district" FROM "supervisors" WHERE "year"=1924;
1-14123513-5
List all the years with Cecil M. Featherly in the 1st district and David L. Baker in the 2nd district?
CREATE TABLE "supervisors" ( "year" real, "1st_district" text, "2nd_district" text, "3rd_district" text, "4th_district" text, "5th_district" text );
SELECT "year" FROM "supervisors" WHERE "2nd_district"='David L. Baker' AND "1st_district"='Cecil M. Featherly';
1-14123513-5
What is the last year that Howard A. Wassum was in the 5th district?
CREATE TABLE "supervisors" ( "year" real, "1st_district" text, "2nd_district" text, "3rd_district" text, "4th_district" text, "5th_district" text );
SELECT MAX("year") FROM "supervisors" WHERE "5th_district"='Howard A. Wassum';
1-14123513-5
List all FTE middle school teachers in Sunnyvale.
CREATE TABLE "schools" ( "school_name" text, "city" text, "students" real, "fte_teachers" text, "pupil_teacher_ratio" text, "school_level" text, "low_grade" text, "high_grade" text );
SELECT "fte_teachers" FROM "schools" WHERE "school_level"='Middle' AND "city"='Sunnyvale';
1-1414743-1
What is the highest number of students with a teacher:student ratio of 20.8?
CREATE TABLE "schools" ( "school_name" text, "city" text, "students" real, "fte_teachers" text, "pupil_teacher_ratio" text, "school_level" text, "low_grade" text, "high_grade" text );
SELECT MAX("students") FROM "schools" WHERE "pupil_teacher_ratio"='20.8';
1-1414743-1
How many FTE teachers are there when the student:teacher ration is 19?
CREATE TABLE "schools" ( "school_name" text, "city" text, "students" real, "fte_teachers" text, "pupil_teacher_ratio" text, "school_level" text, "low_grade" text, "high_grade" text );
SELECT "fte_teachers" FROM "schools" WHERE "pupil_teacher_ratio"='19';
1-1414743-1
What edition of congress for member-elect richard p. giles?
CREATE TABLE "table1_14158567_1" ( "member_elect" text, "party" text, "district" text, "election_date" text, "congress" text, "reason_for_non_seating" text );
SELECT "congress" FROM "table1_14158567_1" WHERE "member_elect"='Richard P. Giles';
1-14158567-1
how many mean elevation with lowest point being gulf of mexico and state being texas
CREATE TABLE "table1_1416612_1" ( "state" text, "highest_point" text, "highest_elevation" text, "lowest_point" text, "lowest_elevation" text, "mean_elevation" text );
SELECT COUNT("mean_elevation") FROM "table1_1416612_1" WHERE "lowest_point"='Gulf of Mexico' AND "state"='Texas';
1-1416612-1
what's the highest point with lowest point being belle fourche river at south dakota border
CREATE TABLE "table1_1416612_1" ( "state" text, "highest_point" text, "highest_elevation" text, "lowest_point" text, "lowest_elevation" text, "mean_elevation" text );
SELECT "highest_point" FROM "table1_1416612_1" WHERE "lowest_point"='Belle Fourche River at South Dakota border';
1-1416612-1
what's the lowest elevation with highest point being charles mound
CREATE TABLE "table1_1416612_1" ( "state" text, "highest_point" text, "highest_elevation" text, "lowest_point" text, "lowest_elevation" text, "mean_elevation" text );
SELECT "lowest_elevation" FROM "table1_1416612_1" WHERE "highest_point"='Charles Mound';
1-1416612-1
what's the lowest point with highest point being mount greylock
CREATE TABLE "table1_1416612_1" ( "state" text, "highest_point" text, "highest_elevation" text, "lowest_point" text, "lowest_elevation" text, "mean_elevation" text );
SELECT "lowest_point" FROM "table1_1416612_1" WHERE "highest_point"='Mount Greylock';
1-1416612-1
what's the state with highest point being mount katahdin
CREATE TABLE "table1_1416612_1" ( "state" text, "highest_point" text, "highest_elevation" text, "lowest_point" text, "lowest_elevation" text, "mean_elevation" text );
SELECT "state" FROM "table1_1416612_1" WHERE "highest_point"='Mount Katahdin';
1-1416612-1
What language for the glam genre?
CREATE TABLE "european_version" ( "song_title" text, "artist" text, "language" text, "decade" text, "genre" text, "exportable" text, "family_friendly" text );
SELECT "language" FROM "european_version" WHERE "genre"='Glam';
1-14160327-4
What game allow the 1980s to be exportable?
CREATE TABLE "european_version" ( "song_title" text, "artist" text, "language" text, "decade" text, "genre" text, "exportable" text, "family_friendly" text );
SELECT "exportable" FROM "european_version" WHERE "decade"='1980s';
1-14160327-4
How many family friendly games are in the 1990s?
CREATE TABLE "european_version" ( "song_title" text, "artist" text, "language" text, "decade" text, "genre" text, "exportable" text, "family_friendly" text );
SELECT COUNT("family_friendly") FROM "european_version" WHERE "decade"='1990s';
1-14160327-4
When 0-1 is the aggregate what are the home (1st leg)?
CREATE TABLE "losers_knockout" ( "home_1st_leg" text, "home_2nd_leg" text, "1st_leg" text, "2nd_leg" text, "aggregate" text );
SELECT "home_1st_leg" FROM "losers_knockout" WHERE "aggregate"='0-1';
1-14219514-2
When 2-0 is the 1st leg what are the home (2nd leg)?
CREATE TABLE "losers_knockout" ( "home_1st_leg" text, "home_2nd_leg" text, "1st_leg" text, "2nd_leg" text, "aggregate" text );
SELECT "home_2nd_leg" FROM "losers_knockout" WHERE "1st_leg"='2-0';
1-14219514-2
When belgrano is the home (1st leg) what is the home (2nd leg)?
CREATE TABLE "losers_knockout" ( "home_1st_leg" text, "home_2nd_leg" text, "1st_leg" text, "2nd_leg" text, "aggregate" text );
SELECT "home_2nd_leg" FROM "losers_knockout" WHERE "home_1st_leg"='Belgrano';
1-14219514-2
When platense is the home (2nd leg) what is the 2nd leg?
CREATE TABLE "losers_knockout" ( "home_1st_leg" text, "home_2nd_leg" text, "1st_leg" text, "2nd_leg" text, "aggregate" text );
SELECT "2nd_leg" FROM "losers_knockout" WHERE "home_2nd_leg"='Platense';
1-14219514-2
When altos hornos zapla is the home (1st leg) what is overall amount of 1st leg?
CREATE TABLE "losers_knockout" ( "home_1st_leg" text, "home_2nd_leg" text, "1st_leg" text, "2nd_leg" text, "aggregate" text );
SELECT COUNT("1st_leg") FROM "losers_knockout" WHERE "home_1st_leg"='Altos Hornos Zapla';
1-14219514-2
When temperley is the home (2nd leg) what is the home (1st leg)?
CREATE TABLE "losers_knockout" ( "home_1st_leg" text, "home_2nd_leg" text, "1st_leg" text, "2nd_leg" text, "aggregate" text );
SELECT "home_1st_leg" FROM "losers_knockout" WHERE "home_2nd_leg"='Temperley';
1-14219514-2
How many 2nd legs had an aggregate of 2-4?
CREATE TABLE "winners_knockout" ( "home_1st_leg" text, "home_2nd_leg" text, "1st_leg" text, "2nd_leg" text, "aggregate" text );
SELECT COUNT("2nd_leg") FROM "winners_knockout" WHERE "aggregate"='2-4';
1-14219514-1
How many home (2nd leg) had a 1st leg 1-1?
CREATE TABLE "winners_knockout" ( "home_1st_leg" text, "home_2nd_leg" text, "1st_leg" text, "2nd_leg" text, "aggregate" text );
SELECT COUNT("home_2nd_leg") FROM "winners_knockout" WHERE "1st_leg"='1-1';
1-14219514-1
How many 2nd legs are there where home (1st leg) is Independiente?
CREATE TABLE "winners_knockout" ( "home_1st_leg" text, "home_2nd_leg" text, "1st_leg" text, "2nd_leg" text, "aggregate" text );
SELECT "2nd_leg" FROM "winners_knockout" WHERE "home_1st_leg"='Independiente';
1-14219514-1
Who was in home (2nd leg) when Talleres was in home (1st leg)
CREATE TABLE "winners_knockout" ( "home_1st_leg" text, "home_2nd_leg" text, "1st_leg" text, "2nd_leg" text, "aggregate" text );
SELECT "home_2nd_leg" FROM "winners_knockout" WHERE "home_1st_leg"='Talleres';
1-14219514-1
Who was in 2nd leg when Boca Juniors was in home (1st leg)?
CREATE TABLE "winners_knockout" ( "home_1st_leg" text, "home_2nd_leg" text, "1st_leg" text, "2nd_leg" text, "aggregate" text );
SELECT "2nd_leg" FROM "winners_knockout" WHERE "home_1st_leg"='Boca Juniors';
1-14219514-1
Name the 1968 bbc for 1957 bbc anneke wills
CREATE TABLE "2000_version" ( "cast" text, "1951_bbc" text, "1957_bbc" text, "1968_bbc" text, "1970_film" text, "2000_carlton_television" text );
SELECT "1968_bbc" FROM "2000_version" WHERE "1957_bbc"='Anneke Wills';
1-142161-1
Name the 2000 carlton television for 1951 bbc john stuart
CREATE TABLE "2000_version" ( "cast" text, "1951_bbc" text, "1957_bbc" text, "1968_bbc" text, "1970_film" text, "2000_carlton_television" text );
SELECT "2000_carlton_television" FROM "2000_version" WHERE "1951_bbc"='John Stuart';
1-142161-1
Name the cast for 1957 bcc for jean anderson
CREATE TABLE "2000_version" ( "cast" text, "1951_bbc" text, "1957_bbc" text, "1968_bbc" text, "1970_film" text, "2000_carlton_television" text );
SELECT "cast" FROM "2000_version" WHERE "1957_bbc"='Jean Anderson';
1-142161-1
Name the 1970 film when 1951 bbc is michael croudson
CREATE TABLE "2000_version" ( "cast" text, "1951_bbc" text, "1957_bbc" text, "1968_bbc" text, "1970_film" text, "2000_carlton_television" text );
SELECT "1970_film" FROM "2000_version" WHERE "1951_bbc"='Michael Croudson';
1-142161-1
Name the cast for 1951 bbc being carole lorimer
CREATE TABLE "2000_version" ( "cast" text, "1951_bbc" text, "1957_bbc" text, "1968_bbc" text, "1970_film" text, "2000_carlton_television" text );
SELECT "cast" FROM "2000_version" WHERE "1951_bbc"='Carole Lorimer';
1-142161-1
Name the 1970 film for when 1968 being neil mcdermott
CREATE TABLE "2000_version" ( "cast" text, "1951_bbc" text, "1957_bbc" text, "1968_bbc" text, "1970_film" text, "2000_carlton_television" text );
SELECT "1970_film" FROM "2000_version" WHERE "1968_bbc"='Neil McDermott';
1-142161-1
Name the playoffs for 2nd round open cup
CREATE TABLE "year_by_year" ( "year" real, "division" real, "league" text, "regular_season" text, "playoffs" text, "open_cup" text, "avg_attendance" real );
SELECT "playoffs" FROM "year_by_year" WHERE "open_cup"='2nd Round';
1-14240688-1
What was the regular season standings for the year when the playoffs reached the conference semifinals and the team did not qualify for the US Open Cup?
CREATE TABLE "year_by_year" ( "year" real, "league" text, "reg_season" text, "playoffs" text, "us_open_cup" text, "avg_attendance" real );
SELECT "reg_season" FROM "year_by_year" WHERE "playoffs"='Conference Semifinals' AND "us_open_cup"='Did not qualify';
1-14225409-1
Name the population in 1931 for lubelskie
CREATE TABLE "administrative_division" ( "s_car_plate_starting_1937" text, "voivodeship_or_city" text, "capital" text, "area_1930_in_1_000skm_2" text, "population_1931_in_1_000s" text );
SELECT "population_1931_in_1_000s" FROM "administrative_division" WHERE "voivodeship_or_city"='lubelskie';
1-14245-3
Name the s car starting 1937 when area 1930 is 16.5
CREATE TABLE "administrative_division" ( "s_car_plate_starting_1937" text, "voivodeship_or_city" text, "capital" text, "area_1930_in_1_000skm_2" text, "population_1931_in_1_000s" text );
SELECT "s_car_plate_starting_1937" FROM "administrative_division" WHERE "area_1930_in_1_000skm_2"='16.5';
1-14245-3
Name the population when the capital is tarnopol
CREATE TABLE "administrative_division" ( "s_car_plate_starting_1937" text, "voivodeship_or_city" text, "capital" text, "area_1930_in_1_000skm_2" text, "population_1931_in_1_000s" text );
SELECT "population_1931_in_1_000s" FROM "administrative_division" WHERE "capital"='Tarnopol';
1-14245-3
Name the s car plate starting 1937 for area 1930 being 22.2
CREATE TABLE "administrative_division" ( "s_car_plate_starting_1937" text, "voivodeship_or_city" text, "capital" text, "area_1930_in_1_000skm_2" text, "population_1931_in_1_000s" text );
SELECT "s_car_plate_starting_1937" FROM "administrative_division" WHERE "area_1930_in_1_000skm_2"='22.2';
1-14245-3
Name the most bits 14-12 for output from accumulator to character bus
CREATE TABLE "table1_14249278_1" ( "bit_15" real, "bits_14_12" real, "bits_11_0" text, "mnemonic" text, "description" text );
SELECT MIN("bits_14_12") FROM "table1_14249278_1" WHERE "description"='Output from accumulator to character bus';
1-14249278-1
what is smallest number in fleet for chassis manufacturer Scania and fleet numbers is 3230?
CREATE TABLE "table1_1425948_1" ( "chassis_manufacturer" text, "chassis_model" text, "body_model" text, "number_in_fleet" real, "fleet_numbers" text );
SELECT MIN("number_in_fleet") FROM "table1_1425948_1" WHERE "chassis_manufacturer"='Scania' AND "fleet_numbers"='3230';
1-1425948-1
Which chassis manufacturer is for fleet numbers range 2530-2558
CREATE TABLE "table1_1425948_1" ( "chassis_manufacturer" text, "chassis_model" text, "body_model" text, "number_in_fleet" real, "fleet_numbers" text );
SELECT "chassis_manufacturer" FROM "table1_1425948_1" WHERE "fleet_numbers"='2530-2558';
1-1425948-1
Chassis model Scania K360ua has what minimum number in fleet?
CREATE TABLE "table1_1425948_1" ( "chassis_manufacturer" text, "chassis_model" text, "body_model" text, "number_in_fleet" real, "fleet_numbers" text );
SELECT MIN("number_in_fleet") FROM "table1_1425948_1" WHERE "chassis_model"='Scania K360UA';
1-1425948-1
Name the channels when designation is pc700
CREATE TABLE "module_specifications" ( "designation" text, "bus_width_bits" real, "channels" text, "clock_rate_m_hz" real, "bandwidth_mb_s" real );
SELECT "channels" FROM "module_specifications" WHERE "designation"='PC700';
1-142573-1
Name the maximum clock rate mhz
CREATE TABLE "module_specifications" ( "designation" text, "bus_width_bits" real, "channels" text, "clock_rate_m_hz" real, "bandwidth_mb_s" real );
SELECT MAX("clock_rate_m_hz") FROM "module_specifications";
1-142573-1
Name the bus width bits when bandwidth mb/s is 3200
CREATE TABLE "module_specifications" ( "designation" text, "bus_width_bits" real, "channels" text, "clock_rate_m_hz" real, "bandwidth_mb_s" real );
SELECT "bus_width_bits" FROM "module_specifications" WHERE "bandwidth_mb_s"=3200;
1-142573-1
Name the least clock rate mhz
CREATE TABLE "module_specifications" ( "designation" text, "bus_width_bits" real, "channels" text, "clock_rate_m_hz" real, "bandwidth_mb_s" real );
SELECT MIN("clock_rate_m_hz") FROM "module_specifications";
1-142573-1
Name the least clock rate mhz when designation is rimm 4200
CREATE TABLE "module_specifications" ( "designation" text, "bus_width_bits" real, "channels" text, "clock_rate_m_hz" real, "bandwidth_mb_s" real );
SELECT MIN("clock_rate_m_hz") FROM "module_specifications" WHERE "designation"='RIMM 4200';
1-142573-1
Name the number of clock rate mhz when bandwidth mb/s is 2400
CREATE TABLE "module_specifications" ( "designation" text, "bus_width_bits" real, "channels" text, "clock_rate_m_hz" real, "bandwidth_mb_s" real );
SELECT COUNT("clock_rate_m_hz") FROM "module_specifications" WHERE "bandwidth_mb_s"=2400;
1-142573-1
Which elementary schools list Cort Monroe as the principal from 2013 to 2014?
CREATE TABLE "elementary_schools_grades_k_6" ( "elementary_schools" text, "mascot" text, "address" text, "principal_2013_2014" text, "assistant_principal_2013_2014" text );
SELECT "elementary_schools" FROM "elementary_schools_grades_k_6" WHERE "principal_2013_2014"='Cort Monroe';
1-14254419-3
Who are all the assistant principals that served from 2013-2014 under the principal Cort Monroe?
CREATE TABLE "elementary_schools_grades_k_6" ( "elementary_schools" text, "mascot" text, "address" text, "principal_2013_2014" text, "assistant_principal_2013_2014" text );
SELECT "assistant_principal_2013_2014" FROM "elementary_schools_grades_k_6" WHERE "principal_2013_2014"='Cort Monroe';
1-14254419-3
Who played in the series that resulted in matches with the following scores: 0–3 0–8 0–1 0–2 0–3 1–4 0–9 0–5?
CREATE TABLE "table1_14263158_3" ( "competition" text, "stage" text, "result" text, "opponent" text, "position" text, "scorers" text );
SELECT "opponent" FROM "table1_14263158_3" WHERE "result"='0–3 0–8 0–1 0–2 0–3 1–4 0–9 0–5';
1-14263158-3
Where was there a change of 6.5%?
CREATE TABLE "references" ( "name" text, "2011_census" real, "2006_census" real, "pct_change" text, "land_area_km" text, "density_pop_km" text, "population_rank" real );
SELECT "name" FROM "references" WHERE "pct_change"='6.5';
1-1425958-1
When the change is 8.8%, what is the density (pop/km²)?
CREATE TABLE "references" ( "name" text, "2011_census" real, "2006_census" real, "pct_change" text, "land_area_km" text, "density_pop_km" text, "population_rank" real );
SELECT "density_pop_km" FROM "references" WHERE "pct_change"='8.8';
1-1425958-1
How many locations had a density (pop/km²) of 91.8 in the 2011 census?
CREATE TABLE "references" ( "name" text, "2011_census" real, "2006_census" real, "pct_change" text, "land_area_km" text, "density_pop_km" text, "population_rank" real );
SELECT COUNT("2011_census") FROM "references" WHERE "density_pop_km"='91.8';
1-1425958-1
When the 2006 census had a population of 422204, what was the density (pop/km²) ?
CREATE TABLE "references" ( "name" text, "2011_census" real, "2006_census" real, "pct_change" text, "land_area_km" text, "density_pop_km" text, "population_rank" real );
SELECT COUNT("density_pop_km") FROM "references" WHERE "2006_census"=422204;
1-1425958-1
When the % change is 8.4, what is the population rank?
CREATE TABLE "references" ( "name" text, "2011_census" real, "2006_census" real, "pct_change" text, "land_area_km" text, "density_pop_km" text, "population_rank" real );
SELECT MIN("population_rank") FROM "references" WHERE "pct_change"='8.4';
1-1425958-1
When the population rank is 34, what the is % change?
CREATE TABLE "references" ( "name" text, "2011_census" real, "2006_census" real, "pct_change" text, "land_area_km" text, "density_pop_km" text, "population_rank" real );
SELECT "pct_change" FROM "references" WHERE "population_rank"=34;
1-1425958-1
How many teams scored exactly 38 points
CREATE TABLE "all_time_results_record" ( "team" text, "first_played" real, "played" real, "win" real, "draw" real, "loss" real, "points_for" real, "ponts_against" real, "last_meeting" real );
SELECT COUNT("team") FROM "all_time_results_record" WHERE "points_for"=38;
1-14288212-1
In what year did Italy begin playing?
CREATE TABLE "all_time_results_record" ( "team" text, "first_played" real, "played" real, "win" real, "draw" real, "loss" real, "points_for" real, "ponts_against" real, "last_meeting" real );
SELECT MIN("first_played") FROM "all_time_results_record" WHERE "team"='Italy';
1-14288212-1
For teams that played 5 games, what was the smallest number of wins?
CREATE TABLE "all_time_results_record" ( "team" text, "first_played" real, "played" real, "win" real, "draw" real, "loss" real, "points_for" real, "ponts_against" real, "last_meeting" real );
SELECT MIN("win") FROM "all_time_results_record" WHERE "played"=5;
1-14288212-1
How many games did the team that began in 2011 and scored 36 points play?
CREATE TABLE "all_time_results_record" ( "team" text, "first_played" real, "played" real, "win" real, "draw" real, "loss" real, "points_for" real, "ponts_against" real, "last_meeting" real );
SELECT COUNT("played") FROM "all_time_results_record" WHERE "first_played"=2011 AND "points_for"=36;
1-14288212-1
What are all the run times with 8.2 million viewers?
CREATE TABLE "serial_details_by_episode" ( "episode" text, "broadcast_date" text, "run_time" text, "viewers_in_millions" text, "archive" text );
SELECT "run_time" FROM "serial_details_by_episode" WHERE "viewers_in_millions"='8.2';
1-1429629-1
What are all the episodes with an episode run time of 24:01?
CREATE TABLE "serial_details_by_episode" ( "episode" text, "broadcast_date" text, "run_time" text, "viewers_in_millions" text, "archive" text );
SELECT "episode" FROM "serial_details_by_episode" WHERE "run_time"='24:01';
1-1429629-1
How many episodes had a broadcast date and run time of 24:43?
CREATE TABLE "serial_details_by_episode" ( "episode" text, "broadcast_date" text, "run_time" text, "viewers_in_millions" text, "archive" text );
SELECT COUNT("broadcast_date") FROM "serial_details_by_episode" WHERE "run_time"='24:43';
1-1429629-1
How many members gained university status in 1900?
CREATE TABLE "members" ( "institution" text, "location" text, "established" real, "gained_university_status" real, "vice_chancellor" text, "total_number_of_students" real, "research_funding_000" real );
SELECT COUNT("research_funding_000") FROM "members" WHERE "gained_university_status"=1900;
1-142950-1
What is the largest number of students?
CREATE TABLE "members" ( "institution" text, "location" text, "established" real, "gained_university_status" real, "vice_chancellor" text, "total_number_of_students" real, "research_funding_000" real );
SELECT MAX("total_number_of_students") FROM "members";
1-142950-1
How many members have professor edward acton as vice-chancellor?
CREATE TABLE "members" ( "institution" text, "location" text, "established" real, "gained_university_status" real, "vice_chancellor" text, "total_number_of_students" real, "research_funding_000" real );
SELECT COUNT("total_number_of_students") FROM "members" WHERE "vice_chancellor"='Professor Edward Acton';
1-142950-1
What is the year leicester was established?
CREATE TABLE "members" ( "institution" text, "location" text, "established" real, "gained_university_status" real, "vice_chancellor" text, "total_number_of_students" real, "research_funding_000" real );
SELECT MAX("established") FROM "members" WHERE "location"='Leicester';
1-142950-1
which country has miss universe Hungary as former pageant?
CREATE TABLE "replaced_pageants" ( "country_territory" text, "former_pageant" text, "last_competed" real, "new_pageant" text, "franchise_since" real );
SELECT "country_territory" FROM "replaced_pageants" WHERE "former_pageant"='Miss Universe Hungary';
1-14308895-2
which is the former pageant in the country where the new pageant is miss bahamas?
CREATE TABLE "replaced_pageants" ( "country_territory" text, "former_pageant" text, "last_competed" real, "new_pageant" text, "franchise_since" real );
SELECT "former_pageant" FROM "replaced_pageants" WHERE "new_pageant"='Miss Bahamas';
1-14308895-2
when did new zealand last compete?
CREATE TABLE "replaced_pageants" ( "country_territory" text, "former_pageant" text, "last_competed" real, "new_pageant" text, "franchise_since" real );
SELECT MAX("last_competed") FROM "replaced_pageants" WHERE "country_territory"='New Zealand';
1-14308895-2