output stringlengths 18 557 | instruction stringlengths 22 540 |
|---|---|
SELECT away_team AS score FROM table_name_62 WHERE venue = "western oval" | CREATE TABLE table_name_62 (away_team VARCHAR, venue VARCHAR), What was the away team's score at the match played at The Western Oval? |
SELECT air_date FROM table_name_39 WHERE winner = "red" AND challenge = "emergency braking" | CREATE TABLE table_name_39 (air_date VARCHAR, winner VARCHAR, challenge VARCHAR), What air date has a red winner and an emergency braking challenge? |
SELECT air_date FROM table_name_31 WHERE test_taker = "robert" | CREATE TABLE table_name_31 (air_date VARCHAR, test_taker VARCHAR), On which air date was Robert the test-taker? |
SELECT nation_of_citizenship FROM table_name_78 WHERE type_of_vehicle = "stock car" AND year = 1999 | CREATE TABLE table_name_78 (nation_of_citizenship VARCHAR, type_of_vehicle VARCHAR, year VARCHAR), What Nation of citizenship has a stock car vehicle with a year of 1999? |
SELECT driver FROM table_name_71 WHERE type_of_vehicle = "stock car" AND year = 1999 | CREATE TABLE table_name_71 (driver VARCHAR, type_of_vehicle VARCHAR, year VARCHAR), What driver has a stock car vehicle with a year of 1999? |
SELECT nation_of_citizenship FROM table_name_13 WHERE type_of_vehicle = "stock car" AND year = 2012 | CREATE TABLE table_name_13 (nation_of_citizenship VARCHAR, type_of_vehicle VARCHAR, year VARCHAR), What Nation of citizenship has a stock car vehicle with a year of 2012? |
SELECT year FROM table_name_90 WHERE type_of_vehicle = "open wheel" AND racing_series = "formula one" AND nation_of_citizenship = "germany" | CREATE TABLE table_name_90 (year VARCHAR, nation_of_citizenship VARCHAR, type_of_vehicle VARCHAR, racing_series VARCHAR), What year has the vehicle of open wheel and a racing series of formula one with a Nation of citizenship in Germany. |
SELECT MAX(route) FROM table_name_60 WHERE rank < 33 AND elevation = "11,312 feet 3448 m" | CREATE TABLE table_name_60 (route INTEGER, rank VARCHAR, elevation VARCHAR), On what Route is the mountain with a Rank less than 33 and an Elevation of 11,312 feet 3448 m? |
SELECT surface FROM table_name_68 WHERE route < 7 | CREATE TABLE table_name_68 (surface VARCHAR, route INTEGER), What is the Surface of the Route less than 7? |
SELECT mountain_pass FROM table_name_87 WHERE rank = 21 | CREATE TABLE table_name_87 (mountain_pass VARCHAR, rank VARCHAR), What is the Mountain Pass with a 21 Rank? |
SELECT elevation FROM table_name_1 WHERE route = 62 | CREATE TABLE table_name_1 (elevation VARCHAR, route VARCHAR), What is the Elevation of the mountain on Route 62? |
SELECT mountain_pass FROM table_name_44 WHERE elevation = "10,001 feet 3048 m" | CREATE TABLE table_name_44 (mountain_pass VARCHAR, elevation VARCHAR), What Mountain Pass has an Elevation of 10,001 feet 3048 m? |
SELECT score FROM table_name_19 WHERE visitor = "ny rangers" AND record = "19–28–15" | CREATE TABLE table_name_19 (score VARCHAR, visitor VARCHAR, record VARCHAR), Which Score has a Visitor of ny rangers, and a Record of 19–28–15? |
SELECT score FROM table_name_24 WHERE date = "february 9" | CREATE TABLE table_name_24 (score VARCHAR, date VARCHAR), Which Score has a Date of february 9? |
SELECT game_site FROM table_name_18 WHERE kickoff__et_ = "1:00pm" AND record = "4–1" | CREATE TABLE table_name_18 (game_site VARCHAR, kickoff__et_ VARCHAR, record VARCHAR), Which Game site has a Kickoff (ET) of 1:00pm, and a Record of 4–1? |
SELECT opponent FROM table_name_7 WHERE game_site = "heinz field" AND record = "3–1" | CREATE TABLE table_name_7 (opponent VARCHAR, game_site VARCHAR, record VARCHAR), Which Opponent has a Game site of heinz field, and a Record of 3–1? |
SELECT kickoff__et_ FROM table_name_67 WHERE result = "w 34–23" | CREATE TABLE table_name_67 (kickoff__et_ VARCHAR, result VARCHAR), Which Kickoff (ET) has a Result of w 34–23? |
SELECT floors FROM table_name_61 WHERE location = "ljubljana" AND name = "tr3" | CREATE TABLE table_name_61 (floors VARCHAR, location VARCHAR, name VARCHAR), Which Floors have a Location of ljubljana, and a Name of tr3? |
SELECT MIN(rank) FROM table_name_27 WHERE name = "maribor cathedral" | CREATE TABLE table_name_27 (rank INTEGER, name VARCHAR), Which Rank is the lowest one that has a Name of maribor cathedral? |
SELECT name FROM table_name_32 WHERE location = "ljubljana" | CREATE TABLE table_name_32 (name VARCHAR, location VARCHAR), Which Name has a Location of ljubljana? |
SELECT height_metres___feet FROM table_name_18 WHERE rank = 8 AND floors = "3x17" | CREATE TABLE table_name_18 (height_metres___feet VARCHAR, rank VARCHAR, floors VARCHAR), Which Height Metres / feet has a Rank of 8, and Floors of 3x17? |
SELECT time FROM table_name_62 WHERE location = "moscow, russia" | CREATE TABLE table_name_62 (time VARCHAR, location VARCHAR), What is the time for Moscow, Russia? |
SELECT opponent FROM table_name_62 WHERE location = "london, england" AND round < 2 | CREATE TABLE table_name_62 (opponent VARCHAR, location VARCHAR, round VARCHAR), Who was the opponent in London, England in a round less than 2? |
SELECT method FROM table_name_94 WHERE opponent = "ivan serati" | CREATE TABLE table_name_94 (method VARCHAR, opponent VARCHAR), What was the method for opponent of Ivan Serati? |
SELECT event FROM table_name_35 WHERE opponent = "yasuhito namekawa" AND method = "decision" | CREATE TABLE table_name_35 (event VARCHAR, opponent VARCHAR, method VARCHAR), Which event had an opponent of Yasuhito Namekawa with a decision method? |
SELECT time FROM table_name_78 WHERE opponent = "satoshi honma" | CREATE TABLE table_name_78 (time VARCHAR, opponent VARCHAR), What is the time for an opponent of Satoshi Honma? |
SELECT manufacturer_serial_numbers FROM table_name_86 WHERE year_s__withdrawn = "1963" | CREATE TABLE table_name_86 (manufacturer_serial_numbers VARCHAR, year_s__withdrawn VARCHAR), What is the manufacturer serial number of the 1963 withdrawn year? |
SELECT year_introduced_mrwa FROM table_name_76 WHERE wheel_arrangement = "4-6-2" | CREATE TABLE table_name_76 (year_introduced_mrwa VARCHAR, wheel_arrangement VARCHAR), What was the year the MRWA with a wheel arrangement of 4-6-2 was introduced? |
SELECT college_junior_club_team__league_ FROM table_name_34 WHERE round = 6 | CREATE TABLE table_name_34 (college_junior_club_team__league_ VARCHAR, round VARCHAR), What College/Junior/Club Team (League) has 6 as the Round? |
SELECT player FROM table_name_7 WHERE nationality = "united states" AND position = "forward" AND round > 5 | CREATE TABLE table_name_7 (player VARCHAR, round VARCHAR, nationality VARCHAR, position VARCHAR), Which Player has United States as Nationality, forward as Position and a greater than 5 Round? |
SELECT COUNT(round) FROM table_name_51 WHERE position = "wide receiver" AND college = "kent state" | CREATE TABLE table_name_51 (round VARCHAR, position VARCHAR, college VARCHAR), Name the total number of round for wide receiver for kent state |
SELECT episodes FROM table_name_20 WHERE title = "jewboy" | CREATE TABLE table_name_20 (episodes VARCHAR, title VARCHAR), what episode is called jewboy |
SELECT date FROM table_name_13 WHERE result = "won 1-0" | CREATE TABLE table_name_13 (date VARCHAR, result VARCHAR), Tell me the date with result of won 1-0 |
SELECT attendance FROM table_name_27 WHERE result = "won 1-0" | CREATE TABLE table_name_27 (attendance VARCHAR, result VARCHAR), Name the attendance with result of won 1-0 |
SELECT venue FROM table_name_43 WHERE opponent = "staines town" | CREATE TABLE table_name_43 (venue VARCHAR, opponent VARCHAR), Name the venue for staines town |
SELECT region FROM table_name_98 WHERE catalog = "kem 072" | CREATE TABLE table_name_98 (region VARCHAR, catalog VARCHAR), Which Region has a Catalog of kem 072? |
SELECT region FROM table_name_20 WHERE format = "cd album" AND label = "kemado records" AND catalog = "kem 071" | CREATE TABLE table_name_20 (region VARCHAR, catalog VARCHAR, format VARCHAR, label VARCHAR), Which Region has a Format of cd album, and a Label of kemado records, and a Catalog of kem 071? |
SELECT format FROM table_name_44 WHERE date = "may 24, 2008" | CREATE TABLE table_name_44 (format VARCHAR, date VARCHAR), Which Format has a Date of may 24, 2008? |
SELECT format FROM table_name_61 WHERE region = "united states" AND catalog = "kem 072" | CREATE TABLE table_name_61 (format VARCHAR, region VARCHAR, catalog VARCHAR), Which Format has a Region of united states, and a Catalog of kem 072? |
SELECT label FROM table_name_67 WHERE region = "united states" AND format = "lp album" | CREATE TABLE table_name_67 (label VARCHAR, region VARCHAR, format VARCHAR), Which Label has a Region of united states, and a Format of lp album? |
SELECT format FROM table_name_93 WHERE label = "toy's factory records" | CREATE TABLE table_name_93 (format VARCHAR, label VARCHAR), Which Format has a Label of toy's factory records? |
SELECT result FROM table_name_14 WHERE venue = "rotterdam, netherlands" | CREATE TABLE table_name_14 (result VARCHAR, venue VARCHAR), Which result's venue was in Rotterdam, Netherlands? |
SELECT district FROM table_name_57 WHERE name = "wallasey" | CREATE TABLE table_name_57 (district VARCHAR, name VARCHAR), what is the district of wallasey |
SELECT AVG(attendance) FROM table_name_97 WHERE week = 4 | CREATE TABLE table_name_97 (attendance INTEGER, week VARCHAR), What is the average attendance at a week 4 game? |
SELECT venue FROM table_name_43 WHERE result = "l 24–14" | CREATE TABLE table_name_43 (venue VARCHAR, result VARCHAR), What venue held that game with a result of l 24–14? |
SELECT AVG(week) FROM table_name_53 WHERE date = "november 22, 1964" AND attendance > 48 OFFSET 065 | CREATE TABLE table_name_53 (week INTEGER, date VARCHAR, attendance VARCHAR), What is the average week of the game on November 22, 1964 attended by 48,065? |
SELECT name FROM table_name_51 WHERE round > 5 AND position = "defensive end" | CREATE TABLE table_name_51 (name VARCHAR, round VARCHAR, position VARCHAR), Which name had more than 5 rounds and was a defensive end? |
SELECT overall FROM table_name_65 WHERE pick__number = 14 | CREATE TABLE table_name_65 (overall VARCHAR, pick__number VARCHAR), Which overall's pick number was 14? |
SELECT MAX(pick__number) FROM table_name_24 WHERE name = "akeem dent" AND overall < 91 | CREATE TABLE table_name_24 (pick__number INTEGER, name VARCHAR, overall VARCHAR), Which highest pick number had Akeem Dent as a name and where the overall was less than 91? |
SELECT AVG(points) FROM table_name_89 WHERE opponent = "@ los angeles kings" AND game > 4 | CREATE TABLE table_name_89 (points INTEGER, opponent VARCHAR, game VARCHAR), How many Points have an Opponent of @ los angeles kings and a Game larger than 4? |
SELECT AVG(october) FROM table_name_2 WHERE record = "5–1–0" AND game > 6 | CREATE TABLE table_name_2 (october INTEGER, record VARCHAR, game VARCHAR), Which October has a Record of 5–1–0, and a Game larger than 6? |
SELECT playoffs FROM table_name_88 WHERE year = "2011" | CREATE TABLE table_name_88 (playoffs VARCHAR, year VARCHAR), which playoffs took place during 2011? |
SELECT open_cup FROM table_name_36 WHERE year = "2012" | CREATE TABLE table_name_36 (open_cup VARCHAR, year VARCHAR), which open cup was in 2012? |
SELECT year FROM table_name_56 WHERE league = "usl a-league" AND playoffs = "conference finals" | CREATE TABLE table_name_56 (year VARCHAR, league VARCHAR, playoffs VARCHAR), when did the usl a-league have conference finals? |
SELECT opponent FROM table_name_34 WHERE points < 62 AND january < 6 | CREATE TABLE table_name_34 (opponent VARCHAR, points VARCHAR, january VARCHAR), what opponent has an average less than 62 and a January average less than 6 |
SELECT january FROM table_name_7 WHERE points = 51 | CREATE TABLE table_name_7 (january VARCHAR, points VARCHAR), what is the average for January with points of 51 |
SELECT AVG(cuts_made) FROM table_name_96 WHERE wins = 2 AND top_5 < 7 | CREATE TABLE table_name_96 (cuts_made INTEGER, wins VARCHAR, top_5 VARCHAR), How many vuts made for a player with 2 wins and under 7 top 5s? |
SELECT MAX(top_10) FROM table_name_13 WHERE top_5 = 3 AND cuts_made < 22 | CREATE TABLE table_name_13 (top_10 INTEGER, top_5 VARCHAR, cuts_made VARCHAR), How many top 10s associated with 3 top 5s and under 22 cuts made? |
SELECT SUM(top_10) FROM table_name_61 WHERE top_5 < 1 | CREATE TABLE table_name_61 (top_10 INTEGER, top_5 INTEGER), How many top 10s when he had under 1 top 5s? |
SELECT loss FROM table_name_96 WHERE record = "26-9" | CREATE TABLE table_name_96 (loss VARCHAR, record VARCHAR), What loss has 26-9 as a loss? |
SELECT record FROM table_name_68 WHERE home = "pittsburgh" | CREATE TABLE table_name_68 (record VARCHAR, home VARCHAR), What was their record when they were at Pittsburgh? |
SELECT record FROM table_name_46 WHERE date = "february 24" | CREATE TABLE table_name_46 (record VARCHAR, date VARCHAR), What was their record on February 24? |
SELECT class FROM table_name_96 WHERE chassis = "viper" AND driver = "shaun jones" | CREATE TABLE table_name_96 (class VARCHAR, chassis VARCHAR, driver VARCHAR), Driver Shaun Jones with a viper as a chassis is in what class? |
SELECT driver FROM table_name_32 WHERE engine = "rotax max" AND class = "rotax heavy" AND chassis = "arrow" AND team = "twr raceline seating" | CREATE TABLE table_name_32 (driver VARCHAR, team VARCHAR, chassis VARCHAR, engine VARCHAR, class VARCHAR), What is the name of the driver with a rotax max engine, in the rotax heavy class, with arrow as chassis and on the TWR Raceline Seating team? |
SELECT engine FROM table_name_94 WHERE team = "bf racing marron excavations" AND chassis = "monaco" AND driver = "lee filliponi" | CREATE TABLE table_name_94 (engine VARCHAR, driver VARCHAR, team VARCHAR, chassis VARCHAR), What type of engine does the BF Racing Marron Excavations have that also has Monaco as chassis and Lee Filliponi as the driver? |
SELECT team FROM table_name_12 WHERE driver = "colin moore" | CREATE TABLE table_name_12 (team VARCHAR, driver VARCHAR), Which team does Colin Moore drive for? |
SELECT team FROM table_name_95 WHERE class = "rotax light" | CREATE TABLE table_name_95 (team VARCHAR, class VARCHAR), What is the name of the team whose class is Rotax Light? |
SELECT name FROM table_name_36 WHERE launch = "1996" AND hanzi = "凤凰卫视中文台" | CREATE TABLE table_name_36 (name VARCHAR, launch VARCHAR, hanzi VARCHAR), Which company launched in 1996 and has a Hanzi of 凤凰卫视中文台? |
SELECT origin FROM table_name_62 WHERE hanzi = "凤凰卫视电影台" | CREATE TABLE table_name_62 (origin VARCHAR, hanzi VARCHAR), Where did the Hanzi of 凤凰卫视电影台 originate? |
SELECT hanzi FROM table_name_46 WHERE origin = "hong kong" AND launch = "1998" | CREATE TABLE table_name_46 (hanzi VARCHAR, origin VARCHAR, launch VARCHAR), What is the Hanzi of Hong Kong in 1998? |
SELECT hanzi FROM table_name_69 WHERE launch = "1996" AND name = "phoenix television chinese" | CREATE TABLE table_name_69 (hanzi VARCHAR, launch VARCHAR, name VARCHAR), What is the Hanzi of Phoenix Television Chinese that launched in 1996? |
SELECT MAX(against) FROM table_name_14 WHERE difference = "12" | CREATE TABLE table_name_14 (against INTEGER, difference VARCHAR), Which Against is the highest one that has a Difference of 12? |
SELECT AVG(played) FROM table_name_83 WHERE drawn < 1 AND points > 4 | CREATE TABLE table_name_83 (played INTEGER, drawn VARCHAR, points VARCHAR), Which average Played has a Drawn smaller than 1, and Points larger than 4? |
SELECT SUM(position) FROM table_name_32 WHERE played > 9 | CREATE TABLE table_name_32 (position INTEGER, played INTEGER), Which Position has a Played larger than 9? |
SELECT MAX(lost) FROM table_name_93 WHERE drawn < 4 AND played < 9 | CREATE TABLE table_name_93 (lost INTEGER, drawn VARCHAR, played VARCHAR), Which Lost is the highest one that has a Drawn smaller than 4, and a Played smaller than 9? |
SELECT MAX(points) FROM table_name_60 WHERE position = 1 AND lost < 0 | CREATE TABLE table_name_60 (points INTEGER, position VARCHAR, lost VARCHAR), Which Points is the highest one that has a Position of 1, and a Lost smaller than 0? |
SELECT district FROM table_name_31 WHERE first_elected = 1904 AND incumbent = "duncan e. mckinlay" | CREATE TABLE table_name_31 (district VARCHAR, first_elected VARCHAR, incumbent VARCHAR), Which District has a First Elected of 1904 and an Incumbent of Duncan E. Mckinlay? |
SELECT MAX(first_elected) FROM table_name_21 WHERE result = "re-elected" AND district = "california 5" | CREATE TABLE table_name_21 (first_elected INTEGER, result VARCHAR, district VARCHAR), What's the highest First Elected with a Result of Re-elected and DIstrict of California 5? |
SELECT incumbent FROM table_name_75 WHERE district = "california 8" | CREATE TABLE table_name_75 (incumbent VARCHAR, district VARCHAR), Which Incumbent has a District of California 8? |
SELECT district FROM table_name_95 WHERE result = "re-elected" AND first_elected = 1898 | CREATE TABLE table_name_95 (district VARCHAR, result VARCHAR, first_elected VARCHAR), Which District has a Result of Re-elected and a First Elected of 1898? |
SELECT incumbent FROM table_name_99 WHERE district = "california 5" | CREATE TABLE table_name_99 (incumbent VARCHAR, district VARCHAR), Which Incumbent has a District of California 5? |
SELECT venue FROM table_name_89 WHERE competition = "friendly" AND date = "october 16, 2012" | CREATE TABLE table_name_89 (venue VARCHAR, competition VARCHAR, date VARCHAR), Name the venue for friendly competition october 16, 2012 |
SELECT date FROM table_name_38 WHERE score = "1-5" | CREATE TABLE table_name_38 (date VARCHAR, score VARCHAR), Name the date for score of 1-5 |
SELECT gold FROM table_name_68 WHERE year = 1994 | CREATE TABLE table_name_68 (gold VARCHAR, year VARCHAR), What Gold has the Year of 1994? |
SELECT MIN(year) FROM table_name_22 WHERE location = "bangkok" | CREATE TABLE table_name_22 (year INTEGER, location VARCHAR), What's the lowest Year with the Location of Bangkok? |
SELECT silver FROM table_name_17 WHERE location = "guangzhou" | CREATE TABLE table_name_17 (silver VARCHAR, location VARCHAR), What Silver has the Location of Guangzhou? |
SELECT gold FROM table_name_56 WHERE year = 2006 | CREATE TABLE table_name_56 (gold VARCHAR, year VARCHAR), What Gold has the Year of 2006? |
SELECT silver FROM table_name_20 WHERE gold = "li ao" | CREATE TABLE table_name_20 (silver VARCHAR, gold VARCHAR), What Silver has a Golf of Li AO? |
SELECT bronze FROM table_name_52 WHERE year = 1998 | CREATE TABLE table_name_52 (bronze VARCHAR, year VARCHAR), What's the Bronze with the Year of 1998? |
SELECT AVG(silver) FROM table_name_73 WHERE gold = 0 AND rank < 3 | CREATE TABLE table_name_73 (silver INTEGER, gold VARCHAR, rank VARCHAR), What is the average number of silver medals for countries with 0 gold and rank under 3? |
SELECT AVG(gold) FROM table_name_56 WHERE bronze > 0 AND silver > 0 AND rank > 2 AND total > 3 | CREATE TABLE table_name_56 (gold INTEGER, total VARCHAR, rank VARCHAR, bronze VARCHAR, silver VARCHAR), What is the average gold medals for countries with more than 0 bronze, more than 0 silver, rank over 2 and total over 3? |
SELECT team FROM table_name_24 WHERE laps = 10 AND driver = "alex yoong" | CREATE TABLE table_name_24 (team VARCHAR, laps VARCHAR, driver VARCHAR), What team had 10 Labs and the Driver was Alex Yoong? |
SELECT COUNT(grid) FROM table_name_87 WHERE team = "italy" | CREATE TABLE table_name_87 (grid VARCHAR, team VARCHAR), What is the Grid number for the Team from Italy? |
SELECT team FROM table_name_14 WHERE driver = "narain karthikeyan" | CREATE TABLE table_name_14 (team VARCHAR, driver VARCHAR), For what Team is Narain Karthikeyan the Driver? |
SELECT award FROM table_name_69 WHERE category = "best direction of a musical" | CREATE TABLE table_name_69 (award VARCHAR, category VARCHAR), Which award has the category of the best direction of a musical? |
SELECT winning_team FROM table_name_43 WHERE date = "22 july" | CREATE TABLE table_name_43 (winning_team VARCHAR, date VARCHAR), With a Date of 22 July, what is the Winning team? |
SELECT winning_team FROM table_name_79 WHERE date = "22 july" | CREATE TABLE table_name_79 (winning_team VARCHAR, date VARCHAR), What Winning team has 22 July as a Date? |
SELECT winning_driver FROM table_name_55 WHERE winning_team = "engstler motorsport engstler motorsport" AND date = "22 july" | CREATE TABLE table_name_55 (winning_driver VARCHAR, winning_team VARCHAR, date VARCHAR), Who is the Winning Driver that has a Winning team of Engstler Motorsport Engstler Motorsport and also the Date 22 July? |
SELECT round FROM table_name_26 WHERE winning_team = "engstler motorsport maurer motorsport" | CREATE TABLE table_name_26 (round VARCHAR, winning_team VARCHAR), What Round was the Winning Team Engstler Motorsport Maurer Motorsport? |
SELECT player FROM table_name_52 WHERE nhl_team = "pittsburgh penguins" | CREATE TABLE table_name_52 (player VARCHAR, nhl_team VARCHAR), Which player(s) was drafted by the Pittsburgh Penguins? |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.