question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
when the 1st player has a choice of bb r what is the 2nd player's probability of winning? | CREATE TABLE "variation_with_playing_cards" (
"1st_player_s_choice" text,
"2nd_player_s_choice" text,
"probability_1st_player_wins" text,
"probability_2nd_player_wins" text,
"probability_of_a_draw" text
); | SELECT "probability_2nd_player_wins" FROM "variation_with_playing_cards" WHERE "1st_player_s_choice"='bb r'; | 2-10664957-2 |
When the 2nd player's choice is r bb what is the probability the 1st player wins 0.11%? | CREATE TABLE "variation_with_playing_cards" (
"1st_player_s_choice" text,
"2nd_player_s_choice" text,
"probability_1st_player_wins" text,
"probability_2nd_player_wins" text,
"probability_of_a_draw" text
); | SELECT "probability_of_a_draw" FROM "variation_with_playing_cards" WHERE "2nd_player_s_choice"='r bb' AND "probability_1st_player_wins"='0.11%'; | 2-10664957-2 |
When the 2nd player chooses r bb, what is the 2nd player's probability of a winning draw of 93.54%? | CREATE TABLE "variation_with_playing_cards" (
"1st_player_s_choice" text,
"2nd_player_s_choice" text,
"probability_1st_player_wins" text,
"probability_2nd_player_wins" text,
"probability_of_a_draw" text
); | SELECT "probability_of_a_draw" FROM "variation_with_playing_cards" WHERE "probability_2nd_player_wins"='93.54%' AND "2nd_player_s_choice"='r bb'; | 2-10664957-2 |
What was Collingwood's score as the home team? | CREATE TABLE "round_3" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "home_team_score" FROM "round_3" WHERE "home_team"='collingwood'; | 2-10701045-3 |
What was the home team when the away team scored 4.9 (33)? | CREATE TABLE "round_3" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "home_team" FROM "round_3" WHERE "away_team_score"='4.9 (33)'; | 2-10701045-3 |
What was the average crowd size when teh home team scored 13.24 (102)? | CREATE TABLE "round_3" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT AVG("crowd") FROM "round_3" WHERE "home_team_score"='13.24 (102)'; | 2-10701045-3 |
What venue features carlton as the home side? | CREATE TABLE "round_11" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "venue" FROM "round_11" WHERE "home_team"='carlton'; | 2-10746808-11 |
What day is collingwood the home side? | CREATE TABLE "round_11" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "date" FROM "round_11" WHERE "home_team"='collingwood'; | 2-10746808-11 |
What is the away team's score when hawthorn is away? | CREATE TABLE "round_11" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "away_team_score" FROM "round_11" WHERE "away_team"='hawthorn'; | 2-10746808-11 |
Who is the home side when the away side score is 8.8 (56)? | CREATE TABLE "round_11" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "home_team" FROM "round_11" WHERE "away_team_score"='8.8 (56)'; | 2-10746808-11 |
The event that has a record of 1-0 is none of the above. | 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 "record"='1-0'; | 2-10732390-2 |
What year was Leon Blevins picked? | CREATE TABLE "nba_draft_picks" (
"name" text,
"round" text,
"overall_pick" text,
"year" real,
"team" text
); | SELECT SUM("year") FROM "nba_draft_picks" WHERE "name"='leon blevins'; | 2-10609116-4 |
What year was Jordan Hill picked overall number 8? | CREATE TABLE "nba_draft_picks" (
"name" text,
"round" text,
"overall_pick" text,
"year" real,
"team" text
); | SELECT MIN("year") FROM "nba_draft_picks" WHERE "overall_pick"='8' AND "name"='jordan hill'; | 2-10609116-4 |
In 1981 which team picked overall 148? | CREATE TABLE "nba_draft_picks" (
"name" text,
"round" text,
"overall_pick" text,
"year" real,
"team" text
); | SELECT "team" FROM "nba_draft_picks" WHERE "year"=1981 AND "overall_pick"='148'; | 2-10609116-4 |
What is the place of the team that had a total score larger than 37 and a week one score above 20? | CREATE TABLE "scoring_chart" (
"couple" text,
"place" real,
"wk_1" real,
"wk_2" real,
"tot_1_2" real
); | SELECT MIN("place") FROM "scoring_chart" WHERE "tot_1_2">37 AND "wk_1">20; | 2-10535354-2 |
How many people attended the game on December 2, 1951? | CREATE TABLE "regular_season_schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT "attendance" FROM "regular_season_schedule" WHERE "date"='december 2, 1951'; | 2-10649194-3 |
After week 9, which games had an attendance greater than 24,229? | CREATE TABLE "regular_season_schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT "date" FROM "regular_season_schedule" WHERE "attendance">'24,229' AND "week">9; | 2-10649194-3 |
What venue does st kilda play at as the away team? | CREATE TABLE "round_18" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "venue" FROM "round_18" WHERE "away_team"='st kilda'; | 2-10766119-18 |
What is melbourne's home team score? | CREATE TABLE "round_18" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "home_team_score" FROM "round_18" WHERE "home_team"='melbourne'; | 2-10766119-18 |
How many games is collingwood the home side? | CREATE TABLE "round_18" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT COUNT("crowd") FROM "round_18" WHERE "home_team"='collingwood'; | 2-10766119-18 |
Who was the opponent on the date of November 29, 1970 and the attendance was less than 31,427? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT AVG("week") FROM "schedule" WHERE "date"='november 29, 1970' AND "attendance"<'31,427'; | 2-10646877-1 |
On what date was the game where is was later than Week 4 of the season and the opponent was the New York Giants? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT "date" FROM "schedule" WHERE "week">4 AND "opponent"='new york giants'; | 2-10646877-1 |
What was the attendance of the game on December 13, 1970? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT COUNT("attendance") FROM "schedule" WHERE "date"='december 13, 1970' AND "week">13; | 2-10646877-1 |
What is the date before week 13 and Miami Dolphins as an opponent? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"attendance" real
); | SELECT "date" FROM "schedule" WHERE "week"<13 AND "opponent"='miami dolphins'; | 2-10672318-1 |
What is the attendance for week 11? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"attendance" real
); | SELECT "attendance" FROM "schedule" WHERE "week"=11; | 2-10672318-1 |
What is the average crowd size when the home side scores 8.9 (57)? | CREATE TABLE "round_17" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT AVG("crowd") FROM "round_17" WHERE "home_team_score"='8.9 (57)'; | 2-10766119-17 |
What is the home team's score for north melbourne? | CREATE TABLE "round_17" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "home_team_score" FROM "round_17" WHERE "home_team"='north melbourne'; | 2-10766119-17 |
What is the average crowd size when the home team scores 16.9 (105)? | CREATE TABLE "round_17" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT AVG("crowd") FROM "round_17" WHERE "home_team_score"='16.9 (105)'; | 2-10766119-17 |
Who sponsors Josele Garza in all rounds? | CREATE TABLE "teams_and_drivers" (
"team" text,
"chassis" text,
"engine" text,
"driver_s" text,
"sponsor_s" text,
"rounds" text
); | SELECT "sponsor_s" FROM "teams_and_drivers" WHERE "rounds"='all' AND "driver_s"='josele garza'; | 2-10707111-1 |
Which rounds did the team Walther participate in? | CREATE TABLE "teams_and_drivers" (
"team" text,
"chassis" text,
"engine" text,
"driver_s" text,
"sponsor_s" text,
"rounds" text
); | SELECT "rounds" FROM "teams_and_drivers" WHERE "team"='walther'; | 2-10707111-1 |
What team was Tom Sneva on in rounds 1-9? | CREATE TABLE "teams_and_drivers" (
"team" text,
"chassis" text,
"engine" text,
"driver_s" text,
"sponsor_s" text,
"rounds" text
); | SELECT "team" FROM "teams_and_drivers" WHERE "driver_s"='tom sneva' AND "rounds"='1-9'; | 2-10707111-1 |
Which rounds do Arciero Wines sponsor a March 85c chassis? | CREATE TABLE "teams_and_drivers" (
"team" text,
"chassis" text,
"engine" text,
"driver_s" text,
"sponsor_s" text,
"rounds" text
); | SELECT "rounds" FROM "teams_and_drivers" WHERE "sponsor_s"='arciero wines' AND "chassis"='march 85c'; | 2-10707111-1 |
What years were the inactive North Carolina chapter active? | CREATE TABLE "list_of_chapters" (
"chapter" text,
"chartered" text,
"school" text,
"state" text,
"status" text,
"charter_range" text
); | SELECT "charter_range" FROM "list_of_chapters" WHERE "status"='inactive' AND "state"='north carolina'; | 2-10769791-1 |
What years were the inactive Idaho chapter active? | CREATE TABLE "list_of_chapters" (
"chapter" text,
"chartered" text,
"school" text,
"state" text,
"status" text,
"charter_range" text
); | SELECT "charter_range" FROM "list_of_chapters" WHERE "status"='inactive' AND "state"='idaho'; | 2-10769791-1 |
Which chapter was active from 1906-1991? | CREATE TABLE "list_of_chapters" (
"chapter" text,
"chartered" text,
"school" text,
"state" text,
"status" text,
"charter_range" text
); | SELECT "chapter" FROM "list_of_chapters" WHERE "charter_range"='1906-1991'; | 2-10769791-1 |
What are the active dates for the Montana State University chapter? | CREATE TABLE "list_of_chapters" (
"chapter" text,
"chartered" text,
"school" text,
"state" text,
"status" text,
"charter_range" text
); | SELECT "charter_range" FROM "list_of_chapters" WHERE "school"='montana state university'; | 2-10769791-1 |
What state had an active chapter from 1906-1991? | CREATE TABLE "list_of_chapters" (
"chapter" text,
"chartered" text,
"school" text,
"state" text,
"status" text,
"charter_range" text
); | SELECT "state" FROM "list_of_chapters" WHERE "charter_range"='1906-1991'; | 2-10769791-1 |
How many people were at the game with a record of 6-1? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"tv_time" text,
"attendance" text
); | SELECT "attendance" FROM "schedule" WHERE "record"='6-1'; | 2-10659538-3 |
When was there a game against the Indianapolis colts? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"tv_time" text,
"attendance" text
); | SELECT "date" FROM "schedule" WHERE "opponent"='indianapolis colts'; | 2-10659538-3 |
What is the lowest crowd size at MCG? | CREATE TABLE "round_16" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT MIN("crowd") FROM "round_16" WHERE "venue"='mcg'; | 2-10766119-16 |
What is the away team name that has a score of 7.10 (52)? | CREATE TABLE "round_16" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "away_team" FROM "round_16" WHERE "away_team_score"='7.10 (52)'; | 2-10773753-16 |
What is the average crowd size when the home team is North Melbourne? | CREATE TABLE "round_16" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT AVG("crowd") FROM "round_16" WHERE "home_team"='north melbourne'; | 2-10773753-16 |
What is the away team score when the home team is North Melbourne? | CREATE TABLE "round_16" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "away_team_score" FROM "round_16" WHERE "home_team"='north melbourne'; | 2-10773753-16 |
What is the pole position for marlboro challenge? | CREATE TABLE "races" (
"race_name" text,
"circuit" text,
"city_location" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text,
"report" text
); | SELECT "pole_position" FROM "races" WHERE "race_name"='marlboro challenge'; | 2-10725629-2 |
What circut has an unknown fastest lap on July 19? | CREATE TABLE "races" (
"race_name" text,
"circuit" text,
"city_location" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text,
"report" text
); | SELECT "circuit" FROM "races" WHERE "fastest_lap"='unknown' AND "date"='july 19'; | 2-10725629-2 |
What circuit did marlboro team penske win with an unknown fastest lap? | CREATE TABLE "races" (
"race_name" text,
"circuit" text,
"city_location" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text,
"report" text
); | SELECT "circuit" FROM "races" WHERE "winning_team"='marlboro team penske' AND "fastest_lap"='unknown'; | 2-10725629-2 |
What team does mario andretti play pole position for? | CREATE TABLE "races" (
"race_name" text,
"circuit" text,
"city_location" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text,
"report" text
); | SELECT "winning_team" FROM "races" WHERE "pole_position"='mario andretti'; | 2-10725629-2 |
What was the venue where Carlton was the away team? | CREATE TABLE "round_4" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "venue" FROM "round_4" WHERE "away_team"='carlton'; | 2-10750694-4 |
What was the venue where the home team scored 13.9 (87)? | CREATE TABLE "round_4" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "venue" FROM "round_4" WHERE "home_team_score"='13.9 (87)'; | 2-10750694-4 |
What was the away team whose opponents scored 8.16 (64)? | CREATE TABLE "round_4" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "away_team" FROM "round_4" WHERE "home_team_score"='8.16 (64)'; | 2-10750694-4 |
What was the venue when Carlton was the away team? | CREATE TABLE "round_4" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "venue" FROM "round_4" WHERE "away_team"='carlton'; | 2-10750694-4 |
What was the highest heat with a time slower than 48.87 from sweden? | CREATE TABLE "semifinals" (
"rank" real,
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"time" real
); | SELECT MAX("heat") FROM "semifinals" WHERE "time">48.87 AND "nationality"='sweden'; | 2-10557471-3 |
How many lanes featured a swimmer ranked above 4, in a heat later than 1, from australia, named ashley callus? | CREATE TABLE "semifinals" (
"rank" real,
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"time" real
); | SELECT COUNT("lane") FROM "semifinals" WHERE "rank">4 AND "heat">1 AND "nationality"='australia' AND "name"='ashley callus'; | 2-10557471-3 |
What is the Eurozone result for Population M (LUZ) of 3.08? | CREATE TABLE "cities_by_gdp" (
"rank" real,
"city" text,
"state" text,
"gdp_in_id_b" text,
"population_m_luz" real,
"gdp_per_capita_id_k" text,
"eurozone" text
); | SELECT "eurozone" FROM "cities_by_gdp" WHERE "population_m_luz"=3.08; | 2-1069072-1 |
What is the GDP $IDB in Istanbul? | CREATE TABLE "cities_by_gdp" (
"rank" real,
"city" text,
"state" text,
"gdp_in_id_b" text,
"population_m_luz" real,
"gdp_per_capita_id_k" text,
"eurozone" text
); | SELECT "gdp_in_id_b" FROM "cities_by_gdp" WHERE "city"='istanbul'; | 2-1069072-1 |
What is the most recently founded school that joined in 2011? | CREATE TABLE "current_members" (
"institution" text,
"location" text,
"men_s_nickname" text,
"women_s_nickname" text,
"founded" real,
"type" text,
"enrollment" real,
"joined" text
); | SELECT MAX("founded") FROM "current_members" WHERE "joined"='2011'; | 2-10577579-2 |
What was the home team that scored 24.14 (158) in front of a crowd larger than 18,000? | CREATE TABLE "round_12" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "home_team" FROM "round_12" WHERE "crowd">'18,000' AND "home_team_score"='24.14 (158)'; | 2-10774891-12 |
What was the home team that played Geelong? | CREATE TABLE "round_12" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "home_team_score" FROM "round_12" WHERE "away_team"='geelong'; | 2-10774891-12 |
What was the home team's score when they played Richmond? | CREATE TABLE "round_12" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "home_team_score" FROM "round_12" WHERE "away_team"='richmond'; | 2-10774891-12 |
What is Melbourne's home venue? | CREATE TABLE "round_12" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "venue" FROM "round_12" WHERE "home_team"='melbourne'; | 2-10774891-12 |
What was the venue when the away team scored 9.17 (71)? | CREATE TABLE "round_12" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "venue" FROM "round_12" WHERE "away_team_score"='9.17 (71)'; | 2-10774891-12 |
What was the overall draft pick for the player selected for the tight end position? | CREATE TABLE "2003_new_england_patriots_draft_selectio" (
"round" real,
"overall" real,
"player" text,
"position" text,
"college" text
); | SELECT "overall" FROM "2003_new_england_patriots_draft_selectio" WHERE "position"='tight end'; | 2-10716158-1 |
Which home team corresponds to an away team score of 10.12 (72)? | CREATE TABLE "round_5" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "home_team" FROM "round_5" WHERE "away_team_score"='10.12 (72)'; | 2-10746200-5 |
On what date is Hawthorn the home team? | CREATE TABLE "round_5" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "date" FROM "round_5" WHERE "home_team"='hawthorn'; | 2-10746200-5 |
On what date is St Kilda the away team? | CREATE TABLE "round_5" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "date" FROM "round_5" WHERE "away_team"='st kilda'; | 2-10746200-5 |
Who did the Browns play on October 13, 1968? | CREATE TABLE "regular_season_schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT "opponent" FROM "regular_season_schedule" WHERE "date"='october 13, 1968'; | 2-10652150-3 |
Which game is named tsegay kebede category:articles with hcards? | CREATE TABLE "list_of_medalists" (
"medal" text,
"name" text,
"games" text,
"sport" text,
"event" text
); | SELECT "games" FROM "list_of_medalists" WHERE "name"='tsegay kebede category:articles with hcards'; | 2-10577804-3 |
Which event in the 2000 Sydney games was in the category gete wami category:articles with hcards? | CREATE TABLE "list_of_medalists" (
"medal" text,
"name" text,
"games" text,
"sport" text,
"event" text
); | SELECT "event" FROM "list_of_medalists" WHERE "games"='2000 sydney' AND "name"='gete wami category:articles with hcards'; | 2-10577804-3 |
Which event in the 2008 Beijing Games had a bronze medal? | CREATE TABLE "list_of_medalists" (
"medal" text,
"name" text,
"games" text,
"sport" text,
"event" text
); | SELECT "event" FROM "list_of_medalists" WHERE "games"='2008 beijing' AND "medal"='bronze'; | 2-10577804-3 |
What is the medal named fatuma roba category:articles with hcards for? | CREATE TABLE "list_of_medalists" (
"medal" text,
"name" text,
"games" text,
"sport" text,
"event" text
); | SELECT "medal" FROM "list_of_medalists" WHERE "name"='fatuma roba category:articles with hcards'; | 2-10577804-3 |
What is the game named derartu tulu category:articles with hcards? | CREATE TABLE "list_of_medalists" (
"medal" text,
"name" text,
"games" text,
"sport" text,
"event" text
); | SELECT "games" FROM "list_of_medalists" WHERE "name"='derartu tulu category:articles with hcards'; | 2-10577804-3 |
What is the fastest time for the Kentucky Derby race? | CREATE TABLE "races" (
"finish" text,
"race" text,
"distance" text,
"jockey" text,
"time" text,
"grade" text,
"runner_up_winner" text,
"track" text
); | SELECT "time" FROM "races" WHERE "race"='kentucky derby'; | 2-10731284-1 |
Which track does the Woodward Stakes race take place on? | CREATE TABLE "races" (
"finish" text,
"race" text,
"distance" text,
"jockey" text,
"time" text,
"grade" text,
"runner_up_winner" text,
"track" text
); | SELECT "track" FROM "races" WHERE "race"='woodward stakes'; | 2-10731284-1 |
What grade did jockey Robby Albarado get when racing with Ravens Pass? | CREATE TABLE "races" (
"finish" text,
"race" text,
"distance" text,
"jockey" text,
"time" text,
"grade" text,
"runner_up_winner" text,
"track" text
); | SELECT "grade" FROM "races" WHERE "jockey"='robby albarado' AND "runner_up_winner"='ravens pass'; | 2-10731284-1 |
In which Age Category is Marco Manenti? | CREATE TABLE "men_s_lanterne_rouge" (
"year" real,
"name" text,
"nationality" text,
"time" text,
"age_category" text
); | SELECT "age_category" FROM "men_s_lanterne_rouge" WHERE "name"='marco manenti'; | 2-10661645-3 |
Which year has a Time of 13:23:43? | CREATE TABLE "men_s_lanterne_rouge" (
"year" real,
"name" text,
"nationality" text,
"time" text,
"age_category" text
); | SELECT "year" FROM "men_s_lanterne_rouge" WHERE "time"='13:23:43'; | 2-10661645-3 |
What score has 3-7 as the record? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"time" text,
"att" text,
"record" text
); | SELECT "score" FROM "game_log" WHERE "record"='3-7'; | 2-14337020-2 |
What loss has 16,458 as an Att.? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"time" text,
"att" text,
"record" text
); | SELECT "loss" FROM "game_log" WHERE "att"='16,458'; | 2-14337020-2 |
What date has 5-3 as the score, and holt (1-1) as a loss? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"time" text,
"att" text,
"record" text
); | SELECT "date" FROM "game_log" WHERE "score"='5-3' AND "loss"='holt (1-1)'; | 2-14337020-2 |
What is the sector of the company with an incorporated date before 1983? | CREATE TABLE "transport" (
"s_no" real,
"company" text,
"incorporated" real,
"ministry" text,
"sector" text
); | SELECT "sector" FROM "transport" WHERE "incorporated"<1983; | 2-15221362-8 |
What is the average incorporataed year of the Air India Charters company? | CREATE TABLE "transport" (
"s_no" real,
"company" text,
"incorporated" real,
"ministry" text,
"sector" text
); | SELECT AVG("incorporated") FROM "transport" WHERE "company"='air india charters'; | 2-15221362-8 |
How many votes were tallied in 1956 with a % of national vote larger than 11.47? | CREATE TABLE "lanka_sama_samaja_party_electoral_result" (
"date" text,
"candidates_nominated" real,
"candidates_elected" text,
"votes" real,
"pct_of_national_vote" real
); | SELECT SUM("votes") FROM "lanka_sama_samaja_party_electoral_result" WHERE "date"='1956' AND "pct_of_national_vote">11.47; | 2-1489496-1 |
How many candidates were nominated in 1952 with under 305,133 votes? | CREATE TABLE "lanka_sama_samaja_party_electoral_result" (
"date" text,
"candidates_nominated" real,
"candidates_elected" text,
"votes" real,
"pct_of_national_vote" real
); | SELECT SUM("candidates_nominated") FROM "lanka_sama_samaja_party_electoral_result" WHERE "date"='1952' AND "votes"<'305,133'; | 2-1489496-1 |
How many votes were tallied with a % of national vote of 13.11, and over 39 candidates nominated? | CREATE TABLE "lanka_sama_samaja_party_electoral_result" (
"date" text,
"candidates_nominated" real,
"candidates_elected" text,
"votes" real,
"pct_of_national_vote" real
); | SELECT COUNT("votes") FROM "lanka_sama_samaja_party_electoral_result" WHERE "pct_of_national_vote"=13.11 AND "candidates_nominated">39; | 2-1489496-1 |
Who is the visitor with a record of 14–17–5? | CREATE TABLE "game_log" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"attendance" real,
"record" text,
"points" real
); | SELECT "visitor" FROM "game_log" WHERE "record"='14–17–5'; | 2-13931419-5 |
How many in attendance when Penguins were home with a record of 14–19–6 with less than 34 points? | CREATE TABLE "game_log" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"attendance" real,
"record" text,
"points" real
); | SELECT COUNT("attendance") FROM "game_log" WHERE "home"='penguins' AND "record"='14–19–6' AND "points"<34; | 2-13931419-5 |
Which Format has a Catalog of 561 445-1? | CREATE TABLE "release_history" (
"date" text,
"label" text,
"region" text,
"format" text,
"catalog" text
); | SELECT "format" FROM "release_history" WHERE "catalog"='561 445-1'; | 2-14871719-1 |
Which Region has a Date of early september 1999? | CREATE TABLE "release_history" (
"date" text,
"label" text,
"region" text,
"format" text,
"catalog" text
); | SELECT "region" FROM "release_history" WHERE "date"='early september 1999'; | 2-14871719-1 |
Which Region has a Date of early september 1999? | CREATE TABLE "release_history" (
"date" text,
"label" text,
"region" text,
"format" text,
"catalog" text
); | SELECT "region" FROM "release_history" WHERE "date"='early september 1999'; | 2-14871719-1 |
What was the date of the game with a loss of White (4-5)? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT "date" FROM "game_log" WHERE "loss"='white (4-5)'; | 2-14546539-6 |
what score has a location and attendance of montreal forum and the date of may 10? | CREATE TABLE "playoffs" (
"date" text,
"opponent" text,
"score" text,
"location_attendance" text,
"series" text
); | SELECT "score" FROM "playoffs" WHERE "location_attendance"='montreal forum' AND "date"='may 10'; | 2-13907594-4 |
Which Interview has a Province of monte cristi and a Swimsuit larger than 7.27 | CREATE TABLE "preliminaries_scores" (
"province" text,
"swimsuit" real,
"evening_gown" real,
"interview" real,
"average" real
); | SELECT SUM("interview") FROM "preliminaries_scores" WHERE "province"='monte cristi' AND "swimsuit">7.27; | 2-15081939-4 |
WHich Evening Gown has a Swimsuit smaller than 7.99 and a Interview larger than 7.98? | CREATE TABLE "preliminaries_scores" (
"province" text,
"swimsuit" real,
"evening_gown" real,
"interview" real,
"average" real
); | SELECT AVG("evening_gown") FROM "preliminaries_scores" WHERE "swimsuit"<7.99 AND "interview">7.98; | 2-15081939-4 |
Which Interview has a Swimsuit larger than 7.6, and a Province of la vega, and an Average smaller than 8.38? | CREATE TABLE "preliminaries_scores" (
"province" text,
"swimsuit" real,
"evening_gown" real,
"interview" real,
"average" real
); | SELECT SUM("interview") FROM "preliminaries_scores" WHERE "swimsuit">7.6 AND "province"='la vega' AND "average"<8.38; | 2-15081939-4 |
Which items in segment A have a segment D of marble sculptures? | CREATE TABLE "season_13_2009" (
"series_ep" text,
"episode" real,
"segment_a" text,
"segment_b" text,
"segment_c" text,
"segment_d" text
); | SELECT "segment_a" FROM "season_13_2009" WHERE "segment_d"='marble sculptures'; | 2-15187735-13 |
Which segment A also has a segment D of kitchen shears? | CREATE TABLE "season_13_2009" (
"series_ep" text,
"episode" real,
"segment_a" text,
"segment_b" text,
"segment_c" text,
"segment_d" text
); | SELECT "segment_a" FROM "season_13_2009" WHERE "segment_d"='kitchen shears'; | 2-15187735-13 |
Which items in segment C is episode 160? | CREATE TABLE "season_13_2009" (
"series_ep" text,
"episode" real,
"segment_a" text,
"segment_b" text,
"segment_c" text,
"segment_d" text
); | SELECT "segment_c" FROM "season_13_2009" WHERE "episode"=160; | 2-15187735-13 |
Which season last aired on May 6, 1987? | CREATE TABLE "ratings" (
"season" text,
"episodes" real,
"first_airdate" text,
"last_airdate" text,
"nielsen_ranking" text
); | SELECT "season" FROM "ratings" WHERE "last_airdate"='may 6, 1987'; | 2-1485652-1 |
What is the Nielsen ranking for Season 8? | CREATE TABLE "ratings" (
"season" text,
"episodes" real,
"first_airdate" text,
"last_airdate" text,
"nielsen_ranking" text
); | SELECT "nielsen_ranking" FROM "ratings" WHERE "season"='season 8'; | 2-1485652-1 |
What was the first airdate or the season that had less than 24 episodes and a Nielsen ranking of #38? | CREATE TABLE "ratings" (
"season" text,
"episodes" real,
"first_airdate" text,
"last_airdate" text,
"nielsen_ranking" text
); | SELECT "first_airdate" FROM "ratings" WHERE "episodes"<24 AND "nielsen_ranking"='#38'; | 2-1485652-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.