question
stringlengths 12
244
| create_table_statement
stringlengths 97
895
| sql_query
stringlengths 27
479
| wiki_sql_table_id
stringlengths 8
14
|
---|---|---|---|
WHat year was north college hill high school founded? | CREATE TABLE "table1_13456202_1" (
"school" text,
"location" text,
"founded" real,
"affiliation" text,
"mascot" text,
"division" text
); | SELECT MAX("founded") FROM "table1_13456202_1" WHERE "school"='North College Hill High School'; | 1-13456202-1 |
Who was the incumbent when ran william b. oliver (d) unopposed? | CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
); | SELECT "incumbent" FROM "united_states_house_of_representatives_e" WHERE "candidates"='William B. Oliver (D) Unopposed'; | 1-1346118-2 |
Which party was the incumbent from when the cadidates were henry e. barbour (r) 52.1% henry hawson (d) 47.9%? Answer: Democratic | CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
); | SELECT COUNT("party") FROM "united_states_house_of_representatives_e" WHERE "candidates"='Henry E. Barbour (R) 52.1% Henry Hawson (D) 47.9%'; | 1-1346118-5 |
Which district was the race between john i. nolan (r) 87% thomas f. feeley (s) 13%? | CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
); | SELECT "district" FROM "united_states_house_of_representatives_e" WHERE "candidates"='John I. Nolan (R) 87% Thomas F. Feeley (S) 13%'; | 1-1346118-5 |
What was the net seat gain in the race john a. elston (r) 88.4% luella twining (s) 11.6%? | CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
); | SELECT "result" FROM "united_states_house_of_representatives_e" WHERE "candidates"='John A. Elston (R) 88.4% Luella Twining (S) 11.6%'; | 1-1346118-5 |
Which District was the incumbent Julius Kahn from? Answer: California 4th district | CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
); | SELECT COUNT("district") FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Julius Kahn'; | 1-1346118-5 |
What was the result of the election when Clarence F. Lea was the incumbent? | CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
); | SELECT "result" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Clarence F. Lea'; | 1-1346118-5 |
Which team played in game 20? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "team" FROM "game_log" WHERE "game"=20; | 1-13464416-5 |
what's the height (ft) with name being leadenhall building | CREATE TABLE "tallest_under_construction_buildings" (
"rank" real,
"name" text,
"city" text,
"region" text,
"height_m" real,
"height_ft" real,
"floors" real,
"estimated_completion" real
); | SELECT "height_ft" FROM "tallest_under_construction_buildings" WHERE "name"='Leadenhall Building'; | 1-13463790-2 |
what's the height (ft) with name being 52-54 lime street | CREATE TABLE "tallest_under_construction_buildings" (
"rank" real,
"name" text,
"city" text,
"region" text,
"height_m" real,
"height_ft" real,
"floors" real,
"estimated_completion" real
); | SELECT "height_ft" FROM "tallest_under_construction_buildings" WHERE "name"='52-54 Lime Street'; | 1-13463790-2 |
how many city with name being providence tower | CREATE TABLE "tallest_under_construction_buildings" (
"rank" real,
"name" text,
"city" text,
"region" text,
"height_m" real,
"height_ft" real,
"floors" real,
"estimated_completion" real
); | SELECT COUNT("city") FROM "tallest_under_construction_buildings" WHERE "name"='Providence Tower'; | 1-13463790-2 |
What station has the call number K213cl | CREATE TABLE "table1_134729_3" (
"frequency" text,
"call_sign" text,
"name" text,
"format" text,
"owner" text,
"target_city_market" text,
"city_of_license" text
); | SELECT "format" FROM "table1_134729_3" WHERE "call_sign"='K213CL'; | 1-134729-3 |
What market is Wessington Springs in | CREATE TABLE "table1_134729_3" (
"frequency" text,
"call_sign" text,
"name" text,
"format" text,
"owner" text,
"target_city_market" text,
"city_of_license" text
); | SELECT "target_city_market" FROM "table1_134729_3" WHERE "city_of_license"='Wessington Springs'; | 1-134729-3 |
What station owns Moody Bible Institute | CREATE TABLE "table1_134729_3" (
"frequency" text,
"call_sign" text,
"name" text,
"format" text,
"owner" text,
"target_city_market" text,
"city_of_license" text
); | SELECT "format" FROM "table1_134729_3" WHERE "owner"='Moody Bible Institute'; | 1-134729-3 |
how many date with score being w 113–87 | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT COUNT("date") FROM "game_log" WHERE "score"='W 113–87'; | 1-13480122-5 |
what's the game with record being 29–3 | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "game" FROM "game_log" WHERE "record"='29–3'; | 1-13480122-5 |
who is the the high rebounds with high assbeingts being scottie pippen (9) | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "high_rebounds" FROM "game_log" WHERE "high_assists"='Scottie Pippen (9)'; | 1-13480122-5 |
who is the the high points with score being w 117–93 | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "high_points" FROM "game_log" WHERE "score"='W 117–93'; | 1-13480122-5 |
what's the record with date being january 13 | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "record" FROM "game_log" WHERE "date"='January 13'; | 1-13480122-5 |
what are all the record where date is january 21 | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "record" FROM "game_log" WHERE "date"='January 21'; | 1-13480122-5 |
What is the name of Rapid City's Adult Contemporary station? | CREATE TABLE "table1_134987_3" (
"frequency" text,
"call_sign" text,
"name" text,
"format" text,
"owner" text,
"target_city_market" text,
"city_of_license" text
); | SELECT "name" FROM "table1_134987_3" WHERE "city_of_license"='Rapid City' AND "format"='Adult Contemporary'; | 1-134987-3 |
What are the market city/market(s) for Rapid City Alternative format? | CREATE TABLE "table1_134987_3" (
"frequency" text,
"call_sign" text,
"name" text,
"format" text,
"owner" text,
"target_city_market" text,
"city_of_license" text
); | SELECT "target_city_market" FROM "table1_134987_3" WHERE "city_of_license"='Rapid City' AND "format"='Alternative'; | 1-134987-3 |
What is the frequency for the Christian Kawz-fm Translator station? | CREATE TABLE "table1_134987_3" (
"frequency" text,
"call_sign" text,
"name" text,
"format" text,
"owner" text,
"target_city_market" text,
"city_of_license" text
); | SELECT "frequency" FROM "table1_134987_3" WHERE "format"='Christian KAWZ-FM translator'; | 1-134987-3 |
What is the target market for the station on 97.9 fm? | CREATE TABLE "table1_134987_3" (
"frequency" text,
"call_sign" text,
"name" text,
"format" text,
"owner" text,
"target_city_market" text,
"city_of_license" text
); | SELECT "target_city_market" FROM "table1_134987_3" WHERE "frequency"='97.9 FM'; | 1-134987-3 |
What is the frequency of the Classic Country Krki-fm booster station? | CREATE TABLE "table1_134987_3" (
"frequency" text,
"call_sign" text,
"name" text,
"format" text,
"owner" text,
"target_city_market" text,
"city_of_license" text
); | SELECT "frequency" FROM "table1_134987_3" WHERE "format"='Classic Country KRKI-FM booster'; | 1-134987-3 |
What is the target market of the station with call sign KFXS? | CREATE TABLE "table1_134987_3" (
"frequency" text,
"call_sign" text,
"name" text,
"format" text,
"owner" text,
"target_city_market" text,
"city_of_license" text
); | SELECT "target_city_market" FROM "table1_134987_3" WHERE "call_sign"='KFXS'; | 1-134987-3 |
What year did the season finale have a total of 10.29 million viewers? | CREATE TABLE "american_television_ratings" (
"season" text,
"timeslot" text,
"season_premiere" text,
"season_finale" text,
"episodes" real,
"tv_season" text,
"ranking" text,
"viewers_in_millions" text
); | SELECT "season_finale" FROM "american_television_ratings" WHERE "viewers_in_millions"='10.29'; | 1-1348989-2 |
In what TV season did the 3rd season air? | CREATE TABLE "american_television_ratings" (
"season" text,
"timeslot" text,
"season_premiere" text,
"season_finale" text,
"episodes" real,
"tv_season" text,
"ranking" text,
"viewers_in_millions" text
); | SELECT "tv_season" FROM "american_television_ratings" WHERE "season"='3rd'; | 1-1348989-2 |
How many rankings did the 5th season have? | CREATE TABLE "american_television_ratings" (
"season" text,
"timeslot" text,
"season_premiere" text,
"season_finale" text,
"episodes" real,
"tv_season" text,
"ranking" text,
"viewers_in_millions" text
); | SELECT COUNT("ranking") FROM "american_television_ratings" WHERE "season"='5th'; | 1-1348989-2 |
How many times did the 2nd season have a finale? | CREATE TABLE "american_television_ratings" (
"season" text,
"timeslot" text,
"season_premiere" text,
"season_finale" text,
"episodes" real,
"tv_season" text,
"ranking" text,
"viewers_in_millions" text
); | SELECT COUNT("season_finale") FROM "american_television_ratings" WHERE "season"='2nd'; | 1-1348989-2 |
how many county with per capita income being $20,101 | CREATE TABLE "nevada_places_ranked_by_per_capita_incom" (
"rank" real,
"place" text,
"county" text,
"per_capita_income" text,
"median_house_hold_income" text,
"population" real,
"number_of_households" real
); | SELECT COUNT("county") FROM "nevada_places_ranked_by_per_capita_incom" WHERE "per_capita_income"='$20,101'; | 1-1350350-2 |
who is the the place with per capita income being $14,793 | CREATE TABLE "nevada_places_ranked_by_per_capita_incom" (
"rank" real,
"place" text,
"county" text,
"per_capita_income" text,
"median_house_hold_income" text,
"population" real,
"number_of_households" real
); | SELECT "place" FROM "nevada_places_ranked_by_per_capita_incom" WHERE "per_capita_income"='$14,793'; | 1-1350350-2 |
what's the number of households with per capita income being $16,820 | CREATE TABLE "nevada_places_ranked_by_per_capita_incom" (
"rank" real,
"place" text,
"county" text,
"per_capita_income" text,
"median_house_hold_income" text,
"population" real,
"number_of_households" real
); | SELECT "number_of_households" FROM "nevada_places_ranked_by_per_capita_incom" WHERE "per_capita_income"='$16,820'; | 1-1350350-2 |
what is the maximum rank with per capita income being $17,013 | CREATE TABLE "nevada_places_ranked_by_per_capita_incom" (
"rank" real,
"place" text,
"county" text,
"per_capita_income" text,
"median_house_hold_income" text,
"population" real,
"number_of_households" real
); | SELECT MAX("rank") FROM "nevada_places_ranked_by_per_capita_incom" WHERE "per_capita_income"='$17,013'; | 1-1350350-2 |
How old is Darryll Holland's horse | CREATE TABLE "race_starters" (
"saddle_cloth" real,
"horse" text,
"trainer" text,
"jockey" text,
"weight_kg" text,
"barrier" real,
"placing" text
); | SELECT "barrier" FROM "race_starters" WHERE "jockey"='Darryll Holland'; | 1-13498403-1 |
how many people work with N Rawiller | CREATE TABLE "race_starters" (
"saddle_cloth" real,
"horse" text,
"trainer" text,
"jockey" text,
"weight_kg" text,
"barrier" real,
"placing" text
); | SELECT COUNT("trainer") FROM "race_starters" WHERE "jockey"='N Rawiller'; | 1-13498403-1 |
How old is Daniel Morton | CREATE TABLE "race_starters" (
"saddle_cloth" real,
"horse" text,
"trainer" text,
"jockey" text,
"weight_kg" text,
"barrier" real,
"placing" text
); | SELECT MAX("barrier") FROM "race_starters" WHERE "trainer"='Daniel Morton'; | 1-13498403-1 |
How many serial branches have radio electrial = rea-iv? | CREATE TABLE "d_r" (
"serial_branch" real,
"seaman" text,
"mechanical" text,
"secretariat" text,
"supply" text,
"electrical" text,
"radio_electrical" text,
"regulating" text,
"medical" text
); | SELECT COUNT("serial_branch") FROM "d_r" WHERE "radio_electrical"='REA-IV'; | 1-1348246-3 |
What are radio electricals when secretariat is wtr i? | CREATE TABLE "d_r" (
"serial_branch" real,
"seaman" text,
"mechanical" text,
"secretariat" text,
"supply" text,
"electrical" text,
"radio_electrical" text,
"regulating" text,
"medical" text
); | SELECT "radio_electrical" FROM "d_r" WHERE "secretariat"='WTR I'; | 1-1348246-3 |
What are electricals where secretariat is po(w)? | CREATE TABLE "d_r" (
"serial_branch" real,
"seaman" text,
"mechanical" text,
"secretariat" text,
"supply" text,
"electrical" text,
"radio_electrical" text,
"regulating" text,
"medical" text
); | SELECT "electrical" FROM "d_r" WHERE "secretariat"='PO(W)'; | 1-1348246-3 |
What mechanical has lpm regulation? | CREATE TABLE "d_r" (
"serial_branch" real,
"seaman" text,
"mechanical" text,
"secretariat" text,
"supply" text,
"electrical" text,
"radio_electrical" text,
"regulating" text,
"medical" text
); | SELECT "mechanical" FROM "d_r" WHERE "regulating"='LPM'; | 1-1348246-3 |
How many branches have radio electrical=hon s lt(r)? | CREATE TABLE "d_r" (
"serial_branch" real,
"seaman" text,
"mechanical" text,
"secretariat" text,
"supply" text,
"electrical" text,
"radio_electrical" text,
"regulating" text,
"medical" text
); | SELECT COUNT("serial_branch") FROM "d_r" WHERE "radio_electrical"='Hon S Lt(R)'; | 1-1348246-3 |
Who regulates radio electrical = lren? | CREATE TABLE "d_r" (
"serial_branch" real,
"seaman" text,
"mechanical" text,
"secretariat" text,
"supply" text,
"electrical" text,
"radio_electrical" text,
"regulating" text,
"medical" text
); | SELECT "regulating" FROM "d_r" WHERE "radio_electrical"='LREN'; | 1-1348246-3 |
What number episode in the series is the episode "things that fly"? | CREATE TABLE "season_two_1999_2000" (
"series_number" real,
"season_number" real,
"episode_title" text,
"premiere_date" text,
"production_code" real
); | SELECT MAX("series_number") FROM "season_two_1999_2000" WHERE "episode_title"='Things That Fly'; | 1-13505192-3 |
What is the production code for season episode 8? | CREATE TABLE "season_two_1999_2000" (
"series_number" real,
"season_number" real,
"episode_title" text,
"premiere_date" text,
"production_code" real
); | SELECT MIN("production_code") FROM "season_two_1999_2000" WHERE "season_number"=8; | 1-13505192-3 |
How many episodes have a series number of 35? | CREATE TABLE "season_two_1999_2000" (
"series_number" real,
"season_number" real,
"episode_title" text,
"premiere_date" text,
"production_code" real
); | SELECT COUNT("episode_title") FROM "season_two_1999_2000" WHERE "series_number"=35; | 1-13505192-3 |
What is the series number for season episode 24? | CREATE TABLE "season_two_1999_2000" (
"series_number" real,
"season_number" real,
"episode_title" text,
"premiere_date" text,
"production_code" real
); | SELECT MIN("series_number") FROM "season_two_1999_2000" WHERE "season_number"=24; | 1-13505192-3 |
how many have times of 6 | CREATE TABLE "race_results" (
"rnd" real,
"race" text,
"pole_position" text,
"fastest_lap" text,
"most_laps_led" text,
"winning_driver" text,
"winning_team" text,
"report" text
); | SELECT COUNT("fastest_lap") FROM "race_results" WHERE "rnd"=6; | 1-13512105-3 |
which brand have drivers who won with the names of ryan briscoe and tomas scheckter | CREATE TABLE "race_results" (
"rnd" real,
"race" text,
"pole_position" text,
"fastest_lap" text,
"most_laps_led" text,
"winning_driver" text,
"winning_team" text,
"report" text
); | SELECT "winning_team" FROM "race_results" WHERE "winning_driver"='Ryan Briscoe' AND "fastest_lap"='Tomas Scheckter'; | 1-13512105-3 |
who else along with scott dixon and graham rahal drove with the most speed | CREATE TABLE "race_results" (
"rnd" real,
"race" text,
"pole_position" text,
"fastest_lap" text,
"most_laps_led" text,
"winning_driver" text,
"winning_team" text,
"report" text
); | SELECT "fastest_lap" FROM "race_results" WHERE "most_laps_led"='Scott Dixon' AND "pole_position"='Graham Rahal'; | 1-13512105-3 |
tell the number of times where kansas was the location | CREATE TABLE "race_results" (
"rnd" real,
"race" text,
"pole_position" text,
"fastest_lap" text,
"most_laps_led" text,
"winning_driver" text,
"winning_team" text,
"report" text
); | SELECT COUNT("rnd") FROM "race_results" WHERE "race"='Kansas'; | 1-13512105-3 |
What TV channel had a license from Boston? | CREATE TABLE "table1_1353096_2" (
"city_of_license_market" text,
"station" text,
"channel_tv_dt" text,
"years_owned" text,
"current_status" text
); | SELECT "channel_tv_dt" FROM "table1_1353096_2" WHERE "city_of_license_market"='Boston'; | 1-1353096-2 |
Which station has a license in Fort Collins, Colorado? | CREATE TABLE "table1_1353096_2" (
"city_of_license_market" text,
"station" text,
"channel_tv_dt" text,
"years_owned" text,
"current_status" text
); | SELECT "station" FROM "table1_1353096_2" WHERE "city_of_license_market"='Fort Collins, Colorado'; | 1-1353096-2 |
What is the current status of the KDAF ** Station? | CREATE TABLE "table1_1353096_2" (
"city_of_license_market" text,
"station" text,
"channel_tv_dt" text,
"years_owned" text,
"current_status" text
); | SELECT "current_status" FROM "table1_1353096_2" WHERE "station"='KDAF **'; | 1-1353096-2 |
How many entries are listed under "current status" for the WJW-TV ++ Station? | CREATE TABLE "table1_1353096_2" (
"city_of_license_market" text,
"station" text,
"channel_tv_dt" text,
"years_owned" text,
"current_status" text
); | SELECT COUNT("current_status") FROM "table1_1353096_2" WHERE "station"='WJW-TV ++'; | 1-1353096-2 |
How many stations have fox as the primary affiliation and have been owned since 1986? | CREATE TABLE "stations" (
"city_of_license_market" text,
"station" text,
"channel_tv_dt" text,
"owned_since" text,
"primary_affiliation" text
); | SELECT COUNT("station") FROM "stations" WHERE "primary_affiliation"='Fox' AND "owned_since"='1986'; | 1-1353096-1 |
What channel has station kdfw ++? | CREATE TABLE "stations" (
"city_of_license_market" text,
"station" text,
"channel_tv_dt" text,
"owned_since" text,
"primary_affiliation" text
); | SELECT "channel_tv_dt" FROM "stations" WHERE "station"='KDFW ++'; | 1-1353096-1 |
What city has channel tv (dt) 25 (31)? | CREATE TABLE "stations" (
"city_of_license_market" text,
"station" text,
"channel_tv_dt" text,
"owned_since" text,
"primary_affiliation" text
); | SELECT "city_of_license_market" FROM "stations" WHERE "channel_tv_dt"='25 (31)'; | 1-1353096-1 |
How many channel tv (dt)s are in austin, texas? | CREATE TABLE "stations" (
"city_of_license_market" text,
"station" text,
"channel_tv_dt" text,
"owned_since" text,
"primary_affiliation" text
); | SELECT COUNT("channel_tv_dt") FROM "stations" WHERE "city_of_license_market"='Austin, Texas'; | 1-1353096-1 |
When was 10 (10) bought? | CREATE TABLE "stations" (
"city_of_license_market" text,
"station" text,
"channel_tv_dt" text,
"owned_since" text,
"primary_affiliation" text
); | SELECT "owned_since" FROM "stations" WHERE "channel_tv_dt"='10 (10)'; | 1-1353096-1 |
Who were the umpires when Paul Medhurst (C) won the Simpson Medal? | CREATE TABLE "west_australian_football_league_2001" (
"season" real,
"premiers" text,
"runners_up" text,
"score" text,
"captain" text,
"coach" text,
"simpson_medal" text,
"venue" text,
"attendance" real,
"umpires" text
); | SELECT "umpires" FROM "west_australian_football_league_2001" WHERE "simpson_medal"='Paul Medhurst (C)'; | 1-13514348-7 |
Who were the umpires when Paul Vines (S) won the Simpson Medal? | CREATE TABLE "west_australian_football_league_2001" (
"season" real,
"premiers" text,
"runners_up" text,
"score" text,
"captain" text,
"coach" text,
"simpson_medal" text,
"venue" text,
"attendance" real,
"umpires" text
); | SELECT "umpires" FROM "west_australian_football_league_2001" WHERE "simpson_medal"='Paul Vines (S)'; | 1-13514348-7 |
Which venue did Luke Blackwell serve as captain? | CREATE TABLE "west_australian_football_league_2001" (
"season" real,
"premiers" text,
"runners_up" text,
"score" text,
"captain" text,
"coach" text,
"simpson_medal" text,
"venue" text,
"attendance" real,
"umpires" text
); | SELECT "venue" FROM "west_australian_football_league_2001" WHERE "captain"='Luke Blackwell'; | 1-13514348-7 |
what's the minimum 180s value | CREATE TABLE "women_s_statistics" (
"player" text,
"played" real,
"sets_won" real,
"sets_lost" real,
"legs_won" real,
"legs_lost" real,
"100" real,
"140" real,
"180s" real,
"high_checkout" real,
"3_dart_average" text
); | SELECT MIN("180s") FROM "women_s_statistics"; | 1-13535824-2 |
what's the sets won with 140+ being 16 | CREATE TABLE "women_s_statistics" (
"player" text,
"played" real,
"sets_won" real,
"sets_lost" real,
"legs_won" real,
"legs_lost" real,
"100" real,
"140" real,
"180s" real,
"high_checkout" real,
"3_dart_average" text
); | SELECT "sets_won" FROM "women_s_statistics" WHERE "140"=16; | 1-13535824-2 |
What channel number is Gladiators on | CREATE TABLE "returning_this_year_after_a_break_of_one" (
"programme" text,
"date_s_of_original_removal" text,
"original_channel" text,
"date_s_of_return" text,
"new_channel_s" text
); | SELECT "new_channel_s" FROM "returning_this_year_after_a_break_of_one" WHERE "programme"='Gladiators'; | 1-13549921-18 |
What show is coming back on in July 2008 | CREATE TABLE "returning_this_year_after_a_break_of_one" (
"programme" text,
"date_s_of_original_removal" text,
"original_channel" text,
"date_s_of_return" text,
"new_channel_s" text
); | SELECT "programme" FROM "returning_this_year_after_a_break_of_one" WHERE "date_s_of_return"='July 2008'; | 1-13549921-18 |
Who are the mens doubles and womens singles is wang shixian? | CREATE TABLE "previous_winners" (
"year" real,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text,
"mixed_doubles" text
); | SELECT "mens_doubles" FROM "previous_winners" WHERE "womens_singles"='Wang Shixian'; | 1-13553701-1 |
Who is the mens singles and womens singlses is wang shixian? | CREATE TABLE "previous_winners" (
"year" real,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text,
"mixed_doubles" text
); | SELECT "mens_singles" FROM "previous_winners" WHERE "womens_singles"='Wang Shixian'; | 1-13553701-1 |
Who are the mens doubles and and mens singles is lee hyun-il? | CREATE TABLE "previous_winners" (
"year" real,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text,
"mixed_doubles" text
); | SELECT "mens_doubles" FROM "previous_winners" WHERE "mens_singles"='Lee Hyun-il'; | 1-13553701-1 |
Who are the mens singles and womens singles with sun yu? | CREATE TABLE "previous_winners" (
"year" real,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text,
"mixed_doubles" text
); | SELECT "mens_singles" FROM "previous_winners" WHERE "womens_singles"='Sun Yu'; | 1-13553701-1 |
what is the highest number where people got done at 31.1 | CREATE TABLE "average_chart" (
"rank_by_average" real,
"competition_finish" real,
"couple" text,
"total" real,
"number_of_dances" real,
"average" text
); | SELECT MAX("competition_finish") FROM "average_chart" WHERE "average"='31.1'; | 1-1354805-6 |
who danced 11 and finished at more than a 2.0 | CREATE TABLE "average_chart" (
"rank_by_average" real,
"competition_finish" real,
"couple" text,
"total" real,
"number_of_dances" real,
"average" text
); | SELECT "couple" FROM "average_chart" WHERE "number_of_dances"=11 AND "competition_finish">2.0; | 1-1354805-6 |
tell the competitions where the mean is 1 | CREATE TABLE "average_chart" (
"rank_by_average" real,
"competition_finish" real,
"couple" text,
"total" real,
"number_of_dances" real,
"average" text
); | SELECT "average" FROM "average_chart" WHERE "number_of_dances"=1; | 1-1354805-6 |
tell the mean of the times competition for the 7 jigs | CREATE TABLE "average_chart" (
"rank_by_average" real,
"competition_finish" real,
"couple" text,
"total" real,
"number_of_dances" real,
"average" text
); | SELECT "rank_by_average" FROM "average_chart" WHERE "number_of_dances"=7; | 1-1354805-6 |
how many turns were completed to make a mean of 34.0 | CREATE TABLE "average_chart" (
"rank_by_average" real,
"competition_finish" real,
"couple" text,
"total" real,
"number_of_dances" real,
"average" text
); | SELECT COUNT("number_of_dances") FROM "average_chart" WHERE "average"='34.0'; | 1-1354805-6 |
What is the gender of the junior high school is 24mm? | CREATE TABLE "table_a_fik_specifications_for_competiti" (
"specification" text,
"gender" text,
"junior_high_school_12_15_yrs" text,
"senior_high_school_15_18_yrs" text,
"university_students_and_adults_18yrs" text
); | SELECT "gender" FROM "table_a_fik_specifications_for_competiti" WHERE "junior_high_school_12_15_yrs"='24mm'; | 1-13555999-1 |
What amount of the university students and adults ehre the the senior high school is 26mm? | CREATE TABLE "table_a_fik_specifications_for_competiti" (
"specification" text,
"gender" text,
"junior_high_school_12_15_yrs" text,
"senior_high_school_15_18_yrs" text,
"university_students_and_adults_18yrs" text
); | SELECT "university_students_and_adults_18yrs" FROM "table_a_fik_specifications_for_competiti" WHERE "senior_high_school_15_18_yrs"='26mm'; | 1-13555999-1 |
What amount of senior high school where junior high school is 114cm? | CREATE TABLE "table_a_fik_specifications_for_competiti" (
"specification" text,
"gender" text,
"junior_high_school_12_15_yrs" text,
"senior_high_school_15_18_yrs" text,
"university_students_and_adults_18yrs" text
); | SELECT "senior_high_school_15_18_yrs" FROM "table_a_fik_specifications_for_competiti" WHERE "junior_high_school_12_15_yrs"='114cm'; | 1-13555999-1 |
What is the specification where senior high school is 25mm? | CREATE TABLE "table_a_fik_specifications_for_competiti" (
"specification" text,
"gender" text,
"junior_high_school_12_15_yrs" text,
"senior_high_school_15_18_yrs" text,
"university_students_and_adults_18yrs" text
); | SELECT "specification" FROM "table_a_fik_specifications_for_competiti" WHERE "senior_high_school_15_18_yrs"='25mm'; | 1-13555999-1 |
What amount is the junior high school where the gender is male and the specification is minimum diameter of sakigawa? | CREATE TABLE "table_a_fik_specifications_for_competiti" (
"specification" text,
"gender" text,
"junior_high_school_12_15_yrs" text,
"senior_high_school_15_18_yrs" text,
"university_students_and_adults_18yrs" text
); | SELECT "junior_high_school_12_15_yrs" FROM "table_a_fik_specifications_for_competiti" WHERE "gender"='Male' AND "specification"='Minimum diameter of sakigawa'; | 1-13555999-1 |
What is the gender of senior high school 26mm? | CREATE TABLE "table_a_fik_specifications_for_competiti" (
"specification" text,
"gender" text,
"junior_high_school_12_15_yrs" text,
"senior_high_school_15_18_yrs" text,
"university_students_and_adults_18yrs" text
); | SELECT "gender" FROM "table_a_fik_specifications_for_competiti" WHERE "senior_high_school_15_18_yrs"='26mm'; | 1-13555999-1 |
What was the score of the game when the team was 1-2? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "score" FROM "game_log" WHERE "record"='1-2'; | 1-13557843-3 |
Who had the high assists against charlotte? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "high_assists" FROM "game_log" WHERE "team"='Charlotte'; | 1-13557843-3 |
How many leading scorers were there in the game against Utah? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT COUNT("high_points") FROM "game_log" WHERE "team"='Utah'; | 1-13557843-5 |
how many location attendance with team being charlotte | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT COUNT("location_attendance") FROM "game_log" WHERE "team"='Charlotte'; | 1-13557843-7 |
what's the game with date being march 7 | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "game" FROM "game_log" WHERE "date"='March 7'; | 1-13557843-7 |
what's the date with game being 72 | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "date" FROM "game_log" WHERE "game"=72; | 1-13557843-7 |
how many high assbeingts with score being l 90–98 (ot) | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT COUNT("high_assists") FROM "game_log" WHERE "score"='L 90–98 (OT)'; | 1-13557843-7 |
who is the the high rebounds with team being vancouver | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "high_rebounds" FROM "game_log" WHERE "team"='Vancouver'; | 1-13557843-7 |
How many pairs of numbers are under record on April 12? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT COUNT("record") FROM "game_log" WHERE "date"='April 12'; | 1-13557843-8 |
Name total number of won for tries for 92 | 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 "tries_for"='92'; | 1-13564702-3 |
Name the club when tries for is 83 | 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 "club" FROM "2009_2010_table" WHERE "tries_for"='83'; | 1-13564702-3 |
Name the try bonus for kenfig hill rfc | 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 "try_bonus" FROM "2009_2010_table" WHERE "club"='Kenfig Hill RFC'; | 1-13564702-3 |
Name the tries against for played 22 and points against of 183 | 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 "played"='22' AND "points_against"='183'; | 1-13564702-3 |
Name the total number of points for when try bonus is 10 | 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 "try_bonus"='10'; | 1-13564702-3 |
Name the number of won for maesteg harlequins rfc | 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 "club"='Maesteg Harlequins RFC'; | 1-13564702-3 |
What amount had all played that lost were 8? | 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 "lost"='8'; | 1-13564637-3 |
what is the name of the club where drawn is 1 and lost is 10? | 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 "club" FROM "2009_2010_table" WHERE "drawn"='1' AND "lost"='10'; | 1-13564637-3 |
what are the tries where the game was lost by 4? | 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 "lost"='4'; | 1-13564637-3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.