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 location when the champion is brigham young-hawaii, defeated is western oregon and the score is 3-0 (15-5, 15-9, 15-6)? | CREATE TABLE "external_links" (
"year" real,
"champion" text,
"score" text,
"defeated" text,
"location" text
); | SELECT "location" FROM "external_links" WHERE "champion"='brigham young-hawaii' AND "defeated"='western oregon' AND "score"='3-0 (15-5, 15-9, 15-6)'; | 2-13281014-1 |
what is the year when the location is san diego, california and defeated is houston baptist (texas)? | CREATE TABLE "external_links" (
"year" real,
"champion" text,
"score" text,
"defeated" text,
"location" text
); | SELECT COUNT("year") FROM "external_links" WHERE "location"='san diego, california' AND "defeated"='houston baptist (texas)'; | 2-13281014-1 |
Operation start of 2015 has what gross mw? | CREATE TABLE "units" (
"unit" text,
"type" text,
"gross_mw" text,
"construction_start" text,
"operation_start" text
); | SELECT "gross_mw" FROM "units" WHERE "operation_start"='2015'; | 2-12901997-1 |
Gross MW of 220, and a Unit of kakrapar 1 involves what operation start? | CREATE TABLE "units" (
"unit" text,
"type" text,
"gross_mw" text,
"construction_start" text,
"operation_start" text
); | SELECT "operation_start" FROM "units" WHERE "gross_mw"='220' AND "unit"='kakrapar 1'; | 2-12901997-1 |
Type of phase ii has what gross mw? | CREATE TABLE "units" (
"unit" text,
"type" text,
"gross_mw" text,
"construction_start" text,
"operation_start" text
); | SELECT "gross_mw" FROM "units" WHERE "type"='phase ii'; | 2-12901997-1 |
Construction start of phase i includes what type? | CREATE TABLE "units" (
"unit" text,
"type" text,
"gross_mw" text,
"construction_start" text,
"operation_start" text
); | SELECT "type" FROM "units" WHERE "construction_start"='phase i'; | 2-12901997-1 |
Construction start of 1 december 1984 is what unit? | CREATE TABLE "units" (
"unit" text,
"type" text,
"gross_mw" text,
"construction_start" text,
"operation_start" text
); | SELECT "unit" FROM "units" WHERE "construction_start"='1 december 1984'; | 2-12901997-1 |
Construction start of phase ii has what operation start? | CREATE TABLE "units" (
"unit" text,
"type" text,
"gross_mw" text,
"construction_start" text,
"operation_start" text
); | SELECT "operation_start" FROM "units" WHERE "construction_start"='phase ii'; | 2-12901997-1 |
what's the ungen for ត្រីទស? | CREATE TABLE "sanskrit_and_pali_influence" (
"value" text,
"khmer" text,
"word_form" text,
"ungegn" text,
"ala_lc" text,
"notes" text
); | SELECT "ungegn" FROM "sanskrit_and_pali_influence" WHERE "word_form"='ត្រីទស'; | 2-1270572-9 |
what notes have the khmer ២៨? | CREATE TABLE "sanskrit_and_pali_influence" (
"value" text,
"khmer" text,
"word_form" text,
"ungegn" text,
"ala_lc" text,
"notes" text
); | SELECT "notes" FROM "sanskrit_and_pali_influence" WHERE "khmer"='២៨'; | 2-1270572-9 |
what's the ungegn for the ១០០ khmer? | CREATE TABLE "sanskrit_and_pali_influence" (
"value" text,
"khmer" text,
"word_form" text,
"ungegn" text,
"ala_lc" text,
"notes" text
); | SELECT "ungegn" FROM "sanskrit_and_pali_influence" WHERE "khmer"='១០០'; | 2-1270572-9 |
What was the population of Puerto Rico in 2010? | CREATE TABLE "inhabited_territories_of_the_united_stat" (
"territory" text,
"abbr" text,
"capital" text,
"acquired" real,
"territorial_status" text,
"population_2010" real,
"house_seat" real
); | SELECT MAX("population_2010") FROM "inhabited_territories_of_the_united_stat" WHERE "territory"='puerto rico'; | 2-12610470-3 |
What is the territory that was acquired past 1899 and has a capital of saipan? | CREATE TABLE "inhabited_territories_of_the_united_stat" (
"territory" text,
"abbr" text,
"capital" text,
"acquired" real,
"territorial_status" text,
"population_2010" real,
"house_seat" real
); | SELECT "territory" FROM "inhabited_territories_of_the_united_stat" WHERE "acquired">1899 AND "capital"='saipan'; | 2-12610470-3 |
Name the termination of mission for appointed by of franklin pierce | CREATE TABLE "see_also" (
"representative" text,
"title" text,
"presentation_of_credentials" text,
"termination_of_mission" text,
"appointed_by" text
); | SELECT "termination_of_mission" FROM "see_also" WHERE "appointed_by"='franklin pierce'; | 2-12894445-1 |
Name the representative with presentation of credentials of august 16, 1928 | CREATE TABLE "see_also" (
"representative" text,
"title" text,
"presentation_of_credentials" text,
"termination_of_mission" text,
"appointed_by" text
); | SELECT "representative" FROM "see_also" WHERE "presentation_of_credentials"='august 16, 1928'; | 2-12894445-1 |
Name the representative appointed by george w. bush with presentation of credentials 9 november 2007 | CREATE TABLE "see_also" (
"representative" text,
"title" text,
"presentation_of_credentials" text,
"termination_of_mission" text,
"appointed_by" text
); | SELECT "representative" FROM "see_also" WHERE "appointed_by"='george w. bush' AND "presentation_of_credentials"='9 november 2007'; | 2-12894445-1 |
Name the title with representative edward h. strobel | CREATE TABLE "see_also" (
"representative" text,
"title" text,
"presentation_of_credentials" text,
"termination_of_mission" text,
"appointed_by" text
); | SELECT "title" FROM "see_also" WHERE "representative"='edward h. strobel'; | 2-12894445-1 |
Which Country that has 600? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "country" FROM "final_round" WHERE "money"=600; | 2-13073611-4 |
What is the to par that has macdonald smith as the player? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "to_par" FROM "second_round" WHERE "player"='macdonald smith'; | 2-12572213-3 |
Which country has t6 as a place and 75-70=145 as the score? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "country" FROM "second_round" WHERE "place"='t6' AND "score"='75-70=145'; | 2-12572213-3 |
What is the to par that has jimmy hines as the player? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "to_par" FROM "second_round" WHERE "player"='jimmy hines'; | 2-12572213-3 |
Which score has t3 as the place? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "score" FROM "second_round" WHERE "place"='t3'; | 2-12572213-3 |
Which place has horton smith as the player? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "place" FROM "second_round" WHERE "player"='horton smith'; | 2-12572213-3 |
Which place has United States as the country and Craig Wood as the player? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "place" FROM "second_round" WHERE "country"='united states' AND "player"='craig wood'; | 2-12572213-3 |
What was the 2013 finish for the tournament that had a 2007 finish of A? | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text,
"2013" text
); | SELECT "2013" FROM "singles_performance_timeline" WHERE "2007"='a'; | 2-13117332-3 |
What was the 2012 finish in the US Open? | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text,
"2013" text
); | SELECT "2012" FROM "singles_performance_timeline" WHERE "tournament"='us open'; | 2-13117332-3 |
Which tournament had a 2010 finish of 4R? | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text,
"2013" text
); | SELECT "tournament" FROM "singles_performance_timeline" WHERE "2010"='4r'; | 2-13117332-3 |
Name the 18th september 2007-19:45 with preston north end of watford | CREATE TABLE "the_championship" (
"18_september_2007_19_45" text,
"preston_north_end" text,
"home" text,
"won_2_1" text,
"5_754" real
); | SELECT "18_september_2007_19_45" FROM "the_championship" WHERE "preston_north_end"='watford'; | 2-13225042-2 |
Name the won 2-1 for preston north end of preston | CREATE TABLE "the_championship" (
"18_september_2007_19_45" text,
"preston_north_end" text,
"home" text,
"won_2_1" text,
"5_754" real
); | SELECT "won_2_1" FROM "the_championship" WHERE "preston_north_end"='preston'; | 2-13225042-2 |
What is the qualification for rank of 29 in 1957? | CREATE TABLE "indy_500_results" (
"year" text,
"start" text,
"qual" text,
"rank" text,
"finish" text,
"laps" real
); | SELECT "qual" FROM "indy_500_results" WHERE "rank"='29' AND "year"='1957'; | 2-1252234-1 |
What is the Place when the To par was +3 and Score was 74-73=147? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "place" FROM "second_round" WHERE "to_par"='+3' AND "score"='74-73=147'; | 2-13081314-2 |
When the To par is E, what is the Score? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "score" FROM "second_round" WHERE "to_par"='e'; | 2-13081314-2 |
What was Lloyd Mangrum's Score? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "score" FROM "second_round" WHERE "player"='lloyd mangrum'; | 2-13081314-2 |
What Dave Douglas' Place? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "place" FROM "second_round" WHERE "player"='dave douglas'; | 2-13081314-2 |
What's Chick Harbert's To par? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "to_par" FROM "second_round" WHERE "player"='chick harbert'; | 2-13081314-2 |
What United States Player has a To par of +4 and a Score of 71-77=148? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "player" FROM "second_round" WHERE "country"='united states' AND "to_par"='+4' AND "score"='71-77=148'; | 2-13081314-2 |
What is South Korea's to par value? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "to_par" FROM "final_round" WHERE "country"='south korea'; | 2-12475284-7 |
What are Tiger Woods' average earnings? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT AVG("money") FROM "final_round" WHERE "player"='tiger woods'; | 2-12475284-7 |
What's the method for a record of 4-2 and round smaller than 3? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"round" real,
"time" text,
"location" text
); | SELECT "method" FROM "mixed_martial_arts_record" WHERE "round"<3 AND "record"='4-2'; | 2-12149929-2 |
Where's the location for the opponent James Zikic and 3 rounds? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"round" real,
"time" text,
"location" text
); | SELECT "location" FROM "mixed_martial_arts_record" WHERE "round"=3 AND "opponent"='james zikic'; | 2-12149929-2 |
Name the spouse for louise of hesse-kassel | CREATE TABLE "house_of_schleswig_holstein_sonderburg_g" (
"name" text,
"birth" text,
"marriage" text,
"became_consort" text,
"ceased_to_be_consort" text,
"spouse" text
); | SELECT "spouse" FROM "house_of_schleswig_holstein_sonderburg_g" WHERE "name"='louise of hesse-kassel'; | 2-12418234-6 |
Name the became consort for christian ix spouse | CREATE TABLE "house_of_schleswig_holstein_sonderburg_g" (
"name" text,
"birth" text,
"marriage" text,
"became_consort" text,
"ceased_to_be_consort" text,
"spouse" text
); | SELECT "became_consort" FROM "house_of_schleswig_holstein_sonderburg_g" WHERE "spouse"='christian ix'; | 2-12418234-6 |
Name the marriagefor ceased to be consort of 29 september 1898 | CREATE TABLE "house_of_schleswig_holstein_sonderburg_g" (
"name" text,
"birth" text,
"marriage" text,
"became_consort" text,
"ceased_to_be_consort" text,
"spouse" text
); | SELECT "marriage" FROM "house_of_schleswig_holstein_sonderburg_g" WHERE "ceased_to_be_consort"='29 september 1898'; | 2-12418234-6 |
Tell me the name of the person married to frederick ix | CREATE TABLE "house_of_schleswig_holstein_sonderburg_g" (
"name" text,
"birth" text,
"marriage" text,
"became_consort" text,
"ceased_to_be_consort" text,
"spouse" text
); | SELECT "name" FROM "house_of_schleswig_holstein_sonderburg_g" WHERE "spouse"='frederick ix'; | 2-12418234-6 |
Name the birth of the person married 24 may 1935 | CREATE TABLE "house_of_schleswig_holstein_sonderburg_g" (
"name" text,
"birth" text,
"marriage" text,
"became_consort" text,
"ceased_to_be_consort" text,
"spouse" text
); | SELECT "birth" FROM "house_of_schleswig_holstein_sonderburg_g" WHERE "marriage"='24 may 1935'; | 2-12418234-6 |
What was the rank of the player in lane 6? | CREATE TABLE "semifinal_2" (
"rank" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
); | SELECT AVG("rank") FROM "semifinal_2" WHERE "lane"=6; | 2-12446425-5 |
Name the average year with Laps of 6 | CREATE TABLE "complete_24_hours_of_le_mans_results" (
"year" real,
"class" text,
"tyres" text,
"team" text,
"co_drivers" text,
"laps" real,
"pos" text,
"class_pos" text
); | SELECT AVG("year") FROM "complete_24_hours_of_le_mans_results" WHERE "laps"=6; | 2-1218368-3 |
Which Language has a Number of 553 633? | CREATE TABLE "language" (
"language" text,
"number" text,
"percentage_pct" text,
"males" text,
"females" text
); | SELECT "language" FROM "language" WHERE "number"='553 633'; | 2-12333984-1 |
Which Males have a percentage of 0.42? | CREATE TABLE "language" (
"language" text,
"number" text,
"percentage_pct" text,
"males" text,
"females" text
); | SELECT "males" FROM "language" WHERE "percentage_pct"='0.42'; | 2-12333984-1 |
What's the Language with a percentage of 6.49? | CREATE TABLE "language" (
"language" text,
"number" text,
"percentage_pct" text,
"males" text,
"females" text
); | SELECT "language" FROM "language" WHERE "percentage_pct"='6.49'; | 2-12333984-1 |
What Number has a Language listed as other? | CREATE TABLE "language" (
"language" text,
"number" text,
"percentage_pct" text,
"males" text,
"females" text
); | SELECT "number" FROM "language" WHERE "language"='other'; | 2-12333984-1 |
what is the highest gold count when total is more than 3, bronze less than 3, and nation of belarus with silver count more than 2? | CREATE TABLE "medals_table" (
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MAX("gold") FROM "medals_table" WHERE "total">3 AND "bronze"<3 AND "nation"='belarus' AND "silver">2; | 2-12564416-4 |
with silver count at 0, what is the lowest bronze count? | CREATE TABLE "medals_table" (
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MIN("bronze") FROM "medals_table" WHERE "silver"<0; | 2-12564416-4 |
what is the gold count with total less than 3 and more than 1 silver? | CREATE TABLE "medals_table" (
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MIN("gold") FROM "medals_table" WHERE "total"<3 AND "silver">1; | 2-12564416-4 |
Who built the ship that is 42.8 m long and was delivered in 2007? | CREATE TABLE "jdf_coast_guard" (
"name_of_ship" text,
"length" text,
"max_speed" text,
"crew_capacity" text,
"class" text,
"builder" text,
"delivery" real
); | SELECT "builder" FROM "jdf_coast_guard" WHERE "length"='42.8 m' AND "delivery"=2007; | 2-1238462-4 |
Who was the Human Resources & Operations person between 2003-2004? | CREATE TABLE "executive_commissioners" (
"year" text,
"human_resources_operations" text,
"local_affairs" text,
"academic_university_affairs" text,
"external_affairs" text
); | SELECT "human_resources_operations" FROM "executive_commissioners" WHERE "year"='2003-2004'; | 2-12113818-1 |
Who was in local affairs when the Human Resources & Operations was N. Charles Hamilton? | CREATE TABLE "executive_commissioners" (
"year" text,
"human_resources_operations" text,
"local_affairs" text,
"academic_university_affairs" text,
"external_affairs" text
); | SELECT "local_affairs" FROM "executive_commissioners" WHERE "human_resources_operations"='n. charles hamilton'; | 2-12113818-1 |
Who was in Human Resources & Operations when David Hornsby was in Academic & University Affairs? | CREATE TABLE "executive_commissioners" (
"year" text,
"human_resources_operations" text,
"local_affairs" text,
"academic_university_affairs" text,
"external_affairs" text
); | SELECT "human_resources_operations" FROM "executive_commissioners" WHERE "academic_university_affairs"='david hornsby'; | 2-12113818-1 |
Who was in external affairs when Jakki Doyle was in Human Resources & Operations? | CREATE TABLE "executive_commissioners" (
"year" text,
"human_resources_operations" text,
"local_affairs" text,
"academic_university_affairs" text,
"external_affairs" text
); | SELECT "external_affairs" FROM "executive_commissioners" WHERE "human_resources_operations"='jakki doyle'; | 2-12113818-1 |
Who was in local affairs in 2012-2013? | CREATE TABLE "executive_commissioners" (
"year" text,
"human_resources_operations" text,
"local_affairs" text,
"academic_university_affairs" text,
"external_affairs" text
); | SELECT "local_affairs" FROM "executive_commissioners" WHERE "year"='2012-2013'; | 2-12113818-1 |
Who was in Academic & University Affairs when Andrew Langille was in local affairs? | CREATE TABLE "executive_commissioners" (
"year" text,
"human_resources_operations" text,
"local_affairs" text,
"academic_university_affairs" text,
"external_affairs" text
); | SELECT "academic_university_affairs" FROM "executive_commissioners" WHERE "local_affairs"='andrew langille'; | 2-12113818-1 |
Which Perth's gold coast and Adelaide were yes when Auckland was no? | CREATE TABLE "1994" (
"sydney" text,
"melbourne" text,
"perth" text,
"adelaide" text,
"gold_coast" text,
"auckland" text
); | SELECT "perth" FROM "1994" WHERE "gold_coast"='yes' AND "adelaide"='yes' AND "auckland"='no'; | 2-12230393-3 |
Which Melbourne had a gold coast and sydney which were yes, but an adelaide that was no? | CREATE TABLE "1994" (
"sydney" text,
"melbourne" text,
"perth" text,
"adelaide" text,
"gold_coast" text,
"auckland" text
); | SELECT "melbourne" FROM "1994" WHERE "gold_coast"='yes' AND "adelaide"='no' AND "sydney"='yes'; | 2-12230393-3 |
Which Adelaide's Melbourne and Perth were yes when Auckland was no? | CREATE TABLE "1994" (
"sydney" text,
"melbourne" text,
"perth" text,
"adelaide" text,
"gold_coast" text,
"auckland" text
); | SELECT "adelaide" FROM "1994" WHERE "melbourne"='yes' AND "auckland"='no' AND "perth"='yes'; | 2-12230393-3 |
Which Sydney's Melbourne was no, when Auckland was yes? | CREATE TABLE "1994" (
"sydney" text,
"melbourne" text,
"perth" text,
"adelaide" text,
"gold_coast" text,
"auckland" text
); | SELECT "sydney" FROM "1994" WHERE "melbourne"='no' AND "auckland"='yes'; | 2-12230393-3 |
Which Syndney's Gold coast, Adelaide, Melbourne, and Auckland were all no? | CREATE TABLE "1994" (
"sydney" text,
"melbourne" text,
"perth" text,
"adelaide" text,
"gold_coast" text,
"auckland" text
); | SELECT "sydney" FROM "1994" WHERE "gold_coast"='no' AND "adelaide"='no' AND "melbourne"='no' AND "auckland"='no'; | 2-12230393-3 |
Which Adelaide's Melbourne, Sydney, and Gold Coast were all no? | CREATE TABLE "1994" (
"sydney" text,
"melbourne" text,
"perth" text,
"adelaide" text,
"gold_coast" text,
"auckland" text
); | SELECT "adelaide" FROM "1994" WHERE "melbourne"='no' AND "sydney"='no' AND "gold_coast"='no'; | 2-12230393-3 |
Name the date which has type of plain stage | CREATE TABLE "stage_results" (
"date" text,
"course" text,
"distance" text,
"type" text,
"winner" text
); | SELECT "date" FROM "stage_results" WHERE "type"='plain stage'; | 2-12546916-1 |
Name the distance for Course of vittorio veneto to marina romea | CREATE TABLE "stage_results" (
"date" text,
"course" text,
"distance" text,
"type" text,
"winner" text
); | SELECT "distance" FROM "stage_results" WHERE "course"='vittorio veneto to marina romea'; | 2-12546916-1 |
Who was the partner that played a match on a grass court? | CREATE TABLE "doubles_6_3_titles_3_runners_up" (
"outcome" text,
"date" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
); | SELECT "partner" FROM "doubles_6_3_titles_3_runners_up" WHERE "surface"='grass'; | 2-12509095-12 |
What was the score of the match in which mardy fish was the partner? | CREATE TABLE "doubles_6_3_titles_3_runners_up" (
"outcome" text,
"date" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
); | SELECT "score" FROM "doubles_6_3_titles_3_runners_up" WHERE "partner"='mardy fish'; | 2-12509095-12 |
Who were the opponents in the match that was played on a hard court and had a runner-up outcome? | CREATE TABLE "doubles_6_3_titles_3_runners_up" (
"outcome" text,
"date" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
); | SELECT "opponents" FROM "doubles_6_3_titles_3_runners_up" WHERE "surface"='hard' AND "outcome"='runner-up'; | 2-12509095-12 |
What is the time when the opponent is phil collins? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
); | SELECT "time" FROM "mixed_martial_arts_record" WHERE "opponent"='phil collins'; | 2-13298969-2 |
what is the total number of rounds when method is tko (punches) and time is 0:40? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
); | SELECT COUNT("round") FROM "mixed_martial_arts_record" WHERE "method"='tko (punches)' AND "time"='0:40'; | 2-13298969-2 |
what is the method when the time is 0:51? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
); | SELECT "method" FROM "mixed_martial_arts_record" WHERE "time"='0:51'; | 2-13298969-2 |
what is the time when the event is bellator 89? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
); | SELECT "time" FROM "mixed_martial_arts_record" WHERE "event"='bellator 89'; | 2-13298969-2 |
Name the average debt as % of value for operating income more than -16 and % change on year being 62 | CREATE TABLE "2009_rankings" (
"rank" real,
"team" text,
"country" text,
"value_m" real,
"debt_as_pct_of_value" real,
"pct_change_on_year" text,
"revenue_m" real,
"operating_income_m" real
); | SELECT AVG("debt_as_pct_of_value") FROM "2009_rankings" WHERE "pct_change_on_year"='62' AND "operating_income_m">-16; | 2-12164751-5 |
Name the country where % change on year is 21 and value is less than 86 | CREATE TABLE "2009_rankings" (
"rank" real,
"team" text,
"country" text,
"value_m" real,
"debt_as_pct_of_value" real,
"pct_change_on_year" text,
"revenue_m" real,
"operating_income_m" real
); | SELECT "country" FROM "2009_rankings" WHERE "debt_as_pct_of_value"<86 AND "pct_change_on_year"='21'; | 2-12164751-5 |
Name the total number of revenue for italy with team of internazionale with operating income less than 27 | CREATE TABLE "2009_rankings" (
"rank" real,
"team" text,
"country" text,
"value_m" real,
"debt_as_pct_of_value" real,
"pct_change_on_year" text,
"revenue_m" real,
"operating_income_m" real
); | SELECT COUNT("revenue_m") FROM "2009_rankings" WHERE "country"='italy' AND "team"='internazionale' AND "operating_income_m"<27; | 2-12164751-5 |
Name the most revenue for operating income more than 27 for hamburg and debt as % of value less than 0 | CREATE TABLE "2009_rankings" (
"rank" real,
"team" text,
"country" text,
"value_m" real,
"debt_as_pct_of_value" real,
"pct_change_on_year" text,
"revenue_m" real,
"operating_income_m" real
); | SELECT MAX("revenue_m") FROM "2009_rankings" WHERE "operating_income_m">27 AND "team"='hamburg' AND "debt_as_pct_of_value"<0; | 2-12164751-5 |
What is the result for an H/A of H and a round value of R6 replay? | CREATE TABLE "1989_90_liverpool_f_c_season" (
"round" text,
"kick_off" text,
"opponents" text,
"h_a" text,
"result" text,
"attendance" real,
"report" text
); | SELECT "result" FROM "1989_90_liverpool_f_c_season" WHERE "h_a"='h' AND "round"='r6 replay'; | 2-12963236-10 |
What was the kickoff date for the round value of R4? | CREATE TABLE "1989_90_liverpool_f_c_season" (
"round" text,
"kick_off" text,
"opponents" text,
"h_a" text,
"result" text,
"attendance" real,
"report" text
); | SELECT "kick_off" FROM "1989_90_liverpool_f_c_season" WHERE "round"='r4'; | 2-12963236-10 |
What country was Henry Picard from? | CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "country" FROM "third_round" WHERE "player"='henry picard'; | 2-12586224-3 |
Name the sum of inversions for opened of april 20, 2002 | CREATE TABLE "installations" (
"name" text,
"park" text,
"country" text,
"inversions" real,
"opened" text,
"status" text
); | SELECT SUM("inversions") FROM "installations" WHERE "opened"='april 20, 2002'; | 2-1224931-1 |
Name the opened for spain | CREATE TABLE "installations" (
"name" text,
"park" text,
"country" text,
"inversions" real,
"opened" text,
"status" text
); | SELECT "opened" FROM "installations" WHERE "country"='spain'; | 2-1224931-1 |
Name the status for six flags new england | CREATE TABLE "installations" (
"name" text,
"park" text,
"country" text,
"inversions" real,
"opened" text,
"status" text
); | SELECT "status" FROM "installations" WHERE "park"='six flags new england'; | 2-1224931-1 |
Name the to par with money of 200,000 for australia | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" text
); | SELECT "to_par" FROM "final_round" WHERE "money"='200,000' AND "country"='australia'; | 2-12278571-8 |
Name the money for ireland | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" text
); | SELECT "money" FROM "final_round" WHERE "country"='ireland'; | 2-12278571-8 |
Name the money for pádraig harrington | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" text
); | SELECT "money" FROM "final_round" WHERE "player"='pádraig harrington'; | 2-12278571-8 |
Name the to par for score of 69-73-68-70=280 | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" text
); | SELECT "to_par" FROM "final_round" WHERE "score"='69-73-68-70=280'; | 2-12278571-8 |
Name the money for the to par of -6 | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" text
); | SELECT "money" FROM "final_round" WHERE "to_par"='-6'; | 2-12278571-8 |
On what date or dates did the term with the Centre Party end? | CREATE TABLE "list_of_health_minsters" (
"minister" text,
"party" text,
"governments" text,
"term_start" text,
"term_end" text
); | SELECT "term_end" FROM "list_of_health_minsters" WHERE "party"='centre party'; | 2-12660586-1 |
When did the term end for the term that had government 27 and Minister Tzachi Hanegbi? | CREATE TABLE "list_of_health_minsters" (
"minister" text,
"party" text,
"governments" text,
"term_start" text,
"term_end" text
); | SELECT "term_end" FROM "list_of_health_minsters" WHERE "governments"='27' AND "minister"='tzachi hanegbi'; | 2-12660586-1 |
What is the location/state of the race on the Wanneroo raceway? | CREATE TABLE "race_calendar" (
"race_title" text,
"circuit" text,
"location_state" text,
"date" text,
"winner" text,
"team" text
); | SELECT "location_state" FROM "race_calendar" WHERE "circuit"='wanneroo raceway'; | 2-12479723-2 |
What is the location/state of the Launceston race? | CREATE TABLE "race_calendar" (
"race_title" text,
"circuit" text,
"location_state" text,
"date" text,
"winner" text,
"team" text
); | SELECT "location_state" FROM "race_calendar" WHERE "race_title"='launceston'; | 2-12479723-2 |
What is the team of winner Dick Johnson? | CREATE TABLE "race_calendar" (
"race_title" text,
"circuit" text,
"location_state" text,
"date" text,
"winner" text,
"team" text
); | SELECT "team" FROM "race_calendar" WHERE "winner"='dick johnson'; | 2-12479723-2 |
What is the race title of the Oran Park raceway circuit with team jps team bmw? | CREATE TABLE "race_calendar" (
"race_title" text,
"circuit" text,
"location_state" text,
"date" text,
"winner" text,
"team" text
); | SELECT "race_title" FROM "race_calendar" WHERE "team"='jps team bmw' AND "circuit"='oran park raceway'; | 2-12479723-2 |
Name the total number of population hervey bay with population woocoo less than 640 and population of maryborough less than 19,257 | CREATE TABLE "population" (
"year" real,
"population_region_total" real,
"population_maryborough" real,
"population_hervey_bay" real,
"population_woocoo" real,
"population_tiaro" real
); | SELECT COUNT("population_hervey_bay") FROM "population" WHERE "population_woocoo"<640 AND "population_maryborough"<'19,257'; | 2-12576536-1 |
Name the average population hervey bay with population maryborough more than 11,415 and population region total less than 48,308 and population tiaro less than 2,066 and population woocoo of 491 | CREATE TABLE "population" (
"year" real,
"population_region_total" real,
"population_maryborough" real,
"population_hervey_bay" real,
"population_woocoo" real,
"population_tiaro" real
); | SELECT AVG("population_hervey_bay") FROM "population" WHERE "population_maryborough">'11,415' AND "population_region_total"<'48,308' AND "population_tiaro"<'2,066' AND "population_woocoo"=491; | 2-12576536-1 |
Name the most population hervey bay for when population maryborough of 22,977 and population tiaro less than 3,287 | CREATE TABLE "population" (
"year" real,
"population_region_total" real,
"population_maryborough" real,
"population_hervey_bay" real,
"population_woocoo" real,
"population_tiaro" real
); | SELECT MAX("population_hervey_bay") FROM "population" WHERE "population_maryborough"='22,977' AND "population_tiaro"<'3,287'; | 2-12576536-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.