output stringlengths 18 557 | instruction stringlengths 22 540 |
|---|---|
SELECT date FROM table_name_83 WHERE venue = "princes park" | CREATE TABLE table_name_83 (date VARCHAR, venue VARCHAR), What was the date of the game at Princes Park? |
SELECT home_team AS score FROM table_name_20 WHERE crowd > 32 OFFSET 576 | CREATE TABLE table_name_20 (home_team VARCHAR, crowd INTEGER), Who was the home team at the game with a crowd larger than 32,576? |
SELECT venue FROM table_name_38 WHERE home_team = "melbourne" | CREATE TABLE table_name_38 (venue VARCHAR, home_team VARCHAR), Where did Melbourne play as the home team? |
SELECT rounds FROM table_name_48 WHERE entrant = "scuderia milano" | CREATE TABLE table_name_48 (rounds VARCHAR, entrant VARCHAR), In what rounds did Scuderia Milano participate? |
SELECT entrant FROM table_name_95 WHERE driver = "louis chiron" AND chassis = "t26c" | CREATE TABLE table_name_95 (entrant VARCHAR, driver VARCHAR, chassis VARCHAR), Who was the entrant for Louis Chiron with a Chassis of T26C? |
SELECT rounds FROM table_name_69 WHERE entrant = "alfa romeo spa" AND driver = "luigi fagioli" | CREATE TABLE table_name_69 (rounds VARCHAR, entrant VARCHAR, driver VARCHAR), In what rounds did Luigi Fagioli drive for Alfa Romeo SPA? |
SELECT rounds FROM table_name_10 WHERE tyre = "d" AND chassis = "p15" | CREATE TABLE table_name_10 (rounds VARCHAR, tyre VARCHAR, chassis VARCHAR), In what rounds did the P15 Chassis and tyre D participate? |
SELECT venue FROM table_name_6 WHERE away_team = "hawthorn" | CREATE TABLE table_name_6 (venue VARCHAR, away_team VARCHAR), Where did Hawthorn play an away game? |
SELECT venue FROM table_name_13 WHERE home_team = "melbourne" | CREATE TABLE table_name_13 (venue VARCHAR, home_team VARCHAR), Where does Melbourne play home games? |
SELECT away_team AS score FROM table_name_48 WHERE home_team = "richmond" | CREATE TABLE table_name_48 (away_team VARCHAR, home_team VARCHAR), What was the score for the opponent against Richmond? |
SELECT COUNT(national_university_of_ireland) FROM table_name_34 WHERE agricultural_panel = 0 AND labour_panel > 0 | CREATE TABLE table_name_34 (national_university_of_ireland VARCHAR, agricultural_panel VARCHAR, labour_panel VARCHAR), I want to know the total number of national university of ireland with agricultural panel of 0 and labour panel more than 0 |
SELECT COUNT(administrative_panel) FROM table_name_59 WHERE labour_panel > 2 AND total = 28 AND nominated_by_the_taoiseach > 6 | CREATE TABLE table_name_59 (administrative_panel VARCHAR, nominated_by_the_taoiseach VARCHAR, labour_panel VARCHAR, total VARCHAR), Tell me the total number of administrative panel with labour panel more than 2, nominated by taoiseach more than 6 and total of 28 |
SELECT away_team AS score FROM table_name_64 WHERE venue = "western oval" | CREATE TABLE table_name_64 (away_team VARCHAR, venue VARCHAR), What was the away team score at Western Oval? |
SELECT venue FROM table_name_45 WHERE home_team = "richmond" | CREATE TABLE table_name_45 (venue VARCHAR, home_team VARCHAR), What is the name of Richmond's home venue? |
SELECT away_team AS score FROM table_name_28 WHERE home_team = "hawthorn" | CREATE TABLE table_name_28 (away_team VARCHAR, home_team VARCHAR), What was the away team score at Hawthorn's home game? |
SELECT score FROM table_name_31 WHERE date = "february 6" | CREATE TABLE table_name_31 (score VARCHAR, date VARCHAR), What score occurred on February 6? |
SELECT MIN(game) FROM table_name_69 WHERE date = "february 20" | CREATE TABLE table_name_69 (game INTEGER, date VARCHAR), What is the lowest game number on February 20? |
SELECT high_rebounds FROM table_name_7 WHERE score = "l 122β93" | CREATE TABLE table_name_7 (high_rebounds VARCHAR, score VARCHAR), Who had the high rebounds when the score was l 122β93? |
SELECT home_team FROM table_name_67 WHERE venue = "princes park" | CREATE TABLE table_name_67 (home_team VARCHAR, venue VARCHAR), Which home team played at Princes Park? |
SELECT date FROM table_name_17 WHERE home_team = "richmond" | CREATE TABLE table_name_17 (date VARCHAR, home_team VARCHAR), What date was Richmond the home team? |
SELECT MAX(crowd) FROM table_name_37 WHERE away_team = "melbourne" | CREATE TABLE table_name_37 (crowd INTEGER, away_team VARCHAR), What was the largest crowd when Melbourne was the away team? |
SELECT gymnast FROM table_name_91 WHERE balance_beam > 8.687 AND total < 38.049 AND floor_exercise < 9.462 AND vault < 9.275 | CREATE TABLE table_name_91 (gymnast VARCHAR, vault VARCHAR, floor_exercise VARCHAR, balance_beam VARCHAR, total VARCHAR), Which gymnast had a balance beam larger than 8.687, had a total less than 38.049, had a floor exercise less than 9.462, and a vault less than 9.275? |
SELECT country FROM table_name_57 WHERE rank = "24" | CREATE TABLE table_name_57 (country VARCHAR, rank VARCHAR), Which country is ranked 24? |
SELECT MAX(year) FROM table_name_89 WHERE accolade = "singles of 1999" AND rank = "22" | CREATE TABLE table_name_89 (year INTEGER, accolade VARCHAR, rank VARCHAR), Name the highest year with rank of 22 and accolade of singles of 1999 |
SELECT MAX(grid) FROM table_name_31 WHERE driver = "piers courage" | CREATE TABLE table_name_31 (grid INTEGER, driver VARCHAR), What is the largest Grid with a Driver of piers courage? |
SELECT winner FROM table_name_50 WHERE tournament = "majorca" | CREATE TABLE table_name_50 (winner VARCHAR, tournament VARCHAR), Name the winner for majorca |
SELECT third_place FROM table_name_75 WHERE runner_up = "anders jΓ€rryd" | CREATE TABLE table_name_75 (third_place VARCHAR, runner_up VARCHAR), Name the third place for anders jΓ€rryd |
SELECT score FROM table_name_85 WHERE third_place = "henri leconte" AND runner_up = "michael stich" | CREATE TABLE table_name_85 (score VARCHAR, third_place VARCHAR, runner_up VARCHAR), Name the score for henri leconte and runner-up of michael stich |
SELECT winner FROM table_name_93 WHERE tournament = "london" | CREATE TABLE table_name_93 (winner VARCHAR, tournament VARCHAR), Name the winner for london tournament |
SELECT runner_up FROM table_name_30 WHERE tournament = "majorca" | CREATE TABLE table_name_30 (runner_up VARCHAR, tournament VARCHAR), Tell me the runner-up for majorca |
SELECT COUNT(laps) FROM table_name_33 WHERE constructor = "brm" AND grid = 11 | CREATE TABLE table_name_33 (laps VARCHAR, constructor VARCHAR, grid VARCHAR), How many laps did BRM have with a grid of 11? |
SELECT COUNT(grid) FROM table_name_79 WHERE driver = "bruce mclaren" | CREATE TABLE table_name_79 (grid VARCHAR, driver VARCHAR), What's the total grid of Bruce Mclaren? |
SELECT MIN(laps) FROM table_name_20 WHERE time_retired = "engine" AND grid > 8 AND driver = "george eaton" | CREATE TABLE table_name_20 (laps INTEGER, driver VARCHAR, time_retired VARCHAR, grid VARCHAR), What's the least amount of laps that George Eaton completed that has a time/retired engine and a grid larger than 8? |
SELECT home FROM table_name_52 WHERE date = "1 april 2008" | CREATE TABLE table_name_52 (home VARCHAR, date VARCHAR), Who was the home team on 1 April 2008? |
SELECT record FROM table_name_20 WHERE date = "6 april 2008" | CREATE TABLE table_name_20 (record VARCHAR, date VARCHAR), What was the record on 6 April 2008? |
SELECT grantee FROM table_name_34 WHERE concession = "san ysidro" | CREATE TABLE table_name_34 (grantee VARCHAR, concession VARCHAR), Tell me the Grantee for san ysidro |
SELECT county FROM table_name_48 WHERE grantee = "mariano castro" | CREATE TABLE table_name_48 (county VARCHAR, grantee VARCHAR), Tell me the county for mariano castro |
SELECT grantee FROM table_name_6 WHERE date = 1795 AND concession = "las pulgas" | CREATE TABLE table_name_6 (grantee VARCHAR, date VARCHAR, concession VARCHAR), Tell me the grantee for las pulgas in 1795 |
SELECT position FROM table_name_38 WHERE round = 4 | CREATE TABLE table_name_38 (position VARCHAR, round VARCHAR), A round of 4 is in what position? |
SELECT club_team FROM table_name_9 WHERE round > 5 AND position = "defense" | CREATE TABLE table_name_9 (club_team VARCHAR, round VARCHAR, position VARCHAR), What Club team with a Round larger than 5 have a defense position? |
SELECT player FROM table_name_10 WHERE club_team = "indiana ice (ushl)" | CREATE TABLE table_name_10 (player VARCHAR, club_team VARCHAR), What Player Club Team is Indiana Ice (ushl)? |
SELECT nationality FROM table_name_53 WHERE club_team = "quebec remparts (qmjhl)" | CREATE TABLE table_name_53 (nationality VARCHAR, club_team VARCHAR), What is the Nationality Club Team of Quebec remparts (qmjhl)? |
SELECT player FROM table_name_4 WHERE position = "centre" | CREATE TABLE table_name_4 (player VARCHAR, position VARCHAR), The Position of Centre is what Player? |
SELECT club_team FROM table_name_37 WHERE nationality = "canada" AND overall = "15" | CREATE TABLE table_name_37 (club_team VARCHAR, nationality VARCHAR, overall VARCHAR), What is the Overall of 15 Club team with a Nationality of Canada? |
SELECT additional_major_sponsor_s_ FROM table_name_58 WHERE additional_colour_s_ = "black" AND year = 1984 | CREATE TABLE table_name_58 (additional_major_sponsor_s_ VARCHAR, additional_colour_s_ VARCHAR, year VARCHAR), What are the additional major sponsors which correspond to the additional color black and a year 1984? |
SELECT AVG(year) FROM table_name_9 WHERE additional_colour_s_ = "black" | CREATE TABLE table_name_9 (year INTEGER, additional_colour_s_ VARCHAR), What is the average year of entries with additional color black? |
SELECT time_retired FROM table_name_4 WHERE grid = 6 | CREATE TABLE table_name_4 (time_retired VARCHAR, grid VARCHAR), What is the Time/Retired for Grid 6? |
SELECT MIN(laps) FROM table_name_36 WHERE driver = "mike spence" AND grid < 8 | CREATE TABLE table_name_36 (laps INTEGER, driver VARCHAR, grid VARCHAR), What is the lowest Laps for mike spence, with a Grid smaller than 8? |
SELECT AVG(laps) FROM table_name_85 WHERE time_retired = "+1 lap" AND driver = "mark blundell" | CREATE TABLE table_name_85 (laps INTEGER, time_retired VARCHAR, driver VARCHAR), how many laps have a time/retired of +1 lap and mark blundell is the driver? |
SELECT MAX(grid) FROM table_name_95 WHERE time_retired = "fuel pump" AND laps > 26 | CREATE TABLE table_name_95 (grid INTEGER, time_retired VARCHAR, laps VARCHAR), what is the highest grid when the time/retired is fuel pump and the laps is more than 26? |
SELECT MIN(laps) FROM table_name_35 WHERE driver = "gerhard berger" AND grid > 6 | CREATE TABLE table_name_35 (laps INTEGER, driver VARCHAR, grid VARCHAR), what is the least laps for driver gerhard berger with a grid more than 6? |
SELECT kapampangan FROM table_name_8 WHERE malay = "aku" | CREATE TABLE table_name_8 (kapampangan VARCHAR, malay VARCHAR), What is the Kapampangan word for the Malay word aku? |
SELECT lundu__salako_ FROM table_name_36 WHERE siburan_padawan = "Δku" | CREATE TABLE table_name_36 (lundu__salako_ VARCHAR, siburan_padawan VARCHAR), What is the Lundu (Salako) word for the Siburan-Pandawan word Δku? |
SELECT lundu__salako_ FROM table_name_65 WHERE tagalog = "pagkain" | CREATE TABLE table_name_65 (lundu__salako_ VARCHAR, tagalog VARCHAR), What is the Lundu (Salako) word for the Tagalog word pagkain? |
SELECT siburan_padawan FROM table_name_98 WHERE tagalog = "kanin" | CREATE TABLE table_name_98 (siburan_padawan VARCHAR, tagalog VARCHAR), What is the Siburan-Padawan word for the Tagalog word kanin? |
SELECT SUM(total_games) FROM table_name_68 WHERE conference = "big ten" AND lost < 488 AND team = "nebraska" AND pct < 0.7014 | CREATE TABLE table_name_68 (total_games INTEGER, pct VARCHAR, team VARCHAR, conference VARCHAR, lost VARCHAR), What were the total games in the Big Ten conference when Nebraska lost fewer than 488 games and had a Pct less than 0.7014? |
SELECT COUNT(pct) FROM table_name_5 WHERE years > 100 AND team = "akron" | CREATE TABLE table_name_5 (pct VARCHAR, years VARCHAR, team VARCHAR), What is Akron's highest Pct in 100 years? |
SELECT SUM(crowd) FROM table_name_42 WHERE venue = "lake oval" | CREATE TABLE table_name_42 (crowd INTEGER, venue VARCHAR), How many people attended the game at Lake Oval? |
SELECT away_team AS score FROM table_name_28 WHERE venue = "princes park" | CREATE TABLE table_name_28 (away_team VARCHAR, venue VARCHAR), What was the away score at the Princes Park game? |
SELECT home_team AS score FROM table_name_95 WHERE venue = "princes park" | CREATE TABLE table_name_95 (home_team VARCHAR, venue VARCHAR), What was the home score at the Princes Park game? |
SELECT SUM(stations) FROM table_name_86 WHERE line = "u 6" | CREATE TABLE table_name_86 (stations INTEGER, line VARCHAR), What is the total number of stations with a line that is u 6? |
SELECT route FROM table_name_31 WHERE stations = 21 | CREATE TABLE table_name_31 (route VARCHAR, stations VARCHAR), Which route has 21 stations? |
SELECT line FROM table_name_95 WHERE colour = "green" | CREATE TABLE table_name_95 (line VARCHAR, colour VARCHAR), Which line was green? |
SELECT away_team FROM table_name_96 WHERE home_team = "melbourne" | CREATE TABLE table_name_96 (away_team VARCHAR, home_team VARCHAR), What was the away team that played against Melbourne? |
SELECT opponent FROM table_name_53 WHERE score = "6β4, 6β7 (2β7) , 7β5" | CREATE TABLE table_name_53 (opponent VARCHAR, score VARCHAR), Who was the opponent when the score was 6β4, 6β7 (2β7) , 7β5? |
SELECT tournament FROM table_name_94 WHERE opponent = "andreas haider-maurer" | CREATE TABLE table_name_94 (tournament VARCHAR, opponent VARCHAR), Which tournament was andreas haider-maurer the opponent in? |
SELECT SUM(population) FROM table_name_49 WHERE type = "vl" AND region > 3 | CREATE TABLE table_name_49 (population INTEGER, type VARCHAR, region VARCHAR), How many people have a vl type in a region greater than 3? |
SELECT SUM(population) FROM table_name_18 WHERE region > 3 | CREATE TABLE table_name_18 (population INTEGER, region INTEGER), How many people are in regions greater than 3? |
SELECT AVG(region) FROM table_name_43 WHERE area__km_2__ = 451.79 AND population < 496 OFFSET 257 | CREATE TABLE table_name_43 (region INTEGER, area__km_2__ VARCHAR, population VARCHAR), What is the average region that has an Area (km 2 ) of 451.79, and a Population under 496,257? |
SELECT location_attendance FROM table_name_67 WHERE record = "40β40" | CREATE TABLE table_name_67 (location_attendance VARCHAR, record VARCHAR), What is the attendance on location for a record of 40β40? |
SELECT high_assists FROM table_name_24 WHERE game > 77 AND team = "milwaukee" | CREATE TABLE table_name_24 (high_assists VARCHAR, game VARCHAR, team VARCHAR), Who had the high assist in a game number above 77 for Milwaukee? |
SELECT high_assists FROM table_name_3 WHERE game = 77 | CREATE TABLE table_name_3 (high_assists VARCHAR, game VARCHAR), Who had the high assists in game 77? |
SELECT time_retired FROM table_name_59 WHERE grid = 13 | CREATE TABLE table_name_59 (time_retired VARCHAR, grid VARCHAR), I want the time/retired for Grid of 13 |
SELECT MAX(grid) FROM table_name_14 WHERE driver = "maurice trintignant" AND laps < 87 | CREATE TABLE table_name_14 (grid INTEGER, driver VARCHAR, laps VARCHAR), Tell me the highest Grid for Maurice Trintignant and laps less than 87 |
SELECT MIN(laps) FROM table_name_22 WHERE time_retired = "engine" AND driver = "charles de tornaco" | CREATE TABLE table_name_22 (laps INTEGER, time_retired VARCHAR, driver VARCHAR), I want the lowest Laps for time/retired of engine and driver of charles de tornaco |
SELECT MAX(may_2012) FROM table_name_26 WHERE may_2010 < 3 | CREATE TABLE table_name_26 (may_2012 INTEGER, may_2010 INTEGER), In May 2010, which party had a turnout of less than 3, but also the hightest turnout in May 2012? |
SELECT location FROM table_name_4 WHERE round = 3 AND time = "4:40" | CREATE TABLE table_name_4 (location VARCHAR, round VARCHAR, time VARCHAR), I want the location for round of 3 and time of 4:40 |
SELECT SUM(attendance) FROM table_name_12 WHERE score = "98β111" | CREATE TABLE table_name_12 (attendance INTEGER, score VARCHAR), How many people were in attendance for the game with a score of 98β111? |
SELECT record FROM table_name_29 WHERE score = "101β92" | CREATE TABLE table_name_29 (record VARCHAR, score VARCHAR), What is the record of the game with a score of 101β92? |
SELECT date FROM table_name_1 WHERE home = "lakers" | CREATE TABLE table_name_1 (date VARCHAR, home VARCHAR), What is the date when the Lakers were the home team? |
SELECT COUNT(attendance) FROM table_name_89 WHERE home = "bulls" | CREATE TABLE table_name_89 (attendance VARCHAR, home VARCHAR), How many people were in attendance when the home shows as Bulls? |
SELECT MIN(attendance) FROM table_name_7 WHERE record = "9β26" | CREATE TABLE table_name_7 (attendance INTEGER, record VARCHAR), What is the lowest number of people in attendance when the record was 9β26? |
SELECT first_class_team FROM table_name_15 WHERE bowling_style = "left arm orthodox spin" | CREATE TABLE table_name_15 (first_class_team VARCHAR, bowling_style VARCHAR), What is the name of the First Class Team in which the player has a bowling style of left arm orthodox spin? |
SELECT bowling_style FROM table_name_72 WHERE first_class_team = "islamabad" AND date_of_birth = "28 february 1975" | CREATE TABLE table_name_72 (bowling_style VARCHAR, first_class_team VARCHAR, date_of_birth VARCHAR), What is the bowling style of the player whose first class team is Islamabad and has a date of birth of 28 February 1975? |
SELECT batting_style FROM table_name_88 WHERE player = "shahid afridi" | CREATE TABLE table_name_88 (batting_style VARCHAR, player VARCHAR), What batting style does player Shahid Afridi have? |
SELECT away_team FROM table_name_85 WHERE venue = "victoria park" | CREATE TABLE table_name_85 (away_team VARCHAR, venue VARCHAR), Who was the away team at Victoria Park? |
SELECT AVG(crowd) FROM table_name_58 WHERE home_team = "geelong" | CREATE TABLE table_name_58 (crowd INTEGER, home_team VARCHAR), What was the crowd size when Geelong played at home? |
SELECT home_team AS score FROM table_name_63 WHERE home_team = "melbourne" | CREATE TABLE table_name_63 (home_team VARCHAR), What was the home score for the Home team Melbourne? |
SELECT studio_analysts FROM table_name_52 WHERE ice_level_reporters = "scott oake" | CREATE TABLE table_name_52 (studio_analysts VARCHAR, ice_level_reporters VARCHAR), Which studio analyst has Scott Oake for the ice level reporter? |
SELECT ice_level_reporters FROM table_name_92 WHERE colour_commentator_s_ = "harry neale" AND year > 2004 | CREATE TABLE table_name_92 (ice_level_reporters VARCHAR, colour_commentator_s_ VARCHAR, year VARCHAR), Which ice level reporter has Harry Neale for the colour commentator after the year 2004? |
SELECT time FROM table_name_27 WHERE opponent = "kim kyoung-suk" | CREATE TABLE table_name_27 (time VARCHAR, opponent VARCHAR), How long was his fight against kim kyoung-suk? |
SELECT home_team AS score FROM table_name_75 WHERE away_team = "collingwood" | CREATE TABLE table_name_75 (home_team VARCHAR, away_team VARCHAR), What was the score for the away team at Collingwood? |
SELECT away_team FROM table_name_12 WHERE home_team = "south melbourne" | CREATE TABLE table_name_12 (away_team VARCHAR, home_team VARCHAR), Who is the home team of South Melbourne? |
SELECT constructor FROM table_name_24 WHERE laps < 31 AND driver = "michael schumacher" | CREATE TABLE table_name_24 (constructor VARCHAR, laps VARCHAR, driver VARCHAR), Who built michael schumacher's car that went under 31 laps? |
SELECT COUNT(grid) FROM table_name_12 WHERE laps = 61 AND driver = "heinz-harald frentzen" | CREATE TABLE table_name_12 (grid VARCHAR, laps VARCHAR, driver VARCHAR), How many grids for heinz-harald frentzen with 61 laps? |
SELECT home_team AS score FROM table_name_2 WHERE venue = "lake oval" | CREATE TABLE table_name_2 (home_team VARCHAR, venue VARCHAR), What did the home team score at Lake Oval? |
SELECT home_team AS score FROM table_name_23 WHERE home_team = "footscray" | CREATE TABLE table_name_23 (home_team VARCHAR), What did Footscray score at the home game? |
SELECT away_team AS score FROM table_name_7 WHERE away_team = "essendon" | CREATE TABLE table_name_7 (away_team VARCHAR), What did Essendon score as the Away team? |
SELECT trofeo_fast_team FROM table_name_58 WHERE winner = "roberto visentini" | CREATE TABLE table_name_58 (trofeo_fast_team VARCHAR, winner VARCHAR), Name the Trofeo Fast team for roberto visentini |
SELECT young_rider_classification FROM table_name_16 WHERE general_classification = "giuseppe saronni" AND stage = "6" | CREATE TABLE table_name_16 (young_rider_classification VARCHAR, general_classification VARCHAR, stage VARCHAR), Name the young rider classification for giuseppe saronni at stage 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.