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 of the Saints having 1979- as Years in GFL? | CREATE TABLE "current" (
"club" text,
"nickname" text,
"location" text,
"home_ground" text,
"gfl_premierships" text,
"years_in_gfl" text
); | SELECT "location" FROM "current" WHERE "years_in_gfl"='1979-' AND "nickname"='saints'; | 2-17982112-1 |
What is the type of the player who ended in 2013, had a summer transfer window, and moved from kalmar ff? | CREATE TABLE "in" (
"nat" text,
"name" text,
"moving_from" text,
"type" text,
"transfer_window" text,
"ends" real,
"transfer_fee" text,
"source" text
); | SELECT "type" FROM "in" WHERE "ends"=2013 AND "transfer_window"='summer' AND "moving_from"='kalmar ff'; | 2-17637370-3 |
Where did the player with a transfer type, a summer transfer window, and ended before 2013 move from? | CREATE TABLE "in" (
"nat" text,
"name" text,
"moving_from" text,
"type" text,
"transfer_window" text,
"ends" real,
"transfer_fee" text,
"source" text
); | SELECT "moving_from" FROM "in" WHERE "type"='transfer' AND "transfer_window"='summer' AND "ends"<2013; | 2-17637370-3 |
What is the transfer window for larsson? | CREATE TABLE "in" (
"nat" text,
"name" text,
"moving_from" text,
"type" text,
"transfer_window" text,
"ends" real,
"transfer_fee" text,
"source" text
); | SELECT "transfer_window" FROM "in" WHERE "name"='larsson'; | 2-17637370-3 |
What is the average end year of the player from swe and a summer transfer window? | CREATE TABLE "in" (
"nat" text,
"name" text,
"moving_from" text,
"type" text,
"transfer_window" text,
"ends" real,
"transfer_fee" text,
"source" text
); | SELECT AVG("ends") FROM "in" WHERE "nat"='swe' AND "transfer_window"='summer'; | 2-17637370-3 |
What was the outcome on 2 December 2012? | CREATE TABLE "itf_singles_finals_6_1" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent_in_final" text,
"score_in_final" text
); | SELECT "outcome" FROM "itf_singles_finals_6_1" WHERE "date"='2 december 2012'; | 2-17817946-2 |
What is the score of the final in $10,000 – tarakan , indonesia f2? | CREATE TABLE "itf_singles_finals_6_1" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent_in_final" text,
"score_in_final" text
); | SELECT "score_in_final" FROM "itf_singles_finals_6_1" WHERE "tournament"='$10,000 – tarakan , indonesia f2'; | 2-17817946-2 |
What was the place for the score 70-72-69=211? | CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "place" FROM "third_round" WHERE "score"='70-72-69=211'; | 2-18324411-6 |
What was the player for t9 and a score of 73-69-74=216? | CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "player" FROM "third_round" WHERE "place"='t9' AND "score"='73-69-74=216'; | 2-18324411-6 |
What was Stacy Lewis' place? | CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "place" FROM "third_round" WHERE "player"='stacy lewis'; | 2-18324411-6 |
What was the score when the tie no was 13? | 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 "tie_no"='13'; | 2-17751803-2 |
What was the score when Burnley was the away team? | 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"='burnley'; | 2-17751803-2 |
What is the To par when the finish is 66? | CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" text,
"finish" text
); | SELECT "to_par" FROM "made_the_cut" WHERE "finish"='66'; | 2-18135029-1 |
When the year won is 1981, 1987, and the finish is t46, what is the lowest total? | CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" text,
"finish" text
); | SELECT MIN("total") FROM "made_the_cut" WHERE "finish"='t46' AND "year_s_won"='1981, 1987'; | 2-18135029-1 |
Which year was won with a finish of 68 | CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" text,
"finish" text
); | SELECT "year_s_won" FROM "made_the_cut" WHERE "finish"='68'; | 2-18135029-1 |
WHTA IS THE SNATCH WITH A TOTAL OF LARGER THAN 318 KG AND BODY WEIGHT OF 84.15? | CREATE TABLE "light_heavyweight_85_kg" (
"name" text,
"bodyweight" real,
"snatch" real,
"clean_jerk" real,
"total_kg" real
); | SELECT AVG("snatch") FROM "light_heavyweight_85_kg" WHERE "total_kg">318 AND "bodyweight"=84.15; | 2-17703223-5 |
WHAT IS THE SNATCH WITH TOTAL KG SMALLER THAN 318, AND CLEAN JERK LARGER THAN 175? | CREATE TABLE "light_heavyweight_85_kg" (
"name" text,
"bodyweight" real,
"snatch" real,
"clean_jerk" real,
"total_kg" real
); | SELECT MIN("snatch") FROM "light_heavyweight_85_kg" WHERE "total_kg"<318 AND "clean_jerk">175; | 2-17703223-5 |
What date has 2 for killed, and jaffa as the location? | CREATE TABLE "religious_political_or_racial_crimes" (
"date" text,
"year" real,
"location" text,
"country" text,
"killed" text,
"injured" text
); | SELECT "date" FROM "religious_political_or_racial_crimes" WHERE "killed"='2' AND "location"='jaffa'; | 2-17794738-9 |
What is the injured that has skierlik as the location? | CREATE TABLE "religious_political_or_racial_crimes" (
"date" text,
"year" real,
"location" text,
"country" text,
"killed" text,
"injured" text
); | SELECT "injured" FROM "religious_political_or_racial_crimes" WHERE "location"='skierlik'; | 2-17794738-9 |
What shows at 1:00 pm when 4:00 pm shows local programs, and 8:00 am is The Early Show? | CREATE TABLE "summer_2001" (
"7_00_am" text,
"7_30_am" text,
"8_00_am" text,
"9_00_am" text,
"11_00_am" text,
"noon" text,
"12_30_pm" text,
"1_00_pm" text,
"1_30_pm" text,
"2_00_pm" text,
"3_00_pm" text,
"3_30_pm" text,
"4_00_pm" text,
"4_30_pm" text,
"5_00_pm" text,
"6_30_pm" text
); | SELECT "1_00_pm" FROM "summer_2001" WHERE "4_00_pm"='local programs' AND "8_00_am"='the early show'; | 2-17887585-4 |
What shows at 7:30 am when 3:30 pm is Big Guy and Rusty the Boy Robot? | CREATE TABLE "summer_2001" (
"7_00_am" text,
"7_30_am" text,
"8_00_am" text,
"9_00_am" text,
"11_00_am" text,
"noon" text,
"12_30_pm" text,
"1_00_pm" text,
"1_30_pm" text,
"2_00_pm" text,
"3_00_pm" text,
"3_30_pm" text,
"4_00_pm" text,
"4_30_pm" text,
"5_00_pm" text,
"6_30_pm" text
); | SELECT "7_30_am" FROM "summer_2001" WHERE "3_30_pm"='big guy and rusty the boy robot'; | 2-17887585-4 |
What shows at 9:00 am that has a 3:30 pm of passions? | CREATE TABLE "summer_2001" (
"7_00_am" text,
"7_30_am" text,
"8_00_am" text,
"9_00_am" text,
"11_00_am" text,
"noon" text,
"12_30_pm" text,
"1_00_pm" text,
"1_30_pm" text,
"2_00_pm" text,
"3_00_pm" text,
"3_30_pm" text,
"4_00_pm" text,
"4_30_pm" text,
"5_00_pm" text,
"6_30_pm" text
); | SELECT "9_00_am" FROM "summer_2001" WHERE "3_30_pm"='passions'; | 2-17887585-4 |
What shows at 4:30 pm when 4:00 pm is Pokémon? | CREATE TABLE "summer_2001" (
"7_00_am" text,
"7_30_am" text,
"8_00_am" text,
"9_00_am" text,
"11_00_am" text,
"noon" text,
"12_30_pm" text,
"1_00_pm" text,
"1_30_pm" text,
"2_00_pm" text,
"3_00_pm" text,
"3_30_pm" text,
"4_00_pm" text,
"4_30_pm" text,
"5_00_pm" text,
"6_30_pm" text
); | SELECT "4_30_pm" FROM "summer_2001" WHERE "4_00_pm"='pokémon'; | 2-17887585-4 |
What shows at 12:30 pm when 1:30 pm is All My Children? | CREATE TABLE "summer_2001" (
"7_00_am" text,
"7_30_am" text,
"8_00_am" text,
"9_00_am" text,
"11_00_am" text,
"noon" text,
"12_30_pm" text,
"1_00_pm" text,
"1_30_pm" text,
"2_00_pm" text,
"3_00_pm" text,
"3_30_pm" text,
"4_00_pm" text,
"4_30_pm" text,
"5_00_pm" text,
"6_30_pm" text
); | SELECT "12_30_pm" FROM "summer_2001" WHERE "1_30_pm"='all my children'; | 2-17887585-4 |
What is the 2nd leg that Team 1 is Union Berlin? | CREATE TABLE "second_round" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "2nd_leg" FROM "second_round" WHERE "team_1"='union berlin'; | 2-18210406-3 |
What is the Apps for the player with 150 Goals and a Ratio of 0.52? | CREATE TABLE "top_30_highest_goalscorers_all_time" (
"name" text,
"years" text,
"goals" real,
"apps" real,
"ratio" real
); | SELECT "apps" FROM "top_30_highest_goalscorers_all_time" WHERE "ratio"=0.52 AND "goals"=150; | 2-17937080-5 |
What is on at 3pm on the channel that shows Local Programs at non? | CREATE TABLE "winter_1999_2000" (
"7_00_am" text,
"7_30_am" text,
"8_00_am" text,
"9_00_am" text,
"10_00_am" text,
"11_00_am" text,
"noon" text,
"12_30_pm" text,
"1_00_pm" text,
"1_30_pm" text,
"2_00_pm" text,
"3_00_pm" text,
"3_30_pm" text,
"5_00_pm" text,
"6_30_pm" text
); | SELECT "3_00_pm" FROM "winter_1999_2000" WHERE "noon"='local programs'; | 2-17887548-2 |
What is the noon show on the channel that shows General Hospital at 3pm? | CREATE TABLE "winter_1999_2000" (
"7_00_am" text,
"7_30_am" text,
"8_00_am" text,
"9_00_am" text,
"10_00_am" text,
"11_00_am" text,
"noon" text,
"12_30_pm" text,
"1_00_pm" text,
"1_30_pm" text,
"2_00_pm" text,
"3_00_pm" text,
"3_30_pm" text,
"5_00_pm" text,
"6_30_pm" text
); | SELECT "noon" FROM "winter_1999_2000" WHERE "3_00_pm"='general hospital'; | 2-17887548-2 |
What is the 5pm show where CBS This Morning is on at 7am? | CREATE TABLE "winter_1999_2000" (
"7_00_am" text,
"7_30_am" text,
"8_00_am" text,
"9_00_am" text,
"10_00_am" text,
"11_00_am" text,
"noon" text,
"12_30_pm" text,
"1_00_pm" text,
"1_30_pm" text,
"2_00_pm" text,
"3_00_pm" text,
"3_30_pm" text,
"5_00_pm" text,
"6_30_pm" text
); | SELECT "5_00_pm" FROM "winter_1999_2000" WHERE "7_00_am"='cbs this morning'; | 2-17887548-2 |
What is on at 12:30pm where Local Programs are on at 1:30pm and Power Rangers Lost Galaxy is on at 3:30pm? | CREATE TABLE "winter_1999_2000" (
"7_00_am" text,
"7_30_am" text,
"8_00_am" text,
"9_00_am" text,
"10_00_am" text,
"11_00_am" text,
"noon" text,
"12_30_pm" text,
"1_00_pm" text,
"1_30_pm" text,
"2_00_pm" text,
"3_00_pm" text,
"3_30_pm" text,
"5_00_pm" text,
"6_30_pm" text
); | SELECT "12_30_pm" FROM "winter_1999_2000" WHERE "1_30_pm"='local programs' AND "3_30_pm"='power rangers lost galaxy'; | 2-17887548-2 |
What is on at 5pm on the channel where As the World Turns is on at 2pm? | CREATE TABLE "winter_1999_2000" (
"7_00_am" text,
"7_30_am" text,
"8_00_am" text,
"9_00_am" text,
"10_00_am" text,
"11_00_am" text,
"noon" text,
"12_30_pm" text,
"1_00_pm" text,
"1_30_pm" text,
"2_00_pm" text,
"3_00_pm" text,
"3_30_pm" text,
"5_00_pm" text,
"6_30_pm" text
); | SELECT "5_00_pm" FROM "winter_1999_2000" WHERE "2_00_pm"='as the world turns'; | 2-17887548-2 |
Which team won at the symmons plains raceway? | CREATE TABLE "race_calendar" (
"date" text,
"series" text,
"circuit" text,
"city_state" text,
"winner" text,
"team" text
); | SELECT "team" FROM "race_calendar" WHERE "circuit"='symmons plains raceway'; | 2-17902470-1 |
Which team won at winton motor raceway? | CREATE TABLE "race_calendar" (
"date" text,
"series" text,
"circuit" text,
"city_state" text,
"winner" text,
"team" text
); | SELECT "team" FROM "race_calendar" WHERE "circuit"='winton motor raceway'; | 2-17902470-1 |
Which circuit was the atcc round 7 at? | CREATE TABLE "race_calendar" (
"date" text,
"series" text,
"circuit" text,
"city_state" text,
"winner" text,
"team" text
); | SELECT "circuit" FROM "race_calendar" WHERE "series"='atcc round 7'; | 2-17902470-1 |
Which circuit did winfield team nissan win for the tooheys 1000? | CREATE TABLE "race_calendar" (
"date" text,
"series" text,
"circuit" text,
"city_state" text,
"winner" text,
"team" text
); | SELECT "circuit" FROM "race_calendar" WHERE "team"='winfield team nissan' AND "series"='tooheys 1000'; | 2-17902470-1 |
What is the date for the tooheys 1000? | CREATE TABLE "race_calendar" (
"date" text,
"series" text,
"circuit" text,
"city_state" text,
"winner" text,
"team" text
); | SELECT "date" FROM "race_calendar" WHERE "series"='tooheys 1000'; | 2-17902470-1 |
what series was in sydney, new south wales? | CREATE TABLE "race_calendar" (
"date" text,
"series" text,
"circuit" text,
"city_state" text,
"winner" text,
"team" text
); | SELECT "series" FROM "race_calendar" WHERE "city_state"='sydney, new south wales'; | 2-17902470-1 |
What was the rank for 1.26 Ø-Pts in game 1458? | CREATE TABLE "references" (
"rank" real,
"club" text,
"years" real,
"games" real,
"pts" real
); | SELECT COUNT("rank") FROM "references" WHERE "pts">1.26 AND "games"=1458; | 2-18290509-1 |
What is the Outcome of the match with Partner Marcella Mesker and a Score of 6–4, 4–6, 4–6? | CREATE TABLE "doubles_9_3_6" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
); | SELECT "outcome" FROM "doubles_9_3_6" WHERE "partner"='marcella mesker' AND "score"='6–4, 4–6, 4–6'; | 2-17727652-6 |
What is the Surface of the match with a Score of 2–6, 6–4, 7–6? | CREATE TABLE "doubles_9_3_6" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
); | SELECT "surface" FROM "doubles_9_3_6" WHERE "score"='2–6, 6–4, 7–6'; | 2-17727652-6 |
What is the Surface of the match played on October 5, 1987? | CREATE TABLE "doubles_9_3_6" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
); | SELECT "surface" FROM "doubles_9_3_6" WHERE "date"='october 5, 1987'; | 2-17727652-6 |
What is the Date of the match with a Score of 0–6, 2–6 with Partner Marcella Mesker? | CREATE TABLE "doubles_9_3_6" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
); | SELECT "date" FROM "doubles_9_3_6" WHERE "partner"='marcella mesker' AND "score"='0–6, 2–6'; | 2-17727652-6 |
Who is the Opponents on May 3, 1982? | CREATE TABLE "doubles_9_3_6" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
); | SELECT "opponents" FROM "doubles_9_3_6" WHERE "date"='may 3, 1982'; | 2-17727652-6 |
What is the Score of the match on May 21, 1984 with Outcome of runner-up? | CREATE TABLE "doubles_9_3_6" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
); | SELECT "score" FROM "doubles_9_3_6" WHERE "outcome"='runner-up' AND "date"='may 21, 1984'; | 2-17727652-6 |
What is the date of the 200m individual medley? | CREATE TABLE "women" (
"event" text,
"time" text,
"date" text,
"meet" text,
"location" text
); | SELECT "date" FROM "women" WHERE "event"='200m individual medley'; | 2-18020762-5 |
Which team was team 1 in the match where team 2 was olympique lyonnais (d2)? | CREATE TABLE "round_of_16" (
"team_1" text,
"score" text,
"team_2" text,
"1st_round" text,
"2nd_round" text
); | SELECT "team_1" FROM "round_of_16" WHERE "team_2"='olympique lyonnais (d2)'; | 2-17746881-1 |
What was the score of the match where paris sg (d1) was team 1? | CREATE TABLE "round_of_16" (
"team_1" text,
"score" text,
"team_2" text,
"1st_round" text,
"2nd_round" text
); | SELECT "score" FROM "round_of_16" WHERE "team_1"='paris sg (d1)'; | 2-17746881-1 |
Which Week has a Result of w 23–22? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "week" FROM "schedule" WHERE "result"='w 23–22'; | 2-17860875-2 |
When was there a bye result? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "date" FROM "schedule" WHERE "result"='bye'; | 2-17860875-2 |
When was the attendance 65,806? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "date" FROM "schedule" WHERE "attendance"='65,806'; | 2-17860875-2 |
Who was the opponent after week 16? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "opponent" FROM "schedule" WHERE "week">16; | 2-17860875-2 |
What is Commissioned, when Laid Down is "6 September 2003"? | CREATE TABLE "ships_in_class" (
"ship" text,
"hull_number" text,
"laid_down" text,
"launched" text,
"commissioned" text
); | SELECT "commissioned" FROM "ships_in_class" WHERE "laid_down"='6 september 2003'; | 2-181160-1 |
What is Launched, when Laid Down is "31 October 1981"? | CREATE TABLE "ships_in_class" (
"ship" text,
"hull_number" text,
"laid_down" text,
"launched" text,
"commissioned" text
); | SELECT "launched" FROM "ships_in_class" WHERE "laid_down"='31 october 1981'; | 2-181160-1 |
What is Ship, when Commissioned is "13 March 1982"? | CREATE TABLE "ships_in_class" (
"ship" text,
"hull_number" text,
"laid_down" text,
"launched" text,
"commissioned" text
); | SELECT "ship" FROM "ships_in_class" WHERE "commissioned"='13 march 1982'; | 2-181160-1 |
What is Launched, when Commissioned is "25 July 1998"? | CREATE TABLE "ships_in_class" (
"ship" text,
"hull_number" text,
"laid_down" text,
"launched" text,
"commissioned" text
); | SELECT "launched" FROM "ships_in_class" WHERE "commissioned"='25 july 1998'; | 2-181160-1 |
What is Laid Down, when Hull Number is "CVN-69"? | CREATE TABLE "ships_in_class" (
"ship" text,
"hull_number" text,
"laid_down" text,
"launched" text,
"commissioned" text
); | SELECT "laid_down" FROM "ships_in_class" WHERE "hull_number"='cvn-69'; | 2-181160-1 |
What is Laid Down, when Commissioned is "11 November 1989"? | CREATE TABLE "ships_in_class" (
"ship" text,
"hull_number" text,
"laid_down" text,
"launched" text,
"commissioned" text
); | SELECT "laid_down" FROM "ships_in_class" WHERE "commissioned"='11 november 1989'; | 2-181160-1 |
Can you tell me the Position that has the Entrant of j ampt? | CREATE TABLE "results" (
"position" text,
"driver" text,
"entrant" text,
"class" text,
"laps" real
); | SELECT "position" FROM "results" WHERE "entrant"='j ampt'; | 2-18338474-1 |
Can you tell me the Entrant that has the Laps of 17? | CREATE TABLE "results" (
"position" text,
"driver" text,
"entrant" text,
"class" text,
"laps" real
); | SELECT "entrant" FROM "results" WHERE "laps"=17; | 2-18338474-1 |
Can you tell me the Position that has the Driver of bib stillwell? | CREATE TABLE "results" (
"position" text,
"driver" text,
"entrant" text,
"class" text,
"laps" real
); | SELECT "position" FROM "results" WHERE "driver"='bib stillwell'; | 2-18338474-1 |
What are the results for a game with an attendance of 41,429? | CREATE TABLE "sugar_bowl" (
"date" text,
"opponentnum" text,
"site" text,
"result" text,
"attendance" text
); | SELECT "result" FROM "sugar_bowl" WHERE "attendance"='41,429'; | 2-18336216-30 |
Who were the opponents when there was an attendance of 48,165? | CREATE TABLE "sugar_bowl" (
"date" text,
"opponentnum" text,
"site" text,
"result" text,
"attendance" text
); | SELECT "opponentnum" FROM "sugar_bowl" WHERE "attendance"='48,165'; | 2-18336216-30 |
What are the results for the game with 82,113 attending? | CREATE TABLE "sugar_bowl" (
"date" text,
"opponentnum" text,
"site" text,
"result" text,
"attendance" text
); | SELECT "result" FROM "sugar_bowl" WHERE "attendance"='82,113'; | 2-18336216-30 |
Who was the girl on week 4 after week 3's Mikaela James? | CREATE TABLE "2010" (
"week_1" text,
"week_2" text,
"week_3" text,
"week_4" text,
"week_5" text
); | SELECT "week_4" FROM "2010" WHERE "week_3"='mikaela james'; | 2-17993994-11 |
Who was the girl on week 1 that was previous to week 3's Ava Hart? | CREATE TABLE "2010" (
"week_1" text,
"week_2" text,
"week_3" text,
"week_4" text,
"week_5" text
); | SELECT "week_1" FROM "2010" WHERE "week_3"='ava hart'; | 2-17993994-11 |
Who was the girl on week 2 that was previous to week 4's Chelsie Loraine? | CREATE TABLE "2010" (
"week_1" text,
"week_2" text,
"week_3" text,
"week_4" text,
"week_5" text
); | SELECT "week_2" FROM "2010" WHERE "week_4"='chelsie loraine'; | 2-17993994-11 |
Who was the girl on week 5 that came after week 3's Mikaela James? | CREATE TABLE "2010" (
"week_1" text,
"week_2" text,
"week_3" text,
"week_4" text,
"week_5" text
); | SELECT "week_5" FROM "2010" WHERE "week_3"='mikaela james'; | 2-17993994-11 |
Who was the girl on week 1 that preceded week 2's Kamila Sulewska? | CREATE TABLE "2010" (
"week_1" text,
"week_2" text,
"week_3" text,
"week_4" text,
"week_5" text
); | SELECT "week_1" FROM "2010" WHERE "week_2"='kamila sulewska'; | 2-17993994-11 |
Who was the girl on week 5 that came after week 3's Shelly Louise? | CREATE TABLE "2010" (
"week_1" text,
"week_2" text,
"week_3" text,
"week_4" text,
"week_5" text
); | SELECT "week_5" FROM "2010" WHERE "week_3"='shelly louise'; | 2-17993994-11 |
What is the lowest 1988-89, when Average is greater than 0.965, when 1987-88 is "40", when 1986-87 is "49", and when Points is greater than 123? | CREATE TABLE "relegation" (
"team" text,
"average" real,
"points" real,
"played" real,
"1986_87" text,
"1987_88" text,
"1988_89" real
); | SELECT MIN("1988_89") FROM "relegation" WHERE "average">0.965 AND "1987_88"='40' AND "1986_87"='49' AND "points">123; | 2-17968265-1 |
What is Played, when Points is less than 107, and when 1987-88 is "31"? | CREATE TABLE "relegation" (
"team" text,
"average" real,
"points" real,
"played" real,
"1986_87" text,
"1987_88" text,
"1988_89" real
); | SELECT "played" FROM "relegation" WHERE "points"<107 AND "1987_88"='31'; | 2-17968265-1 |
What is the lowest 1988-89, when Points is greater than 130, when 1987-88 is "37", and when Played is less than 114? | CREATE TABLE "relegation" (
"team" text,
"average" real,
"points" real,
"played" real,
"1986_87" text,
"1987_88" text,
"1988_89" real
); | SELECT MIN("1988_89") FROM "relegation" WHERE "points">130 AND "1987_88"='37' AND "played"<114; | 2-17968265-1 |
What is 1987-88, when Points is "136"? | CREATE TABLE "relegation" (
"team" text,
"average" real,
"points" real,
"played" real,
"1986_87" text,
"1987_88" text,
"1988_89" real
); | SELECT "1987_88" FROM "relegation" WHERE "points"=136; | 2-17968265-1 |
Name the the highest Draw which has Points of 22 and Goals Conceded smaller than 26? | CREATE TABLE "standings" (
"team" text,
"played" real,
"draw" real,
"lost" real,
"goals_scored" real,
"goals_conceded" real,
"points" text
); | SELECT MAX("draw") FROM "standings" WHERE "points"='22' AND "goals_conceded"<26; | 2-17633162-5 |
Name the highest Played of Goals Scored smaller than 18 and a Lost larger than 10? | CREATE TABLE "standings" (
"team" text,
"played" real,
"draw" real,
"lost" real,
"goals_scored" real,
"goals_conceded" real,
"points" text
); | SELECT MAX("played") FROM "standings" WHERE "goals_scored"<18 AND "lost">10; | 2-17633162-5 |
Name the average Played with a Points of 0*? | CREATE TABLE "standings" (
"team" text,
"played" real,
"draw" real,
"lost" real,
"goals_scored" real,
"goals_conceded" real,
"points" text
); | SELECT AVG("played") FROM "standings" WHERE "points"='0*'; | 2-17633162-5 |
Count the Draw which has Lost of 0, and a Goals Scored larger than 0? | CREATE TABLE "standings" (
"team" text,
"played" real,
"draw" real,
"lost" real,
"goals_scored" real,
"goals_conceded" real,
"points" text
); | SELECT SUM("draw") FROM "standings" WHERE "lost"=0 AND "goals_scored">0; | 2-17633162-5 |
Name the Goals Conceded which has a Draw of 0 and a Played larger than 0? | CREATE TABLE "standings" (
"team" text,
"played" real,
"draw" real,
"lost" real,
"goals_scored" real,
"goals_conceded" real,
"points" text
); | SELECT AVG("goals_conceded") FROM "standings" WHERE "draw"=0 AND "played">0; | 2-17633162-5 |
What is the rank for the Mixed Team nation with a total of less than 13? | CREATE TABLE "medal_count" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT "rank" FROM "medal_count" WHERE "total"<13 AND "nation"='mixed team'; | 2-182153-1 |
What is the total number of bronze medals for teams with less than 0 silver? | CREATE TABLE "medal_count" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT COUNT("bronze") FROM "medal_count" WHERE "silver"<0; | 2-182153-1 |
What is the average number of bronze medals when the team's silver are more than 1 but the total medals are less than 9? | CREATE TABLE "medal_count" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT AVG("bronze") FROM "medal_count" WHERE "silver">1 AND "total"<9; | 2-182153-1 |
How many military or civilians were wounded in the conflict that had an unknown number of civilian and total deaths? | CREATE TABLE "regular_conflicts" (
"military_deaths" text,
"civilian_deaths" text,
"total_deaths_not_including_foreigners" text,
"military_and_or_civilian_wounded" text,
"total_casualties" text
); | SELECT "military_and_or_civilian_wounded" FROM "regular_conflicts" WHERE "civilian_deaths"='unknown' AND "total_deaths_not_including_foreigners"='unknown'; | 2-17796039-3 |
How many civilians died in the conflict that left 231 members of the military dead? | CREATE TABLE "regular_conflicts" (
"military_deaths" text,
"civilian_deaths" text,
"total_deaths_not_including_foreigners" text,
"military_and_or_civilian_wounded" text,
"total_casualties" text
); | SELECT "civilian_deaths" FROM "regular_conflicts" WHERE "military_deaths"='231'; | 2-17796039-3 |
How many civilians died in the conflict that left 178, excluding foreigners, dead? | CREATE TABLE "regular_conflicts" (
"military_deaths" text,
"civilian_deaths" text,
"total_deaths_not_including_foreigners" text,
"military_and_or_civilian_wounded" text,
"total_casualties" text
); | SELECT "civilian_deaths" FROM "regular_conflicts" WHERE "total_deaths_not_including_foreigners"='178'; | 2-17796039-3 |
How many members of the military died in the conflict that had a total of 531 casualties? | CREATE TABLE "regular_conflicts" (
"military_deaths" text,
"civilian_deaths" text,
"total_deaths_not_including_foreigners" text,
"military_and_or_civilian_wounded" text,
"total_casualties" text
); | SELECT "military_deaths" FROM "regular_conflicts" WHERE "total_casualties"='531'; | 2-17796039-3 |
How many civilians died in the conflict that had a total of 1,130 casualties? | CREATE TABLE "regular_conflicts" (
"military_deaths" text,
"civilian_deaths" text,
"total_deaths_not_including_foreigners" text,
"military_and_or_civilian_wounded" text,
"total_casualties" text
); | SELECT "civilian_deaths" FROM "regular_conflicts" WHERE "total_casualties"='1,130'; | 2-17796039-3 |
Which team was the opponent on week 15? | CREATE TABLE "regular_season" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
); | SELECT "opponent" FROM "regular_season" WHERE "week"=15; | 2-17765264-1 |
What is the average Total, when Finish is "T47"? | CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" text,
"finish" text
); | SELECT AVG("total") FROM "made_the_cut" WHERE "finish"='t47'; | 2-18148559-1 |
What is To par, when Total is less than 297, and when Finish is "1"? | CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" text,
"finish" text
); | SELECT "to_par" FROM "made_the_cut" WHERE "total"<297 AND "finish"='1'; | 2-18148559-1 |
What is the Official ITV1 rating for auditions 4? | CREATE TABLE "ratings" (
"episode" text,
"air_date" text,
"official_itv1_rating" real,
"weekly_rank" text,
"share" text
); | SELECT "official_itv1_rating" FROM "ratings" WHERE "episode"='auditions 4'; | 2-17809257-14 |
What is the lowest official ITV1 rating with 45.4% share? | CREATE TABLE "ratings" (
"episode" text,
"air_date" text,
"official_itv1_rating" real,
"weekly_rank" text,
"share" text
); | SELECT MIN("official_itv1_rating") FROM "ratings" WHERE "share"='45.4%'; | 2-17809257-14 |
How many Goals against have Wins larger than 12, and a Club of ud las palmas, and a Position larger than 5? | CREATE TABLE "group_ii" (
"position" real,
"club" text,
"played" real,
"points" real,
"wins" real,
"draws" real,
"losses" real,
"goals_for" real,
"goals_against" real,
"goal_difference" real
); | SELECT COUNT("goals_against") FROM "group_ii" WHERE "wins">12 AND "club"='ud las palmas' AND "position">5; | 2-17715861-4 |
Which Goals against has Points smaller than 26, and Goals for smaller than 38, and a Position larger than 14, and a Goal Difference smaller than -32? | CREATE TABLE "group_ii" (
"position" real,
"club" text,
"played" real,
"points" real,
"wins" real,
"draws" real,
"losses" real,
"goals_for" real,
"goals_against" real,
"goal_difference" real
); | SELECT MAX("goals_against") FROM "group_ii" WHERE "points"<26 AND "goals_for"<38 AND "position">14 AND "goal_difference"<-32; | 2-17715861-4 |
Which Goals against have a Club of cd castellón, and Points smaller than 24? | CREATE TABLE "group_ii" (
"position" real,
"club" text,
"played" real,
"points" real,
"wins" real,
"draws" real,
"losses" real,
"goals_for" real,
"goals_against" real,
"goal_difference" real
); | SELECT AVG("goals_against") FROM "group_ii" WHERE "club"='cd castellón' AND "points"<24; | 2-17715861-4 |
How much Played has Goals against smaller than 34, and Wins smaller than 13? | CREATE TABLE "group_ii" (
"position" real,
"club" text,
"played" real,
"points" real,
"wins" real,
"draws" real,
"losses" real,
"goals_for" real,
"goals_against" real,
"goal_difference" real
); | SELECT SUM("played") FROM "group_ii" WHERE "goals_against"<34 AND "wins"<13; | 2-17715861-4 |
Which Played has a Position smaller than 4, and Wins larger than 16, and Points of 38, and Goals against larger than 35? | CREATE TABLE "group_ii" (
"position" real,
"club" text,
"played" real,
"points" real,
"wins" real,
"draws" real,
"losses" real,
"goals_for" real,
"goals_against" real,
"goal_difference" real
); | SELECT AVG("played") FROM "group_ii" WHERE "position"<4 AND "wins">16 AND "points"=38 AND "goals_against">35; | 2-17715861-4 |
What is the To Par score for the player from France? | CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "to_par" FROM "third_round" WHERE "country"='france'; | 2-18017216-6 |
What is the name of the player with an overall score of 70-69-69=208? | CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "player" FROM "third_round" WHERE "score"='70-69-69=208'; | 2-18017216-6 |
What is the To Par score for the player with an overall score of 71-68-69=208? | CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "to_par" FROM "third_round" WHERE "score"='71-68-69=208'; | 2-18017216-6 |
What location did Anke Huber win the championship? | CREATE TABLE "women_s_singles" (
"location" text,
"year" real,
"champion" text,
"runner_up" text,
"score" text
); | SELECT "location" FROM "women_s_singles" WHERE "champion"='anke huber'; | 2-17823320-3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.