question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
Who did the housemate that nominated Kashmera Rakhi in week 3 and Amit Bobby in week 1 nominate in week 6? | CREATE TABLE "nominations_table" (
"week_1" text,
"week_3" text,
"week_4" text,
"week_6" text,
"week_7" text,
"week_8" text,
"week_9" text,
"week_10" text,
"final_week_12" text
); | SELECT "week_6" FROM "nominations_table" WHERE "week_3"='kashmera rakhi' AND "week_1"='amit bobby'; | 2-18921443-1 |
Who did the housemate that nominated Carol Roopali in week 1 nominate in week 8? | CREATE TABLE "nominations_table" (
"week_1" text,
"week_3" text,
"week_4" text,
"week_6" text,
"week_7" text,
"week_8" text,
"week_9" text,
"week_10" text,
"final_week_12" text
); | SELECT "week_8" FROM "nominations_table" WHERE "week_1"='carol roopali'; | 2-18921443-1 |
What is the IHSAA class of Centerville, which plays IHSAA class AA football? | CREATE TABLE "indiana_high_school_athletics_conference" (
"school" text,
"location" text,
"mascot" text,
"size" real,
"ihsaa_class" text,
"ihsaa_football_class" text,
"county" text
); | SELECT "ihsaa_class" FROM "indiana_high_school_athletics_conference" WHERE "ihsaa_football_class"='aa' AND "school"='centerville'; | 2-18974097-13 |
Winchester Community school, which plays IHSAA class AA football, is located where? | CREATE TABLE "indiana_high_school_athletics_conference" (
"school" text,
"location" text,
"mascot" text,
"size" real,
"ihsaa_class" text,
"ihsaa_football_class" text,
"county" text
); | SELECT "location" FROM "indiana_high_school_athletics_conference" WHERE "ihsaa_football_class"='aa' AND "school"='winchester community'; | 2-18974097-13 |
What is the IHSAA class of the school with less than 400 students and a mascot of the Tigers? | CREATE TABLE "indiana_high_school_athletics_conference" (
"school" text,
"location" text,
"mascot" text,
"size" real,
"ihsaa_class" text,
"ihsaa_football_class" text,
"county" text
); | SELECT "ihsaa_class" FROM "indiana_high_school_athletics_conference" WHERE "size"<400 AND "mascot"='tigers'; | 2-18974097-13 |
What county has a school with less than 301 students and plays IHSAA class A football? | CREATE TABLE "indiana_high_school_athletics_conference" (
"school" text,
"location" text,
"mascot" text,
"size" real,
"ihsaa_class" text,
"ihsaa_football_class" text,
"county" text
); | SELECT "county" FROM "indiana_high_school_athletics_conference" WHERE "ihsaa_football_class"='a' AND "size"<301; | 2-18974097-13 |
What is the lowest game when the score is 102-104? | CREATE TABLE "playoffs" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location_attendance" text,
"series" text
); | SELECT MIN("game") FROM "playoffs" WHERE "score"='102-104'; | 2-18409087-10 |
what is the score for game 4? | CREATE TABLE "playoffs" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location_attendance" text,
"series" text
); | SELECT "score" FROM "playoffs" WHERE "game"=4; | 2-18409087-10 |
what is the series for game 4? | CREATE TABLE "playoffs" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location_attendance" text,
"series" text
); | SELECT "series" FROM "playoffs" WHERE "game"=4; | 2-18409087-10 |
Which Pendle has a Burnley smaller than 0? | CREATE TABLE "summary_of_results_2009" (
"party" text,
"burnley" real,
"chorley" real,
"fylde" real,
"hyndburn" real,
"lancaster" real,
"pendle" real,
"preston" real,
"ribble_valley" real,
"rossendale" real,
"south_ribble" real,
"west_lancashire" real,
"wyre" real,
"total" real
); | SELECT SUM("pendle") FROM "summary_of_results_2009" WHERE "burnley"<0; | 2-18992950-2 |
How much Rossendale has a Fylde smaller than 0? | CREATE TABLE "summary_of_results_2009" (
"party" text,
"burnley" real,
"chorley" real,
"fylde" real,
"hyndburn" real,
"lancaster" real,
"pendle" real,
"preston" real,
"ribble_valley" real,
"rossendale" real,
"south_ribble" real,
"west_lancashire" real,
"wyre" real,
"total" real
); | SELECT COUNT("rossendale") FROM "summary_of_results_2009" WHERE "fylde"<0; | 2-18992950-2 |
How much Hyndburn has a Fylde larger than 3? | CREATE TABLE "summary_of_results_2009" (
"party" text,
"burnley" real,
"chorley" real,
"fylde" real,
"hyndburn" real,
"lancaster" real,
"pendle" real,
"preston" real,
"ribble_valley" real,
"rossendale" real,
"south_ribble" real,
"west_lancashire" real,
"wyre" real,
"total" real
); | SELECT SUM("hyndburn") FROM "summary_of_results_2009" WHERE "fylde">3; | 2-18992950-2 |
How much Burnley has a Fylde smaller than 1, and a Rossendale larger than 0? | CREATE TABLE "summary_of_results_2009" (
"party" text,
"burnley" real,
"chorley" real,
"fylde" real,
"hyndburn" real,
"lancaster" real,
"pendle" real,
"preston" real,
"ribble_valley" real,
"rossendale" real,
"south_ribble" real,
"west_lancashire" real,
"wyre" real,
"total" real
); | SELECT SUM("burnley") FROM "summary_of_results_2009" WHERE "fylde"<1 AND "rossendale">0; | 2-18992950-2 |
What are the years that have un posto al sole as the soap opera, with riccardo polizzy carbonelli as the actor? | CREATE TABLE "italy" (
"actor" text,
"character" text,
"soap_opera" text,
"years" text,
"duration" text
); | SELECT "years" FROM "italy" WHERE "soap_opera"='un posto al sole' AND "actor"='riccardo polizzy carbonelli'; | 2-18772558-9 |
What years have a duration of 18 years, and patrizio rispo as the actor? | CREATE TABLE "italy" (
"actor" text,
"character" text,
"soap_opera" text,
"years" text,
"duration" text
); | SELECT "years" FROM "italy" WHERE "duration"='18 years' AND "actor"='patrizio rispo'; | 2-18772558-9 |
What are the years that have a duration of 15 years and giulia poggi as the character? | CREATE TABLE "italy" (
"actor" text,
"character" text,
"soap_opera" text,
"years" text,
"duration" text
); | SELECT "years" FROM "italy" WHERE "duration"='15 years' AND "character"='giulia poggi'; | 2-18772558-9 |
What years have claudia ruffo as the actor? | CREATE TABLE "italy" (
"actor" text,
"character" text,
"soap_opera" text,
"years" text,
"duration" text
); | SELECT "years" FROM "italy" WHERE "actor"='claudia ruffo'; | 2-18772558-9 |
What is the duration that has pietro genuardi as the actor? | CREATE TABLE "italy" (
"actor" text,
"character" text,
"soap_opera" text,
"years" text,
"duration" text
); | SELECT "duration" FROM "italy" WHERE "actor"='pietro genuardi'; | 2-18772558-9 |
What is the soap opera that has a duration of 13 years, with marina giulia cavalli as the actor? | CREATE TABLE "italy" (
"actor" text,
"character" text,
"soap_opera" text,
"years" text,
"duration" text
); | SELECT "soap_opera" FROM "italy" WHERE "duration"='13 years' AND "actor"='marina giulia cavalli'; | 2-18772558-9 |
What is the lowest attendance for December 14, 1958 after week 12? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT MIN("attendance") FROM "schedule" WHERE "date"='december 14, 1958' AND "week">12; | 2-18589208-1 |
What is the total for the week in the game against the Chicago Bears | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT COUNT("week") FROM "schedule" WHERE "opponent"='chicago bears'; | 2-18589208-1 |
What is the highest attendance for December 14, 1958 for after week 12 | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT MAX("attendance") FROM "schedule" WHERE "date"='december 14, 1958' AND "week">12; | 2-18589208-1 |
What is the Outcome of the Match played after 2003 with a Score of 6–0, 6–3? | CREATE TABLE "doubles_16_10_6" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
); | SELECT "outcome" FROM "doubles_16_10_6" WHERE "year">2003 AND "score"='6–0, 6–3'; | 2-1858321-1 |
What is the Outcome of the match with a Score of 6–1, 6–1? | CREATE TABLE "doubles_16_10_6" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
); | SELECT "outcome" FROM "doubles_16_10_6" WHERE "score"='6–1, 6–1'; | 2-1858321-1 |
Who has rank 5? | CREATE TABLE "semifinal_2" (
"rank" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
); | SELECT "name" FROM "semifinal_2" WHERE "rank"=5; | 2-18624885-5 |
Which nationality has rank 4? | CREATE TABLE "semifinal_2" (
"rank" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
); | SELECT "nationality" FROM "semifinal_2" WHERE "rank"=4; | 2-18624885-5 |
What title was used in the nomination of Matrimonio All'Italiana? | CREATE TABLE "nominees" (
"year_ceremony" text,
"category" text,
"film_title_used_in_nomination" text,
"original_title" text,
"language" text,
"result" text
); | SELECT "film_title_used_in_nomination" FROM "nominees" WHERE "original_title"='matrimonio all''italiana'; | 2-18576456-1 |
What language was the film Pelle Erobreren, which received the best actor nomination, in? | CREATE TABLE "nominees" (
"year_ceremony" text,
"category" text,
"film_title_used_in_nomination" text,
"original_title" text,
"language" text,
"result" text
); | SELECT "language" FROM "nominees" WHERE "category"='best actor' AND "original_title"='pelle erobreren'; | 2-18576456-1 |
What title was used in the nomination of the Spanish language film Traffic? | CREATE TABLE "nominees" (
"year_ceremony" text,
"category" text,
"film_title_used_in_nomination" text,
"original_title" text,
"language" text,
"result" text
); | SELECT "film_title_used_in_nomination" FROM "nominees" WHERE "language"='spanish' AND "original_title"='traffic'; | 2-18576456-1 |
What title was used in the nomination of Una Giornata Particolare? | CREATE TABLE "nominees" (
"year_ceremony" text,
"category" text,
"film_title_used_in_nomination" text,
"original_title" text,
"language" text,
"result" text
); | SELECT "film_title_used_in_nomination" FROM "nominees" WHERE "original_title"='una giornata particolare'; | 2-18576456-1 |
What date has a Position of back, later than 1964, and a Test debut of 1st rl test v new zealand? | CREATE TABLE "australia" (
"player" text,
"test_debut" text,
"year" real,
"cross_code_debut" text,
"date" text,
"position" text
); | SELECT "date" FROM "australia" WHERE "position"='back' AND "year">1964 AND "test_debut"='1st rl test v new zealand'; | 2-18860278-1 |
What is the position earlier than 1907, with a cross-code debut of inaugural rl test v new zealand, and a test debut of inaugural ru test v new zealand? | CREATE TABLE "australia" (
"player" text,
"test_debut" text,
"year" real,
"cross_code_debut" text,
"date" text,
"position" text
); | SELECT "position" FROM "australia" WHERE "year"<1907 AND "cross_code_debut"='inaugural rl test v new zealand' AND "test_debut"='inaugural ru test v new zealand'; | 2-18860278-1 |
What is the cross-code debut later than 1958 for Dick Thornett? | CREATE TABLE "australia" (
"player" text,
"test_debut" text,
"year" real,
"cross_code_debut" text,
"date" text,
"position" text
); | SELECT "cross_code_debut" FROM "australia" WHERE "year">1958 AND "player"='dick thornett'; | 2-18860278-1 |
What position has a Cross-code debut of 1st ru test v ireland? | CREATE TABLE "australia" (
"player" text,
"test_debut" text,
"year" real,
"cross_code_debut" text,
"date" text,
"position" text
); | SELECT "position" FROM "australia" WHERE "cross_code_debut"='1st ru test v ireland'; | 2-18860278-1 |
What was the time for the match with away team Shatin? | CREATE TABLE "a_b_first_round" (
"time" text,
"home_team" text,
"score" text,
"away_team" text,
"venue" text
); | SELECT "time" FROM "a_b_first_round" WHERE "away_team"='shatin'; | 2-18880018-14 |
What was the time for the match with away team Convoy Sun Hei Team A? | CREATE TABLE "a_b_first_round" (
"time" text,
"home_team" text,
"score" text,
"away_team" text,
"venue" text
); | SELECT "time" FROM "a_b_first_round" WHERE "away_team"='convoy sun hei team a'; | 2-18880018-14 |
What was the away team for the match that had a time of 18:30? | CREATE TABLE "a_b_first_round" (
"time" text,
"home_team" text,
"score" text,
"away_team" text,
"venue" text
); | SELECT "away_team" FROM "a_b_first_round" WHERE "time"='18:30'; | 2-18880018-14 |
What was the time for the match with away team Mutual Team B? | CREATE TABLE "a_b_first_round" (
"time" text,
"home_team" text,
"score" text,
"away_team" text,
"venue" text
); | SELECT "time" FROM "a_b_first_round" WHERE "away_team"='mutual team b'; | 2-18880018-14 |
What was the time for the match that had a a home team of HKSSF? | CREATE TABLE "a_b_first_round" (
"time" text,
"home_team" text,
"score" text,
"away_team" text,
"venue" text
); | SELECT "time" FROM "a_b_first_round" WHERE "home_team"='hkssf'; | 2-18880018-14 |
How many people attended on december 26, 1982? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT "attendance" FROM "schedule" WHERE "date"='december 26, 1982'; | 2-18847660-2 |
How many Byes have Wins smaller than 11, and a Wimmera FL of minyip murtoa, and Losses smaller than 6? | CREATE TABLE "2012_ladder" (
"wimmera_fl" text,
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
); | SELECT COUNT("byes") FROM "2012_ladder" WHERE "wins"<11 AND "wimmera_fl"='minyip murtoa' AND "losses"<6; | 2-18976447-11 |
Which Losses have an Against smaller than 1018, and Wins smaller than 14? | CREATE TABLE "2012_ladder" (
"wimmera_fl" text,
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
); | SELECT AVG("losses") FROM "2012_ladder" WHERE "against"<1018 AND "wins"<14; | 2-18976447-11 |
Which Byes have an Against larger than 1018, and a Wimmera FL of horsham diggers? | CREATE TABLE "2012_ladder" (
"wimmera_fl" text,
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
); | SELECT MIN("byes") FROM "2012_ladder" WHERE "against">1018 AND "wimmera_fl"='horsham diggers'; | 2-18976447-11 |
Which Losses have a Wimmera FL of minyip murtoa? | CREATE TABLE "2012_ladder" (
"wimmera_fl" text,
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
); | SELECT AVG("losses") FROM "2012_ladder" WHERE "wimmera_fl"='minyip murtoa'; | 2-18976447-11 |
Which Against has Losses smaller than 5, and a Wimmera FL of warrack eagles, and Draws smaller than 0? | CREATE TABLE "2012_ladder" (
"wimmera_fl" text,
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
); | SELECT AVG("against") FROM "2012_ladder" WHERE "losses"<5 AND "wimmera_fl"='warrack eagles' AND "draws"<0; | 2-18976447-11 |
Which country has Spence in the name section? | CREATE TABLE "out" (
"name" text,
"country" text,
"status" text,
"moving_to" text,
"transfer_fee" text
); | SELECT "country" FROM "out" WHERE "name"='spence'; | 2-18539546-8 |
Which country has the status of transferred, moving to of released, and Solano as the listed name? | CREATE TABLE "out" (
"name" text,
"country" text,
"status" text,
"moving_to" text,
"transfer_fee" text
); | SELECT "country" FROM "out" WHERE "status"='transferred' AND "moving_to"='released' AND "name"='solano'; | 2-18539546-8 |
What is the transfer fee for the country that has the name McCartney listed? | CREATE TABLE "out" (
"name" text,
"country" text,
"status" text,
"moving_to" text,
"transfer_fee" text
); | SELECT "transfer_fee" FROM "out" WHERE "name"='mccartney'; | 2-18539546-8 |
What is the name listed for the country that has a status of loaned and a moving to listed as leyton orient? | CREATE TABLE "out" (
"name" text,
"country" text,
"status" text,
"moving_to" text,
"transfer_fee" text
); | SELECT "name" FROM "out" WHERE "status"='loaned' AND "moving_to"='leyton orient'; | 2-18539546-8 |
What is the transfer fee for the country of Nir? | CREATE TABLE "out" (
"name" text,
"country" text,
"status" text,
"moving_to" text,
"transfer_fee" text
); | SELECT "transfer_fee" FROM "out" WHERE "country"='nir'; | 2-18539546-8 |
Who had the fastest lap when adam christodoulou was the winning driver and had the pole position? | CREATE TABLE "calendar" (
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text
); | SELECT "fastest_lap" FROM "calendar" WHERE "winning_driver"='adam christodoulou' AND "pole_position"='adam christodoulou'; | 2-18381884-3 |
What date was the circuit, snetterton, when riki christodoulou had the fastest lap? | CREATE TABLE "calendar" (
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text
); | SELECT "date" FROM "calendar" WHERE "circuit"='snetterton' AND "fastest_lap"='riki christodoulou'; | 2-18381884-3 |
who had the pole position at rockingham circuit with adam christodoulou having the fastest lap? | CREATE TABLE "calendar" (
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text
); | SELECT "pole_position" FROM "calendar" WHERE "fastest_lap"='adam christodoulou' AND "circuit"='rockingham'; | 2-18381884-3 |
What bonus points have 448 as the points against? | CREATE TABLE "season_table" (
"club" text,
"total_points" text,
"bonus_points" text,
"match_points" text,
"games" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"diff" text
); | SELECT "bonus_points" FROM "season_table" WHERE "points_against"='448'; | 2-18608874-1 |
What points for have 30 as the game, and 73 as the total points? | CREATE TABLE "season_table" (
"club" text,
"total_points" text,
"bonus_points" text,
"match_points" text,
"games" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"diff" text
); | SELECT "points_for" FROM "season_table" WHERE "games"='30' AND "total_points"='73'; | 2-18608874-1 |
What drawn has 416 as the points for and 533 as the points against? | CREATE TABLE "season_table" (
"club" text,
"total_points" text,
"bonus_points" text,
"match_points" text,
"games" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"diff" text
); | SELECT "drawn" FROM "season_table" WHERE "points_for"='416' AND "points_against"='533'; | 2-18608874-1 |
What match points have 755 as the points against? | CREATE TABLE "season_table" (
"club" text,
"total_points" text,
"bonus_points" text,
"match_points" text,
"games" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"diff" text
); | SELECT "match_points" FROM "season_table" WHERE "points_against"='755'; | 2-18608874-1 |
What games have colomiers as the club? | CREATE TABLE "season_table" (
"club" text,
"total_points" text,
"bonus_points" text,
"match_points" text,
"games" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"diff" text
); | SELECT "games" FROM "season_table" WHERE "club"='colomiers'; | 2-18608874-1 |
Which lost has 84 as the match points? | CREATE TABLE "season_table" (
"club" text,
"total_points" text,
"bonus_points" text,
"match_points" text,
"games" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"diff" text
); | SELECT "lost" FROM "season_table" WHERE "match_points"='84'; | 2-18608874-1 |
How many constituents does udaipura have? | CREATE TABLE "assembly_segments" (
"constituency_number" text,
"name" text,
"reserved_for_sc_st_none" text,
"district" text,
"number_of_electorates_2009" real
); | SELECT "constituency_number" FROM "assembly_segments" WHERE "name"='udaipura'; | 2-18516646-1 |
What lane was Henrique Barbosa in? | CREATE TABLE "heats" (
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
); | SELECT COUNT("lane") FROM "heats" WHERE "name"='henrique barbosa'; | 2-18624792-3 |
What game was before 2010 and was a role-playing game? | CREATE TABLE "list_of_game_of_the_year_awards" (
"year" real,
"game" text,
"genre" text,
"platform_s" text,
"developer_s" text
); | SELECT "game" FROM "list_of_game_of_the_year_awards" WHERE "year"<2010 AND "genre"='role-playing game'; | 2-1851722-44 |
What was the platform of Red Dead Redemption? | CREATE TABLE "list_of_game_of_the_year_awards" (
"year" real,
"game" text,
"genre" text,
"platform_s" text,
"developer_s" text
); | SELECT "platform_s" FROM "list_of_game_of_the_year_awards" WHERE "game"='red dead redemption'; | 2-1851722-44 |
Who was the developer of Wii? | CREATE TABLE "list_of_game_of_the_year_awards" (
"year" real,
"game" text,
"genre" text,
"platform_s" text,
"developer_s" text
); | SELECT "developer_s" FROM "list_of_game_of_the_year_awards" WHERE "platform_s"='wii'; | 2-1851722-44 |
What year was The Walking Dead? | CREATE TABLE "list_of_game_of_the_year_awards" (
"year" real,
"game" text,
"genre" text,
"platform_s" text,
"developer_s" text
); | SELECT COUNT("year") FROM "list_of_game_of_the_year_awards" WHERE "game"='the walking dead'; | 2-1851722-44 |
What was the platform when the developer was Telltale Games? | CREATE TABLE "list_of_game_of_the_year_awards" (
"year" real,
"game" text,
"genre" text,
"platform_s" text,
"developer_s" text
); | SELECT "platform_s" FROM "list_of_game_of_the_year_awards" WHERE "developer_s"='telltale games'; | 2-1851722-44 |
What is the game of developer Rockstar Games? | CREATE TABLE "list_of_game_of_the_year_awards" (
"year" real,
"game" text,
"genre" text,
"platform_s" text,
"developer_s" text
); | SELECT "game" FROM "list_of_game_of_the_year_awards" WHERE "developer_s"='rockstar games'; | 2-1851722-44 |
Which Elevation (m) has a Prominence (m) of 2,876, and a Col (m) larger than 0? | CREATE TABLE "and_surrounding_islands" (
"peak" text,
"country" text,
"elevation_m" real,
"prominence_m" real,
"col_m" real
); | SELECT SUM("elevation_m") FROM "and_surrounding_islands" WHERE "prominence_m"='2,876' AND "col_m">0; | 2-18947170-11 |
How much Elevation (m) has a Prominence (m) larger than 2,876? | CREATE TABLE "and_surrounding_islands" (
"peak" text,
"country" text,
"elevation_m" real,
"prominence_m" real,
"col_m" real
); | SELECT COUNT("elevation_m") FROM "and_surrounding_islands" WHERE "prominence_m">'2,876'; | 2-18947170-11 |
When was millwall the home team? | CREATE TABLE "sixth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
); | SELECT "date" FROM "sixth_round_proper" WHERE "home_team"='millwall'; | 2-18675114-6 |
What was the score when Arsenal was the away team? | CREATE TABLE "sixth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
); | SELECT "score" FROM "sixth_round_proper" WHERE "away_team"='arsenal'; | 2-18675114-6 |
Which away team had a Score of 2–0? | CREATE TABLE "sixth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
); | SELECT "away_team" FROM "sixth_round_proper" WHERE "score"='2–0'; | 2-18675114-6 |
When was Arsenal was the away team? | CREATE TABLE "sixth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
); | SELECT "date" FROM "sixth_round_proper" WHERE "away_team"='arsenal'; | 2-18675114-6 |
What's the date released when there was 9.7% of Green communist? | CREATE TABLE "116_seats_needed_for_a_majority" (
"date_released" text,
"polling_institute" text,
"social_democratic" text,
"socialist" text,
"green_communist" text,
"democratic_and_social_centre" text,
"lead" text
); | SELECT "date_released" FROM "116_seats_needed_for_a_majority" WHERE "green_communist"='9.7%'; | 2-1886589-1 |
What's the green communist when Euroteste/JN is the polling Institute? | CREATE TABLE "116_seats_needed_for_a_majority" (
"date_released" text,
"polling_institute" text,
"social_democratic" text,
"socialist" text,
"green_communist" text,
"democratic_and_social_centre" text,
"lead" text
); | SELECT "green_communist" FROM "116_seats_needed_for_a_majority" WHERE "polling_institute"='euroteste/jn'; | 2-1886589-1 |
What is the most silver medals when the total is more than 2 medals, and with a rank of total, and the number of gold medals is greater than 44? | CREATE TABLE "medal_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MAX("silver") FROM "medal_table" WHERE "total">2 AND "rank"='total' AND "gold">44; | 2-18402956-2 |
What is the fewest gold medals when there is 0 bronze medals, and the rank is 19, and silver medals are less than 1? | CREATE TABLE "medal_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MIN("gold") FROM "medal_table" WHERE "bronze"=0 AND "rank"='19' AND "silver"<1; | 2-18402956-2 |
What is the largest amount of bronze medals when the silver medals are less than 1, and Belgium (BEL) is the nation, and the gold medals are less than 0? | CREATE TABLE "medal_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MAX("bronze") FROM "medal_table" WHERE "silver"<1 AND "nation"='belgium (bel)' AND "gold"<0; | 2-18402956-2 |
With silver medals less than 1, and total medals less than 2, what is the most bronze medals? | CREATE TABLE "medal_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MAX("bronze") FROM "medal_table" WHERE "silver"<1 AND "total"<2; | 2-18402956-2 |
What is the weight for the 2008 club Dynamo Moscow? | CREATE TABLE "volleyball_at_the_2008_summer_olympics_m" (
"name" text,
"height" text,
"weight" text,
"spike" text,
"2008_club" text
); | SELECT "weight" FROM "volleyball_at_the_2008_summer_olympics_m" WHERE "2008_club"='dynamo moscow'; | 2-18499677-11 |
What is the spike for the 2008 club Zenit Kazan? | CREATE TABLE "volleyball_at_the_2008_summer_olympics_m" (
"name" text,
"height" text,
"weight" text,
"spike" text,
"2008_club" text
); | SELECT "spike" FROM "volleyball_at_the_2008_summer_olympics_m" WHERE "2008_club"='zenit kazan'; | 2-18499677-11 |
Can you tell me the total number of Byes that has the Wins of 14, and the Losses larger than 2? | CREATE TABLE "2010_ladder" (
"millewa" text,
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
); | SELECT COUNT("byes") FROM "2010_ladder" WHERE "wins"=14 AND "losses">2; | 2-18974130-2 |
Can you tell me the average Wins that has the Against of 1132, and the Losses smaller than 7? | CREATE TABLE "2010_ladder" (
"millewa" text,
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
); | SELECT AVG("wins") FROM "2010_ladder" WHERE "against"=1132 AND "losses"<7; | 2-18974130-2 |
What was the date for the game that had a Location/Attendance of the spectrum? | CREATE TABLE "game_log" (
"game" text,
"date" text,
"opponent" text,
"score" text,
"location_attendance" text,
"record" text
); | SELECT "date" FROM "game_log" WHERE "location_attendance"='the spectrum'; | 2-18493036-6 |
Who was the opponent when they played at the Skydome? | CREATE TABLE "game_log" (
"game" text,
"date" text,
"opponent" text,
"score" text,
"location_attendance" text,
"record" text
); | SELECT "opponent" FROM "game_log" WHERE "location_attendance"='skydome'; | 2-18493036-6 |
What was the record on January 17? | CREATE TABLE "game_log" (
"game" text,
"date" text,
"opponent" text,
"score" text,
"location_attendance" text,
"record" text
); | SELECT "record" FROM "game_log" WHERE "date"='january 17'; | 2-18493036-6 |
What was the location and attendance when the record was 19-17? | CREATE TABLE "game_log" (
"game" text,
"date" text,
"opponent" text,
"score" text,
"location_attendance" text,
"record" text
); | SELECT "location_attendance" FROM "game_log" WHERE "record"='19-17'; | 2-18493036-6 |
What city joined the Independents conference after 1963? | CREATE TABLE "former_members" (
"school" text,
"city" text,
"mascot" text,
"county" text,
"year_joined" real,
"previous_conference" text,
"year_left" real,
"conference_joined" text
); | SELECT "city" FROM "former_members" WHERE "year_joined">1963 AND "conference_joined"='independents'; | 2-18941359-2 |
What is the year that the Gary team with mascot of the Tornado joined? | CREATE TABLE "former_members" (
"school" text,
"city" text,
"mascot" text,
"county" text,
"year_joined" real,
"previous_conference" text,
"year_left" real,
"conference_joined" text
); | SELECT MIN("year_joined") FROM "former_members" WHERE "city"='gary' AND "mascot"='tornado'; | 2-18941359-2 |
What was the previous conference for the team with the Governors as their mascot that joined the Indiana Lake Shore conference? | CREATE TABLE "former_members" (
"school" text,
"city" text,
"mascot" text,
"county" text,
"year_joined" real,
"previous_conference" text,
"year_left" real,
"conference_joined" text
); | SELECT "previous_conference" FROM "former_members" WHERE "conference_joined"='indiana lake shore' AND "mascot"='governors'; | 2-18941359-2 |
What is the year that the Roughriders left the conference? | CREATE TABLE "former_members" (
"school" text,
"city" text,
"mascot" text,
"county" text,
"year_joined" real,
"previous_conference" text,
"year_left" real,
"conference_joined" text
); | SELECT MAX("year_left") FROM "former_members" WHERE "mascot"='roughriders'; | 2-18941359-2 |
What conference did the city of Valparaiso join? | CREATE TABLE "former_members" (
"school" text,
"city" text,
"mascot" text,
"county" text,
"year_joined" real,
"previous_conference" text,
"year_left" real,
"conference_joined" text
); | SELECT "conference_joined" FROM "former_members" WHERE "city"='valparaiso'; | 2-18941359-2 |
What is the mascot of Hammond Tech? | CREATE TABLE "former_members" (
"school" text,
"city" text,
"mascot" text,
"county" text,
"year_joined" real,
"previous_conference" text,
"year_left" real,
"conference_joined" text
); | SELECT "mascot" FROM "former_members" WHERE "city"='hammond' AND "school"='hammond tech'; | 2-18941359-2 |
What is the duration of the character Bartha Zsolt? | CREATE TABLE "hungary" (
"actor" text,
"character" text,
"soap_opera" text,
"years" text,
"duration" text
); | SELECT "duration" FROM "hungary" WHERE "character"='bartha zsolt'; | 2-18772558-7 |
How many losses have jake sharp as the name, with a long less than 30? | CREATE TABLE "rushing" (
"name" text,
"gain" real,
"loss" real,
"long" real,
"avg_g" real
); | SELECT COUNT("loss") FROM "rushing" WHERE "name"='jake sharp' AND "long"<30; | 2-18935801-7 |
What is the average long that has 1581 as a gain, with a loss less than 308? | CREATE TABLE "rushing" (
"name" text,
"gain" real,
"loss" real,
"long" real,
"avg_g" real
); | SELECT AVG("long") FROM "rushing" WHERE "gain"=1581 AND "loss"<308; | 2-18935801-7 |
How many gains have a long greater than 8, with avg/g of 124.9? | CREATE TABLE "rushing" (
"name" text,
"gain" real,
"loss" real,
"long" real,
"avg_g" real
); | SELECT SUM("gain") FROM "rushing" WHERE "long">8 AND "avg_g"=124.9; | 2-18935801-7 |
How many longs have a gain less than 379, and 0.8 as an avg/g? | CREATE TABLE "rushing" (
"name" text,
"gain" real,
"loss" real,
"long" real,
"avg_g" real
); | SELECT SUM("long") FROM "rushing" WHERE "gain"<379 AND "avg_g"=0.8; | 2-18935801-7 |
What is the lowest gain that has toben opurum as the name, with an avg/g less than 54.1? | CREATE TABLE "rushing" (
"name" text,
"gain" real,
"loss" real,
"long" real,
"avg_g" real
); | SELECT MIN("gain") FROM "rushing" WHERE "name"='toben opurum' AND "avg_g"<54.1; | 2-18935801-7 |
Which Driver has a Grid smaller than 17, and Points larger than 0, and a Lapse of 87, and a Time/Retired of 1:48:11.023? | CREATE TABLE "race" (
"driver" text,
"team" text,
"laps" real,
"time_retired" text,
"grid" real,
"points" real
); | SELECT "driver" FROM "race" WHERE "grid"<17 AND "points">0 AND "laps"=87 AND "time_retired"='1:48:11.023'; | 2-18805166-2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.