question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
What Memory has a Turbo of 2/2/4/5 and the Release date of May 2010? | CREATE TABLE "45_nm" (
"model_number" text,
"s_spec_number" text,
"frequency" text,
"turbo" text,
"cores" text,
"l2_cache" text,
"l3_cache" text,
"i_o_bus" text,
"mult" text,
"memory" text,
"voltage" text,
"socket" text,
"release_date" text,
"part_number_s" text,
"release_price_usd" text
)... | SELECT "memory" FROM "45_nm" WHERE "turbo"='2/2/4/5' AND "release_date"='may 2010'; | 2-18823880-2 |
What Model number has the sSpec numebr of SLBJG(B1)? | CREATE TABLE "45_nm" (
"model_number" text,
"s_spec_number" text,
"frequency" text,
"turbo" text,
"cores" text,
"l2_cache" text,
"l3_cache" text,
"i_o_bus" text,
"mult" text,
"memory" text,
"voltage" text,
"socket" text,
"release_date" text,
"part_number_s" text,
"release_price_usd" text
)... | SELECT "model_number" FROM "45_nm" WHERE "s_spec_number"='slbjg(b1)'; | 2-18823880-2 |
What Turbo has the Release price (USD) of $583? | CREATE TABLE "45_nm" (
"model_number" text,
"s_spec_number" text,
"frequency" text,
"turbo" text,
"cores" text,
"l2_cache" text,
"l3_cache" text,
"i_o_bus" text,
"mult" text,
"memory" text,
"voltage" text,
"socket" text,
"release_date" text,
"part_number_s" text,
"release_price_usd" text
)... | SELECT "turbo" FROM "45_nm" WHERE "release_price_usd"='$583'; | 2-18823880-2 |
What is the lowest prominence for a peak with elevation of 3,615 meters? | CREATE TABLE "list_of_ultras_of_africa" (
"peak" text,
"country" text,
"elevation_m" real,
"prominence_m" real,
"col_m" real
); | SELECT MIN("prominence_m") FROM "list_of_ultras_of_africa" WHERE "elevation_m"='3,615'; | 2-18947170-1 |
What is the Col entry for the peak with an elevation of 2,308 meters? | CREATE TABLE "list_of_ultras_of_africa" (
"peak" text,
"country" text,
"elevation_m" real,
"prominence_m" real,
"col_m" real
); | SELECT COUNT("col_m") FROM "list_of_ultras_of_africa" WHERE "elevation_m"='2,308'; | 2-18947170-1 |
who is the actor that played rachel mckenna? | CREATE TABLE "various" (
"actor" text,
"character" text,
"soap_opera" text,
"years" text,
"duration" text
); | SELECT "actor" FROM "various" WHERE "character"='rachel mckenna'; | 2-18772558-14 |
who is the actor for shortland street for the years 1993–1999, 2001–2003, 2007, 2009—? | CREATE TABLE "various" (
"actor" text,
"character" text,
"soap_opera" text,
"years" text,
"duration" text
); | SELECT "actor" FROM "various" WHERE "soap_opera"='shortland street' AND "years"='1993–1999, 2001–2003, 2007, 2009—'; | 2-18772558-14 |
what is the soap opera when the years are 2000–2004, 2005—? | CREATE TABLE "various" (
"actor" text,
"character" text,
"soap_opera" text,
"years" text,
"duration" text
); | SELECT "soap_opera" FROM "various" WHERE "years"='2000–2004, 2005—'; | 2-18772558-14 |
what is the character with the duration of 11 years? | CREATE TABLE "various" (
"actor" text,
"character" text,
"soap_opera" text,
"years" text,
"duration" text
); | SELECT "character" FROM "various" WHERE "duration"='11 years'; | 2-18772558-14 |
what is the soap opera for elin sogn? | CREATE TABLE "various" (
"actor" text,
"character" text,
"soap_opera" text,
"years" text,
"duration" text
); | SELECT "soap_opera" FROM "various" WHERE "actor"='elin sogn'; | 2-18772558-14 |
What station was owned since 2011, and a channel (tv/rf) of 27? | CREATE TABLE "television_stations" (
"city_of_license_market" text,
"station" text,
"channel_tv_rf" text,
"owned_since" real,
"affiliation" text
); | SELECT "station" FROM "television_stations" WHERE "owned_since"=2011 AND "channel_tv_rf"='27'; | 2-1847523-2 |
What affiliation has an owned since larger than 1991, and also has a channel (tv/rf) of 42? | CREATE TABLE "television_stations" (
"city_of_license_market" text,
"station" text,
"channel_tv_rf" text,
"owned_since" real,
"affiliation" text
); | SELECT "affiliation" FROM "television_stations" WHERE "owned_since">1991 AND "channel_tv_rf"='42'; | 2-1847523-2 |
What city of license/market has an owned since before 2011,and a affiliation of abc and channel (tv/rf) of 9 (22)? | CREATE TABLE "television_stations" (
"city_of_license_market" text,
"station" text,
"channel_tv_rf" text,
"owned_since" real,
"affiliation" text
); | SELECT "city_of_license_market" FROM "television_stations" WHERE "owned_since"<2011 AND "affiliation"='abc' AND "channel_tv_rf"='9 (22)'; | 2-1847523-2 |
Count the sum of Col (m) which has an Elevation (m) of 3,011, and a Country of equatorial guinea ( bioko )? | CREATE TABLE "list_of_ultras_of_africa" (
"peak" text,
"country" text,
"elevation_m" real,
"prominence_m" real,
"col_m" real
); | SELECT SUM("col_m") FROM "list_of_ultras_of_africa" WHERE "elevation_m"='3,011' AND "country"='equatorial guinea ( bioko )'; | 2-18947170-6 |
COunt the sum of Prominence (m) of an Elevation (m) of 2,024? | CREATE TABLE "list_of_ultras_of_africa" (
"peak" text,
"country" text,
"elevation_m" real,
"prominence_m" real,
"col_m" real
); | SELECT SUM("prominence_m") FROM "list_of_ultras_of_africa" WHERE "elevation_m"='2,024'; | 2-18947170-6 |
Count the Prominence (m) of Col (m) smaller than 0? | CREATE TABLE "list_of_ultras_of_africa" (
"peak" text,
"country" text,
"elevation_m" real,
"prominence_m" real,
"col_m" real
); | SELECT AVG("prominence_m") FROM "list_of_ultras_of_africa" WHERE "col_m"<0; | 2-18947170-6 |
Name the lowest Col (m) with a Peak of pico basilé, and a Prominence (m) smaller than 3,011? | CREATE TABLE "list_of_ultras_of_africa" (
"peak" text,
"country" text,
"elevation_m" real,
"prominence_m" real,
"col_m" real
); | SELECT MIN("col_m") FROM "list_of_ultras_of_africa" WHERE "peak"='pico basilé' AND "prominence_m"<'3,011'; | 2-18947170-6 |
What is the Week of the game with TV Time of Fox 4:15ET? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"tv_time" text,
"attendance" text
); | SELECT COUNT("week") FROM "schedule" WHERE "tv_time"='fox 4:15et'; | 2-18765877-2 |
What is the TV Time of the game on December 27, 2003? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"tv_time" text,
"attendance" text
); | SELECT "tv_time" FROM "schedule" WHERE "date"='december 27, 2003'; | 2-18765877-2 |
What is the Opponent at the game with Attendance of 68,436? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"tv_time" text,
"attendance" text
); | SELECT "opponent" FROM "schedule" WHERE "attendance"='68,436'; | 2-18765877-2 |
What is the Attendance at the game against the Cincinnati Bengals? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"tv_time" text,
"attendance" text
); | SELECT "attendance" FROM "schedule" WHERE "opponent"='cincinnati bengals'; | 2-18765877-2 |
What is the Opponent of the game after Week 3 with a Result of L 10–6? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"tv_time" text,
"attendance" text
); | SELECT "opponent" FROM "schedule" WHERE "week">3 AND "result"='l 10–6'; | 2-18765877-2 |
What is the Date of the Game with a Result of w 22–16 in TV Time of CBS 1:00ET? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"tv_time" text,
"attendance" text
); | SELECT "date" FROM "schedule" WHERE "tv_time"='cbs 1:00et' AND "result"='w 22–16'; | 2-18765877-2 |
At what Venue was the Attendance 47,678? | CREATE TABLE "tests" (
"date" text,
"opponent" text,
"score" text,
"venue" text,
"attendance" text
); | SELECT "venue" FROM "tests" WHERE "attendance"='47,678'; | 2-18769154-1 |
What is the Attendance of New Zealand Scores in bold? | CREATE TABLE "tests" (
"date" text,
"opponent" text,
"score" text,
"venue" text,
"attendance" text
); | SELECT "attendance" FROM "tests" WHERE "date"='new zealand scores in bold'; | 2-18769154-1 |
What is the number of lost games when 2 were drawn, and there were 6 bonus points? | CREATE TABLE "table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"bonus_points" text,
"points" text
); | SELECT "lost" FROM "table" WHERE "drawn"='2' AND "bonus_points"='6'; | 2-18609755-1 |
What is the number of bonus points when there are 4 drawn? | CREATE TABLE "table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"bonus_points" text,
"points" text
); | SELECT "bonus_points" FROM "table" WHERE "drawn"='4'; | 2-18609755-1 |
What is the number of bonus points when there are 2 drawn and the points against is 599? | CREATE TABLE "table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"bonus_points" text,
"points" text
); | SELECT "bonus_points" FROM "table" WHERE "drawn"='2' AND "points_against"='599'; | 2-18609755-1 |
What is the lost number when the team played 26 games and there were 83 points? | CREATE TABLE "table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"bonus_points" text,
"points" text
); | SELECT "lost" FROM "table" WHERE "played"='26' AND "points"='83'; | 2-18609755-1 |
What is the lost number for the team with 2 drawn games, and 572 points against? | CREATE TABLE "table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"bonus_points" text,
"points" text
); | SELECT "lost" FROM "table" WHERE "drawn"='2' AND "points_against"='572'; | 2-18609755-1 |
What is the number of bonus points for the team with 2 drawn games and 475 points? | CREATE TABLE "table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"bonus_points" text,
"points" text
); | SELECT "bonus_points" FROM "table" WHERE "drawn"='2' AND "points_for"='475'; | 2-18609755-1 |
What is the transfer fee for Helguera? | CREATE TABLE "in" (
"nat" text,
"name" text,
"moving_from" text,
"type" text,
"transfer_window" text,
"ends" real,
"transfer_fee" text
); | SELECT "transfer_fee" FROM "in" WHERE "name"='helguera'; | 2-18515909-2 |
What was the transfer fee when the moving from was celta de Vigo? | CREATE TABLE "in" (
"nat" text,
"name" text,
"moving_from" text,
"type" text,
"transfer_window" text,
"ends" real,
"transfer_fee" text
); | SELECT "transfer_fee" FROM "in" WHERE "moving_from"='celta de vigo'; | 2-18515909-2 |
What was the transfer window with a moving from of fenerbahçe? | CREATE TABLE "in" (
"nat" text,
"name" text,
"moving_from" text,
"type" text,
"transfer_window" text,
"ends" real,
"transfer_fee" text
); | SELECT "transfer_window" FROM "in" WHERE "moving_from"='fenerbahçe'; | 2-18515909-2 |
What nation had a moving from of espanyol? | CREATE TABLE "in" (
"nat" text,
"name" text,
"moving_from" text,
"type" text,
"transfer_window" text,
"ends" real,
"transfer_fee" text
); | SELECT "nat" FROM "in" WHERE "moving_from"='espanyol'; | 2-18515909-2 |
What was the transfer fee for the player with an ends of 2007? | CREATE TABLE "in" (
"nat" text,
"name" text,
"moving_from" text,
"type" text,
"transfer_window" text,
"ends" real,
"transfer_fee" text
); | SELECT "transfer_fee" FROM "in" WHERE "ends"=2007; | 2-18515909-2 |
What is the Series of the Filmography with a Release date of 1946-03-16? | CREATE TABLE "1946" (
"title" text,
"series" text,
"director" text,
"production_number" text,
"release_date" text
); | SELECT "series" FROM "1946" WHERE "release_date"='1946-03-16'; | 2-18792945-7 |
Who is the Director of the Filmography with Production Number of 11-14? | CREATE TABLE "1946" (
"title" text,
"series" text,
"director" text,
"production_number" text,
"release_date" text
); | SELECT "director" FROM "1946" WHERE "production_number"='11-14'; | 2-18792945-7 |
What is the Series of the Filmography with Release date of 1946-01-05? | CREATE TABLE "1946" (
"title" text,
"series" text,
"director" text,
"production_number" text,
"release_date" text
); | SELECT "series" FROM "1946" WHERE "release_date"='1946-01-05'; | 2-18792945-7 |
What is the Series of the Filmography with a Production Number of M-4-15? | CREATE TABLE "1946" (
"title" text,
"series" text,
"director" text,
"production_number" text,
"release_date" text
); | SELECT "series" FROM "1946" WHERE "production_number"='m-4-15'; | 2-18792945-7 |
What venue has a score of 4-0 with the 2002 Tiger Cup listed as the competition? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "venue" FROM "international_goals" WHERE "score"='4-0' AND "competition"='2002 tiger cup'; | 2-18432610-1 |
What competition has a score of 1-3? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "competition" FROM "international_goals" WHERE "score"='1-3'; | 2-18432610-1 |
What competition listed is dated November 17, 2003? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "competition" FROM "international_goals" WHERE "date"='november 17, 2003'; | 2-18432610-1 |
What venue listed is dated February 22, 2003? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "venue" FROM "international_goals" WHERE "date"='february 22, 2003'; | 2-18432610-1 |
What venue is listed as having a competition titled Friendly? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "venue" FROM "international_goals" WHERE "competition"='friendly'; | 2-18432610-1 |
Which Notes have a Time larger than 23.34, and a Rank of 8? | CREATE TABLE "heat_4" (
"rank" real,
"lane" real,
"athlete" text,
"time_sec" real,
"notes" text
); | SELECT "notes" FROM "heat_4" WHERE "time_sec">23.34 AND "rank"=8; | 2-18956349-6 |
In what week was the December 21, 1969 game? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT AVG("week") FROM "schedule" WHERE "date"='december 21, 1969'; | 2-18880043-2 |
Which Opposing Team has a Venue of rectory ground, devonport? | CREATE TABLE "matches" (
"opposing_team" text,
"against" real,
"date" text,
"venue" text,
"status" text
); | SELECT "opposing_team" FROM "matches" WHERE "venue"='rectory ground, devonport'; | 2-18866036-1 |
When has an Opposing Team of mid-districts? | CREATE TABLE "matches" (
"opposing_team" text,
"against" real,
"date" text,
"venue" text,
"status" text
); | SELECT "date" FROM "matches" WHERE "opposing_team"='mid-districts'; | 2-18866036-1 |
Can you tell me the Class (old) to 1868 that has the Quantity larger than 8? | CREATE TABLE "early_broad_gauge_locomotives_for_all_tr" (
"class_old_to_1868" text,
"railway_number_s" text,
"quantity" real,
"year_s_of_manufacture" text,
"type" text
); | SELECT "class_old_to_1868" FROM "early_broad_gauge_locomotives_for_all_tr" WHERE "quantity">8; | 2-18914503-3 |
What was the date of the Cross Code debut that had an Int'l Debut in the year 2008? | CREATE TABLE "more_than_one_country" (
"player" text,
"int_l_debut" text,
"year" text,
"cross_code_debut" text,
"date" text,
"position" text
); | SELECT "date" FROM "more_than_one_country" WHERE "year"='2008'; | 2-18860278-15 |
What was the Int'l Debut for a player in the back position, that also had a Cross Code Debut of RU Australia v Wales? | CREATE TABLE "more_than_one_country" (
"player" text,
"int_l_debut" text,
"year" text,
"cross_code_debut" text,
"date" text,
"position" text
); | SELECT "int_l_debut" FROM "more_than_one_country" WHERE "position"='back' AND "cross_code_debut"='ru australia v wales'; | 2-18860278-15 |
What year did Coenraad Breytenbach have their Int'l Debut? | CREATE TABLE "more_than_one_country" (
"player" text,
"int_l_debut" text,
"year" text,
"cross_code_debut" text,
"date" text,
"position" text
); | SELECT "year" FROM "more_than_one_country" WHERE "player"='coenraad breytenbach'; | 2-18860278-15 |
What is the Cross Code Debut for a player that had their Int'l Debut of RU test New Zealand v Australia? | CREATE TABLE "more_than_one_country" (
"player" text,
"int_l_debut" text,
"year" text,
"cross_code_debut" text,
"date" text,
"position" text
); | SELECT "cross_code_debut" FROM "more_than_one_country" WHERE "int_l_debut"='ru test new zealand v australia'; | 2-18860278-15 |
What percent of respondents had no opinion on George H.W. Bush? | CREATE TABLE "gallup_poll_2012" (
"result" text,
"barack_obama" text,
"george_h_w_bush" text,
"ronald_reagan" text,
"jimmy_carter" text,
"gerald_ford" text,
"richard_nixon" text
); | SELECT "george_h_w_bush" FROM "gallup_poll_2012" WHERE "result"='no opinion'; | 2-1855342-4 |
What was Christian Kubusch's lane when the heat was more than 2 and time was DNS? | CREATE TABLE "heats" (
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
); | SELECT SUM("lane") FROM "heats" WHERE "time"='dns' AND "name"='christian kubusch' AND "heat">2; | 2-18624683-3 |
What's Bulgaria's lane? | CREATE TABLE "heats" (
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
); | SELECT AVG("lane") FROM "heats" WHERE "nationality"='bulgaria'; | 2-18624683-3 |
What's Great Britain's lane with a heat less than 3? | CREATE TABLE "heats" (
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
); | SELECT AVG("lane") FROM "heats" WHERE "nationality"='great britain' AND "heat"<3; | 2-18624683-3 |
What's Spain's lane with a heat less than 4? | CREATE TABLE "heats" (
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
); | SELECT AVG("lane") FROM "heats" WHERE "nationality"='spain' AND "heat"<4; | 2-18624683-3 |
What's the heat in the lane less than 3 with a time of 14:48.39? | CREATE TABLE "heats" (
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
); | SELECT AVG("heat") FROM "heats" WHERE "lane"<3 AND "time"='14:48.39'; | 2-18624683-3 |
What's China's heat for Zhang Lin in a lane after 6? | CREATE TABLE "heats" (
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
); | SELECT SUM("heat") FROM "heats" WHERE "nationality"='china' AND "name"='zhang lin' AND "lane">6; | 2-18624683-3 |
Who won bronze in 1994? | CREATE TABLE "world_championships_men" (
"year" real,
"place" text,
"gold" text,
"silver" text,
"bronze" text
); | SELECT "bronze" FROM "world_championships_men" WHERE "year"=1994; | 2-18938222-1 |
Which position was picked before 63, for Oklahoma College? | CREATE TABLE "eighth_round" (
"pick" real,
"team" text,
"player" text,
"position" text,
"college" text
); | SELECT "position" FROM "eighth_round" WHERE "pick"<63 AND "college"='oklahoma'; | 2-18652198-8 |
Which College has a Position of Offensive Tackle? | CREATE TABLE "eighth_round" (
"pick" real,
"team" text,
"player" text,
"position" text,
"college" text
); | SELECT "college" FROM "eighth_round" WHERE "position"='offensive tackle'; | 2-18652198-8 |
Which player had 50 balls? | CREATE TABLE "centuries_in_the_friends_life_t20" (
"rank" real,
"player" text,
"team" text,
"runs" text,
"balls" real,
"year" real,
"against" text
); | SELECT "player" FROM "centuries_in_the_friends_life_t20" WHERE "balls"=50; | 2-18461635-6 |
What date was Apes of Wrath written by Friz Freleng, production number higher than 1496 from series mm released? | CREATE TABLE "1959" (
"title" text,
"series" text,
"director" text,
"production_number" real,
"release_date" text
); | SELECT "release_date" FROM "1959" WHERE "director"='friz freleng' AND "production_number">1496 AND "series"='mm' AND "title"='apes of wrath'; | 2-18792948-10 |
What is the production number directed by Robert McKimson in series mm titled People Are Bunny? | CREATE TABLE "1959" (
"title" text,
"series" text,
"director" text,
"production_number" real,
"release_date" text
); | SELECT SUM("production_number") FROM "1959" WHERE "director"='robert mckimson' AND "series"='mm' AND "title"='people are bunny'; | 2-18792948-10 |
What was the series of the episode directed by Abe Levitow released on 1959-06-27? | CREATE TABLE "1959" (
"title" text,
"series" text,
"director" text,
"production_number" real,
"release_date" text
); | SELECT "series" FROM "1959" WHERE "director"='abe levitow' AND "release_date"='1959-06-27'; | 2-18792948-10 |
What is the release date of the episode named Mouse-Placed Kitten with an episode number less than 1495 directed by Robert McKimson? | CREATE TABLE "1959" (
"title" text,
"series" text,
"director" text,
"production_number" real,
"release_date" text
); | SELECT "release_date" FROM "1959" WHERE "production_number"<1495 AND "director"='robert mckimson' AND "title"='mouse-placed kitten'; | 2-18792948-10 |
Which Player has a Round larger than 8? | CREATE TABLE "amateur_draft" (
"round" real,
"pick" real,
"player" text,
"nationality" text,
"college_junior_club_team" text
); | SELECT "player" FROM "amateur_draft" WHERE "round">8; | 2-18991157-1 |
What is tom cassidy's nationality? | CREATE TABLE "amateur_draft" (
"round" real,
"pick" real,
"player" text,
"nationality" text,
"college_junior_club_team" text
); | SELECT "nationality" FROM "amateur_draft" WHERE "player"='tom cassidy'; | 2-18991157-1 |
Which College/Junior/Club Team has a Pick larger than 70, and a Round smaller than 7? | CREATE TABLE "amateur_draft" (
"round" real,
"pick" real,
"player" text,
"nationality" text,
"college_junior_club_team" text
); | SELECT "college_junior_club_team" FROM "amateur_draft" WHERE "pick">70 AND "round"<7; | 2-18991157-1 |
Which Player has a Round larger than 8? | CREATE TABLE "amateur_draft" (
"round" real,
"pick" real,
"player" text,
"nationality" text,
"college_junior_club_team" text
); | SELECT "player" FROM "amateur_draft" WHERE "round">8; | 2-18991157-1 |
Which County has a Location of edinburgh? | CREATE TABLE "indiana_high_school_athletics_conference" (
"school" text,
"location" text,
"mascot" text,
"enrollment" real,
"ihsaa_class" text,
"county" text
); | SELECT "county" FROM "indiana_high_school_athletics_conference" WHERE "location"='edinburgh'; | 2-18942405-2 |
COunt the average Enrollment in hope? | CREATE TABLE "indiana_high_school_athletics_conference" (
"school" text,
"location" text,
"mascot" text,
"enrollment" real,
"ihsaa_class" text,
"county" text
); | SELECT AVG("enrollment") FROM "indiana_high_school_athletics_conference" WHERE "location"='hope'; | 2-18942405-2 |
Which Mascot has IHSAA Class of aa, and a Enrollment larger than 369? | CREATE TABLE "indiana_high_school_athletics_conference" (
"school" text,
"location" text,
"mascot" text,
"enrollment" real,
"ihsaa_class" text,
"county" text
); | SELECT "mascot" FROM "indiana_high_school_athletics_conference" WHERE "ihsaa_class"='aa' AND "enrollment">369; | 2-18942405-2 |
what is the lowest league goals when the league apps is 1 and the fa cup goals is more than 0? | CREATE TABLE "appearances_and_goals" (
"name" text,
"position" text,
"league_apps" text,
"league_goals" real,
"fa_cup_apps" text,
"fa_cup_goals" real,
"league_cup_apps" text,
"league_cup_goals" real,
"total_apps" text,
"total_goals" real
); | SELECT MIN("league_goals") FROM "appearances_and_goals" WHERE "league_apps"='1' AND "fa_cup_goals">0; | 2-18891701-1 |
what is the highest fa cup goals when the total goals is more than 3 and total apps is 31 (1)? | CREATE TABLE "appearances_and_goals" (
"name" text,
"position" text,
"league_apps" text,
"league_goals" real,
"fa_cup_apps" text,
"fa_cup_goals" real,
"league_cup_apps" text,
"league_cup_goals" real,
"total_apps" text,
"total_goals" real
); | SELECT MAX("fa_cup_goals") FROM "appearances_and_goals" WHERE "total_goals">3 AND "total_apps"='31 (1)'; | 2-18891701-1 |
what is the league goals when the fa cup goals is higher than 0, the fa cup apps is 2 and the league apps is 45? | CREATE TABLE "appearances_and_goals" (
"name" text,
"position" text,
"league_apps" text,
"league_goals" real,
"fa_cup_apps" text,
"fa_cup_goals" real,
"league_cup_apps" text,
"league_cup_goals" real,
"total_apps" text,
"total_goals" real
); | SELECT "league_goals" FROM "appearances_and_goals" WHERE "fa_cup_goals">0 AND "fa_cup_apps"='2' AND "league_apps"='45'; | 2-18891701-1 |
how many times is the total apps 1 and the fa cup goals less than 0 for bob mountain? | CREATE TABLE "appearances_and_goals" (
"name" text,
"position" text,
"league_apps" text,
"league_goals" real,
"fa_cup_apps" text,
"fa_cup_goals" real,
"league_cup_apps" text,
"league_cup_goals" real,
"total_apps" text,
"total_goals" real
); | SELECT COUNT("total_goals") FROM "appearances_and_goals" WHERE "total_apps"='1' AND "name"='bob mountain' AND "fa_cup_goals"<0; | 2-18891701-1 |
What is the highest attendance for the match against west ham united at the venue of a? | CREATE TABLE "fa_premier_league" (
"date" text,
"opponent" text,
"venue" text,
"result" text,
"attendance" real
); | SELECT MAX("attendance") FROM "fa_premier_league" WHERE "venue"='a' AND "opponent"='west ham united'; | 2-18762135-2 |
Which Country has a Score of 67? | CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
); | SELECT "country" FROM "first_round" WHERE "score"=67; | 2-18594233-4 |
Which To par has a Player of momoko ueda? | CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
); | SELECT "to_par" FROM "first_round" WHERE "player"='momoko ueda'; | 2-18594233-4 |
Which To par has a Player of johanna head? | CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
); | SELECT "to_par" FROM "first_round" WHERE "player"='johanna head'; | 2-18594233-4 |
What is the notes for the team from Denmark? | CREATE TABLE "semifinal_a_b_2" (
"rank" real,
"rowers" text,
"country" text,
"time" text,
"notes" text
); | SELECT "notes" FROM "semifinal_a_b_2" WHERE "country"='denmark'; | 2-18662673-8 |
Which athlete had a rank of 6 and notes of sc/d? | CREATE TABLE "quarterfinal_2" (
"rank" real,
"athlete" text,
"country" text,
"time" text,
"notes" text
); | SELECT "athlete" FROM "quarterfinal_2" WHERE "notes"='sc/d' AND "rank"=6; | 2-18662695-9 |
Which country is the athlete latt shwe zin with notes of sc/d from? | CREATE TABLE "quarterfinal_2" (
"rank" real,
"athlete" text,
"country" text,
"time" text,
"notes" text
); | SELECT "country" FROM "quarterfinal_2" WHERE "notes"='sc/d' AND "athlete"='latt shwe zin'; | 2-18662695-9 |
What's the HR number when the LMS number is 14758? | CREATE TABLE "numbers_and_names" (
"hr_no" text,
"hr_name" text,
"cr_no" real,
"lms_no" real,
"built" text,
"works" text,
"withdrawn" text
); | SELECT "hr_no" FROM "numbers_and_names" WHERE "lms_no"=14758; | 2-1886270-1 |
What's the CR number that has an LMS number less than 14761 and works of Hawthorn Leslie 3100? | CREATE TABLE "numbers_and_names" (
"hr_no" text,
"hr_name" text,
"cr_no" real,
"lms_no" real,
"built" text,
"works" text,
"withdrawn" text
); | SELECT AVG("cr_no") FROM "numbers_and_names" WHERE "works"='hawthorn leslie 3100' AND "lms_no"<14761; | 2-1886270-1 |
What's the HR Number when the LMS number is 14757 and has a built of 9/1915? | CREATE TABLE "numbers_and_names" (
"hr_no" text,
"hr_name" text,
"cr_no" real,
"lms_no" real,
"built" text,
"works" text,
"withdrawn" text
); | SELECT "hr_no" FROM "numbers_and_names" WHERE "built"='9/1915' AND "lms_no"=14757; | 2-1886270-1 |
What's the built date when the CR number is more than 940 and the LMS number is 14760? | CREATE TABLE "numbers_and_names" (
"hr_no" text,
"hr_name" text,
"cr_no" real,
"lms_no" real,
"built" text,
"works" text,
"withdrawn" text
); | SELECT "built" FROM "numbers_and_names" WHERE "cr_no">940 AND "lms_no"=14760; | 2-1886270-1 |
What is the Home team of the event on Thursday, December 11 with Visitor Modo Hockey? | CREATE TABLE "game_log" (
"round" real,
"date" text,
"home" text,
"result" text,
"visitor" text,
"venue" text,
"attendance" real
); | SELECT "home" FROM "game_log" WHERE "visitor"='modo hockey' AND "date"='thursday, december 11'; | 2-18943645-5 |
What is the traditional Chinese name for the record titled Sunrise? | CREATE TABLE "studio" (
"albumnum" text,
"english_title" text,
"chinese_traditional" text,
"chinese_simplified" text,
"release_date" text,
"label" text
); | SELECT "chinese_traditional" FROM "studio" WHERE "english_title"='sunrise'; | 2-1893815-1 |
What would be the traditional Chinese name tat is simplified as 崇拜? | CREATE TABLE "studio" (
"albumnum" text,
"english_title" text,
"chinese_traditional" text,
"chinese_simplified" text,
"release_date" text,
"label" text
); | SELECT "chinese_traditional" FROM "studio" WHERE "chinese_simplified"='崇拜'; | 2-1893815-1 |
What traditional Chinese name would the Rock Records release Grown up Overnight be given? | CREATE TABLE "studio" (
"albumnum" text,
"english_title" text,
"chinese_traditional" text,
"chinese_simplified" text,
"release_date" text,
"label" text
); | SELECT "chinese_traditional" FROM "studio" WHERE "label"='rock records' AND "english_title"='grown up overnight'; | 2-1893815-1 |
What is the traditional Chinese name for the record Beautiful? | CREATE TABLE "studio" (
"albumnum" text,
"english_title" text,
"chinese_traditional" text,
"chinese_simplified" text,
"release_date" text,
"label" text
); | SELECT "chinese_traditional" FROM "studio" WHERE "english_title"='beautiful'; | 2-1893815-1 |
What is the album number for the record 情歌没有告诉你, simplified from the traditional Chinese name? | CREATE TABLE "studio" (
"albumnum" text,
"english_title" text,
"chinese_traditional" text,
"chinese_simplified" text,
"release_date" text,
"label" text
); | SELECT "albumnum" FROM "studio" WHERE "chinese_simplified"='情歌没有告诉你'; | 2-1893815-1 |
What is the simplified Chinese name for the 9th album? | CREATE TABLE "studio" (
"albumnum" text,
"english_title" text,
"chinese_traditional" text,
"chinese_simplified" text,
"release_date" text,
"label" text
); | SELECT "chinese_simplified" FROM "studio" WHERE "albumnum"='9th'; | 2-1893815-1 |
Which Eliminated has a Tag Team of jindrak and cade? | CREATE TABLE "tag_team_turmoil_match" (
"eliminated" text,
"tag_team" text,
"entered" real,
"eliminated_by" text,
"time" text
); | SELECT "eliminated_by" FROM "tag_team_turmoil_match" WHERE "tag_team"='jindrak and cade'; | 2-18717672-3 |
Which Eliminated has an Entered smaller than 2? | CREATE TABLE "tag_team_turmoil_match" (
"eliminated" text,
"tag_team" text,
"entered" real,
"eliminated_by" text,
"time" text
); | SELECT "eliminated_by" FROM "tag_team_turmoil_match" WHERE "entered"<2; | 2-18717672-3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.