question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
What is the name of the race that has the pergusa Circuit? | CREATE TABLE "non_championship_race_results" (
"race_name" text,
"circuit" text,
"date" text,
"winning_driver" text,
"constructor" text,
"report" text
); | SELECT "race_name" FROM "non_championship_race_results" WHERE "circuit"='pergusa'; | 2-1140101-6 |
What is the scoreof the away team Collingwood? | CREATE TABLE "round_8" (
"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_8" WHERE "away_team"='collingwood'; | 2-10809271-8 |
Jean Alesi, drives the Acer 01A engine for which team? | CREATE TABLE "drivers_and_constructors" (
"team" text,
"constructor" text,
"chassis" text,
"engine" text,
"tyre" text,
"driver" text,
"rounds" text
); | SELECT "team" FROM "drivers_and_constructors" WHERE "driver"='jean alesi' AND "engine"='acer 01a'; | 2-1132593-1 |
Who built Alex Yoong's car? | CREATE TABLE "drivers_and_constructors" (
"team" text,
"constructor" text,
"chassis" text,
"engine" text,
"tyre" text,
"driver" text,
"rounds" text
); | SELECT "constructor" FROM "drivers_and_constructors" WHERE "driver"='alex yoong'; | 2-1132593-1 |
What's jim colbert's highest rank? | CREATE TABLE "leaders" (
"rank" real,
"player" text,
"country" text,
"earnings" real,
"wins" real
); | SELECT MAX("rank") FROM "leaders" WHERE "player"='jim colbert'; | 2-11603116-4 |
What's hale irwin's average rank? | CREATE TABLE "leaders" (
"rank" real,
"player" text,
"country" text,
"earnings" real,
"wins" real
); | SELECT AVG("rank") FROM "leaders" WHERE "player"='hale irwin'; | 2-11603116-4 |
What is the average wins with a rank over 3 and more earnings than $9,735,814? | CREATE TABLE "leaders" (
"rank" real,
"player" text,
"country" text,
"earnings" real,
"wins" real
); | SELECT AVG("wins") FROM "leaders" WHERE "rank">3 AND "earnings">'9,735,814'; | 2-11603116-4 |
What is the sum of averages with a long value of 32? | CREATE TABLE "receiving" (
"player" text,
"rec" real,
"yards" real,
"avg" real,
"td_s" real,
"long" real
); | SELECT SUM("avg") FROM "receiving" WHERE "long"=32; | 2-11974088-4 |
What is the highest TD's with less than 15 yards and less than 1 rec.? | CREATE TABLE "receiving" (
"player" text,
"rec" real,
"yards" real,
"avg" real,
"td_s" real,
"long" real
); | SELECT MAX("td_s") FROM "receiving" WHERE "yards"<15 AND "rec"<1; | 2-11974088-4 |
Which Rōmaji title has a Track larger than 20, and a Track time of 4:28? | CREATE TABLE "track_listing" (
"disc" real,
"track" real,
"english_title" text,
"japanese_title" text,
"r_maji_title" text,
"artist" text,
"track_time" text
); | SELECT "r_maji_title" FROM "track_listing" WHERE "track">20 AND "track_time"='4:28'; | 2-11839306-2 |
Which Track time has a Disc larger than 2, a Track smaller than 22, and an English title of younger girl? | CREATE TABLE "track_listing" (
"disc" real,
"track" real,
"english_title" text,
"japanese_title" text,
"r_maji_title" text,
"artist" text,
"track_time" text
); | SELECT "track_time" FROM "track_listing" WHERE "disc">2 AND "track"<22 AND "english_title"='younger girl'; | 2-11839306-2 |
Which Japanese title has a Disc smaller than 12, and an Artist of kōzō murashita? | CREATE TABLE "track_listing" (
"disc" real,
"track" real,
"english_title" text,
"japanese_title" text,
"r_maji_title" text,
"artist" text,
"track_time" text
); | SELECT "japanese_title" FROM "track_listing" WHERE "disc"<12 AND "artist"='kōzō murashita'; | 2-11839306-2 |
Which track has a Japanese title of メロディー? | CREATE TABLE "track_listing" (
"disc" real,
"track" real,
"english_title" text,
"japanese_title" text,
"r_maji_title" text,
"artist" text,
"track_time" text
); | SELECT MAX("track") FROM "track_listing" WHERE "japanese_title"='メロディー'; | 2-11839306-2 |
What Grid has a Time/Retired of clutch? | CREATE TABLE "classification" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT SUM("grid") FROM "classification" WHERE "time_retired"='clutch'; | 2-1123356-2 |
What is the Time/Retired with more Laps than 34, a Grid smaller than 15, and Driver Damon Hill? | CREATE TABLE "classification" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "time_retired" FROM "classification" WHERE "laps">34 AND "grid"<15 AND "driver"='damon hill'; | 2-1123356-2 |
How many Laps Did Driver David Coulthard have on a Grid smaller than 11? | CREATE TABLE "classification" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "laps" FROM "classification" WHERE "grid"<11 AND "driver"='david coulthard'; | 2-1123356-2 |
What type of race took place on the course Orta San Giulio to Milan? | CREATE TABLE "stage_results" (
"date" text,
"course" text,
"distance" text,
"type" text,
"winner" text
); | SELECT "type" FROM "stage_results" WHERE "course"='orta san giulio to milan'; | 2-11303288-1 |
When did the course Vasto to Campitello Matese took place? | CREATE TABLE "stage_results" (
"date" text,
"course" text,
"distance" text,
"type" text,
"winner" text
); | SELECT "date" FROM "stage_results" WHERE "course"='vasto to campitello matese'; | 2-11303288-1 |
Who won the course Brescia? | CREATE TABLE "stage_results" (
"date" text,
"course" text,
"distance" text,
"type" text,
"winner" text
); | SELECT "winner" FROM "stage_results" WHERE "course"='brescia'; | 2-11303288-1 |
Name the league for 1996 | CREATE TABLE "year_by_year" (
"year" text,
"division" text,
"league" text,
"reg_season" text,
"playoffs" text,
"open_cup" text
); | SELECT "league" FROM "year_by_year" WHERE "year"='1996'; | 2-11986756-1 |
Name the league for 1994 | CREATE TABLE "year_by_year" (
"year" text,
"division" text,
"league" text,
"reg_season" text,
"playoffs" text,
"open_cup" text
); | SELECT "league" FROM "year_by_year" WHERE "year"='1994'; | 2-11986756-1 |
Tell me the league with a regular 1st season | CREATE TABLE "year_by_year" (
"year" text,
"division" text,
"league" text,
"reg_season" text,
"playoffs" text,
"open_cup" text
); | SELECT "league" FROM "year_by_year" WHERE "reg_season"='1st'; | 2-11986756-1 |
What class has a LNER Class of d8? | CREATE TABLE "1886_1893" (
"class" text,
"type" text,
"quantity" real,
"date" text,
"lner_class" text
); | SELECT "class" FROM "1886_1893" WHERE "lner_class"='d8'; | 2-1169568-2 |
What LNER Class has a Class of 6db? | CREATE TABLE "1886_1893" (
"class" text,
"type" text,
"quantity" real,
"date" text,
"lner_class" text
); | SELECT "lner_class" FROM "1886_1893" WHERE "class"='6db'; | 2-1169568-2 |
What LNER Class has a Class of 3? | CREATE TABLE "1886_1893" (
"class" text,
"type" text,
"quantity" real,
"date" text,
"lner_class" text
); | SELECT "lner_class" FROM "1886_1893" WHERE "class"='3'; | 2-1169568-2 |
Which mean pick number had a Reg GP of 0, and a Pl GP that was bigger than 0? | CREATE TABLE "list_of_vancouver_canucks_draft_picks" (
"rd_num" real,
"pick_num" real,
"player" text,
"reg_gp" real,
"pl_gp" real
); | SELECT AVG("pick_num") FROM "list_of_vancouver_canucks_draft_picks" WHERE "reg_gp"=0 AND "pl_gp">0; | 2-11636955-5 |
What is the highest Pick number that had a road number that was less than 6, featured Bob Dailey as a player, and which had a Reg GP bigger than 257? | CREATE TABLE "list_of_vancouver_canucks_draft_picks" (
"rd_num" real,
"pick_num" real,
"player" text,
"reg_gp" real,
"pl_gp" real
); | SELECT MAX("pick_num") FROM "list_of_vancouver_canucks_draft_picks" WHERE "rd_num"<6 AND "player"='bob dailey' AND "reg_gp">257; | 2-11636955-5 |
What is the sum number of Pl GP when the Reg GP was 0, the Rd number was bigger than 8, and the pick number was bigger than 146? | CREATE TABLE "list_of_vancouver_canucks_draft_picks" (
"rd_num" real,
"pick_num" real,
"player" text,
"reg_gp" real,
"pl_gp" real
); | SELECT COUNT("pl_gp") FROM "list_of_vancouver_canucks_draft_picks" WHERE "reg_gp"=0 AND "rd_num">8 AND "pick_num">146; | 2-11636955-5 |
What was the birth state of Charles Cotesworth Pinckney who was elected in 1808? | CREATE TABLE "candidates_who_lost_the_election" (
"name" text,
"election_year" real,
"party" text,
"birth_state" text,
"resident_state" text
); | SELECT "birth_state" FROM "candidates_who_lost_the_election" WHERE "name"='charles cotesworth pinckney' AND "election_year"=1808; | 2-1125581-2 |
How many postseason titles has Nebraska received? | CREATE TABLE "football_titles_by_school" (
"team" text,
"season" text,
"regular_season_division" real,
"postseason" text,
"total" real
); | SELECT "postseason" FROM "football_titles_by_school" WHERE "team"='nebraska'; | 2-11789730-14 |
What day does the home team score 8.13 (61)? | CREATE TABLE "round_2" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "date" FROM "round_2" WHERE "home_team_score"='8.13 (61)'; | 2-10784349-2 |
What is the lost On August 20 | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"save" text,
"attendance" real,
"record" text
); | SELECT "loss" FROM "game_log" WHERE "date"='august 20'; | 2-11633481-8 |
WHAT IS THE NUMBER OF Attendance WITH A RECORD 94–36 | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"save" text,
"attendance" real,
"record" text
); | SELECT AVG("attendance") FROM "game_log" WHERE "save"='–' AND "record"='94–36'; | 2-11633481-8 |
WHICH Attendance that has a Loss of paniagua (3–3)? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"save" text,
"attendance" real,
"record" text
); | SELECT MAX("attendance") FROM "game_log" WHERE "loss"='paniagua (3–3)'; | 2-11633481-8 |
How many points did the away team score at Arden Street Oval? | 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 "away_team_score" FROM "round_12" WHERE "venue"='arden street oval'; | 2-10809351-12 |
In what venue does Footscray play? | 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"='footscray'; | 2-10809351-12 |
What position did Co-driver Jackie Oliver finish in the 24 hours of Le Mans? | CREATE TABLE "pedro_rodr_guez_in_porsche" (
"year" real,
"race" text,
"team" text,
"pos" text,
"co_driver" text
); | SELECT "pos" FROM "pedro_rodr_guez_in_porsche" WHERE "race"='24 hours of le mans' AND "co_driver"='jackie oliver'; | 2-1156744-3 |
Who was the co-driver in 1970 for the race of Targa Florio? | CREATE TABLE "pedro_rodr_guez_in_porsche" (
"year" real,
"race" text,
"team" text,
"pos" text,
"co_driver" text
); | SELECT "co_driver" FROM "pedro_rodr_guez_in_porsche" WHERE "year"=1970 AND "race"='targa florio'; | 2-1156744-3 |
Which vehicle has a Grid of 13? | CREATE TABLE "classification" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "constructor" FROM "classification" WHERE "grid"=13; | 2-1122369-1 |
What's the Time/Retired of 80 laps with a Grid larger than 2? | CREATE TABLE "classification" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "time_retired" FROM "classification" WHERE "laps"=80 AND "grid">2; | 2-1122369-1 |
Tell me the date for detroit and game more than 3 | CREATE TABLE "playoffs" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"series" text
); | SELECT "date" FROM "playoffs" WHERE "team"='detroit' AND "game">3; | 2-11961849-11 |
Name the team with high assists of nelson (5) | CREATE TABLE "playoffs" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"series" text
); | SELECT "team" FROM "playoffs" WHERE "high_assists"='nelson (5)'; | 2-11961849-11 |
Name the score for howard (8) high rebounds | CREATE TABLE "playoffs" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"series" text
); | SELECT "score" FROM "playoffs" WHERE "high_rebounds"='howard (8)'; | 2-11961849-11 |
Where Date is october 11, and game greater than 4 what is the lowest attendance? | CREATE TABLE "summary" (
"game" real,
"date" text,
"location" text,
"time" text,
"attendance" real
); | SELECT MIN("attendance") FROM "summary" WHERE "date"='october 11' AND "game">4; | 2-1100124-1 |
Where date is october 7 and game greater than 1, what is the highest attendance? | CREATE TABLE "summary" (
"game" real,
"date" text,
"location" text,
"time" text,
"attendance" real
); | SELECT MAX("attendance") FROM "summary" WHERE "date"='october 7' AND "game">1; | 2-1100124-1 |
Where Date is october 14 what is the attendance? | CREATE TABLE "summary" (
"game" real,
"date" text,
"location" text,
"time" text,
"attendance" real
); | SELECT "attendance" FROM "summary" WHERE "date"='october 14'; | 2-1100124-1 |
Which away team had a venue of mcg? | CREATE TABLE "round_14" (
"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_14" WHERE "venue"='mcg'; | 2-10808089-14 |
When did the away team score at Punt Road Oval? | 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_score" FROM "round_4" WHERE "venue"='punt road oval'; | 2-10806852-4 |
How many points did North Melbourne score? | 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 "home_team_score" FROM "round_4" WHERE "home_team"='north melbourne'; | 2-10806852-4 |
How many points when under 17,197 attended against the wild? | CREATE TABLE "regular_season" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text,
"arena" text,
"points" real
); | SELECT AVG("points") FROM "regular_season" WHERE "attendance"<'17,197' AND "opponent"='wild'; | 2-11801795-5 |
What was the score on March 4? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "score" FROM "game_log" WHERE "date"='march 4'; | 2-11907963-7 |
On which date was Raymond Felton (6) the high assists and Jason Richardson (42) the high points? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "date" FROM "game_log" WHERE "high_assists"='raymond felton (6)' AND "high_points"='jason richardson (42)'; | 2-11907963-7 |
What is the location attendance when the team is Golden State? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "location_attendance" FROM "game_log" WHERE "team"='golden state'; | 2-11907963-7 |
Which record has a Visitor of magic? | CREATE TABLE "january" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"leading_scorer" text,
"record" text
); | SELECT "record" FROM "january" WHERE "visitor"='magic'; | 2-11963447-6 |
Which score has a Home of grizzlies, and a Leading scorer of rudy gay (18)? | CREATE TABLE "january" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"leading_scorer" text,
"record" text
); | SELECT "score" FROM "january" WHERE "home"='grizzlies' AND "leading_scorer"='rudy gay (18)'; | 2-11963447-6 |
Which leading scorer has a Home of grizzlies, and a Record of 10–28? | CREATE TABLE "january" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"leading_scorer" text,
"record" text
); | SELECT "leading_scorer" FROM "january" WHERE "home"='grizzlies' AND "record"='10–28'; | 2-11963447-6 |
If the Away team score was 15.20 (110), what was the Home team playing? | 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"='15.20 (110)'; | 2-10869646-5 |
When the Away team score equaled 15.20 (110) what was the Date of the game? | 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_score"='15.20 (110)'; | 2-10869646-5 |
If the Away team was carlton, what Date did they play? | 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"='carlton'; | 2-10869646-5 |
How many people were in the Crowd when the Away team scored 15.20 (110)? | 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 COUNT("crowd") FROM "round_5" WHERE "away_team_score"='15.20 (110)'; | 2-10869646-5 |
What is the Visitor with a Home with chicago, and a Score of 3 – 2? | CREATE TABLE "playoffs" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"series" text
); | SELECT "visitor" FROM "playoffs" WHERE "home"='chicago' AND "score"='3 – 2'; | 2-11945691-10 |
What is the Score with a Date with may 2? | CREATE TABLE "playoffs" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"series" text
); | SELECT "score" FROM "playoffs" WHERE "date"='may 2'; | 2-11945691-10 |
What is the Score with a Home of colorado, and a Date with may 11? | CREATE TABLE "playoffs" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"series" text
); | SELECT "score" FROM "playoffs" WHERE "home"='colorado' AND "date"='may 11'; | 2-11945691-10 |
What is the Home with a Visitor of chicago, and a Series with 3 – 2? | CREATE TABLE "playoffs" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"series" text
); | SELECT "home" FROM "playoffs" WHERE "visitor"='chicago' AND "series"='3 – 2'; | 2-11945691-10 |
What is the Visitor with a Series with 3 – 2? | CREATE TABLE "playoffs" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"series" text
); | SELECT "visitor" FROM "playoffs" WHERE "series"='3 – 2'; | 2-11945691-10 |
What is the Visitor with a Score with 4 – 3? | CREATE TABLE "playoffs" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"series" text
); | SELECT "visitor" FROM "playoffs" WHERE "score"='4 – 3'; | 2-11945691-10 |
What is the 2007 value with 1r in 2011 and 1r in 2010? | CREATE TABLE "grand_slam_singles_performance_timeline" (
"tournament" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "2007" FROM "grand_slam_singles_performance_timeline" WHERE "2011"='1r' AND "2010"='1r'; | 2-11924384-6 |
What is the 2012 value with 1r in 2010 and 2r in 2006? | CREATE TABLE "grand_slam_singles_performance_timeline" (
"tournament" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "2012" FROM "grand_slam_singles_performance_timeline" WHERE "2010"='1r' AND "2006"='2r'; | 2-11924384-6 |
What is the 2010 value for the Australian Open? | CREATE TABLE "grand_slam_singles_performance_timeline" (
"tournament" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "2010" FROM "grand_slam_singles_performance_timeline" WHERE "tournament"='australian open'; | 2-11924384-6 |
What is the 2006 value of the 2009 A value, 2011 A value, and A as the 2007 value? | CREATE TABLE "grand_slam_singles_performance_timeline" (
"tournament" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "2006" FROM "grand_slam_singles_performance_timeline" WHERE "2009"='a' AND "2011"='a' AND "2007"='a'; | 2-11924384-6 |
What is the 2006 value with 3r in 2007? | CREATE TABLE "grand_slam_singles_performance_timeline" (
"tournament" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "2006" FROM "grand_slam_singles_performance_timeline" WHERE "2007"='3r'; | 2-11924384-6 |
What is the 2012 value with 479 in 2008? | CREATE TABLE "grand_slam_singles_performance_timeline" (
"tournament" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "2012" FROM "grand_slam_singles_performance_timeline" WHERE "2008"='479'; | 2-11924384-6 |
What is the building for the r90 pennant? | CREATE TABLE "ch_or_12th_emergency_flotilla" (
"name" text,
"pennant" text,
"builder" text,
"laid_down" text,
"launched" text,
"commissioned" text
); | SELECT "builder" FROM "ch_or_12th_emergency_flotilla" WHERE "pennant"='r90'; | 2-1206583-2 |
What is the pennant with Denny, Dumbarton as the builder? | CREATE TABLE "ch_or_12th_emergency_flotilla" (
"name" text,
"pennant" text,
"builder" text,
"laid_down" text,
"launched" text,
"commissioned" text
); | SELECT "pennant" FROM "ch_or_12th_emergency_flotilla" WHERE "builder"='denny, dumbarton'; | 2-1206583-2 |
What is the laid down date of the destroyer with a r29 pennant? | CREATE TABLE "ch_or_12th_emergency_flotilla" (
"name" text,
"pennant" text,
"builder" text,
"laid_down" text,
"launched" text,
"commissioned" text
); | SELECT "laid_down" FROM "ch_or_12th_emergency_flotilla" WHERE "pennant"='r29'; | 2-1206583-2 |
What is the location/state of the race on 16 Jun? | CREATE TABLE "race_calendar" (
"heat" real,
"race_title" text,
"circuit" text,
"location_state" text,
"date" text,
"winner" text,
"team" text
); | SELECT "location_state" FROM "race_calendar" WHERE "date"='16 jun'; | 2-11969956-2 |
What is the lowest heat of the Lakeside race? | CREATE TABLE "race_calendar" (
"heat" real,
"race_title" text,
"circuit" text,
"location_state" text,
"date" text,
"winner" text,
"team" text
); | SELECT MIN("heat") FROM "race_calendar" WHERE "race_title"='lakeside'; | 2-11969956-2 |
When the Away team is footscray, what is the Home team playing? | CREATE TABLE "round_15" (
"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_15" WHERE "away_team"='footscray'; | 2-10887379-15 |
When the Home team scores 14.16 (100), what is the sum of the Crowds? | CREATE TABLE "round_15" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT SUM("crowd") FROM "round_15" WHERE "home_team_score"='14.16 (100)'; | 2-10887379-15 |
What's the average number of people in the Crowd that attend essendon games as the Home team? | CREATE TABLE "round_15" (
"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_15" WHERE "home_team"='essendon'; | 2-10887379-15 |
Which Away team plays at the Venue vfl park? | CREATE TABLE "round_15" (
"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_15" WHERE "venue"='vfl park'; | 2-10887379-15 |
Name the least week for opponent of washington redskins | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"tv_time" text,
"attendance" text
); | SELECT MIN("week") FROM "schedule" WHERE "opponent"='washington redskins'; | 2-11281239-1 |
Name the tv time for week 10 | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"tv_time" text,
"attendance" text
); | SELECT "tv_time" FROM "schedule" WHERE "week"=10; | 2-11281239-1 |
What is the Time/Retired for a Grid larger than 6, and 57 laps? | CREATE TABLE "classification" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "time_retired" FROM "classification" WHERE "grid">6 AND "laps"=57; | 2-1122578-1 |
What grid for denny hulme? | CREATE TABLE "classification" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "grid" FROM "classification" WHERE "driver"='denny hulme'; | 2-1122578-1 |
How many laps for a Time/Retired of tyre, and a Grid larger than 10? | CREATE TABLE "classification" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT COUNT("laps") FROM "classification" WHERE "time_retired"='tyre' AND "grid">10; | 2-1122578-1 |
What Outcome has a Rocket launch of rehnuma-11? | CREATE TABLE "spaceflight_by_year" (
"rocket_launch" text,
"launch_date" text,
"mission" text,
"institutional_authority" text,
"launch_site" text,
"outcomes" text,
"derivatives" text
); | SELECT "outcomes" FROM "spaceflight_by_year" WHERE "rocket_launch"='rehnuma-11'; | 2-11869952-1 |
Which Institutional authority has a Rocket launch of rehnuma-10? | CREATE TABLE "spaceflight_by_year" (
"rocket_launch" text,
"launch_date" text,
"mission" text,
"institutional_authority" text,
"launch_site" text,
"outcomes" text,
"derivatives" text
); | SELECT "institutional_authority" FROM "spaceflight_by_year" WHERE "rocket_launch"='rehnuma-10'; | 2-11869952-1 |
Which Derivative has a Launch Date of july 15, 1970; 15:05 gmt? | CREATE TABLE "spaceflight_by_year" (
"rocket_launch" text,
"launch_date" text,
"mission" text,
"institutional_authority" text,
"launch_site" text,
"outcomes" text,
"derivatives" text
); | SELECT "derivatives" FROM "spaceflight_by_year" WHERE "launch_date"='july 15, 1970; 15:05 gmt'; | 2-11869952-1 |
Which Outcome has a Launch Date of march 18, 1964; 14:50 gmt? | CREATE TABLE "spaceflight_by_year" (
"rocket_launch" text,
"launch_date" text,
"mission" text,
"institutional_authority" text,
"launch_site" text,
"outcomes" text,
"derivatives" text
); | SELECT "outcomes" FROM "spaceflight_by_year" WHERE "launch_date"='march 18, 1964; 14:50 gmt'; | 2-11869952-1 |
Which Mission has a Launch Date of december 30, 1970; 14:50 gmt? | CREATE TABLE "spaceflight_by_year" (
"rocket_launch" text,
"launch_date" text,
"mission" text,
"institutional_authority" text,
"launch_site" text,
"outcomes" text,
"derivatives" text
); | SELECT "mission" FROM "spaceflight_by_year" WHERE "launch_date"='december 30, 1970; 14:50 gmt'; | 2-11869952-1 |
What was the score when the Golden State Warriors were the visiting team on 3/7 and there were more than 18,997 people in attendance? | CREATE TABLE "march" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"leading_scorer" text,
"attendance" real,
"record" text
); | SELECT "score" FROM "march" WHERE "visitor"='golden state warriors' AND "attendance">'18,997' AND "date"='3/7'; | 2-11964379-8 |
What team was the visitor on 3/2? | CREATE TABLE "march" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"leading_scorer" text,
"attendance" real,
"record" text
); | SELECT "visitor" FROM "march" WHERE "date"='3/2'; | 2-11964379-8 |
What is the home team score for kardinia park? | CREATE TABLE "round_22" (
"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_22" WHERE "venue"='kardinia park'; | 2-10824095-22 |
When did an away team score 32.16 (208)? | CREATE TABLE "round_22" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "date" FROM "round_22" WHERE "away_team_score"='32.16 (208)'; | 2-10824095-22 |
Name the realization for phoneme of /i/ and example of /idːa/ | CREATE TABLE "tamazight_vowel_allophony" (
"phoneme" text,
"realization" text,
"environment" text,
"example" text,
"gloss" text
); | SELECT "realization" FROM "tamazight_vowel_allophony" WHERE "phoneme"='/i/' AND "example"='/idːa/'; | 2-12052170-4 |
Name the phoneme for realizaiton of [ɪj] | CREATE TABLE "tamazight_vowel_allophony" (
"phoneme" text,
"realization" text,
"environment" text,
"example" text,
"gloss" text
); | SELECT "phoneme" FROM "tamazight_vowel_allophony" WHERE "realization"='[ɪj]'; | 2-12052170-4 |
Name the example when the environment is #_x | CREATE TABLE "tamazight_vowel_allophony" (
"phoneme" text,
"realization" text,
"environment" text,
"example" text,
"gloss" text
); | SELECT "example" FROM "tamazight_vowel_allophony" WHERE "environment"='#_x'; | 2-12052170-4 |
Name the example when the realization is [ɐ] | CREATE TABLE "tamazight_vowel_allophony" (
"phoneme" text,
"realization" text,
"environment" text,
"example" text,
"gloss" text
); | SELECT "example" FROM "tamazight_vowel_allophony" WHERE "realization"='[ɐ]'; | 2-12052170-4 |
Name the phoneme when the example is /umsʁ/ | CREATE TABLE "tamazight_vowel_allophony" (
"phoneme" text,
"realization" text,
"environment" text,
"example" text,
"gloss" text
); | SELECT "phoneme" FROM "tamazight_vowel_allophony" WHERE "example"='/umsʁ/'; | 2-12052170-4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.