question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
Can you tell me the Conference Joined that has the Location of terre haute, and the Mascot of golden bears? | CREATE TABLE "former_members" (
"school" text,
"location" text,
"mascot" text,
"county" text,
"year_joined" real,
"year_left" text,
"conference_joined" text
); | SELECT "conference_joined" FROM "former_members" WHERE "location"='terre haute' AND "mascot"='golden bears'; | 2-18973790-1 |
Can you tell me the Mascot that has the School of rosedale? | CREATE TABLE "former_members" (
"school" text,
"location" text,
"mascot" text,
"county" text,
"year_joined" real,
"year_left" text,
"conference_joined" text
); | SELECT "mascot" FROM "former_members" WHERE "school"='rosedale'; | 2-18973790-1 |
Can you tell me the Conference Joined that has the Mascot of little sycamores? | CREATE TABLE "former_members" (
"school" text,
"location" text,
"mascot" text,
"county" text,
"year_joined" real,
"year_left" text,
"conference_joined" text
); | SELECT "conference_joined" FROM "former_members" WHERE "mascot"='little sycamores'; | 2-18973790-1 |
Can you tell me the Location that has the Mascot of lakers? | CREATE TABLE "former_members" (
"school" text,
"location" text,
"mascot" text,
"county" text,
"year_joined" real,
"year_left" text,
"conference_joined" text
); | SELECT "location" FROM "former_members" WHERE "mascot"='lakers'; | 2-18973790-1 |
What is the time of the rider from the 348cc K4 Honda team with a speed of 97.743mph? | CREATE TABLE "race_3_junior_classic_race" (
"rank" real,
"rider" text,
"team" text,
"speed" text,
"time" text
); | SELECT "time" FROM "race_3_junior_classic_race" WHERE "team"='348cc k4 honda' AND "speed"='97.743mph'; | 2-18649514-5 |
What is the Lane of the swimmer with a Time of 8:34.25? | CREATE TABLE "heats" (
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
); | SELECT "lane" FROM "heats" WHERE "time"='8:34.25'; | 2-18625370-3 |
What is the Name of the swimmer with a Time of 9:04.86 in Heat 2? | CREATE TABLE "heats" (
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
); | SELECT "name" FROM "heats" WHERE "heat"=2 AND "time"='9:04.86'; | 2-18625370-3 |
What is the Location of the Event in Round 1 with a Time of 1:25? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
); | SELECT "location" FROM "mixed_martial_arts_record" WHERE "round"=1 AND "time"='1:25'; | 2-18931507-2 |
What is the average goals when the last appearance was before 1984, there were more than 17 appearances, the first appearance was before 1961 and the position was mf? | CREATE TABLE "list_of_players" (
"position" text,
"appearances" real,
"goals" real,
"first_appearance" real,
"last_appearance" real
); | SELECT AVG("goals") FROM "list_of_players" WHERE "last_appearance"<1984 AND "appearances">17 AND "first_appearance"<1961 AND "position"='mf'; | 2-18789424-1 |
what is the school that left in 1966? | CREATE TABLE "former_members" (
"school" text,
"location" text,
"mascot" text,
"county" text,
"year_joined" real,
"year_left" real,
"conference_joined" text
); | SELECT "school" FROM "former_members" WHERE "year_left"=1966; | 2-18717975-2 |
what is the mascot for moores hill that joined later than 1952? | CREATE TABLE "former_members" (
"school" text,
"location" text,
"mascot" text,
"county" text,
"year_joined" real,
"year_left" real,
"conference_joined" text
); | SELECT "mascot" FROM "former_members" WHERE "year_joined">1952 AND "school"='moores hill'; | 2-18717975-2 |
what is the conference joined for the county 69 ripley in 1952 in versailles? | CREATE TABLE "former_members" (
"school" text,
"location" text,
"mascot" text,
"county" text,
"year_joined" real,
"year_left" real,
"conference_joined" text
); | SELECT "conference_joined" FROM "former_members" WHERE "county"='69 ripley' AND "year_joined"=1952 AND "location"='versailles'; | 2-18717975-2 |
who is the mascot of the county 78 switzerland? | CREATE TABLE "former_members" (
"school" text,
"location" text,
"mascot" text,
"county" text,
"year_joined" real,
"year_left" real,
"conference_joined" text
); | SELECT "mascot" FROM "former_members" WHERE "county"='78 switzerland'; | 2-18717975-2 |
What is the total time of the athlete from Canada with a lane less than 8 and a rank less than 8? | CREATE TABLE "semifinal_1" (
"rank" real,
"lane" real,
"name" text,
"nationality" text,
"react" real,
"time" real
); | SELECT COUNT("time") FROM "semifinal_1" WHERE "lane"<8 AND "nationality"='canada' AND "rank"<8; | 2-18912995-7 |
What is the total react number with a time less than 20.05 and a lane less than 6? | CREATE TABLE "semifinal_1" (
"rank" real,
"lane" real,
"name" text,
"nationality" text,
"react" real,
"time" real
); | SELECT COUNT("react") FROM "semifinal_1" WHERE "time"<20.05 AND "lane"<6; | 2-18912995-7 |
What is the average react of bryan barnett, who has a lane less than 2? | CREATE TABLE "semifinal_1" (
"rank" real,
"lane" real,
"name" text,
"nationality" text,
"react" real,
"time" real
); | SELECT AVG("react") FROM "semifinal_1" WHERE "name"='bryan barnett' AND "lane"<2; | 2-18912995-7 |
What year did the Hornets leave the conference? | CREATE TABLE "former_members" (
"school" text,
"city" text,
"team_name" text,
"county" text,
"year_joined" text,
"year_left" text
); | SELECT "year_left" FROM "former_members" WHERE "team_name"='hornets'; | 2-18789626-2 |
In what city was the team that left the conference in 1949 based? | CREATE TABLE "former_members" (
"school" text,
"city" text,
"team_name" text,
"county" text,
"year_joined" text,
"year_left" text
); | SELECT "city" FROM "former_members" WHERE "year_left"='1949'; | 2-18789626-2 |
What year did the team based in the city of Winamac join the conference? | CREATE TABLE "former_members" (
"school" text,
"city" text,
"team_name" text,
"county" text,
"year_joined" text,
"year_left" text
); | SELECT "year_joined" FROM "former_members" WHERE "city"='winamac'; | 2-18789626-2 |
From what county was the team that left the conference in 1993? | CREATE TABLE "former_members" (
"school" text,
"city" text,
"team_name" text,
"county" text,
"year_joined" text,
"year_left" text
); | SELECT "county" FROM "former_members" WHERE "year_left"='1993'; | 2-18789626-2 |
From what school was the team that left the conference in 1992? | CREATE TABLE "former_members" (
"school" text,
"city" text,
"team_name" text,
"county" text,
"year_joined" text,
"year_left" text
); | SELECT "school" FROM "former_members" WHERE "year_left"='1992'; | 2-18789626-2 |
In what year did the team from the Western school join the conference? | CREATE TABLE "former_members" (
"school" text,
"city" text,
"team_name" text,
"county" text,
"year_joined" text,
"year_left" text
); | SELECT "year_joined" FROM "former_members" WHERE "school"='western'; | 2-18789626-2 |
What is the place when less than 1 point is scored? | CREATE TABLE "results" (
"draw" real,
"language" text,
"artist" text,
"song" text,
"english_translation" text,
"place" real,
"points" real
); | SELECT AVG("place") FROM "results" WHERE "points"<1; | 2-185192-1 |
What is the highest draw number when 23 points are scored? | CREATE TABLE "results" (
"draw" real,
"language" text,
"artist" text,
"song" text,
"english_translation" text,
"place" real,
"points" real
); | SELECT MAX("draw") FROM "results" WHERE "points"=23; | 2-185192-1 |
What is the lowest heat that had a time of 1:02.85 in a lane larger than 7? | CREATE TABLE "heats" (
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
); | SELECT MIN("heat") FROM "heats" WHERE "time"='1:02.85' AND "lane">7; | 2-18625437-3 |
What is the sum of the lanes before heat 7 that elizabeth simmonds swam? | CREATE TABLE "heats" (
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
); | SELECT SUM("lane") FROM "heats" WHERE "heat"<7 AND "name"='elizabeth simmonds'; | 2-18625437-3 |
What's the Südbayern in 1928? | CREATE TABLE "1928_to_1933" (
"year" real,
"baden" text,
"w_rttemberg" text,
"nordbayern" text,
"s_dbayern" text
); | SELECT "s_dbayern" FROM "1928_to_1933" WHERE "year"=1928; | 2-18577849-10 |
What's the Württemberg for Karlsruher FV happening after 1931? | CREATE TABLE "1928_to_1933" (
"year" real,
"baden" text,
"w_rttemberg" text,
"nordbayern" text,
"s_dbayern" text
); | SELECT "w_rttemberg" FROM "1928_to_1933" WHERE "baden"='karlsruher fv' AND "year">1931; | 2-18577849-10 |
What's the year that has a Baden Freiburger FC? | CREATE TABLE "1928_to_1933" (
"year" real,
"baden" text,
"w_rttemberg" text,
"nordbayern" text,
"s_dbayern" text
); | SELECT COUNT("year") FROM "1928_to_1933" WHERE "baden"='freiburger fc'; | 2-18577849-10 |
What's the Württemberg in the year before 1929? | CREATE TABLE "1928_to_1933" (
"year" real,
"baden" text,
"w_rttemberg" text,
"nordbayern" text,
"s_dbayern" text
); | SELECT "w_rttemberg" FROM "1928_to_1933" WHERE "year"<1929; | 2-18577849-10 |
What's the Nordbayern with a Württemberg of Union Böckingen in the year before 1932? | CREATE TABLE "1928_to_1933" (
"year" real,
"baden" text,
"w_rttemberg" text,
"nordbayern" text,
"s_dbayern" text
); | SELECT "nordbayern" FROM "1928_to_1933" WHERE "year"<1932 AND "w_rttemberg"='union böckingen'; | 2-18577849-10 |
What was the high rebounds for the game that had a score of w 76-66? | CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "high_rebounds" FROM "regular_season" WHERE "score"='w 76-66'; | 2-18894744-6 |
What was the location/attendance for the game with a record of 16-6? | CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "location_attendance" FROM "regular_season" WHERE "record"='16-6'; | 2-18894744-6 |
What is the nationality with a lane larger than 1, and a rank larger than 5, for Hsu Chi-Chieh? | CREATE TABLE "semifinal_1" (
"rank" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
); | SELECT "nationality" FROM "semifinal_1" WHERE "lane">1 AND "rank">5 AND "name"='hsu chi-chieh'; | 2-18624865-4 |
What is the lane with a time of 1:56.64, and a tank smaller than 7? | CREATE TABLE "semifinal_1" (
"rank" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
); | SELECT COUNT("lane") FROM "semifinal_1" WHERE "time"='1:56.64' AND "rank"<7; | 2-18624865-4 |
What is the rank of Japan? | CREATE TABLE "semifinal_1" (
"rank" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
); | SELECT "rank" FROM "semifinal_1" WHERE "nationality"='japan'; | 2-18624865-4 |
What is the time for Russia? | CREATE TABLE "semifinal_1" (
"rank" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
); | SELECT "time" FROM "semifinal_1" WHERE "nationality"='russia'; | 2-18624865-4 |
What nation has more than 0 silver medals and is ranked 1? | CREATE TABLE "medals_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT "nation" FROM "medals_table" WHERE "silver">0 AND "rank"='1'; | 2-18705842-4 |
What is the rank of the country with total more than 3 and more than 6 silver? | CREATE TABLE "medals_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT "rank" FROM "medals_table" WHERE "total">3 AND "silver">6; | 2-18705842-4 |
What is the most silver won by the country with more than 1 gold, 3 bronze, ranked 1, and less than 12 as the total? | CREATE TABLE "medals_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MAX("silver") FROM "medals_table" WHERE "gold">1 AND "bronze"=3 AND "rank"='1' AND "total"<12; | 2-18705842-4 |
What nation has a total less than 11, more than 1 silver and less than 1 bronze? | CREATE TABLE "medals_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT "nation" FROM "medals_table" WHERE "total"<11 AND "silver"<1 AND "bronze"<1; | 2-18705842-4 |
What is the most silver won by Norway? | CREATE TABLE "medals_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MAX("silver") FROM "medals_table" WHERE "nation"='norway'; | 2-18705842-4 |
What district has a constituency of 60? | CREATE TABLE "assembly_segments" (
"constituency_number" text,
"name" text,
"reserved_for_sc_st_none" text,
"district" text,
"number_of_electorates_2009" real
); | SELECT "district" FROM "assembly_segments" WHERE "constituency_number"='60'; | 2-18502613-2 |
What is district has a name of Rajnagar? | CREATE TABLE "assembly_segments" (
"constituency_number" text,
"name" text,
"reserved_for_sc_st_none" text,
"district" text,
"number_of_electorates_2009" real
); | SELECT "district" FROM "assembly_segments" WHERE "name"='rajnagar'; | 2-18502613-2 |
What was the score for the away team of Brentford? | CREATE TABLE "second_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
); | SELECT "score" FROM "second_round_proper" WHERE "away_team"='brentford'; | 2-18675114-2 |
What was the score of the tied game or the away team of Crewe Alexandra? | CREATE TABLE "second_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
); | SELECT "tie_no" FROM "second_round_proper" WHERE "away_team"='crewe alexandra'; | 2-18675114-2 |
What was the date of the game for the Wrexham away team? | CREATE TABLE "second_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
); | SELECT "date" FROM "second_round_proper" WHERE "away_team"='wrexham'; | 2-18675114-2 |
What was the date of the game for the HartlePool United team? | CREATE TABLE "second_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
); | SELECT "date" FROM "second_round_proper" WHERE "home_team"='hartlepool united'; | 2-18675114-2 |
What is the number of tickets sold and available for the concert at Long Beach Arena? | CREATE TABLE "box_office_score_data" (
"date" text,
"show" text,
"venue" text,
"city" text,
"tickets_sold_available" text,
"gross_revenue" text
); | SELECT "tickets_sold_available" FROM "box_office_score_data" WHERE "venue"='long beach arena'; | 2-18636809-2 |
Which city has a venue of the Arco Arena? | CREATE TABLE "box_office_score_data" (
"date" text,
"show" text,
"venue" text,
"city" text,
"tickets_sold_available" text,
"gross_revenue" text
); | SELECT "city" FROM "box_office_score_data" WHERE "venue"='arco arena'; | 2-18636809-2 |
What is the lowest round that has kazushi sakuraba as the opponent? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"round" real,
"time" text,
"location" text
); | SELECT MIN("round") FROM "mixed_martial_arts_record" WHERE "opponent"='kazushi sakuraba'; | 2-18588226-3 |
Japan (JPN) with a total of less than 5, has what average gold medals? | CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT AVG("gold") FROM "medal_table" WHERE "nation"='japan (jpn)' AND "total"<5; | 2-1846470-1 |
What is the average bronze medal when gold is greater than 0, and there is less than 0 silver medals? | CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT AVG("bronze") FROM "medal_table" WHERE "gold">0 AND "silver"<0; | 2-1846470-1 |
What is the sum of bronze medals when the rank is greater than 2, and less than 2 total medals with silver medals being more than 0? | CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT COUNT("bronze") FROM "medal_table" WHERE "rank">2 AND "total"<2 AND "silver">0; | 2-1846470-1 |
With a greater than 4 rank, and the silver medal greater than 0, and the bronze medal less than 1, what is the average total? | CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT AVG("total") FROM "medal_table" WHERE "rank">4 AND "silver">0 AND "bronze"<1; | 2-1846470-1 |
What is the fewest gold medals when the bronze medals is greater than 5? | CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MIN("gold") FROM "medal_table" WHERE "bronze">5; | 2-1846470-1 |
What is the player when the team is oakland raiders? | CREATE TABLE "fourth_round" (
"pick" real,
"team" text,
"player" text,
"position" text,
"college" text
); | SELECT "player" FROM "fourth_round" WHERE "team"='oakland raiders'; | 2-18652198-4 |
What is the team when the college is virginia tech? | CREATE TABLE "fourth_round" (
"pick" real,
"team" text,
"player" text,
"position" text,
"college" text
); | SELECT "team" FROM "fourth_round" WHERE "college"='virginia tech'; | 2-18652198-4 |
What college has a team of new york jets? | CREATE TABLE "fourth_round" (
"pick" real,
"team" text,
"player" text,
"position" text,
"college" text
); | SELECT "college" FROM "fourth_round" WHERE "team"='new york jets'; | 2-18652198-4 |
What team has a pick larger than 30, when the college is saginaw valley state? | CREATE TABLE "fourth_round" (
"pick" real,
"team" text,
"player" text,
"position" text,
"college" text
); | SELECT "team" FROM "fourth_round" WHERE "pick">30 AND "college"='saginaw valley state'; | 2-18652198-4 |
What is the highest pick when the college is saginaw valley state? | CREATE TABLE "fourth_round" (
"pick" real,
"team" text,
"player" text,
"position" text,
"college" text
); | SELECT MAX("pick") FROM "fourth_round" WHERE "college"='saginaw valley state'; | 2-18652198-4 |
what is the record when the opponent is akiko inoue? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
); | SELECT "record" FROM "mixed_martial_arts_record" WHERE "opponent"='akiko inoue'; | 2-18805149-2 |
what is the even when the location is tokyo, japan and the record is 6-1? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
); | SELECT "event" FROM "mixed_martial_arts_record" WHERE "location"='tokyo, japan' AND "record"='6-1'; | 2-18805149-2 |
Which range includes Mount Fukushima, and is ranked 38? | CREATE TABLE "see_also" (
"rank" real,
"name" text,
"altitude_meters" real,
"range" text,
"parent_range" text
); | SELECT "range" FROM "see_also" WHERE "name"='mount fukushima' AND "rank"=38; | 2-18793476-1 |
What is the altitude (meters) is associated with the Name Mount Launoit, with the range as Belgica Mountains? | CREATE TABLE "see_also" (
"rank" real,
"name" text,
"altitude_meters" real,
"range" text,
"parent_range" text
); | SELECT SUM("altitude_meters") FROM "see_also" WHERE "range"='belgica mountains' AND "name"='mount launoit'; | 2-18793476-1 |
What is the Altitude (meters) associated with a rank smaller than 10, and the range Mühlig-Hofmann Mountains? | CREATE TABLE "see_also" (
"rank" real,
"name" text,
"altitude_meters" real,
"range" text,
"parent_range" text
); | SELECT COUNT("altitude_meters") FROM "see_also" WHERE "range"='mühlig-hofmann mountains' AND "rank"<10; | 2-18793476-1 |
What name is associated with a rank greater than 69, an altitude (meters) smaller than 2154, and a range of Sivorgfjella? | CREATE TABLE "see_also" (
"rank" real,
"name" text,
"altitude_meters" real,
"range" text,
"parent_range" text
); | SELECT "name" FROM "see_also" WHERE "range"='sivorgfjella' AND "rank">69 AND "altitude_meters"<2154; | 2-18793476-1 |
What name is associated with a rank of less than 24, and an altitude (meters) of 3085? | CREATE TABLE "see_also" (
"rank" real,
"name" text,
"altitude_meters" real,
"range" text,
"parent_range" text
); | SELECT "name" FROM "see_also" WHERE "rank"<24 AND "altitude_meters"=3085; | 2-18793476-1 |
What is the primary conference with a IHSAA Football Class of A, at South Decatur school? | CREATE TABLE "indiana_high_school_athletics_conference" (
"school" text,
"location" text,
"mascot" text,
"enrollment" real,
"ihsaa_football_class" text,
"primary_conference" text,
"county" text
); | SELECT "primary_conference" FROM "indiana_high_school_athletics_conference" WHERE "ihsaa_football_class"='a' AND "school"='south decatur'; | 2-18942405-4 |
What is the Location with a county of 30 Hancock? | CREATE TABLE "indiana_high_school_athletics_conference" (
"school" text,
"location" text,
"mascot" text,
"enrollment" real,
"ihsaa_football_class" text,
"primary_conference" text,
"county" text
); | SELECT "location" FROM "indiana_high_school_athletics_conference" WHERE "county"='30 hancock'; | 2-18942405-4 |
What county has an IHSAA Football Class of A, and a Mascot of royals? | CREATE TABLE "indiana_high_school_athletics_conference" (
"school" text,
"location" text,
"mascot" text,
"enrollment" real,
"ihsaa_football_class" text,
"primary_conference" text,
"county" text
); | SELECT "county" FROM "indiana_high_school_athletics_conference" WHERE "ihsaa_football_class"='a' AND "mascot"='royals'; | 2-18942405-4 |
What school has a county of 69 ripley? | CREATE TABLE "indiana_high_school_athletics_conference" (
"school" text,
"location" text,
"mascot" text,
"enrollment" real,
"ihsaa_football_class" text,
"primary_conference" text,
"county" text
); | SELECT "school" FROM "indiana_high_school_athletics_conference" WHERE "county"='69 ripley'; | 2-18942405-4 |
What is the enrollment for the school with the mascot of the Fighting '59ers? | CREATE TABLE "indiana_high_school_athletics_conference" (
"school" text,
"location" text,
"mascot" text,
"enrollment" real,
"ihsaa_class" text,
"ihsaa_football_class" text,
"num_county" text
); | SELECT "enrollment" FROM "indiana_high_school_athletics_conference" WHERE "mascot"='fighting ''59ers'; | 2-18942405-14 |
What nation has a total less than 2, silver of 1 and bronze less than 1? | CREATE TABLE "medals_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT "nation" FROM "medals_table" WHERE "total"<2 AND "bronze"<1 AND "silver"=1; | 2-18771367-11 |
What's the total with silver being less than 0, less than 1 gold, and 3 bronze? | CREATE TABLE "medals_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT SUM("total") FROM "medals_table" WHERE "bronze"=3 AND "gold"<1 AND "silver"<0; | 2-18771367-11 |
What's Australia's time in the heat more than 4? | CREATE TABLE "heats" (
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
); | SELECT "time" FROM "heats" WHERE "heat">4 AND "nationality"='australia'; | 2-18625553-3 |
What's Sara Isakovič's lane number that had a heat of 3? | CREATE TABLE "heats" (
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
); | SELECT SUM("lane") FROM "heats" WHERE "heat"=3 AND "name"='sara isakovič'; | 2-18625553-3 |
What's the heat that was timed 2:08.54? | CREATE TABLE "heats" (
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
); | SELECT COUNT("heat") FROM "heats" WHERE "time"='2:08.54'; | 2-18625553-3 |
Who is the Director of Fish Tales? | CREATE TABLE "1936" (
"title" text,
"series" text,
"director" text,
"production_num" text,
"release_date" text
); | SELECT "director" FROM "1936" WHERE "title"='fish tales'; | 2-18792938-7 |
What was released on 1936-08-29? | CREATE TABLE "1936" (
"title" text,
"series" text,
"director" text,
"production_num" text,
"release_date" text
); | SELECT "title" FROM "1936" WHERE "release_date"='1936-08-29'; | 2-18792938-7 |
What is the release date of Milk and Money? | CREATE TABLE "1936" (
"title" text,
"series" text,
"director" text,
"production_num" text,
"release_date" text
); | SELECT "release_date" FROM "1936" WHERE "title"='milk and money'; | 2-18792938-7 |
What is the release date of I Wanna Play House? | CREATE TABLE "1936" (
"title" text,
"series" text,
"director" text,
"production_num" text,
"release_date" text
); | SELECT "release_date" FROM "1936" WHERE "title"='i wanna play house'; | 2-18792938-7 |
Who is the director of Little Beau Porky? | CREATE TABLE "1936" (
"title" text,
"series" text,
"director" text,
"production_num" text,
"release_date" text
); | SELECT "director" FROM "1936" WHERE "title"='little beau porky'; | 2-18792938-7 |
What is the release date of The Blow Out? | CREATE TABLE "1936" (
"title" text,
"series" text,
"director" text,
"production_num" text,
"release_date" text
); | SELECT "release_date" FROM "1936" WHERE "title"='the blow out'; | 2-18792938-7 |
Who was the author for company Buzz Productions Theater? | CREATE TABLE "references" (
"play" text,
"author" text,
"company" text,
"base" text,
"country" text
); | SELECT "author" FROM "references" WHERE "company"='buzz productions theater'; | 2-18379129-2 |
What country had the play Cyclops? | CREATE TABLE "references" (
"play" text,
"author" text,
"company" text,
"base" text,
"country" text
); | SELECT "country" FROM "references" WHERE "play"='cyclops'; | 2-18379129-2 |
What country had the play Medea? | CREATE TABLE "references" (
"play" text,
"author" text,
"company" text,
"base" text,
"country" text
); | SELECT "country" FROM "references" WHERE "play"='medea'; | 2-18379129-2 |
What play is from the country Belgium? | CREATE TABLE "references" (
"play" text,
"author" text,
"company" text,
"base" text,
"country" text
); | SELECT "play" FROM "references" WHERE "country"='belgium'; | 2-18379129-2 |
What play has a base of Athens and was written by Aeschylus? | CREATE TABLE "references" (
"play" text,
"author" text,
"company" text,
"base" text,
"country" text
); | SELECT "play" FROM "references" WHERE "author"='aeschylus' AND "base"='athens'; | 2-18379129-2 |
What is the company from Greece with author Aeschylus? | CREATE TABLE "references" (
"play" text,
"author" text,
"company" text,
"base" text,
"country" text
); | SELECT "company" FROM "references" WHERE "country"='greece' AND "author"='aeschylus'; | 2-18379129-2 |
What is the coaster name that was opened in 1978, and have wooden track? | CREATE TABLE "examples" (
"coaster_name" text,
"park" text,
"location" text,
"track" text,
"builder" text,
"year_opened" text
); | SELECT "coaster_name" FROM "examples" WHERE "year_opened"='1978' AND "track"='wooden'; | 2-1886663-1 |
Which year opened has le monstre coaster? | CREATE TABLE "examples" (
"coaster_name" text,
"park" text,
"location" text,
"track" text,
"builder" text,
"year_opened" text
); | SELECT "year_opened" FROM "examples" WHERE "coaster_name"='le monstre'; | 2-1886663-1 |
Which coaster is located in sandusky, Ohio? | CREATE TABLE "examples" (
"coaster_name" text,
"park" text,
"location" text,
"track" text,
"builder" text,
"year_opened" text
); | SELECT "coaster_name" FROM "examples" WHERE "location"='sandusky, ohio'; | 2-1886663-1 |
Which year opened is located in west mifflin, pennsylvania? | CREATE TABLE "examples" (
"coaster_name" text,
"park" text,
"location" text,
"track" text,
"builder" text,
"year_opened" text
); | SELECT "year_opened" FROM "examples" WHERE "location"='west mifflin, pennsylvania'; | 2-1886663-1 |
What is the lowest league cup goals for the entry with fa cup goals greater than 0 and FA cup apps larger than 2? | CREATE TABLE "appearances_and_goals" (
"name" text,
"position" text,
"league_apps" text,
"league_goals" real,
"fa_cup_apps" real,
"fa_cup_goals" real,
"league_cup_apps" real,
"league_cup_goals" real,
"total_apps" text,
"total_goals" real
); | SELECT MIN("league_cup_goals") FROM "appearances_and_goals" WHERE "fa_cup_goals">0 AND "fa_cup_apps">2; | 2-18904228-1 |
What is the sum of league cup appearances for the players with FA cup goals larger than 0 and FA cup appearances less than 2? | CREATE TABLE "appearances_and_goals" (
"name" text,
"position" text,
"league_apps" text,
"league_goals" real,
"fa_cup_apps" real,
"fa_cup_goals" real,
"league_cup_apps" real,
"league_cup_goals" real,
"total_apps" text,
"total_goals" real
); | SELECT SUM("league_cup_apps") FROM "appearances_and_goals" WHERE "fa_cup_goals">0 AND "fa_cup_apps"<2; | 2-18904228-1 |
What is the highest league cup appearances for the player with league cup goals of 0, and FA cup appearances of 2, and 4 league goals? | CREATE TABLE "appearances_and_goals" (
"name" text,
"position" text,
"league_apps" text,
"league_goals" real,
"fa_cup_apps" real,
"fa_cup_goals" real,
"league_cup_apps" real,
"league_cup_goals" real,
"total_apps" text,
"total_goals" real
); | SELECT MAX("league_cup_apps") FROM "appearances_and_goals" WHERE "league_cup_goals"=0 AND "fa_cup_apps"=2 AND "league_goals"=4; | 2-18904228-1 |
What game was played at Omni Coliseum with a w 105-95 score? | CREATE TABLE "game_log" (
"game" text,
"date" text,
"opponent" text,
"score" text,
"location_attendance" text,
"record" text
); | SELECT "game" FROM "game_log" WHERE "location_attendance"='omni coliseum' AND "score"='w 105-95'; | 2-18493040-5 |
When did the team have a 10-8 record? | CREATE TABLE "game_log" (
"game" text,
"date" text,
"opponent" text,
"score" text,
"location_attendance" text,
"record" text
); | SELECT "date" FROM "game_log" WHERE "record"='10-8'; | 2-18493040-5 |
When was 11-8 the record? | CREATE TABLE "game_log" (
"game" text,
"date" text,
"opponent" text,
"score" text,
"location_attendance" text,
"record" text
); | SELECT "date" FROM "game_log" WHERE "record"='11-8'; | 2-18493040-5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.