question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
How many people attended the game with a final score of 75-90? | CREATE TABLE "december" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"leading_scorer" text,
"attendance" text,
"record" text
); | SELECT "attendance" FROM "december" WHERE "score"='75-90'; | 2-16188254-4 |
What is Mike Weir's To par? | CREATE TABLE "final_round_sunday" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" text
); | SELECT "to_par" FROM "final_round_sunday" WHERE "player"='mike weir'; | 2-16147528-9 |
From Country is Vijay Singh? | CREATE TABLE "final_round_sunday" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" text
); | SELECT "country" FROM "final_round_sunday" WHERE "player"='vijay singh'; | 2-16147528-9 |
What is the Player in T5 Place? | CREATE TABLE "final_round_sunday" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" text
); | SELECT "player" FROM "final_round_sunday" WHERE "place"='t5'; | 2-16147528-9 |
What is the Place of the Player with a Score of 73-73-65-73=284? | CREATE TABLE "final_round_sunday" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" text
); | SELECT "place" FROM "final_round_sunday" WHERE "score"='73-73-65-73=284'; | 2-16147528-9 |
Who was the Home captain that played at the venue Oval? | CREATE TABLE "australia_in_england_1902" (
"date" text,
"home_captain" text,
"away_captain" text,
"venue" text,
"result" text
); | SELECT "home_captain" FROM "australia_in_england_1902" WHERE "venue"='oval'; | 2-1598207-2 |
Who was the Away captain that played on 12,13,14 Jun 1902 which resulted in a draw? | CREATE TABLE "australia_in_england_1902" (
"date" text,
"home_captain" text,
"away_captain" text,
"venue" text,
"result" text
); | SELECT "away_captain" FROM "australia_in_england_1902" WHERE "result"='draw' AND "date"='12,13,14 jun 1902'; | 2-1598207-2 |
Who is the Away captain that played on 11,12,13 Aug 1902? | CREATE TABLE "australia_in_england_1902" (
"date" text,
"home_captain" text,
"away_captain" text,
"venue" text,
"result" text
); | SELECT "away_captain" FROM "australia_in_england_1902" WHERE "date"='11,12,13 aug 1902'; | 2-1598207-2 |
What was the result of the game that was played on 29,30–31 May 1902? | CREATE TABLE "australia_in_england_1902" (
"date" text,
"home_captain" text,
"away_captain" text,
"venue" text,
"result" text
); | SELECT "result" FROM "australia_in_england_1902" WHERE "date"='29,30–31 may 1902'; | 2-1598207-2 |
What was the result of the game that was played on 3,4,5 Jul 1902? | CREATE TABLE "australia_in_england_1902" (
"date" text,
"home_captain" text,
"away_captain" text,
"venue" text,
"result" text
); | SELECT "result" FROM "australia_in_england_1902" WHERE "date"='3,4,5 jul 1902'; | 2-1598207-2 |
What is the number of ends lost when there are 15 blank ends, less than 14 stolen ends? | CREATE TABLE "standings" (
"locale" text,
"skip" text,
"ends_won" real,
"ends_lost" real,
"blank_ends" real,
"stolen_ends" real,
"shot_pct" real
); | SELECT COUNT("ends_lost") FROM "standings" WHERE "blank_ends"=15 AND "stolen_ends"<14; | 2-15333005-1 |
What is the number of blank ends when the stolen ends were 17 and Jennifer Jones was skipped with a more than 83 shot pct? | CREATE TABLE "standings" (
"locale" text,
"skip" text,
"ends_won" real,
"ends_lost" real,
"blank_ends" real,
"stolen_ends" real,
"shot_pct" real
); | SELECT COUNT("blank_ends") FROM "standings" WHERE "stolen_ends"=17 AND "skip"='jennifer jones' AND "shot_pct">83; | 2-15333005-1 |
What is the average Wins, when F/Laps is greater than 1, and when Points is 80? | CREATE TABLE "career_summary" (
"season" real,
"series" text,
"races" real,
"wins" real,
"poles" real,
"f_laps" real,
"podiums" real,
"points" text,
"position" text
); | SELECT AVG("wins") FROM "career_summary" WHERE "f_laps">1 AND "points"='80'; | 2-1618788-1 |
What is the sum of Races, when Podiums is less than 3, when Wins is 0, when Season is after 2001, and when Points is 32? | CREATE TABLE "career_summary" (
"season" real,
"series" text,
"races" real,
"wins" real,
"poles" real,
"f_laps" real,
"podiums" real,
"points" text,
"position" text
); | SELECT SUM("races") FROM "career_summary" WHERE "podiums"<3 AND "wins"=0 AND "season">2001 AND "points"='32'; | 2-1618788-1 |
What is the average Season, when F/Laps is 1, and when Poles is less than 0? | CREATE TABLE "career_summary" (
"season" real,
"series" text,
"races" real,
"wins" real,
"poles" real,
"f_laps" real,
"podiums" real,
"points" text,
"position" text
); | SELECT AVG("season") FROM "career_summary" WHERE "f_laps"=1 AND "poles"<0; | 2-1618788-1 |
What is the highest Poles, when Series is Ginetta Championship, and when Season is before 2007? | CREATE TABLE "career_summary" (
"season" real,
"series" text,
"races" real,
"wins" real,
"poles" real,
"f_laps" real,
"podiums" real,
"points" text,
"position" text
); | SELECT MAX("poles") FROM "career_summary" WHERE "series"='ginetta championship' AND "season"<2007; | 2-1618788-1 |
What is the lowest wk 7 with a wk 3 value of 12, a wk 4 less than 9, and a wk 2 greater than 11? | CREATE TABLE "ranking_movement" (
"poll" text,
"wk_2" real,
"wk_3" real,
"wk_4" real,
"wk_5" real,
"wk_6" real,
"wk_7" real,
"wk_8" real,
"wk_9" real,
"wk_10" real,
"wk_11" real,
"wk_12" real,
"wk_13" text,
"wk_14" text,
"final" text
); | SELECT MIN("wk_7") FROM "ranking_movement" WHERE "wk_3"=12 AND "wk_4"<9 AND "wk_2">11; | 2-15925327-6 |
What is the lowest wk 3 value with an n/r in wk 14, a wk 2 value of 7, and a wk 11 value greater than 18? | CREATE TABLE "ranking_movement" (
"poll" text,
"wk_2" real,
"wk_3" real,
"wk_4" real,
"wk_5" real,
"wk_6" real,
"wk_7" real,
"wk_8" real,
"wk_9" real,
"wk_10" real,
"wk_11" real,
"wk_12" real,
"wk_13" text,
"wk_14" text,
"final" text
); | SELECT MIN("wk_3") FROM "ranking_movement" WHERE "wk_14"='n/r' AND "wk_2"=7 AND "wk_11">18; | 2-15925327-6 |
What is the Date for the actual title archie bunker's place? | CREATE TABLE "1980s" (
"spoofed_title" text,
"actual_title" text,
"writer" text,
"artist" text,
"issue" real,
"date" text
); | SELECT "date" FROM "1980s" WHERE "actual_title"='archie bunker''s place'; | 2-15860633-7 |
What is the name of the Artist for the Spoofed Title of the moron downer jr. show? | CREATE TABLE "1980s" (
"spoofed_title" text,
"actual_title" text,
"writer" text,
"artist" text,
"issue" real,
"date" text
); | SELECT "artist" FROM "1980s" WHERE "spoofed_title"='the moron downer jr. show'; | 2-15860633-7 |
What issue was the Spoofed Title of the crockford files in? | CREATE TABLE "1980s" (
"spoofed_title" text,
"actual_title" text,
"writer" text,
"artist" text,
"issue" real,
"date" text
); | SELECT "issue" FROM "1980s" WHERE "spoofed_title"='the crockford files'; | 2-15860633-7 |
What is the name of the writer for issue 224? | CREATE TABLE "1980s" (
"spoofed_title" text,
"actual_title" text,
"writer" text,
"artist" text,
"issue" real,
"date" text
); | SELECT "writer" FROM "1980s" WHERE "issue"=224; | 2-15860633-7 |
What is the smallest amount of points had a lost number of 2 when the position was less than 1? | CREATE TABLE "campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT MIN("points") FROM "campeonato_paulista" WHERE "lost"=2 AND "position"<1; | 2-15349635-2 |
What is the mean number of against when the position is less than 1? | CREATE TABLE "campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT AVG("against") FROM "campeonato_paulista" WHERE "position"<1; | 2-15349635-2 |
What is the mean number of played when there are less than 18 points and the position is less than 8? | CREATE TABLE "campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT AVG("played") FROM "campeonato_paulista" WHERE "points"<18 AND "position"<8; | 2-15349635-2 |
What is the sum of lost when against is less than 37, drawn is more than 2, and played is more than 20? | CREATE TABLE "campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT COUNT("lost") FROM "campeonato_paulista" WHERE "against"<37 AND "drawn">2 AND "played">20; | 2-15349635-2 |
What is the total area of drakenstein and a population less than 251,262? | CREATE TABLE "geography" (
"name" text,
"seat" text,
"population_2011" real,
"area_km_2" real,
"density_inhabitants_km_2" real
); | SELECT COUNT("area_km_2") FROM "geography" WHERE "name"='drakenstein' AND "population_2011"<'251,262'; | 2-1531954-1 |
For Stellenbosch, which has a population larger than 155,733, what is the average area? | CREATE TABLE "geography" (
"name" text,
"seat" text,
"population_2011" real,
"area_km_2" real,
"density_inhabitants_km_2" real
); | SELECT AVG("area_km_2") FROM "geography" WHERE "name"='stellenbosch' AND "population_2011">'155,733'; | 2-1531954-1 |
What is the lowest population for the area that has a density of 36.7? | CREATE TABLE "geography" (
"name" text,
"seat" text,
"population_2011" real,
"area_km_2" real,
"density_inhabitants_km_2" real
); | SELECT MIN("population_2011") FROM "geography" WHERE "density_inhabitants_km_2"=36.7; | 2-1531954-1 |
How many points against has team Cardiff had when there were less than 7 tries? | CREATE TABLE "pool_4" (
"team" text,
"tries_for" real,
"tries_against" real,
"try_diff" text,
"points_for" real,
"points_against" real,
"points_diff" text
); | SELECT COUNT("points_against") FROM "pool_4" WHERE "team"='cardiff' AND "tries_against"<7; | 2-15533691-4 |
What is the amount of fog where the rain is 1 109? | CREATE TABLE "comparison_of_meteorological_data_at_for" (
"sunshine_hrs_year" text,
"rain_mm_year" text,
"snow_days_year" real,
"storms_days_year" real,
"fog_days_year" real
); | SELECT SUM("fog_days_year") FROM "comparison_of_meteorological_data_at_for" WHERE "rain_mm_year"='1 109'; | 2-15902689-1 |
What is the amount of snow where the days for storms are 31? | CREATE TABLE "comparison_of_meteorological_data_at_for" (
"sunshine_hrs_year" text,
"rain_mm_year" text,
"snow_days_year" real,
"storms_days_year" real,
"fog_days_year" real
); | SELECT SUM("snow_days_year") FROM "comparison_of_meteorological_data_at_for" WHERE "storms_days_year"=31; | 2-15902689-1 |
What is the amount of snow where the sunshine is 1 633, and storms are lower than 29? | CREATE TABLE "comparison_of_meteorological_data_at_for" (
"sunshine_hrs_year" text,
"rain_mm_year" text,
"snow_days_year" real,
"storms_days_year" real,
"fog_days_year" real
); | SELECT AVG("snow_days_year") FROM "comparison_of_meteorological_data_at_for" WHERE "sunshine_hrs_year"='1 633' AND "storms_days_year"<29; | 2-15902689-1 |
What are the number of storms where fog is lower than 74, and sunshine is 2 668? | CREATE TABLE "comparison_of_meteorological_data_at_for" (
"sunshine_hrs_year" text,
"rain_mm_year" text,
"snow_days_year" real,
"storms_days_year" real,
"fog_days_year" real
); | SELECT COUNT("storms_days_year") FROM "comparison_of_meteorological_data_at_for" WHERE "fog_days_year"<74 AND "sunshine_hrs_year"='2 668'; | 2-15902689-1 |
Who is the away team for the tome team Leeds United, at the League Cup Competition? | CREATE TABLE "last_five_head_to_head_fixtures" (
"date" text,
"home_team" text,
"score" text,
"away_team" text,
"venue" text,
"competition" text
); | SELECT "away_team" FROM "last_five_head_to_head_fixtures" WHERE "home_team"='leeds united' AND "competition"='league cup'; | 2-15651485-2 |
What chassis has patrick racing as an entrant, with a start greater than 6? | CREATE TABLE "indianapolis_500" (
"year" real,
"chassis" text,
"engine" text,
"start" real,
"finish" real,
"entrant" text
); | SELECT "chassis" FROM "indianapolis_500" WHERE "entrant"='patrick racing' AND "start">6; | 2-1568649-3 |
What is the average finish that has 24 as the start, with a year after 1987? | CREATE TABLE "indianapolis_500" (
"year" real,
"chassis" text,
"engine" text,
"start" real,
"finish" real,
"entrant" text
); | SELECT AVG("finish") FROM "indianapolis_500" WHERE "start"=24 AND "year">1987; | 2-1568649-3 |
What is the lowest year that has lola t93/00 as the chassis with a start leas than 14? | CREATE TABLE "indianapolis_500" (
"year" real,
"chassis" text,
"engine" text,
"start" real,
"finish" real,
"entrant" text
); | SELECT MIN("year") FROM "indianapolis_500" WHERE "chassis"='lola t93/00' AND "start"<14; | 2-1568649-3 |
What is the lowest finish that has a start greater than 27, with a year after 1985? | CREATE TABLE "indianapolis_500" (
"year" real,
"chassis" text,
"engine" text,
"start" real,
"finish" real,
"entrant" text
); | SELECT MIN("finish") FROM "indianapolis_500" WHERE "start">27 AND "year">1985; | 2-1568649-3 |
What start has a ford cosworth dfx as the engine, a year later than 1981, and kraco enterprises as the entrant? | CREATE TABLE "indianapolis_500" (
"year" real,
"chassis" text,
"engine" text,
"start" real,
"finish" real,
"entrant" text
); | SELECT "start" FROM "indianapolis_500" WHERE "engine"='ford cosworth dfx' AND "year">1981 AND "entrant"='kraco enterprises'; | 2-1568649-3 |
What is the Date, when the Team Record is 2-0? | CREATE TABLE "season_schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text,
"team_record" text,
"game_site" text
); | SELECT "date" FROM "season_schedule" WHERE "team_record"='2-0'; | 2-15991154-2 |
What is the Team Record, when the Result is l 0–24? | CREATE TABLE "season_schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text,
"team_record" text,
"game_site" text
); | SELECT "team_record" FROM "season_schedule" WHERE "result"='l 0–24'; | 2-15991154-2 |
What is Team Record, when Attendance is 16,151? | CREATE TABLE "season_schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text,
"team_record" text,
"game_site" text
); | SELECT "team_record" FROM "season_schedule" WHERE "attendance"='16,151'; | 2-15991154-2 |
What is the highest draw that has points greater than 4, with a match greater than 5? | CREATE TABLE "first_league" (
"team" text,
"match" real,
"points" real,
"draw" real,
"lost" real
); | SELECT MAX("draw") FROM "first_league" WHERE "points">4 AND "match">5; | 2-15429035-2 |
What is the average draw that has a lost less than 4, gwardia bydgoszcz as the team, with a match greater than 5? | CREATE TABLE "first_league" (
"team" text,
"match" real,
"points" real,
"draw" real,
"lost" real
); | SELECT AVG("draw") FROM "first_league" WHERE "lost"<4 AND "team"='gwardia bydgoszcz' AND "match">5; | 2-15429035-2 |
What is the lowest match that has a lost greater than 3, and kolejarz rawicz as the team? | CREATE TABLE "first_league" (
"team" text,
"match" real,
"points" real,
"draw" real,
"lost" real
); | SELECT MIN("match") FROM "first_league" WHERE "lost">3 AND "team"='kolejarz rawicz'; | 2-15429035-2 |
How many matches have 0 as the lost? | CREATE TABLE "first_league" (
"team" text,
"match" real,
"points" real,
"draw" real,
"lost" real
); | SELECT COUNT("match") FROM "first_league" WHERE "lost"=0; | 2-15429035-2 |
What is the sum of Game with a Score that is w 104–90 (ot)? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"location_attendance" text,
"record" text
); | SELECT SUM("game") FROM "game_log" WHERE "score"='w 104–90 (ot)'; | 2-15873014-6 |
What is the High rebounds of a Game with 56? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"location_attendance" text,
"record" text
); | SELECT "high_rebounds" FROM "game_log" WHERE "game"=56; | 2-15873014-6 |
What was the option from Italy with general television content, and the Cielo television service? | CREATE TABLE "entertainment" (
"television_service" text,
"country" text,
"language" text,
"content" text,
"hdtv" text,
"package_option" text
); | SELECT "package_option" FROM "entertainment" WHERE "country"='italy' AND "content"='general television' AND "television_service"='cielo'; | 2-15887683-2 |
What country has Tematico Content, and a package with sky TV and the Lei television service? | CREATE TABLE "entertainment" (
"television_service" text,
"country" text,
"language" text,
"content" text,
"hdtv" text,
"package_option" text
); | SELECT "country" FROM "entertainment" WHERE "content"='tematico' AND "package_option"='sky tv' AND "television_service"='lei'; | 2-15887683-2 |
What is the television service that has package with sky tv, and it in Italian English? | CREATE TABLE "entertainment" (
"television_service" text,
"country" text,
"language" text,
"content" text,
"hdtv" text,
"package_option" text
); | SELECT "television_service" FROM "entertainment" WHERE "package_option"='sky tv' AND "language"='italian english'; | 2-15887683-2 |
What language is the Tematico content with a sky tv package, and Fox Crime television service? | CREATE TABLE "entertainment" (
"television_service" text,
"country" text,
"language" text,
"content" text,
"hdtv" text,
"package_option" text
); | SELECT "language" FROM "entertainment" WHERE "content"='tematico' AND "package_option"='sky tv' AND "television_service"='fox crime'; | 2-15887683-2 |
What country has a television service with Cartello Promozionale sky hd? | CREATE TABLE "entertainment" (
"television_service" text,
"country" text,
"language" text,
"content" text,
"hdtv" text,
"package_option" text
); | SELECT "country" FROM "entertainment" WHERE "television_service"='cartello promozionale sky hd'; | 2-15887683-2 |
What country has a Fox television service? | CREATE TABLE "entertainment" (
"television_service" text,
"country" text,
"language" text,
"content" text,
"hdtv" text,
"package_option" text
); | SELECT "country" FROM "entertainment" WHERE "television_service"='fox'; | 2-15887683-2 |
Who drove for Mathiasen Motorsports with dane cameron as pole position? | CREATE TABLE "full_series_results" (
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text,
"report" text
); | SELECT "winning_driver" FROM "full_series_results" WHERE "winning_team"='mathiasen motorsports' AND "pole_position"='dane cameron'; | 2-15511178-3 |
What winning team did Jonathan bomarito drive for when jonathan summerton had the fastest lap? | CREATE TABLE "full_series_results" (
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text,
"report" text
); | SELECT "winning_team" FROM "full_series_results" WHERE "winning_driver"='jonathan bomarito' AND "fastest_lap"='jonathan summerton'; | 2-15511178-3 |
When Douglas Soares had the fastest lap, what was the report? | CREATE TABLE "full_series_results" (
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text,
"report" text
); | SELECT "report" FROM "full_series_results" WHERE "fastest_lap"='douglas soares'; | 2-15511178-3 |
When the winning team of mathiasen motorsports has a pole position of jonathan bomarito, who has the fastest lap? | CREATE TABLE "full_series_results" (
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text,
"report" text
); | SELECT "fastest_lap" FROM "full_series_results" WHERE "winning_team"='mathiasen motorsports' AND "pole_position"='jonathan bomarito'; | 2-15511178-3 |
When the driver jonathan summerton won and dane cameron had the fastest lap, what was the report? | CREATE TABLE "full_series_results" (
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text,
"report" text
); | SELECT "report" FROM "full_series_results" WHERE "winning_driver"='jonathan summerton' AND "fastest_lap"='dane cameron'; | 2-15511178-3 |
Which Year has a Competition of olympic games, and a Venue of atlanta, united states? | CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"event" text,
"notes" text
); | SELECT AVG("year") FROM "achievements" WHERE "competition"='olympic games' AND "venue"='atlanta, united states'; | 2-15671752-1 |
Which Competition has a Year of 1993? | CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"event" text,
"notes" text
); | SELECT "competition" FROM "achievements" WHERE "year"=1993; | 2-15671752-1 |
Which Notes has a Competition of venice marathon? | CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"event" text,
"notes" text
); | SELECT "notes" FROM "achievements" WHERE "competition"='venice marathon'; | 2-15671752-1 |
Which Year has a Venue of atlanta, united states? | CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"event" text,
"notes" text
); | SELECT "year" FROM "achievements" WHERE "venue"='atlanta, united states'; | 2-15671752-1 |
Which Notes has a Venue of barcelona, spain? | CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"event" text,
"notes" text
); | SELECT "notes" FROM "achievements" WHERE "venue"='barcelona, spain'; | 2-15671752-1 |
Which Event has a Year of 1986? | CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"event" text,
"notes" text
); | SELECT "event" FROM "achievements" WHERE "year"=1986; | 2-15671752-1 |
What is the average share for episodes with over 7.82 viewers, ranks of 3 and a weekly rank of 54? | CREATE TABLE "u_s_nielsen_ratings" (
"episode" text,
"rating" real,
"share" real,
"rating_share_18_49" text,
"viewers_millions" real,
"rank_timeslot" text,
"rank_night" text,
"rank_week" text
); | SELECT AVG("share") FROM "u_s_nielsen_ratings" WHERE "viewers_millions">7.82 AND "rank_timeslot"='3' AND "rank_week"='54'; | 2-15681686-4 |
What is the weekly rank for the episode with a share over 7 and a rating/share of 2.3/7? | CREATE TABLE "u_s_nielsen_ratings" (
"episode" text,
"rating" real,
"share" real,
"rating_share_18_49" text,
"viewers_millions" real,
"rank_timeslot" text,
"rank_night" text,
"rank_week" text
); | SELECT "rank_week" FROM "u_s_nielsen_ratings" WHERE "share">7 AND "rating_share_18_49"='2.3/7'; | 2-15681686-4 |
What is the weekly rank of the episode with more than 7.14mil viewers, a nightly rank of 5, and a rating/share of 2.9/10? | CREATE TABLE "u_s_nielsen_ratings" (
"episode" text,
"rating" real,
"share" real,
"rating_share_18_49" text,
"viewers_millions" real,
"rank_timeslot" text,
"rank_night" text,
"rank_week" text
); | SELECT "rank_week" FROM "u_s_nielsen_ratings" WHERE "viewers_millions">7.14 AND "rank_night"='5' AND "rating_share_18_49"='2.9/10'; | 2-15681686-4 |
What is the total gain for Brandon Mcrae with a loss less than 4, and an Avg/g less than -0.1? | CREATE TABLE "rushing" (
"name" text,
"gp_gs" text,
"gain" real,
"loss" real,
"long" real,
"avg_g" real
); | SELECT COUNT("gain") FROM "rushing" WHERE "long"<4 AND "name"='brandon mcrae' AND "avg_g"<-0.1; | 2-15418772-5 |
What is the lowest long with a Gp-GS of 11-8, and a gain less than 228? | CREATE TABLE "rushing" (
"name" text,
"gp_gs" text,
"gain" real,
"loss" real,
"long" real,
"avg_g" real
); | SELECT MIN("long") FROM "rushing" WHERE "gp_gs"='11-8' AND "gain"<228; | 2-15418772-5 |
What is the lowest gain with an 18 long, and a loss less than 191? | CREATE TABLE "rushing" (
"name" text,
"gp_gs" text,
"gain" real,
"loss" real,
"long" real,
"avg_g" real
); | SELECT MIN("gain") FROM "rushing" WHERE "long"=18 AND "loss"<191; | 2-15418772-5 |
What is the sum of 1938 values where 1933 values are under 68.3 and 1940 valures are under 4.02? | CREATE TABLE "relief" (
"table_2_depression_data" text,
"1929" real,
"1931" real,
"1933" real,
"1937" real,
"1938" real,
"1940" real
); | SELECT SUM("1938") FROM "relief" WHERE "1933"<68.3 AND "1940"<4.02; | 2-1610496-2 |
What is the average 1940 value where 1929 values are 101.4 and 1933 values are over 68.3? | CREATE TABLE "relief" (
"table_2_depression_data" text,
"1929" real,
"1931" real,
"1933" real,
"1937" real,
"1938" real,
"1940" real
); | SELECT AVG("1940") FROM "relief" WHERE "1929"=101.4 AND "1933">68.3; | 2-1610496-2 |
What is the highest 1937 value that has a 1940 value over 126? | CREATE TABLE "relief" (
"table_2_depression_data" text,
"1929" real,
"1931" real,
"1933" real,
"1937" real,
"1938" real,
"1940" real
); | SELECT MAX("1937") FROM "relief" WHERE "1940">126; | 2-1610496-2 |
At what time is the ბრაზილიის უბანი shown? | CREATE TABLE "telenovelas_currently_broadcasting" (
"country" text,
"telenovela" text,
"translation" text,
"series_premiere" text,
"series_finale" text,
"weekly_schedule" text,
"timeslot" text
); | SELECT "timeslot" FROM "telenovelas_currently_broadcasting" WHERE "translation"='ბრაზილიის უბანი'; | 2-1544974-1 |
What country was the series finale present and was shown Monday to Sunday at 18:45-21:00? | CREATE TABLE "telenovelas_currently_broadcasting" (
"country" text,
"telenovela" text,
"translation" text,
"series_premiere" text,
"series_finale" text,
"weekly_schedule" text,
"timeslot" text
); | SELECT "country" FROM "telenovelas_currently_broadcasting" WHERE "series_finale"='present' AND "weekly_schedule"='monday to sunday' AND "timeslot"='18:45-21:00'; | 2-1544974-1 |
What series finale has the translation ოჰ ეს ცრემლები / პარალელური საიდუმლო? | CREATE TABLE "telenovelas_currently_broadcasting" (
"country" text,
"telenovela" text,
"translation" text,
"series_premiere" text,
"series_finale" text,
"weekly_schedule" text,
"timeslot" text
); | SELECT "series_finale" FROM "telenovelas_currently_broadcasting" WHERE "translation"='ოჰ ეს ცრემლები / პარალელური საიდუმლო'; | 2-1544974-1 |
What days of the week is the show aired on that runs at 16:45? | CREATE TABLE "telenovelas_currently_broadcasting" (
"country" text,
"telenovela" text,
"translation" text,
"series_premiere" text,
"series_finale" text,
"weekly_schedule" text,
"timeslot" text
); | SELECT "weekly_schedule" FROM "telenovelas_currently_broadcasting" WHERE "timeslot"='16:45'; | 2-1544974-1 |
Which days of the week does the telenovela play that is aired at 11:00? | CREATE TABLE "telenovelas_currently_broadcasting" (
"country" text,
"telenovela" text,
"translation" text,
"series_premiere" text,
"series_finale" text,
"weekly_schedule" text,
"timeslot" text
); | SELECT "weekly_schedule" FROM "telenovelas_currently_broadcasting" WHERE "timeslot"='11:00'; | 2-1544974-1 |
Which Tournament was on 2 October 2006? | CREATE TABLE "runners_up" (
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
); | SELECT "tournament" FROM "runners_up" WHERE "date"='2 october 2006'; | 2-1564278-3 |
Who is the Opponent in the final on 4 April 2011? | CREATE TABLE "runners_up" (
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
); | SELECT "opponent_in_the_final" FROM "runners_up" WHERE "date"='4 april 2011'; | 2-1564278-3 |
What Surface was used on 2 June 2003? | CREATE TABLE "runners_up" (
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
); | SELECT "surface" FROM "runners_up" WHERE "date"='2 june 2003'; | 2-1564278-3 |
Which award show nominated The Suite Life on Deck for the Teen Pick Show: Comedy category? | CREATE TABLE "awards_and_nominations" (
"year" real,
"award" text,
"category" text,
"recipient" text,
"result" text
); | SELECT "award" FROM "awards_and_nominations" WHERE "category"='teen pick show: comedy'; | 2-15627191-3 |
Which award show nominated Cole Sprouse for the Favorite TV Actor category? | CREATE TABLE "awards_and_nominations" (
"year" real,
"award" text,
"category" text,
"recipient" text,
"result" text
); | SELECT "award" FROM "awards_and_nominations" WHERE "category"='favorite tv actor' AND "recipient"='cole sprouse'; | 2-15627191-3 |
What category was The Suite Life on Deck nominated for later than 2010? | CREATE TABLE "awards_and_nominations" (
"year" real,
"award" text,
"category" text,
"recipient" text,
"result" text
); | SELECT "category" FROM "awards_and_nominations" WHERE "recipient"='the suite life on deck' AND "year">2010; | 2-15627191-3 |
Who won the 2010 Kids' Choice Awards? | CREATE TABLE "awards_and_nominations" (
"year" real,
"award" text,
"category" text,
"recipient" text,
"result" text
); | SELECT "recipient" FROM "awards_and_nominations" WHERE "award"='2010 kids'' choice awards' AND "result"='won'; | 2-15627191-3 |
What was the Rd. Time for October 3, 2009? | CREATE TABLE "boxing_record" (
"result" text,
"opponent" text,
"type" text,
"rd_time" text,
"date" text,
"location" text
); | SELECT "rd_time" FROM "boxing_record" WHERE "date"='october 3, 2009'; | 2-15588517-1 |
When was the Rd., Time 12 (12), 1:24? | CREATE TABLE "boxing_record" (
"result" text,
"opponent" text,
"type" text,
"rd_time" text,
"date" text,
"location" text
); | SELECT "date" FROM "boxing_record" WHERE "rd_time"='12 (12), 1:24'; | 2-15588517-1 |
What is the greatest lost where played is less than 9? | CREATE TABLE "apea_s_campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT MAX("lost") FROM "apea_s_campeonato_paulista" WHERE "played"<9; | 2-15385631-1 |
What is the greatest played with a drawn less than 1 and a position of less than 1? | CREATE TABLE "apea_s_campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT MAX("played") FROM "apea_s_campeonato_paulista" WHERE "drawn"<1 AND "position"<1; | 2-15385631-1 |
What is the smallest drawn when the points are less than 7 and the against greater than 31? | CREATE TABLE "apea_s_campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT MIN("drawn") FROM "apea_s_campeonato_paulista" WHERE "points"<7 AND "against">31; | 2-15385631-1 |
What is the name of the team that has 13 points? | CREATE TABLE "apea_s_campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT "team" FROM "apea_s_campeonato_paulista" WHERE "points"=13; | 2-15385631-1 |
What was the Nominated Work earlier than 2003? | CREATE TABLE "awards_and_nominations" (
"year" real,
"award" text,
"category" text,
"nominated_work" text,
"result" text
); | SELECT "nominated_work" FROM "awards_and_nominations" WHERE "year"<2003; | 2-1550011-2 |
What was the Nominated Work earlier than 2003? | CREATE TABLE "awards_and_nominations" (
"year" real,
"award" text,
"category" text,
"nominated_work" text,
"result" text
); | SELECT "nominated_work" FROM "awards_and_nominations" WHERE "year"<2003; | 2-1550011-2 |
What was the Nominated Work earlier than 2003? | CREATE TABLE "awards_and_nominations" (
"year" real,
"award" text,
"category" text,
"nominated_work" text,
"result" text
); | SELECT "nominated_work" FROM "awards_and_nominations" WHERE "year"<2003; | 2-1550011-2 |
Which method's event was flawless fighting championship 1: the beginning? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real
); | SELECT "method" FROM "mixed_martial_arts_record" WHERE "event"='flawless fighting championship 1: the beginning'; | 2-15985163-2 |
Which method's opponent was chris clark? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real
); | SELECT "method" FROM "mixed_martial_arts_record" WHERE "opponent"='chris clark'; | 2-15985163-2 |
Which record's round was 3 when the event was fight festival 27? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real
); | SELECT "record" FROM "mixed_martial_arts_record" WHERE "round"=3 AND "event"='fight festival 27'; | 2-15985163-2 |
What is the Fourth place with a Year that is 1978? | CREATE TABLE "yearly_results" (
"year" real,
"champion" text,
"runner_up" text,
"third_place" text,
"fourth_place" text,
"jack_tompkins_trophy_mvp" text
); | SELECT "fourth_place" FROM "yearly_results" WHERE "year"=1978; | 2-1571238-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.