question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
What are the notes where the authors are Zhou & Zhang? | CREATE TABLE "birds" (
"name" text,
"novelty" text,
"status" text,
"authors" text,
"unit" text,
"location" text,
"notes" text
); | SELECT "notes" FROM "birds" WHERE "authors"='zhou & zhang'; | 2-15313494-3 |
What is the status where the notes are possible jr synonym of sapeornis? | CREATE TABLE "birds" (
"name" text,
"novelty" text,
"status" text,
"authors" text,
"unit" text,
"location" text,
"notes" text
); | SELECT "status" FROM "birds" WHERE "notes"='possible jr synonym of sapeornis'; | 2-15313494-3 |
What is the average Top-5 finishes with 2 as the Top-10 and a greater than 4 Top-25? | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_5" real,
"top_10" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT AVG("top_5") FROM "summary" WHERE "top_10"=2 AND "top_25">4; | 2-1570274-4 |
What are the least Top-5 finish when the events are greater than 18? | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_5" real,
"top_10" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT MIN("top_5") FROM "summary" WHERE "events">18; | 2-1570274-4 |
What is the total of wins when the evens is less than 3? | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_5" real,
"top_10" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT SUM("wins") FROM "summary" WHERE "events"<3; | 2-1570274-4 |
How many cuts made when the Top-10 is larger than 1, and the wins greater than 0, and a Top-5 greater than 2, when the events is greater than 18? | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_5" real,
"top_10" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT COUNT("cuts_made") FROM "summary" WHERE "top_10">1 AND "wins">0 AND "top_5">2 AND "events">18; | 2-1570274-4 |
What years did Omar Sneed play? | CREATE TABLE "s" (
"name" text,
"position" text,
"number" real,
"school_club_team" text,
"season" text,
"acquisition_via" text
); | SELECT "season" FROM "s" WHERE "name"='omar sneed'; | 2-15463188-17 |
Which season did Jovy Sese play? | CREATE TABLE "s" (
"name" text,
"position" text,
"number" real,
"school_club_team" text,
"season" text,
"acquisition_via" text
); | SELECT "season" FROM "s" WHERE "name"='jovy sese'; | 2-15463188-17 |
How did the School/Club Team of Manuel Luis Quezon acquire their Forward? | CREATE TABLE "s" (
"name" text,
"position" text,
"number" real,
"school_club_team" text,
"season" text,
"acquisition_via" text
); | SELECT "acquisition_via" FROM "s" WHERE "position"='forward' AND "school_club_team"='manuel luis quezon'; | 2-15463188-17 |
Which School/ Club Team acquired Jondan Salvador via trade? | CREATE TABLE "s" (
"name" text,
"position" text,
"number" real,
"school_club_team" text,
"season" text,
"acquisition_via" text
); | SELECT "school_club_team" FROM "s" WHERE "acquisition_via"='trade' AND "name"='jondan salvador'; | 2-15463188-17 |
What is the Points with a Played larger than 14? | CREATE TABLE "apea_s_campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT COUNT("points") FROM "apea_s_campeonato_paulista" WHERE "played">14; | 2-15358573-1 |
What is the Points with an Against smaller than 16? | CREATE TABLE "apea_s_campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT AVG("points") FROM "apea_s_campeonato_paulista" WHERE "against"<16; | 2-15358573-1 |
Which Team has a Lost larger than 2, and a Position smaller than 7, and a Drawn smaller than 2, and a Points of 22? | CREATE TABLE "apea_s_campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT "team" FROM "apea_s_campeonato_paulista" WHERE "lost">2 AND "position"<7 AND "drawn"<2 AND "points"=22; | 2-15358573-1 |
Which Points has a Position of 3, and a Drawn smaller than 2? | CREATE TABLE "apea_s_campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT MAX("points") FROM "apea_s_campeonato_paulista" WHERE "position"=3 AND "drawn"<2; | 2-15358573-1 |
Which Played has a Points of 2, and a Position smaller than 8? | CREATE TABLE "apea_s_campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT AVG("played") FROM "apea_s_campeonato_paulista" WHERE "points"=2 AND "position"<8; | 2-15358573-1 |
How many average plays have points greater than 14, with an against greater than 17? | CREATE TABLE "campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT AVG("played") FROM "campeonato_paulista" WHERE "points">14 AND "against">17; | 2-15420044-1 |
Which average against has a lost less than 1? | CREATE TABLE "campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT AVG("against") FROM "campeonato_paulista" WHERE "lost"<1; | 2-15420044-1 |
Which of the highest drawn has a played less than 10? | CREATE TABLE "campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT MAX("drawn") FROM "campeonato_paulista" WHERE "played"<10; | 2-15420044-1 |
How many played have 3 as the drawn, and a position greater than 4? | CREATE TABLE "campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT COUNT("played") FROM "campeonato_paulista" WHERE "drawn"=3 AND "position">4; | 2-15420044-1 |
Who sang the song composed by Mariah Carey and Walter Afanasieff? | CREATE TABLE "most_played_songs" (
"rank" real,
"song_title" text,
"composer_s" text,
"performer_s" text,
"year" real
); | SELECT "performer_s" FROM "most_played_songs" WHERE "composer_s"='mariah carey and walter afanasieff'; | 2-153569-2 |
How many years was Louis Armstrong performing? | CREATE TABLE "most_played_songs" (
"rank" real,
"song_title" text,
"composer_s" text,
"performer_s" text,
"year" real
); | SELECT COUNT("year") FROM "most_played_songs" WHERE "performer_s"='louis armstrong'; | 2-153569-2 |
Who were the Runner(s)-up with the winning score of −16 (66-68-70-68=272)? | CREATE TABLE "champions_tour_wins_8" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "runner_s_up" FROM "champions_tour_wins_8" WHERE "winning_score"='−16 (66-68-70-68=272)'; | 2-1601826-4 |
What tournament had a winning score of −27 (64-64-61=189)? | CREATE TABLE "champions_tour_wins_8" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "tournament" FROM "champions_tour_wins_8" WHERE "winning_score"='−27 (64-64-61=189)'; | 2-1601826-4 |
What tournament had a runner(s)-up of Scott Hoch & Kenny Perry? | CREATE TABLE "champions_tour_wins_8" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "tournament" FROM "champions_tour_wins_8" WHERE "runner_s_up"='scott hoch & kenny perry'; | 2-1601826-4 |
What tournament had a Runner(s)-up of Tom Kite? | CREATE TABLE "champions_tour_wins_8" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "tournament" FROM "champions_tour_wins_8" WHERE "runner_s_up"='tom kite'; | 2-1601826-4 |
What is the date of the Outback Steakhouse Pro-Am Tournament? | CREATE TABLE "champions_tour_wins_8" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "date" FROM "champions_tour_wins_8" WHERE "tournament"='outback steakhouse pro-am'; | 2-1601826-4 |
Which tournament has a Runner(s)-up of Gary McCord? | CREATE TABLE "champions_tour_wins_8" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "tournament" FROM "champions_tour_wins_8" WHERE "runner_s_up"='gary mccord'; | 2-1601826-4 |
What was the location of the game with a score of 2:3? | CREATE TABLE "2011_fixtures_and_results" (
"date" text,
"tournament" text,
"location" text,
"home_team" text,
"score" text,
"away_team" text
); | SELECT "location" FROM "2011_fixtures_and_results" WHERE "score"='2:3'; | 2-15630550-3 |
What was the location of the home game for Slovakia? | CREATE TABLE "2011_fixtures_and_results" (
"date" text,
"tournament" text,
"location" text,
"home_team" text,
"score" text,
"away_team" text
); | SELECT "location" FROM "2011_fixtures_and_results" WHERE "home_team"='slovakia'; | 2-15630550-3 |
What was the tournament where Japan was the home team and Mexico was the away team? | CREATE TABLE "2011_fixtures_and_results" (
"date" text,
"tournament" text,
"location" text,
"home_team" text,
"score" text,
"away_team" text
); | SELECT "tournament" FROM "2011_fixtures_and_results" WHERE "away_team"='mexico' AND "home_team"='japan'; | 2-15630550-3 |
What was the location of the home game for Japan? | CREATE TABLE "2011_fixtures_and_results" (
"date" text,
"tournament" text,
"location" text,
"home_team" text,
"score" text,
"away_team" text
); | SELECT "location" FROM "2011_fixtures_and_results" WHERE "home_team"='japan'; | 2-15630550-3 |
Who was the Runner-up in Hossegor? | CREATE TABLE "tournaments" (
"date" text,
"location" text,
"country" text,
"event" text,
"winner" text,
"runner_up" text
); | SELECT "runner_up" FROM "tournaments" WHERE "location"='hossegor'; | 2-16135219-1 |
On what Date was the Tournament in Gold Coast? | CREATE TABLE "tournaments" (
"date" text,
"location" text,
"country" text,
"event" text,
"winner" text,
"runner_up" text
); | SELECT "date" FROM "tournaments" WHERE "location"='gold coast'; | 2-16135219-1 |
Who was the Winner of the French Polynesia Billabong Pro Event? | CREATE TABLE "tournaments" (
"date" text,
"location" text,
"country" text,
"event" text,
"winner" text,
"runner_up" text
); | SELECT "winner" FROM "tournaments" WHERE "event"='billabong pro' AND "country"='french polynesia'; | 2-16135219-1 |
What shows for 2010 when 2007 is a and 2004 is 2r? | CREATE TABLE "doubles_performance_timeline" (
"tournament" text,
"2002" text,
"2003" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "2010" FROM "doubles_performance_timeline" WHERE "2007"='a' AND "2004"='2r'; | 2-1549452-3 |
What is the 2005 when the 2008 shows grand slam tournaments? | CREATE TABLE "doubles_performance_timeline" (
"tournament" text,
"2002" text,
"2003" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "2005" FROM "doubles_performance_timeline" WHERE "2008"='grand slam tournaments'; | 2-1549452-3 |
What shows for 2002 when 2010 shows 69? | CREATE TABLE "doubles_performance_timeline" (
"tournament" text,
"2002" text,
"2003" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "2002" FROM "doubles_performance_timeline" WHERE "2010"='69'; | 2-1549452-3 |
What shows for 2010 when 2005 shows 1r? | CREATE TABLE "doubles_performance_timeline" (
"tournament" text,
"2002" text,
"2003" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "2010" FROM "doubles_performance_timeline" WHERE "2005"='1r'; | 2-1549452-3 |
What is the highest number of draws with more than 15 points, an against of 19, and less than 3 losses? | CREATE TABLE "laf_s_campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT MAX("drawn") FROM "laf_s_campeonato_paulista" WHERE "points">15 AND "against"=19 AND "lost"<3; | 2-15385631-2 |
What stage (winner) has thor hushovd as a general classification, and trent lowe as a rider classification? | CREATE TABLE "jersey_progress" (
"stage_winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"young_rider_classification" text,
"team_classification" text
); | SELECT "stage_winner" FROM "jersey_progress" WHERE "general_classification"='thor hushovd' AND "young_rider_classification"='trent lowe'; | 2-15683301-18 |
What stage (winner) has quick step as the team classification, and trent lowe as the young rider classification? | CREATE TABLE "jersey_progress" (
"stage_winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"young_rider_classification" text,
"team_classification" text
); | SELECT "stage_winner" FROM "jersey_progress" WHERE "team_classification"='quick step' AND "young_rider_classification"='trent lowe'; | 2-15683301-18 |
What is the 2000-2001 Team with a Jersey # that is 19? | CREATE TABLE "list_of_united_states_national_ice_hocke" (
"position" text,
"jersey_num" real,
"name" text,
"height_cm" real,
"weight_kg" real,
"birthdate" text,
"birthplace" text,
"2000_2001_team" text,
"nhl_rights" text
); | SELECT "2000_2001_team" FROM "list_of_united_states_national_ice_hocke" WHERE "jersey_num"=19; | 2-15715109-45 |
What is the average number of ties for years with more than 19 wins? | CREATE TABLE "performance_summary_in_indian_premier_le" (
"year" text,
"matches" real,
"wins" real,
"losses" real,
"no_result" real,
"tied" real,
"success_rate" text
); | SELECT AVG("tied") FROM "performance_summary_in_indian_premier_le" WHERE "wins">19; | 2-15829930-5 |
What is the total number of losses for years with fewer than 9 wins? | CREATE TABLE "performance_summary_in_indian_premier_le" (
"year" text,
"matches" real,
"wins" real,
"losses" real,
"no_result" real,
"tied" real,
"success_rate" text
); | SELECT COUNT("losses") FROM "performance_summary_in_indian_premier_le" WHERE "wins"<9; | 2-15829930-5 |
What is the total number of Division(s), when Team is Chongqing Lifan, and when Apps is greater than 9? | CREATE TABLE "career_statistics" (
"season" text,
"team" text,
"country" text,
"division" real,
"apps" real,
"goals" real
); | SELECT COUNT("division") FROM "career_statistics" WHERE "team"='chongqing lifan' AND "apps">9; | 2-16030156-1 |
What is Season, when Country is China, when Team is Dalian Shide, when Apps is greater than 8, and when Goals is 2? | CREATE TABLE "career_statistics" (
"season" text,
"team" text,
"country" text,
"division" real,
"apps" real,
"goals" real
); | SELECT "season" FROM "career_statistics" WHERE "country"='china' AND "team"='dalian shide' AND "apps">8 AND "goals"=2; | 2-16030156-1 |
What is the highest Apps, when Goals are greater than 5? | CREATE TABLE "career_statistics" (
"season" text,
"team" text,
"country" text,
"division" real,
"apps" real,
"goals" real
); | SELECT MAX("apps") FROM "career_statistics" WHERE "goals">5; | 2-16030156-1 |
What Season, when Country is China, when Team is Dalian Shide, and when Goals are 0? | CREATE TABLE "career_statistics" (
"season" text,
"team" text,
"country" text,
"division" real,
"apps" real,
"goals" real
); | SELECT "season" FROM "career_statistics" WHERE "country"='china' AND "team"='dalian shide' AND "goals"=0; | 2-16030156-1 |
What is the total number of Division(s), when Country is China, when Apps is greater than 9, and when Season is 2008? | CREATE TABLE "career_statistics" (
"season" text,
"team" text,
"country" text,
"division" real,
"apps" real,
"goals" real
); | SELECT COUNT("division") FROM "career_statistics" WHERE "country"='china' AND "apps">9 AND "season"='2008'; | 2-16030156-1 |
What is the lowest Division, when Goals are less than 10, when Team is Dalian Shide, when Apps are less than 17, and when Season is 2007? | CREATE TABLE "career_statistics" (
"season" text,
"team" text,
"country" text,
"division" real,
"apps" real,
"goals" real
); | SELECT MIN("division") FROM "career_statistics" WHERE "goals"<10 AND "team"='dalian shide' AND "apps"<17 AND "season"='2007'; | 2-16030156-1 |
What is the lowest area when the density is greater than 234.77, the population is less than 965,040, and the rank is 32? | CREATE TABLE "by_area" (
"rank" real,
"province" text,
"population" real,
"area" real,
"density" real
); | SELECT MIN("area") FROM "by_area" WHERE "density">234.77 AND "rank"=32 AND "population"<'965,040'; | 2-15707829-2 |
What is the lowest rank when the population is greater than 59,544 and the area is 1,395.5? | CREATE TABLE "by_area" (
"rank" real,
"province" text,
"population" real,
"area" real,
"density" real
); | SELECT MIN("rank") FROM "by_area" WHERE "population">'59,544' AND "area"='1,395.5'; | 2-15707829-2 |
What is the lowest population total in La Romana when the area is less than 1,788.4, the density is greater than 234.77, and a rank greater than 30 | CREATE TABLE "by_area" (
"rank" real,
"province" text,
"population" real,
"area" real,
"density" real
); | SELECT MIN("population") FROM "by_area" WHERE "area"<'1,788.4' AND "density">234.77 AND "province"='la romana' AND "rank">30; | 2-15707829-2 |
What is the Home with a Time that is 14:00? | CREATE TABLE "round_eight" (
"date" text,
"time" text,
"home" text,
"away" text,
"score" text,
"ground" text
); | SELECT "home" FROM "round_eight" WHERE "time"='14:00'; | 2-15764352-8 |
What is the Score with an Away that is high park demons? | CREATE TABLE "round_eight" (
"date" text,
"time" text,
"home" text,
"away" text,
"score" text,
"ground" text
); | SELECT "score" FROM "round_eight" WHERE "away"='high park demons'; | 2-15764352-8 |
What is the Score with a Hoe that is etobicoke kangaroos? | CREATE TABLE "round_eight" (
"date" text,
"time" text,
"home" text,
"away" text,
"score" text,
"ground" text
); | SELECT "score" FROM "round_eight" WHERE "home"='etobicoke kangaroos'; | 2-15764352-8 |
What is the Date with a Score that is 46-77? | CREATE TABLE "round_eight" (
"date" text,
"time" text,
"home" text,
"away" text,
"score" text,
"ground" text
); | SELECT "date" FROM "round_eight" WHERE "score"='46-77'; | 2-15764352-8 |
Which Pavilion depth has a Crown angle of 34.0–34.7°? | CREATE TABLE "proportions" (
"benchmark" text,
"crown_height" text,
"pavilion_depth" text,
"table_diameter" text,
"girdle_thickness" text,
"crown_angle" text,
"pavilion_angle" text,
"brilliance_grade" text
); | SELECT "pavilion_depth" FROM "proportions" WHERE "crown_angle"='34.0–34.7°'; | 2-1569512-1 |
Which Brilliance Grade has a Benchmark of practical fine cut? | CREATE TABLE "proportions" (
"benchmark" text,
"crown_height" text,
"pavilion_depth" text,
"table_diameter" text,
"girdle_thickness" text,
"crown_angle" text,
"pavilion_angle" text,
"brilliance_grade" text
); | SELECT "brilliance_grade" FROM "proportions" WHERE "benchmark"='practical fine cut'; | 2-1569512-1 |
Which Table diameter has a Crown height of 14.45%? | CREATE TABLE "proportions" (
"benchmark" text,
"crown_height" text,
"pavilion_depth" text,
"table_diameter" text,
"girdle_thickness" text,
"crown_angle" text,
"pavilion_angle" text,
"brilliance_grade" text
); | SELECT "table_diameter" FROM "proportions" WHERE "crown_height"='14.45%'; | 2-1569512-1 |
Which Brilliance Grade has a Crown angle of 41.1°? | CREATE TABLE "proportions" (
"benchmark" text,
"crown_height" text,
"pavilion_depth" text,
"table_diameter" text,
"girdle_thickness" text,
"crown_angle" text,
"pavilion_angle" text,
"brilliance_grade" text
); | SELECT "brilliance_grade" FROM "proportions" WHERE "crown_angle"='41.1°'; | 2-1569512-1 |
Which Pavilion depth has a Brilliance Grade of 100% and a Pavilion angle of n/a? | CREATE TABLE "proportions" (
"benchmark" text,
"crown_height" text,
"pavilion_depth" text,
"table_diameter" text,
"girdle_thickness" text,
"crown_angle" text,
"pavilion_angle" text,
"brilliance_grade" text
); | SELECT "pavilion_depth" FROM "proportions" WHERE "brilliance_grade"='100%' AND "pavilion_angle"='n/a'; | 2-1569512-1 |
What is the number of lost with 2 points? | CREATE TABLE "north_group" (
"team" text,
"match" real,
"points" real,
"draw" real,
"lost" real
); | SELECT COUNT("lost") FROM "north_group" WHERE "points"=2; | 2-15432872-5 |
What was the aggregate for the match with a team 2 of Kenya? | CREATE TABLE "preliminary_round" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "agg" FROM "preliminary_round" WHERE "team_2"='kenya'; | 2-15980495-1 |
What was the aggregate for the match with Sierra Leone as team 1? | CREATE TABLE "preliminary_round" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "agg" FROM "preliminary_round" WHERE "team_1"='sierra leone'; | 2-15980495-1 |
What was the 1st leg score for the match with Lesotho as team 1? | CREATE TABLE "preliminary_round" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "1st_leg" FROM "preliminary_round" WHERE "team_1"='lesotho'; | 2-15980495-1 |
What was the 2nd leg score for the match with Lesotho as team 1? | CREATE TABLE "preliminary_round" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "2nd_leg" FROM "preliminary_round" WHERE "team_1"='lesotho'; | 2-15980495-1 |
What is the total number of ladies ranked who had less than 3 silvers, less than 2 total medals, and more than 0 bronze medals? | CREATE TABLE "ladies" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT COUNT("rank") FROM "ladies" WHERE "silver"<3 AND "total"<2 AND "bronze">0; | 2-15409851-2 |
What is the total number of gold medals for the skater with less than 3 bronze medals, more than 0 silver medals and a rank smaller than 11? | CREATE TABLE "ladies" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT COUNT("gold") FROM "ladies" WHERE "bronze"<3 AND "rank"<11 AND "silver">0; | 2-15409851-2 |
What was Matthew Warchus' Award? | CREATE TABLE "original_broadway_production" (
"year" real,
"award" text,
"category" text,
"nominee" text,
"result" text
); | SELECT "award" FROM "original_broadway_production" WHERE "nominee"='matthew warchus'; | 2-16107095-2 |
What is the Format of the French Frequency with a Call sign of CKRL-FM? | CREATE TABLE "radio" (
"frequency" text,
"call_sign" text,
"format" text,
"owner" text,
"notes" text
); | SELECT "format" FROM "radio" WHERE "notes"='french' AND "call_sign"='ckrl-fm'; | 2-16166231-1 |
What is the Format of the Frequency owned by Laval University? | CREATE TABLE "radio" (
"frequency" text,
"call_sign" text,
"format" text,
"owner" text,
"notes" text
); | SELECT "format" FROM "radio" WHERE "owner"='laval university'; | 2-16166231-1 |
What is the Notes of the Frequency with Format of talk radio? | CREATE TABLE "radio" (
"frequency" text,
"call_sign" text,
"format" text,
"owner" text,
"notes" text
); | SELECT "notes" FROM "radio" WHERE "format"='talk radio'; | 2-16166231-1 |
What is the Notes of the Frequency with a Format of soft adult contemporary? | CREATE TABLE "radio" (
"frequency" text,
"call_sign" text,
"format" text,
"owner" text,
"notes" text
); | SELECT "notes" FROM "radio" WHERE "format"='soft adult contemporary'; | 2-16166231-1 |
How many chart runs had a debut position of more than 7 when peak position was 11? | CREATE TABLE "taiwan" (
"chart" text,
"single_title" text,
"debut_position" real,
"peak_position" real,
"chart_run" real
); | SELECT COUNT("chart_run") FROM "taiwan" WHERE "debut_position">7 AND "peak_position"=11; | 2-15936880-2 |
Which Spoofed title had Mort Drucker as the artist in issue 88? | CREATE TABLE "1960s" (
"spoofed_title" text,
"writer" text,
"artist" text,
"issue" real,
"date" text
); | SELECT "spoofed_title" FROM "1960s" WHERE "artist"='mort drucker' AND "issue"=88; | 2-15860633-5 |
Who was the artist for Spoofed title Genteel Ben in an issue later than 74? | CREATE TABLE "1960s" (
"spoofed_title" text,
"writer" text,
"artist" text,
"issue" real,
"date" text
); | SELECT "artist" FROM "1960s" WHERE "issue">74 AND "spoofed_title"='genteel ben'; | 2-15860633-5 |
Which issue was the Spoofed title Route 67 for which Mort Drucker was the artist? | CREATE TABLE "1960s" (
"spoofed_title" text,
"writer" text,
"artist" text,
"issue" real,
"date" text
); | SELECT SUM("issue") FROM "1960s" WHERE "artist"='mort drucker' AND "spoofed_title"='route 67'; | 2-15860633-5 |
What is the earliest issue Arnie Kogen wrote for in December 1964? | CREATE TABLE "1960s" (
"spoofed_title" text,
"writer" text,
"artist" text,
"issue" real,
"date" text
); | SELECT MIN("issue") FROM "1960s" WHERE "writer"='arnie kogen' AND "date"='december 1964'; | 2-15860633-5 |
What are the highest points that have a difference of 8, with a position less than 4? | CREATE TABLE "campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT MAX("points") FROM "campeonato_paulista" WHERE "difference"='8' AND "position"<4; | 2-15402903-1 |
How many losses have corinthians as the team, with an against greater than 26? | CREATE TABLE "campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT SUM("lost") FROM "campeonato_paulista" WHERE "team"='corinthians' AND "against">26; | 2-15402903-1 |
How many points have a difference of 23, with a drawn less than 5? | CREATE TABLE "campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT COUNT("points") FROM "campeonato_paulista" WHERE "difference"='23' AND "drawn"<5; | 2-15402903-1 |
How many positions have 15 for the points, with a drawn less than 3? | CREATE TABLE "campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT SUM("position") FROM "campeonato_paulista" WHERE "points"=15 AND "drawn"<3; | 2-15402903-1 |
What was the result of the match held when his record was 7-0-0? | CREATE TABLE "kickboxing_record" (
"result" text,
"record" text,
"opponent" text,
"method" text,
"date" text,
"round" real,
"notes" text
); | SELECT "result" FROM "kickboxing_record" WHERE "record"='7-0-0'; | 2-16055831-1 |
What do the notes say for 1989 May 7? | CREATE TABLE "kickboxing_record" (
"result" text,
"record" text,
"opponent" text,
"method" text,
"date" text,
"round" real,
"notes" text
); | SELECT "notes" FROM "kickboxing_record" WHERE "date"='1989 may 7'; | 2-16055831-1 |
How did he beat Alberto Rodriguez? | CREATE TABLE "kickboxing_record" (
"result" text,
"record" text,
"opponent" text,
"method" text,
"date" text,
"round" real,
"notes" text
); | SELECT "method" FROM "kickboxing_record" WHERE "opponent"='alberto rodriguez'; | 2-16055831-1 |
What was his record in 1987? | CREATE TABLE "kickboxing_record" (
"result" text,
"record" text,
"opponent" text,
"method" text,
"date" text,
"round" real,
"notes" text
); | SELECT "record" FROM "kickboxing_record" WHERE "date"='1987'; | 2-16055831-1 |
What is the lowest total that has barbados as the nation with a bronze greater than 0? | CREATE TABLE "all_time_medal_table" (
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MIN("total") FROM "all_time_medal_table" WHERE "nation"='barbados' AND "bronze">0; | 2-15580283-2 |
How many silvers have a gold greater than 2, a bronze less than 35, china as the nation, with a total greater than 26? | CREATE TABLE "all_time_medal_table" (
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT COUNT("silver") FROM "all_time_medal_table" WHERE "gold">2 AND "bronze"<35 AND "nation"='china' AND "total">26; | 2-15580283-2 |
What is the largest total that has a gold less than 0? | CREATE TABLE "all_time_medal_table" (
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MAX("total") FROM "all_time_medal_table" WHERE "gold"<0; | 2-15580283-2 |
How many golds have a silver greater than 1, vietnam as the nation, with a bronze less than 3? | CREATE TABLE "all_time_medal_table" (
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT COUNT("gold") FROM "all_time_medal_table" WHERE "silver">1 AND "nation"='vietnam' AND "bronze"<3; | 2-15580283-2 |
Which Wins has a Country of new zealand and a Last title larger than 1968? | CREATE TABLE "champions_by_nationality" (
"rank" text,
"country" text,
"wins" real,
"winners" real,
"first_title" real,
"last_title" real
); | SELECT MIN("wins") FROM "champions_by_nationality" WHERE "country"='new zealand' AND "last_title">1968; | 2-1558809-5 |
What is the total of Last title that has Wins smaller than 71 and a First title larger than 1968 and a Country of fiji? | CREATE TABLE "champions_by_nationality" (
"rank" text,
"country" text,
"wins" real,
"winners" real,
"first_title" real,
"last_title" real
); | SELECT COUNT("last_title") FROM "champions_by_nationality" WHERE "wins"<71 AND "first_title">1968 AND "country"='fiji'; | 2-1558809-5 |
Which First title has Wins smaller than 8 and in Canada? | CREATE TABLE "champions_by_nationality" (
"rank" text,
"country" text,
"wins" real,
"winners" real,
"first_title" real,
"last_title" real
); | SELECT COUNT("first_title") FROM "champions_by_nationality" WHERE "wins"<8 AND "country"='canada'; | 2-1558809-5 |
How many Winners have Wins of 1 and a Country of fiji and a First title smaller than 2004? | CREATE TABLE "champions_by_nationality" (
"rank" text,
"country" text,
"wins" real,
"winners" real,
"first_title" real,
"last_title" real
); | SELECT AVG("winners") FROM "champions_by_nationality" WHERE "wins"=1 AND "country"='fiji' AND "first_title"<2004; | 2-1558809-5 |
What is the latest opened year of the team in Glasgow, Scotland? | CREATE TABLE "stadiums" (
"team" text,
"stadium" text,
"capacity" real,
"opened" real,
"city" text
); | SELECT MAX("opened") FROM "stadiums" WHERE "city"='glasgow, scotland'; | 2-160994-4 |
What is the average opened year of Mini Estadi stadium in Barcelona, Spain? | CREATE TABLE "stadiums" (
"team" text,
"stadium" text,
"capacity" real,
"opened" real,
"city" text
); | SELECT AVG("opened") FROM "stadiums" WHERE "city"='barcelona, spain' AND "stadium"='mini estadi'; | 2-160994-4 |
What is the lowest win percentage for teams with more than 23 losses and more than 386 goals for? | CREATE TABLE "season_by_season_results" (
"season" text,
"league" text,
"games" real,
"lost" real,
"tied" real,
"points" real,
"winning_pct" real,
"goals_for" real,
"goals_against" real,
"standing" text
); | SELECT MIN("winning_pct") FROM "season_by_season_results" WHERE "lost">23 AND "goals_for">386; | 2-15412194-1 |
What is the total number of losses for teams with less than 5 ties and more than 330 goals for? | CREATE TABLE "season_by_season_results" (
"season" text,
"league" text,
"games" real,
"lost" real,
"tied" real,
"points" real,
"winning_pct" real,
"goals_for" real,
"goals_against" real,
"standing" text
); | SELECT COUNT("lost") FROM "season_by_season_results" WHERE "tied"<5 AND "goals_for">330; | 2-15412194-1 |
What is the Score of the Competition with a Result of 5-0? | CREATE TABLE "goals_for_senior_national_team" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "score" FROM "goals_for_senior_national_team" WHERE "result"='5-0'; | 2-15532127-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.