question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
How many Points were awarded to Sabahudin Kurt with a Draw is greater than 7?
CREATE TABLE "results" ( "draw" real, "language" text, "artist" text, "song" text, "english_translation" text, "place" real, "points" real );
SELECT "points" FROM "results" WHERE "draw">7 AND "artist"='sabahudin kurt';
2-184803-1
How much Converted has a Number of 35, and a Withdrawn smaller than 1952?
CREATE TABLE "great_eastern_section" ( "number" text, "previous_number_s" real, "previous_class" text, "converted" real, "withdrawn" real, "disposal" text );
SELECT COUNT("converted") FROM "great_eastern_section" WHERE "number"='35' AND "withdrawn"<1952;
2-1895522-3
How much Withdrawn has a Number of 42, and a Previous Number(s) larger than 68178?
CREATE TABLE "great_eastern_section" ( "number" text, "previous_number_s" real, "previous_class" text, "converted" real, "withdrawn" real, "disposal" text );
SELECT SUM("withdrawn") FROM "great_eastern_section" WHERE "number"='42' AND "previous_number_s">68178;
2-1895522-3
Which Withdrawn has a Previous Class of j69, and a Previous Number(s) smaller than 68532, and a Converted larger than 1959?
CREATE TABLE "great_eastern_section" ( "number" text, "previous_number_s" real, "previous_class" text, "converted" real, "withdrawn" real, "disposal" text );
SELECT MAX("withdrawn") FROM "great_eastern_section" WHERE "previous_class"='j69' AND "previous_number_s"<68532 AND "converted">1959;
2-1895522-3
What is the average latitude for townships in Dickey county with water under 2.106 sqmi and population under 95?
CREATE TABLE "r" ( "township" text, "county" text, "pop_2010" real, "land_sqmi" real, "water_sqmi" real, "latitude" real, "longitude" real, "geo_id" real, "ansi_code" real );
SELECT AVG("latitude") FROM "r" WHERE "water_sqmi"<2.106 AND "county"='dickey' AND "pop_2010"<95;
2-18600760-18
What is the highest GEO ID for land masses over 38.117 sq mi and over 2.065 sq mi of water?
CREATE TABLE "r" ( "township" text, "county" text, "pop_2010" real, "land_sqmi" real, "water_sqmi" real, "latitude" real, "longitude" real, "geo_id" real, "ansi_code" real );
SELECT MAX("geo_id") FROM "r" WHERE "land_sqmi">38.117 AND "water_sqmi">2.065;
2-18600760-18
What is the number of GEO IDs for areas in Riggin township with water area over 0.587 sq mi and ANSI codes over 1759257?
CREATE TABLE "r" ( "township" text, "county" text, "pop_2010" real, "land_sqmi" real, "water_sqmi" real, "latitude" real, "longitude" real, "geo_id" real, "ansi_code" real );
SELECT COUNT("geo_id") FROM "r" WHERE "water_sqmi">0.587 AND "township"='riggin' AND "ansi_code">1759257;
2-18600760-18
What's the class when the identifier is cbf-fm-14?
CREATE TABLE "s_rebroadcaster_of_cbf_fm" ( "city_of_license" text, "identifier" text, "frequency" text, "power" text, "class" text, "rec_net" text );
SELECT "class" FROM "s_rebroadcaster_of_cbf_fm" WHERE "identifier"='cbf-fm-14';
2-1873415-1
What's the frequency when the identifier is cbf-fm-9?
CREATE TABLE "s_rebroadcaster_of_cbf_fm" ( "city_of_license" text, "identifier" text, "frequency" text, "power" text, "class" text, "rec_net" text );
SELECT "frequency" FROM "s_rebroadcaster_of_cbf_fm" WHERE "identifier"='cbf-fm-9';
2-1873415-1
What's the RECNet when the identifier is cbf-fm-20?
CREATE TABLE "s_rebroadcaster_of_cbf_fm" ( "city_of_license" text, "identifier" text, "frequency" text, "power" text, "class" text, "rec_net" text );
SELECT "rec_net" FROM "s_rebroadcaster_of_cbf_fm" WHERE "identifier"='cbf-fm-20';
2-1873415-1
What's the RECNet when the power is 199 watts?
CREATE TABLE "s_rebroadcaster_of_cbf_fm" ( "city_of_license" text, "identifier" text, "frequency" text, "power" text, "class" text, "rec_net" text );
SELECT "rec_net" FROM "s_rebroadcaster_of_cbf_fm" WHERE "power"='199 watts';
2-1873415-1
What's the frequency when the identifier is cbf-fm-14 having a class of A?
CREATE TABLE "s_rebroadcaster_of_cbf_fm" ( "city_of_license" text, "identifier" text, "frequency" text, "power" text, "class" text, "rec_net" text );
SELECT "frequency" FROM "s_rebroadcaster_of_cbf_fm" WHERE "class"='a' AND "identifier"='cbf-fm-14';
2-1873415-1
What is the A.G. value associated with D3&4 of 46 and transmitter of Seaham?
CREATE TABLE "digital_television" ( "transmitter" text, "bbca" real, "bbcb" text, "d3_4" text, "arqa" text, "arqb" text, "pol" text, "a_g" text );
SELECT "a_g" FROM "digital_television" WHERE "d3_4"='46' AND "transmitter"='seaham';
2-1840753-7
What is the AG value associated with a D3&4 of 41?
CREATE TABLE "digital_television" ( "transmitter" text, "bbca" real, "bbcb" text, "d3_4" text, "arqa" text, "arqb" text, "pol" text, "a_g" text );
SELECT "a_g" FROM "digital_television" WHERE "d3_4"='41';
2-1840753-7
What was the billboard hot 100 with an album bust a nut, and the title of "need your lovin' (re-release)"?
CREATE TABLE "singles" ( "year" real, "title" text, "billboard_hot_100" text, "uk_singles_chart" text, "album" text );
SELECT "billboard_hot_100" FROM "singles" WHERE "album"='bust a nut' AND "title"='\"need your lovin'' (re-release)\"';
2-18545812-5
What is the UK singles chart for the album psychotic supper, in the year 1992, with a title of "song & emotion"?
CREATE TABLE "singles" ( "year" real, "title" text, "billboard_hot_100" text, "uk_singles_chart" text, "album" text );
SELECT "uk_singles_chart" FROM "singles" WHERE "album"='psychotic supper' AND "year"=1992 AND "title"='\"song & emotion\"';
2-18545812-5
which Label is in 15 december 1992?
CREATE TABLE "guest_appearances" ( "artist" text, "album" text, "track_s" text, "date" text, "label" text );
SELECT "label" FROM "guest_appearances" WHERE "date"='15 december 1992';
2-18804639-4
Which Album has an Artist of various artists (compilation), and a Label of laface?
CREATE TABLE "guest_appearances" ( "artist" text, "album" text, "track_s" text, "date" text, "label" text );
SELECT "album" FROM "guest_appearances" WHERE "artist"='various artists (compilation)' AND "label"='laface';
2-18804639-4
When has an Album of l'un n'empêche pas l'autre?
CREATE TABLE "guest_appearances" ( "artist" text, "album" text, "track_s" text, "date" text, "label" text );
SELECT "date" FROM "guest_appearances" WHERE "album"='l''un n''empêche pas l''autre';
2-18804639-4
Which Track(s) is on 18 november 1985?
CREATE TABLE "guest_appearances" ( "artist" text, "album" text, "track_s" text, "date" text, "label" text );
SELECT "track_s" FROM "guest_appearances" WHERE "date"='18 november 1985';
2-18804639-4
Which Artist has a Track(s) of " evilmainya "?
CREATE TABLE "guest_appearances" ( "artist" text, "album" text, "track_s" text, "date" text, "label" text );
SELECT "artist" FROM "guest_appearances" WHERE "track_s"='\" evilmainya \"';
2-18804639-4
Which Label that has an Album of so red the rose?
CREATE TABLE "guest_appearances" ( "artist" text, "album" text, "track_s" text, "date" text, "label" text );
SELECT "label" FROM "guest_appearances" WHERE "album"='so red the rose';
2-18804639-4
What is the least lane number that Natalie Coughlin was in when she was ranked greater than 1?
CREATE TABLE "semifinal_2" ( "rank" real, "lane" real, "name" text, "nationality" text, "time" text );
SELECT MIN("lane") FROM "semifinal_2" WHERE "name"='natalie coughlin' AND "rank">1;
2-18625598-5
Who is the Athlete with a rowing Time of 6:36.05?
CREATE TABLE "semifinal_a_b_1" ( "rank" real, "athlete" text, "country" text, "time" text, "notes" text );
SELECT "athlete" FROM "semifinal_a_b_1" WHERE "time"='6:36.05';
2-18662689-6
What song was made by the sex pistols?
CREATE TABLE "main_setlist" ( "year" real, "song" text, "artist" text, "genre" text, "band_tour_venue" text, "exportable" text );
SELECT "song" FROM "main_setlist" WHERE "artist"='sex pistols';
2-18495296-1
What song has the band tour vnue of 6. tool (usa) encore?
CREATE TABLE "main_setlist" ( "year" real, "song" text, "artist" text, "genre" text, "band_tour_venue" text, "exportable" text );
SELECT "song" FROM "main_setlist" WHERE "band_tour_venue"='6. tool (usa) encore';
2-18495296-1
What is the total when the A score was less than 6.6, and the B score was 8.925?
CREATE TABLE "qualified_competitors" ( "position" real, "gymnast" text, "a_score" real, "b_score" real, "total" real );
SELECT "total" FROM "qualified_competitors" WHERE "a_score"<6.6 AND "b_score"=8.925;
2-18662056-3
What total has a position smaller than 4, a B score higher than 9.125, and an A score less than 6.6?
CREATE TABLE "qualified_competitors" ( "position" real, "gymnast" text, "a_score" real, "b_score" real, "total" real );
SELECT AVG("total") FROM "qualified_competitors" WHERE "position"<4 AND "b_score">9.125 AND "a_score"<6.6;
2-18662056-3
What is the score when watford was the away team?
CREATE TABLE "second_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "score" FROM "second_round_proper" WHERE "away_team"='watford';
2-18711843-2
What is the score when york city was the home team?
CREATE TABLE "second_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "score" FROM "second_round_proper" WHERE "home_team"='york city';
2-18711843-2
What score has a game greater than 29, with 24-6 as the record?
CREATE TABLE "regular_season" ( "game" real, "date" text, "opponent" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "score" FROM "regular_season" WHERE "game">29 AND "record"='24-6';
2-18894744-7
What record has @ detroit as the opponent?
CREATE TABLE "regular_season" ( "game" real, "date" text, "opponent" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "record" FROM "regular_season" WHERE "opponent"='@ detroit';
2-18894744-7
What high assists have McWilliams-franklin (22) as the high points?
CREATE TABLE "regular_season" ( "game" real, "date" text, "opponent" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "high_assists" FROM "regular_season" WHERE "high_points"='mcwilliams-franklin (22)';
2-18894744-7
What high assists have uic pavilion 3,520 as the location/attendance?
CREATE TABLE "regular_season" ( "game" real, "date" text, "opponent" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "high_assists" FROM "regular_season" WHERE "location_attendance"='uic pavilion 3,520';
2-18894744-7
What game has jones (10) as the high rebounds?
CREATE TABLE "regular_season" ( "game" real, "date" text, "opponent" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "game" FROM "regular_season" WHERE "high_rebounds"='jones (10)';
2-18894744-7
How many cores does the processor with a release price of $426 have?
CREATE TABLE "ivy_bridge_quad_core_22_nm" ( "model_number" text, "s_spec_number" text, "cores" text, "frequency" text, "turbo" text, "l2_cache" text, "l3_cache" text, "gpu_model" text, "gpu_frequency" text, "socket" text, "i_o_bus" text, "release_date" text, "part_number_s" text, "release_price_usd" text );
SELECT "cores" FROM "ivy_bridge_quad_core_22_nm" WHERE "release_price_usd"='$426';
2-18823880-15
What was the frequency of the Core i7-3610QE?
CREATE TABLE "ivy_bridge_quad_core_22_nm" ( "model_number" text, "s_spec_number" text, "cores" text, "frequency" text, "turbo" text, "l2_cache" text, "l3_cache" text, "gpu_model" text, "gpu_frequency" text, "socket" text, "i_o_bus" text, "release_date" text, "part_number_s" text, "release_price_usd" text );
SELECT "frequency" FROM "ivy_bridge_quad_core_22_nm" WHERE "model_number"='core i7-3610qe';
2-18823880-15
How many cores does the processor released in April 2012 with a price of $393 and part number av8063801117503 have?
CREATE TABLE "ivy_bridge_quad_core_22_nm" ( "model_number" text, "s_spec_number" text, "cores" text, "frequency" text, "turbo" text, "l2_cache" text, "l3_cache" text, "gpu_model" text, "gpu_frequency" text, "socket" text, "i_o_bus" text, "release_date" text, "part_number_s" text, "release_price_usd" text );
SELECT "cores" FROM "ivy_bridge_quad_core_22_nm" WHERE "release_date"='april 2012' AND "release_price_usd"='$393' AND "part_number_s"='av8063801117503';
2-18823880-15
What is Japan's Area km²?
CREATE TABLE "most_densely_populated_islands_over_1_00" ( "island" text, "country" text, "population" text, "area_km" text, "density_per_km" text );
SELECT "area_km" FROM "most_densely_populated_islands_over_1_00" WHERE "country"='japan';
2-18749240-1
Which island has a density (per km²) of 1,368?
CREATE TABLE "most_densely_populated_islands_over_1_00" ( "island" text, "country" text, "population" text, "area_km" text, "density_per_km" text );
SELECT "island" FROM "most_densely_populated_islands_over_1_00" WHERE "density_per_km"='1,368';
2-18749240-1
Which country has a density (per km²) of 6,814?
CREATE TABLE "most_densely_populated_islands_over_1_00" ( "island" text, "country" text, "population" text, "area_km" text, "density_per_km" text );
SELECT "country" FROM "most_densely_populated_islands_over_1_00" WHERE "density_per_km"='6,814';
2-18749240-1
Which island has a population of 9,520 (2000)?
CREATE TABLE "most_densely_populated_islands_over_1_00" ( "island" text, "country" text, "population" text, "area_km" text, "density_per_km" text );
SELECT "island" FROM "most_densely_populated_islands_over_1_00" WHERE "population"='9,520 (2000)';
2-18749240-1
What is the area km² for a population of 99,685 (2008)?
CREATE TABLE "most_densely_populated_islands_over_1_00" ( "island" text, "country" text, "population" text, "area_km" text, "density_per_km" text );
SELECT "area_km" FROM "most_densely_populated_islands_over_1_00" WHERE "population"='99,685 (2008)';
2-18749240-1
Which island is in the United Kingdom?
CREATE TABLE "most_densely_populated_islands_over_1_00" ( "island" text, "country" text, "population" text, "area_km" text, "density_per_km" text );
SELECT "island" FROM "most_densely_populated_islands_over_1_00" WHERE "country"='united kingdom';
2-18749240-1
Who is the pitcher from the 1983 season in location Kingdome?
CREATE TABLE "pitchers" ( "season" text, "pitcher" text, "decision" text, "opponent" text, "location" text );
SELECT "pitcher" FROM "pitchers" WHERE "location"='kingdome' AND "season"='1983';
2-18694107-2
Who is the pitcher from the 1994 season that had the Cleveland Indians as an opponent?
CREATE TABLE "pitchers" ( "season" text, "pitcher" text, "decision" text, "opponent" text, "location" text );
SELECT "pitcher" FROM "pitchers" WHERE "opponent"='cleveland indians' AND "season"='1994';
2-18694107-2
Who is the opponent for the 2011 season with a decision of W?
CREATE TABLE "pitchers" ( "season" text, "pitcher" text, "decision" text, "opponent" text, "location" text );
SELECT "opponent" FROM "pitchers" WHERE "decision"='w' AND "season"='2011';
2-18694107-2
What season was played at Safeco Field, against the Boston Red Sox, with a decision of L?
CREATE TABLE "pitchers" ( "season" text, "pitcher" text, "decision" text, "opponent" text, "location" text );
SELECT "season" FROM "pitchers" WHERE "location"='safeco field' AND "decision"='l' AND "opponent"='boston red sox';
2-18694107-2
What was the decision for the 1983 season for the game played against the New York Yankees?
CREATE TABLE "pitchers" ( "season" text, "pitcher" text, "decision" text, "opponent" text, "location" text );
SELECT "decision" FROM "pitchers" WHERE "opponent"='new york yankees' AND "season"='1983';
2-18694107-2
what is the encoding when the tracks/side is 80 and sectors/track is 11?
CREATE TABLE "common_floppy_disk_formats_logical_chara" ( "platform" text, "size" text, "density" text, "bytes_sector" real, "sectors_track" text, "tracks_side" text, "sides" real, "capacity" text, "encoding" text );
SELECT "encoding" FROM "common_floppy_disk_formats_logical_chara" WHERE "tracks_side"='80' AND "sectors_track"='11';
2-18428401-5
What is the highest bronze for less than 2 total trophies?
CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MAX("bronze") FROM "medal_table" WHERE "total"<2;
2-1846034-1
Which Total has a Finish of t64, and a Year won larger than 2006?
CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_won" real, "total" real, "to_par" text, "finish" text );
SELECT MAX("total") FROM "made_the_cut" WHERE "finish"='t64' AND "year_won">2006;
2-18594233-1
Which year won has a Finish of t24, and a Country of england?
CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_won" real, "total" real, "to_par" text, "finish" text );
SELECT AVG("year_won") FROM "made_the_cut" WHERE "finish"='t24' AND "country"='england';
2-18594233-1
What is the smallest bronze value for countries with totals over 2, golds of 0, silvers under 1, and ranks over 10?
CREATE TABLE "medals_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MIN("bronze") FROM "medals_table" WHERE "total">2 AND "silver"<1 AND "rank">10 AND "gold"<0;
2-1855685-5
Which school has an enrollment of A and had lost river as their previous conference?
CREATE TABLE "membership" ( "school" text, "location" text, "mascot" text, "county" real, "enrollment" text, "ihsaa_class" text, "year_joined" real, "previous_conference" text );
SELECT "school" FROM "membership" WHERE "previous_conference"='lost river' AND "enrollment"='a';
2-18956862-1
What is the average year joined of the 277 county?
CREATE TABLE "membership" ( "school" text, "location" text, "mascot" text, "county" real, "enrollment" text, "ihsaa_class" text, "year_joined" real, "previous_conference" text );
SELECT AVG("year_joined") FROM "membership" WHERE "county"=277;
2-18956862-1
What is the IHSAA class of the county that is less than 228?
CREATE TABLE "membership" ( "school" text, "location" text, "mascot" text, "county" real, "enrollment" text, "ihsaa_class" text, "year_joined" real, "previous_conference" text );
SELECT "ihsaa_class" FROM "membership" WHERE "county"<228;
2-18956862-1
What is the engine when the transmission was 4-speed automatic, and acceleration 0–100km/h (0–62mph) was 10.4 s?
CREATE TABLE "engineering" ( "engine" text, "production" text, "transmission" text, "power" text, "torque" text, "acceleration_0_100km_h_0_62mph" text, "top_speed" text );
SELECT "engine" FROM "engineering" WHERE "transmission"='4-speed automatic' AND "acceleration_0_100km_h_0_62mph"='10.4 s';
2-1857216-1
What is the Power when the acceleration 0–100km/h (0–62mph) is 9.1 s?
CREATE TABLE "engineering" ( "engine" text, "production" text, "transmission" text, "power" text, "torque" text, "acceleration_0_100km_h_0_62mph" text, "top_speed" text );
SELECT "power" FROM "engineering" WHERE "acceleration_0_100km_h_0_62mph"='9.1 s';
2-1857216-1
What is the transmission when the engine is 2.0l, and acceleration 0–100km/h (0–62mph) is 10.5 s?
CREATE TABLE "engineering" ( "engine" text, "production" text, "transmission" text, "power" text, "torque" text, "acceleration_0_100km_h_0_62mph" text, "top_speed" text );
SELECT "transmission" FROM "engineering" WHERE "engine"='2.0l' AND "acceleration_0_100km_h_0_62mph"='10.5 s';
2-1857216-1
What is the production when engine is 2.7l, and acceleration 0–100km/h (0–62mph) is 8.5 s?
CREATE TABLE "engineering" ( "engine" text, "production" text, "transmission" text, "power" text, "torque" text, "acceleration_0_100km_h_0_62mph" text, "top_speed" text );
SELECT "production" FROM "engineering" WHERE "engine"='2.7l' AND "acceleration_0_100km_h_0_62mph"='8.5 s';
2-1857216-1
What is the transmission when the production was 2002-2005?
CREATE TABLE "engineering" ( "engine" text, "production" text, "transmission" text, "power" text, "torque" text, "acceleration_0_100km_h_0_62mph" text, "top_speed" text );
SELECT "transmission" FROM "engineering" WHERE "production"='2002-2005';
2-1857216-1
What is the acceleration 0–100km/h (0–62mph) when the transmission is 5-speed manual?
CREATE TABLE "engineering" ( "engine" text, "production" text, "transmission" text, "power" text, "torque" text, "acceleration_0_100km_h_0_62mph" text, "top_speed" text );
SELECT "acceleration_0_100km_h_0_62mph" FROM "engineering" WHERE "transmission"='5-speed manual';
2-1857216-1
What is the highest year for the Bethesda Game Studios Developer?
CREATE TABLE "giant_bomb" ( "year" real, "game" text, "genre" text, "platform_s" text, "developer_s" text );
SELECT MAX("year") FROM "giant_bomb" WHERE "developer_s"='bethesda game studios';
2-1851722-32
What is the lowest year for the game called The Elder Scrolls v: Skyrim?
CREATE TABLE "giant_bomb" ( "year" real, "game" text, "genre" text, "platform_s" text, "developer_s" text );
SELECT MIN("year") FROM "giant_bomb" WHERE "game"='the elder scrolls v: skyrim';
2-1851722-32
What game was developed by Naughty Dog?
CREATE TABLE "giant_bomb" ( "year" real, "game" text, "genre" text, "platform_s" text, "developer_s" text );
SELECT "genre" FROM "giant_bomb" WHERE "developer_s"='naughty dog';
2-1851722-32
What is the imed/avicenna listed for a medical school offshore in saint kitts and nevis which was established before 2000 and will give you an MD?
CREATE TABLE "current_medical_schools_in_the_caribbean" ( "country_territory" text, "established" real, "degree" text, "regional_offshore" text, "imed_avicenna_listed" text );
SELECT "imed_avicenna_listed" FROM "current_medical_schools_in_the_caribbean" WHERE "regional_offshore"='offshore' AND "country_territory"='saint kitts and nevis' AND "degree"='md' AND "established"<2000;
2-18731190-1
What country has a medical school established in 1969 with both an IMED and avicenna?
CREATE TABLE "current_medical_schools_in_the_caribbean" ( "country_territory" text, "established" real, "degree" text, "regional_offshore" text, "imed_avicenna_listed" text );
SELECT "country_territory" FROM "current_medical_schools_in_the_caribbean" WHERE "imed_avicenna_listed"='both' AND "established"=1969;
2-18731190-1
What is the average year that the medical school in dominican republic was established?
CREATE TABLE "current_medical_schools_in_the_caribbean" ( "country_territory" text, "established" real, "degree" text, "regional_offshore" text, "imed_avicenna_listed" text );
SELECT AVG("established") FROM "current_medical_schools_in_the_caribbean" WHERE "country_territory"='dominican republic';
2-18731190-1
What are the most wins with byes more than 0 and 1637 against?
CREATE TABLE "2010_ladder" ( "sunrayia_fl" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real );
SELECT MAX("wins") FROM "2010_ladder" WHERE "against"=1637 AND "byes">0;
2-18975610-3
What are the total byes for the Red Cliffs with more than 4 losses and more than 2422 against?
CREATE TABLE "2010_ladder" ( "sunrayia_fl" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real );
SELECT COUNT("byes") FROM "2010_ladder" WHERE "losses">4 AND "sunrayia_fl"='red cliffs' AND "against">2422;
2-18975610-3
What's the total wins for Wentworth with less than 0 byes?
CREATE TABLE "2010_ladder" ( "sunrayia_fl" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real );
SELECT COUNT("wins") FROM "2010_ladder" WHERE "sunrayia_fl"='wentworth' AND "byes"<0;
2-18975610-3
Which venue had an opponent of Sunderland and a result of a 1-1 draw?
CREATE TABLE "fa_premier_league" ( "date" text, "opponent" text, "venue" text, "result" text, "attendance" real );
SELECT "venue" FROM "fa_premier_league" WHERE "opponent"='sunderland' AND "result"='1-1';
2-18736176-2
What is the number of attendance values for ties having an opponent of Middlesbrough and result of 3-1?
CREATE TABLE "fa_premier_league" ( "date" text, "opponent" text, "venue" text, "result" text, "attendance" real );
SELECT COUNT("attendance") FROM "fa_premier_league" WHERE "opponent"='middlesbrough' AND "result"='3-1';
2-18736176-2
Which venue ended in a 3-0 result?
CREATE TABLE "fa_premier_league" ( "date" text, "opponent" text, "venue" text, "result" text, "attendance" real );
SELECT "venue" FROM "fa_premier_league" WHERE "result"='3-0';
2-18736176-2
Where was a 0-5 game played?
CREATE TABLE "football_league_first_division" ( "date" text, "opponent" text, "venue" text, "result" text, "attendance" real );
SELECT "venue" FROM "football_league_first_division" WHERE "result"='0-5';
2-18762971-2
What is the average rank of a player with fewer than 3 matches?
CREATE TABLE "season" ( "rank" real, "player" text, "county" text, "tally" text, "total" real, "matches" real, "average" real );
SELECT AVG("rank") FROM "season" WHERE "matches"<3;
2-18936933-1
Who was the opponent on April 21?
CREATE TABLE "game_log" ( "game" text, "date" text, "opponent" text, "score" text, "location_attendance" text, "record" text );
SELECT "opponent" FROM "game_log" WHERE "date"='april 21';
2-18493036-9
What's the record on April 12 when the location was The Omni?
CREATE TABLE "game_log" ( "game" text, "date" text, "opponent" text, "score" text, "location_attendance" text, "record" text );
SELECT "record" FROM "game_log" WHERE "location_attendance"='the omni' AND "date"='april 12';
2-18493036-9
What date was the score "score"?
CREATE TABLE "game_log" ( "game" text, "date" text, "opponent" text, "score" text, "location_attendance" text, "record" text );
SELECT "date" FROM "game_log" WHERE "score"='score';
2-18493036-9
What was the score on April 12?
CREATE TABLE "game_log" ( "game" text, "date" text, "opponent" text, "score" text, "location_attendance" text, "record" text );
SELECT "score" FROM "game_log" WHERE "date"='april 12';
2-18493036-9
What's the score of game 77?
CREATE TABLE "game_log" ( "game" text, "date" text, "opponent" text, "score" text, "location_attendance" text, "record" text );
SELECT "score" FROM "game_log" WHERE "game"='77';
2-18493036-9
What date had a record of 43-34?
CREATE TABLE "game_log" ( "game" text, "date" text, "opponent" text, "score" text, "location_attendance" text, "record" text );
SELECT "date" FROM "game_log" WHERE "record"='43-34';
2-18493036-9
What Artist had a Percentage of 17.14%?
CREATE TABLE "results_of_heat_2" ( "draw" real, "artist" text, "song" text, "percentage" text, "place" real );
SELECT "artist" FROM "results_of_heat_2" WHERE "percentage"='17.14%';
2-18593648-2
What Percentage has a Place of 5?
CREATE TABLE "results_of_heat_2" ( "draw" real, "artist" text, "song" text, "percentage" text, "place" real );
SELECT "percentage" FROM "results_of_heat_2" WHERE "place"=5;
2-18593648-2
Which BR number has an LMS number over 14768?
CREATE TABLE "references" ( "hr_number" real, "name" text, "lms_number" real, "br_number" text, "withdrawn" text );
SELECT "br_number" FROM "references" WHERE "lms_number">14768;
2-1872462-1
what is the frequency when the city of license is belleville?
CREATE TABLE "s_rebroadcaster_of_cjbc" ( "city_of_license" text, "identifier" text, "frequency" text, "power" text, "class" text, "rec_net" text );
SELECT "frequency" FROM "s_rebroadcaster_of_cjbc" WHERE "city_of_license"='belleville';
2-1873304-1
what is the class when the power is 22500 watts?
CREATE TABLE "s_rebroadcaster_of_cjbc" ( "city_of_license" text, "identifier" text, "frequency" text, "power" text, "class" text, "rec_net" text );
SELECT "class" FROM "s_rebroadcaster_of_cjbc" WHERE "power"='22500 watts';
2-1873304-1
what is the class when the identifier is cjbc-1-fm?
CREATE TABLE "s_rebroadcaster_of_cjbc" ( "city_of_license" text, "identifier" text, "frequency" text, "power" text, "class" text, "rec_net" text );
SELECT "class" FROM "s_rebroadcaster_of_cjbc" WHERE "identifier"='cjbc-1-fm';
2-1873304-1
what is the recnet when the city of license is peterborough?
CREATE TABLE "s_rebroadcaster_of_cjbc" ( "city_of_license" text, "identifier" text, "frequency" text, "power" text, "class" text, "rec_net" text );
SELECT "rec_net" FROM "s_rebroadcaster_of_cjbc" WHERE "city_of_license"='peterborough';
2-1873304-1
what is the power when the city of license is belleville?
CREATE TABLE "s_rebroadcaster_of_cjbc" ( "city_of_license" text, "identifier" text, "frequency" text, "power" text, "class" text, "rec_net" text );
SELECT "power" FROM "s_rebroadcaster_of_cjbc" WHERE "city_of_license"='belleville';
2-1873304-1
what is the identifier when the power is 22500 watts?
CREATE TABLE "s_rebroadcaster_of_cjbc" ( "city_of_license" text, "identifier" text, "frequency" text, "power" text, "class" text, "rec_net" text );
SELECT "identifier" FROM "s_rebroadcaster_of_cjbc" WHERE "power"='22500 watts';
2-1873304-1
What is the Opponents in the game with a Date of nov. 25?
CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "dolphins_points" real, "opponents" real, "record" text, "attendance" real );
SELECT MIN("opponents") FROM "schedule" WHERE "date"='nov. 25';
2-18847736-2
How many games does leandro love have?
CREATE TABLE "all_time_records" ( "name" text, "games" text, "a_league" text, "finals" text, "goals" real, "assists" real, "years" text );
SELECT "games" FROM "all_time_records" WHERE "name"='leandro love';
2-18639024-12
What is the lowest number of goals joe keenan, who has more than 1 assists, had in 2007/08?
CREATE TABLE "all_time_records" ( "name" text, "games" text, "a_league" text, "finals" text, "goals" real, "assists" real, "years" text );
SELECT MIN("goals") FROM "all_time_records" WHERE "years"='2007/08' AND "name"='joe keenan' AND "assists">1;
2-18639024-12
What is the lowest number of goals of the player with 9 (0) games and less than 0 assists?
CREATE TABLE "all_time_records" ( "name" text, "games" text, "a_league" text, "finals" text, "goals" real, "assists" real, "years" text );
SELECT MIN("goals") FROM "all_time_records" WHERE "games"='9 (0)' AND "assists"<0;
2-18639024-12
How many finals had more than 0 goals and 8 assists?
CREATE TABLE "all_time_records" ( "name" text, "games" text, "a_league" text, "finals" text, "goals" real, "assists" real, "years" text );
SELECT "finals" FROM "all_time_records" WHERE "goals">0 AND "assists"=8;
2-18639024-12
When the nationality is united states, and the time is 58.06, and the heat is larger than 5 what is the lowest rank?
CREATE TABLE "heats" ( "rank" real, "heat" real, "lane" real, "name" text, "nationality" text, "time" text );
SELECT MIN("rank") FROM "heats" WHERE "nationality"='united states' AND "time"='58.06' AND "heat">5;
2-18625531-2
What is the highest rank when the lane is larger than 6, and the heat is 3, and the nationality is colombia?
CREATE TABLE "heats" ( "rank" real, "heat" real, "lane" real, "name" text, "nationality" text, "time" text );
SELECT MAX("rank") FROM "heats" WHERE "lane">6 AND "heat"=3 AND "nationality"='colombia';
2-18625531-2
What is the total lane for a heat larger than 7?
CREATE TABLE "heats" ( "rank" real, "heat" real, "lane" real, "name" text, "nationality" text, "time" text );
SELECT COUNT("lane") FROM "heats" WHERE "heat">7;
2-18625531-2