question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
What is the total number of Total when the Silver is less than 2, and a Bronze is less than 0? | CREATE TABLE "medal_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT COUNT("total") FROM "medal_table" WHERE "silver"<2 AND "bronze"<0; | 2-16001962-1 |
What is the nickname of the team that has the colors blue and gold? | CREATE TABLE "delaware_ice_hockey_teams" (
"school" text,
"nickname" text,
"colors" text,
"league" text,
"class" text,
"division" text
); | SELECT "nickname" FROM "delaware_ice_hockey_teams" WHERE "colors"='blue and gold'; | 2-15475116-1 |
What is the nickname of the team that has the colors black and gold? | CREATE TABLE "delaware_ice_hockey_teams" (
"school" text,
"nickname" text,
"colors" text,
"league" text,
"class" text,
"division" text
); | SELECT "nickname" FROM "delaware_ice_hockey_teams" WHERE "colors"='black and gold'; | 2-15475116-1 |
What is the nickname of the team in division 2? | CREATE TABLE "delaware_ice_hockey_teams" (
"school" text,
"nickname" text,
"colors" text,
"league" text,
"class" text,
"division" text
); | SELECT "nickname" FROM "delaware_ice_hockey_teams" WHERE "division"='division 2'; | 2-15475116-1 |
What is the class of the Middletown High School team that is in the DSHA league? | CREATE TABLE "delaware_ice_hockey_teams" (
"school" text,
"nickname" text,
"colors" text,
"league" text,
"class" text,
"division" text
); | SELECT "class" FROM "delaware_ice_hockey_teams" WHERE "league"='dsha' AND "school"='middletown high school'; | 2-15475116-1 |
What school is the team from that has the colors blue and gold? | CREATE TABLE "delaware_ice_hockey_teams" (
"school" text,
"nickname" text,
"colors" text,
"league" text,
"class" text,
"division" text
); | SELECT "school" FROM "delaware_ice_hockey_teams" WHERE "colors"='blue and gold'; | 2-15475116-1 |
What are the colors for the division 2 team with the nickname, the seahawks? | CREATE TABLE "delaware_ice_hockey_teams" (
"school" text,
"nickname" text,
"colors" text,
"league" text,
"class" text,
"division" text
); | SELECT "colors" FROM "delaware_ice_hockey_teams" WHERE "division"='division 2' AND "nickname"='seahawks'; | 2-15475116-1 |
Who's the Centerfold model with a Pictorials of adrianne curry, girls of tuscany? | CREATE TABLE "2006" (
"date" text,
"centerfold_model" text,
"interview_subject" text,
"20_questions" text,
"pictorials" text
); | SELECT "centerfold_model" FROM "2006" WHERE "pictorials"='adrianne curry, girls of tuscany'; | 2-1566852-7 |
Which Date has a 20 Questions of jason lee? | CREATE TABLE "2006" (
"date" text,
"centerfold_model" text,
"interview_subject" text,
"20_questions" text,
"pictorials" text
); | SELECT "date" FROM "2006" WHERE "20_questions"='jason lee'; | 2-1566852-7 |
Which Interview subject has a Pictorials of vida guerra? | CREATE TABLE "2006" (
"date" text,
"centerfold_model" text,
"interview_subject" text,
"20_questions" text,
"pictorials" text
); | SELECT "interview_subject" FROM "2006" WHERE "pictorials"='vida guerra'; | 2-1566852-7 |
Which Date has a Pictorials of mercedes mcnab, girls of hawaiian tropic? | CREATE TABLE "2006" (
"date" text,
"centerfold_model" text,
"interview_subject" text,
"20_questions" text,
"pictorials" text
); | SELECT "date" FROM "2006" WHERE "pictorials"='mercedes mcnab, girls of hawaiian tropic'; | 2-1566852-7 |
Which Pictorials has a 20 Questions of eva longoria? | CREATE TABLE "2006" (
"date" text,
"centerfold_model" text,
"interview_subject" text,
"20_questions" text,
"pictorials" text
); | SELECT "pictorials" FROM "2006" WHERE "20_questions"='eva longoria'; | 2-1566852-7 |
Which Interview subject has a Centerfold model of athena lundberg? | CREATE TABLE "2006" (
"date" text,
"centerfold_model" text,
"interview_subject" text,
"20_questions" text,
"pictorials" text
); | SELECT "interview_subject" FROM "2006" WHERE "centerfold_model"='athena lundberg'; | 2-1566852-7 |
What is the total number of votes from the Labour Party? | CREATE TABLE "2005_general_election" (
"party" text,
"candidate" text,
"votes" real,
"pct_share" text,
"change" text
); | SELECT COUNT("votes") FROM "2005_general_election" WHERE "party"='labour'; | 2-1601940-1 |
Which party has less than 11,484 votes? | CREATE TABLE "2005_general_election" (
"party" text,
"candidate" text,
"votes" real,
"pct_share" text,
"change" text
); | SELECT "party" FROM "2005_general_election" WHERE "votes"<'11,484'; | 2-1601940-1 |
How many numbers had Brandon Dean as a name? | CREATE TABLE "d" (
"name" text,
"position" text,
"number" real,
"season" text,
"acquisition_via" text
); | SELECT SUM("number") FROM "d" WHERE "name"='brandon dean'; | 2-15463188-4 |
What is the singular for the Meaning of night? | CREATE TABLE "number" (
"singular" text,
"singular_gender" text,
"plural" text,
"plural_gender" text,
"meaning" text
); | SELECT "singular" FROM "number" WHERE "meaning"='night'; | 2-15980295-6 |
What is the plural for the Meaning of night? | CREATE TABLE "number" (
"singular" text,
"singular_gender" text,
"plural" text,
"plural_gender" text,
"meaning" text
); | SELECT "plural" FROM "number" WHERE "meaning"='night'; | 2-15980295-6 |
What is the plural if the singular is nyaqot? | CREATE TABLE "number" (
"singular" text,
"singular_gender" text,
"plural" text,
"plural_gender" text,
"meaning" text
); | SELECT "plural" FROM "number" WHERE "singular"='nyaqot'; | 2-15980295-6 |
What is the plural if the meaning is python and the plural gender is n? | CREATE TABLE "number" (
"singular" text,
"singular_gender" text,
"plural" text,
"plural_gender" text,
"meaning" text
); | SELECT "plural" FROM "number" WHERE "plural_gender"='n' AND "meaning"='python'; | 2-15980295-6 |
What is the plural if the singular is awu? | CREATE TABLE "number" (
"singular" text,
"singular_gender" text,
"plural" text,
"plural_gender" text,
"meaning" text
); | SELECT "plural" FROM "number" WHERE "singular"='awu'; | 2-15980295-6 |
What is the singular if the plural is xweer(a)du? | CREATE TABLE "number" (
"singular" text,
"singular_gender" text,
"plural" text,
"plural_gender" text,
"meaning" text
); | SELECT "singular" FROM "number" WHERE "plural"='xweer(a)du'; | 2-15980295-6 |
What is the Total againsts for the Sant'Anna team with a position number greater than 10? | CREATE TABLE "laf_s_campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real
); | SELECT COUNT("against") FROM "laf_s_campeonato_paulista" WHERE "team"='sant''anna' AND "position">10; | 2-15384554-2 |
What is the total number of games played with 3 losses, 1 or more drawns and 10 or fewer points? | CREATE TABLE "laf_s_campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real
); | SELECT SUM("played") FROM "laf_s_campeonato_paulista" WHERE "lost"=3 AND "drawn">1 AND "points"<10; | 2-15384554-2 |
What is the average lost of games played of more than 9? | CREATE TABLE "laf_s_campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real
); | SELECT AVG("lost") FROM "laf_s_campeonato_paulista" WHERE "played">9; | 2-15384554-2 |
What is the lowest number of bronze medals for Great Britain with more than 2 medals total? | CREATE TABLE "medals_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MIN("bronze") FROM "medals_table" WHERE "nation"='great britain' AND "total">2; | 2-15807751-2 |
What is the lowest wins the club with a position of 4 and less than 4 losses has? | CREATE TABLE "2_lyga_zone_south" (
"position" real,
"club" text,
"games_played" real,
"wins" real,
"draws" real,
"loses" real,
"goals_scored" real,
"goals_conceded" real,
"points" real
); | SELECT MIN("wins") FROM "2_lyga_zone_south" WHERE "position"=4 AND "loses"<4; | 2-16034882-3 |
What is the sum of the points of club nevėžis-2 kėdainiai, which has more than 35 goals conceded? | CREATE TABLE "2_lyga_zone_south" (
"position" real,
"club" text,
"games_played" real,
"wins" real,
"draws" real,
"loses" real,
"goals_scored" real,
"goals_conceded" real,
"points" real
); | SELECT SUM("points") FROM "2_lyga_zone_south" WHERE "club"='nevėžis-2 kėdainiai' AND "goals_conceded">35; | 2-16034882-3 |
What is the total number of games played of the team with 4 wins and a position less than 9? | CREATE TABLE "2_lyga_zone_south" (
"position" real,
"club" text,
"games_played" real,
"wins" real,
"draws" real,
"loses" real,
"goals_scored" real,
"goals_conceded" real,
"points" real
); | SELECT COUNT("games_played") FROM "2_lyga_zone_south" WHERE "wins"=4 AND "position"<9; | 2-16034882-3 |
What is the highest number of wins of the team with a position less than 1? | CREATE TABLE "2_lyga_zone_south" (
"position" real,
"club" text,
"games_played" real,
"wins" real,
"draws" real,
"loses" real,
"goals_scored" real,
"goals_conceded" real,
"points" real
); | SELECT MAX("wins") FROM "2_lyga_zone_south" WHERE "position"<1; | 2-16034882-3 |
What is the total losses against 1412, and 10 wins, but draws less than 0? | CREATE TABLE "2011_ladder" (
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
); | SELECT SUM("losses") FROM "2011_ladder" WHERE "against">1412 AND "wins"=10 AND "draws"<0; | 2-1552908-23 |
What is the highest draw against 2161? | CREATE TABLE "2011_ladder" (
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
); | SELECT MAX("draws") FROM "2011_ladder" WHERE "against">2161; | 2-1552908-23 |
What is the total number of losses against 1412, and Byes less than 2? | CREATE TABLE "2011_ladder" (
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
); | SELECT COUNT("losses") FROM "2011_ladder" WHERE "against"=1412 AND "byes"<2; | 2-1552908-23 |
What is the lowest wins with less than 2 Byes? | CREATE TABLE "2011_ladder" (
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
); | SELECT MIN("wins") FROM "2011_ladder" WHERE "byes"<2; | 2-1552908-23 |
What is the highest score with 0 wins and more than 2 Byes? | CREATE TABLE "2011_ladder" (
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
); | SELECT MAX("against") FROM "2011_ladder" WHERE "wins"=0 AND "byes">2; | 2-1552908-23 |
What is the sum of wins against the smaller score 1148? | CREATE TABLE "2011_ladder" (
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
); | SELECT SUM("wins") FROM "2011_ladder" WHERE "against"<1148; | 2-1552908-23 |
Who had a rank larger than 7, less than 305 goals, and 418 matches? | CREATE TABLE "list_of_top_association_football_goal_sc" (
"rank" real,
"name" text,
"years" text,
"matches" text,
"goals" real
); | SELECT "name" FROM "list_of_top_association_football_goal_sc" WHERE "rank">7 AND "goals"<305 AND "matches"='418'; | 2-1590321-33 |
How many goals ranked 6? | CREATE TABLE "list_of_top_association_football_goal_sc" (
"rank" real,
"name" text,
"years" text,
"matches" text,
"goals" real
); | SELECT COUNT("goals") FROM "list_of_top_association_football_goal_sc" WHERE "rank"=6; | 2-1590321-33 |
How many matches had 360 goals? | CREATE TABLE "list_of_top_association_football_goal_sc" (
"rank" real,
"name" text,
"years" text,
"matches" text,
"goals" real
); | SELECT "matches" FROM "list_of_top_association_football_goal_sc" WHERE "goals"=360; | 2-1590321-33 |
What is the Nominee from the Category that is best costume design? | CREATE TABLE "original_london_production" (
"year" real,
"award" text,
"category" text,
"nominee" text,
"result" text
); | SELECT "nominee" FROM "original_london_production" WHERE "category"='best costume design'; | 2-15341-3 |
Which Total has a Bronze larger than 12, and a Silver larger than 772, and a Country of thailand? | CREATE TABLE "southeast_asian_games" (
"country" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT SUM("total") FROM "southeast_asian_games" WHERE "bronze">12 AND "silver">772 AND "country"='thailand'; | 2-1575383-9 |
Which Gold has a Total of 2998, and a Bronze smaller than 1191? | CREATE TABLE "southeast_asian_games" (
"country" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT AVG("gold") FROM "southeast_asian_games" WHERE "total"=2998 AND "bronze"<1191; | 2-1575383-9 |
Which Bronze has a Country of malaysia, and a Total smaller than 2644? | CREATE TABLE "southeast_asian_games" (
"country" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT SUM("bronze") FROM "southeast_asian_games" WHERE "country"='malaysia' AND "total"<2644; | 2-1575383-9 |
Which Silver has a Bronze smaller than 618, and a Country of laos? | CREATE TABLE "southeast_asian_games" (
"country" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT "silver" FROM "southeast_asian_games" WHERE "bronze"<618 AND "country"='laos'; | 2-1575383-9 |
What is the Score with a Team that is @ portland? | 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 "team"='@ portland'; | 2-15873014-5 |
What is the High points with a Date that is january 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 "high_points" FROM "game_log" WHERE "date"='january 20'; | 2-15873014-5 |
Who was the home team that the Clippers played? | CREATE TABLE "november" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"leading_scorer" text,
"record" text
); | SELECT "home" FROM "november" WHERE "visitor"='clippers'; | 2-15932367-6 |
What's the record of the game where Lebron James (16) was the leading scorer? | CREATE TABLE "november" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"leading_scorer" text,
"record" text
); | SELECT "record" FROM "november" WHERE "leading_scorer"='lebron james (16)'; | 2-15932367-6 |
When the venue was A and the date was 2 january 2008, what was the average attendance? | CREATE TABLE "irn_bru_second_division" (
"date" text,
"opponent" text,
"venue" text,
"result" text,
"attendance" real
); | SELECT AVG("attendance") FROM "irn_bru_second_division" WHERE "venue"='a' AND "date"='2 january 2008'; | 2-15345389-2 |
On 10 November 2007, what was the venue? | CREATE TABLE "irn_bru_second_division" (
"date" text,
"opponent" text,
"venue" text,
"result" text,
"attendance" real
); | SELECT "venue" FROM "irn_bru_second_division" WHERE "date"='10 november 2007'; | 2-15345389-2 |
On what date was the opponent Ayr United, the result 1–0, and the attendance more than 668? | CREATE TABLE "irn_bru_second_division" (
"date" text,
"opponent" text,
"venue" text,
"result" text,
"attendance" real
); | SELECT "date" FROM "irn_bru_second_division" WHERE "result"='1–0' AND "attendance">668 AND "opponent"='ayr united'; | 2-15345389-2 |
When the opponent was Brechin City and the attendance was 656, what was the Result? | CREATE TABLE "irn_bru_second_division" (
"date" text,
"opponent" text,
"venue" text,
"result" text,
"attendance" real
); | SELECT "result" FROM "irn_bru_second_division" WHERE "opponent"='brechin city' AND "attendance"=656; | 2-15345389-2 |
On 1 september 2007, at the Venue A, what was the average attendance? | CREATE TABLE "irn_bru_second_division" (
"date" text,
"opponent" text,
"venue" text,
"result" text,
"attendance" real
); | SELECT AVG("attendance") FROM "irn_bru_second_division" WHERE "venue"='a' AND "date"='1 september 2007'; | 2-15345389-2 |
Which Score has a Country of england, and a Year larger than 1971? | CREATE TABLE "winners" (
"year" real,
"venue" text,
"winner" text,
"country" text,
"score" text
); | SELECT "score" FROM "winners" WHERE "country"='england' AND "year">1971; | 2-15942377-1 |
What is Scotland's winner? | CREATE TABLE "winners" (
"year" real,
"venue" text,
"winner" text,
"country" text,
"score" text
); | SELECT "winner" FROM "winners" WHERE "country"='scotland'; | 2-15942377-1 |
What time was the game in week 2? | CREATE TABLE "regular_season" (
"week" real,
"date" text,
"time" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text
); | SELECT "time" FROM "regular_season" WHERE "week"=2; | 2-15581223-3 |
What was the score of the game on September 14, 2008? | CREATE TABLE "regular_season" (
"week" real,
"date" text,
"time" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text
); | SELECT "result" FROM "regular_season" WHERE "date"='september 14, 2008'; | 2-15581223-3 |
What was the final score of the game on November 23, 2008? | CREATE TABLE "regular_season" (
"week" real,
"date" text,
"time" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text
); | SELECT "result" FROM "regular_season" WHERE "date"='november 23, 2008'; | 2-15581223-3 |
Which species has a Voges-Proskauer reading of negative and an indole reading of negative? | CREATE TABLE "usage" (
"species" text,
"indole" text,
"methyl_red" text,
"voges_proskauer" text,
"citrate" text
); | SELECT "species" FROM "usage" WHERE "voges_proskauer"='negative' AND "indole"='negative'; | 2-16083989-1 |
What is the Voges-Proskauer reading for proteus mirabilis? | CREATE TABLE "usage" (
"species" text,
"indole" text,
"methyl_red" text,
"voges_proskauer" text,
"citrate" text
); | SELECT "voges_proskauer" FROM "usage" WHERE "species"='proteus mirabilis'; | 2-16083989-1 |
What is the methyl red reading for the species that tests positive for indole? | CREATE TABLE "usage" (
"species" text,
"indole" text,
"methyl_red" text,
"voges_proskauer" text,
"citrate" text
); | SELECT "methyl_red" FROM "usage" WHERE "indole"='positive'; | 2-16083989-1 |
What is the methyl red reading for proteus mirabilis? | CREATE TABLE "usage" (
"species" text,
"indole" text,
"methyl_red" text,
"voges_proskauer" text,
"citrate" text
); | SELECT "methyl_red" FROM "usage" WHERE "species"='proteus mirabilis'; | 2-16083989-1 |
What is the highest silver medals for Russia with more than 5 bronze medals? | CREATE TABLE "medal_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MAX("silver") FROM "medal_table" WHERE "nation"='russia' AND "bronze">5; | 2-15558966-3 |
What package/option has sky arte hd as the television service? | CREATE TABLE "worlds_cultures" (
"television_service" text,
"language" text,
"content" text,
"hdtv" text,
"package_option" text
); | SELECT "package_option" FROM "worlds_cultures" WHERE "television_service"='sky arte hd'; | 2-15887683-7 |
What language has NO, as the HDTV, sky famiglia as the package/option, and national geographic channel as the television service? | CREATE TABLE "worlds_cultures" (
"television_service" text,
"language" text,
"content" text,
"hdtv" text,
"package_option" text
); | SELECT "language" FROM "worlds_cultures" WHERE "hdtv"='no' AND "package_option"='sky famiglia' AND "television_service"='national geographic channel'; | 2-15887683-7 |
What language has sky famiglia as the package/option? | CREATE TABLE "worlds_cultures" (
"television_service" text,
"language" text,
"content" text,
"hdtv" text,
"package_option" text
); | SELECT "language" FROM "worlds_cultures" WHERE "package_option"='sky famiglia'; | 2-15887683-7 |
What language has viaggi as the content? | CREATE TABLE "worlds_cultures" (
"television_service" text,
"language" text,
"content" text,
"hdtv" text,
"package_option" text
); | SELECT "language" FROM "worlds_cultures" WHERE "content"='viaggi'; | 2-15887683-7 |
What television service has italian as the language, and sky famiglia as the package option? | CREATE TABLE "worlds_cultures" (
"television_service" text,
"language" text,
"content" text,
"hdtv" text,
"package_option" text
); | SELECT "television_service" FROM "worlds_cultures" WHERE "language"='italian' AND "package_option"='sky famiglia'; | 2-15887683-7 |
What package/option has documentaries as the content, yes as the HDTV, and a television service of history hd? | CREATE TABLE "worlds_cultures" (
"television_service" text,
"language" text,
"content" text,
"hdtv" text,
"package_option" text
); | SELECT "package_option" FROM "worlds_cultures" WHERE "content"='documentaries' AND "hdtv"='yes' AND "television_service"='history hd'; | 2-15887683-7 |
What was the resolution for the match that ended by Submission (armbar)? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"round" text,
"time" text,
"location" text
); | SELECT "res" FROM "mixed_martial_arts_record" WHERE "method"='submission (armbar)'; | 2-15985513-2 |
What was the total time for the match that ocurred in Round 3 with opponent Keith Wisniewski? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"round" text,
"time" text,
"location" text
); | SELECT "time" FROM "mixed_martial_arts_record" WHERE "round"='3' AND "opponent"='keith wisniewski'; | 2-15985513-2 |
Where did the match with opponent Laverne Clark occur? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"round" text,
"time" text,
"location" text
); | SELECT "location" FROM "mixed_martial_arts_record" WHERE "opponent"='laverne clark'; | 2-15985513-2 |
What is the Diameter (mi) when the Longitude is 79.8° e? | CREATE TABLE "satellite_craters" (
"gill" text,
"latitude" text,
"longitude" text,
"diameter_km" text,
"diameter_mi" text
); | SELECT "diameter_mi" FROM "satellite_craters" WHERE "longitude"='79.8° e'; | 2-1583474-1 |
What is the Latitude when the Diameter (km) is 13km, and the Longitude is 72.9° e? | CREATE TABLE "satellite_craters" (
"gill" text,
"latitude" text,
"longitude" text,
"diameter_km" text,
"diameter_mi" text
); | SELECT "latitude" FROM "satellite_craters" WHERE "diameter_km"='13km' AND "longitude"='72.9° e'; | 2-1583474-1 |
What shows for the Longitude when there is a Diameter (km) of 31km? | CREATE TABLE "satellite_craters" (
"gill" text,
"latitude" text,
"longitude" text,
"diameter_km" text,
"diameter_mi" text
); | SELECT "longitude" FROM "satellite_craters" WHERE "diameter_km"='31km'; | 2-1583474-1 |
What shows for the Diameter (mi) when the Gill is g? | CREATE TABLE "satellite_craters" (
"gill" text,
"latitude" text,
"longitude" text,
"diameter_km" text,
"diameter_mi" text
); | SELECT "diameter_mi" FROM "satellite_craters" WHERE "gill"='g'; | 2-1583474-1 |
What shows for the Diameter (km) when the Diameter (mi) is 8mi, and a Gill is e? | CREATE TABLE "satellite_craters" (
"gill" text,
"latitude" text,
"longitude" text,
"diameter_km" text,
"diameter_mi" text
); | SELECT "diameter_km" FROM "satellite_craters" WHERE "diameter_mi"='8mi' AND "gill"='e'; | 2-1583474-1 |
What shows as the Diameter (km) when the Diameter (mi) is 5mi? | CREATE TABLE "satellite_craters" (
"gill" text,
"latitude" text,
"longitude" text,
"diameter_km" text,
"diameter_mi" text
); | SELECT "diameter_km" FROM "satellite_craters" WHERE "diameter_mi"='5mi'; | 2-1583474-1 |
What was the lowest squad with 0 goals? | CREATE TABLE "2008_season_players_current_to_round_19_" (
"player" text,
"squad_no" real,
"appearances" real,
"tries" real,
"goals" real,
"f_goals" real,
"points" real,
"contract_ends" real
); | SELECT MIN("squad_no") FROM "2008_season_players_current_to_round_19_" WHERE "goals"<0; | 2-15700008-4 |
What is the number for overall for angelo craig? | CREATE TABLE "2008_cincinnati_bengals_draft_selections" (
"round" real,
"overall" real,
"player" text,
"position" text,
"college" text
); | SELECT COUNT("overall") FROM "2008_cincinnati_bengals_draft_selections" WHERE "player"='angelo craig'; | 2-15601335-1 |
What is the Round when there is an overall of 246? | CREATE TABLE "2008_cincinnati_bengals_draft_selections" (
"round" real,
"overall" real,
"player" text,
"position" text,
"college" text
); | SELECT "round" FROM "2008_cincinnati_bengals_draft_selections" WHERE "overall"=246; | 2-15601335-1 |
What is the lowest Overall for the wide receiver in a round less than 2? | CREATE TABLE "2008_cincinnati_bengals_draft_selections" (
"round" real,
"overall" real,
"player" text,
"position" text,
"college" text
); | SELECT MIN("overall") FROM "2008_cincinnati_bengals_draft_selections" WHERE "position"='wide receiver' AND "round"<2; | 2-15601335-1 |
What is the Player from appalachian state? | CREATE TABLE "2008_cincinnati_bengals_draft_selections" (
"round" real,
"overall" real,
"player" text,
"position" text,
"college" text
); | SELECT "player" FROM "2008_cincinnati_bengals_draft_selections" WHERE "college"='appalachian state'; | 2-15601335-1 |
What is the Production Cost with a Date that is february 2000? | CREATE TABLE "2000" (
"date" text,
"title" text,
"director" text,
"producer" text,
"production_cost" text,
"singapore_gross" text
); | SELECT "production_cost" FROM "2000" WHERE "date"='february 2000'; | 2-1601229-3 |
What is the Singapore Gross with a Title that is 2000? | CREATE TABLE "2000" (
"date" text,
"title" text,
"director" text,
"producer" text,
"production_cost" text,
"singapore_gross" text
); | SELECT "singapore_gross" FROM "2000" WHERE "title"='2000'; | 2-1601229-3 |
What is the Singapore Gross with a Producer that is 2000? | CREATE TABLE "2000" (
"date" text,
"title" text,
"director" text,
"producer" text,
"production_cost" text,
"singapore_gross" text
); | SELECT "singapore_gross" FROM "2000" WHERE "producer"='2000'; | 2-1601229-3 |
What is Average Height, when Weight is less than 93, when Spike is less than 336, and when Block is 305? | CREATE TABLE "volleyball_at_the_2004_summer_olympics_m" (
"name" text,
"date_of_birth" text,
"height" real,
"weight" real,
"spike" real,
"block" real
); | SELECT AVG("height") FROM "volleyball_at_the_2004_summer_olympics_m" WHERE "weight"<93 AND "spike"<336 AND "block"=305; | 2-15859432-5 |
What is Name, when Block is 320, when Spike is more than 336, and when Date of Birth is 12.10.1978? | CREATE TABLE "volleyball_at_the_2004_summer_olympics_m" (
"name" text,
"date_of_birth" text,
"height" real,
"weight" real,
"spike" real,
"block" real
); | SELECT "name" FROM "volleyball_at_the_2004_summer_olympics_m" WHERE "block"=320 AND "spike">336 AND "date_of_birth"='12.10.1978'; | 2-15859432-5 |
What is the total number of Block(s), when Spike is less than 341, when Weight is greater than 82, and when Name is Theodoros Baev? | CREATE TABLE "volleyball_at_the_2004_summer_olympics_m" (
"name" text,
"date_of_birth" text,
"height" real,
"weight" real,
"spike" real,
"block" real
); | SELECT COUNT("block") FROM "volleyball_at_the_2004_summer_olympics_m" WHERE "spike"<341 AND "weight">82 AND "name"='theodoros baev'; | 2-15859432-5 |
What is Name, when Spike is greater than 343, and when Date of Birth is 02.03.1973? | CREATE TABLE "volleyball_at_the_2004_summer_olympics_m" (
"name" text,
"date_of_birth" text,
"height" real,
"weight" real,
"spike" real,
"block" real
); | SELECT "name" FROM "volleyball_at_the_2004_summer_olympics_m" WHERE "spike">343 AND "date_of_birth"='02.03.1973'; | 2-15859432-5 |
What was the date of the Paco Rabanne Open de France? | CREATE TABLE "european_tour_wins_14" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "date" FROM "european_tour_wins_14" WHERE "tournament"='paco rabanne open de france'; | 2-157447-5 |
On which date did Ian Mosey finish runner-up? | CREATE TABLE "european_tour_wins_14" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "date" FROM "european_tour_wins_14" WHERE "runner_s_up"='ian mosey'; | 2-157447-5 |
What set 2 has a set 4 of 21-25? | CREATE TABLE "results_pool_d" (
"date" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
"set_4" text,
"set_5" text,
"total" text
); | SELECT "set_2" FROM "results_pool_d" WHERE "set_4"='21-25'; | 2-15945725-9 |
What was the score when set 3 was 26-28? | CREATE TABLE "results_pool_d" (
"date" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
"set_4" text,
"set_5" text,
"total" text
); | SELECT "score" FROM "results_pool_d" WHERE "set_3"='26-28'; | 2-15945725-9 |
When was set 3 of 18-25? | CREATE TABLE "results_pool_d" (
"date" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
"set_4" text,
"set_5" text,
"total" text
); | SELECT "date" FROM "results_pool_d" WHERE "set_3"='18-25'; | 2-15945725-9 |
Who was the away captain with a result of Eng by 1 wkt? | CREATE TABLE "england_in_australia_1907_8" (
"date" text,
"home_captain" text,
"away_captain" text,
"venue" text,
"result" text
); | SELECT "away_captain" FROM "england_in_australia_1907_8" WHERE "result"='eng by 1 wkt'; | 2-1598207-8 |
On what date was the result Eng by 1 wkt? | CREATE TABLE "england_in_australia_1907_8" (
"date" text,
"home_captain" text,
"away_captain" text,
"venue" text,
"result" text
); | SELECT "date" FROM "england_in_australia_1907_8" WHERE "result"='eng by 1 wkt'; | 2-1598207-8 |
On what date was Arthur Jones the away captain at Sydney Cricket Ground? | CREATE TABLE "england_in_australia_1907_8" (
"date" text,
"home_captain" text,
"away_captain" text,
"venue" text,
"result" text
); | SELECT "date" FROM "england_in_australia_1907_8" WHERE "away_captain"='arthur jones' AND "venue"='sydney cricket ground'; | 2-1598207-8 |
What was the birthplace of the player who was part of the Blind River Hockey Club team between 1963-1964? | CREATE TABLE "list_of_united_states_national_ice_hocke" (
"name" text,
"height_cm" real,
"weight_kg" real,
"birthdate" text,
"birthplace" text,
"1963_1964_team" text
); | SELECT "birthplace" FROM "list_of_united_states_national_ice_hocke" WHERE "1963_1964_team"='blind river hockey club'; | 2-15715109-9 |
What is the highest place for song that was draw number 6? | CREATE TABLE "spokespersons" (
"draw" real,
"artist" text,
"song" text,
"first_vote" real,
"place" real
); | SELECT MAX("place") FROM "spokespersons" WHERE "draw"=6; | 2-15668066-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.