output stringlengths 18 557 | instruction stringlengths 22 540 |
|---|---|
SELECT away_team FROM table_name_33 WHERE venue = "glenferrie oval" | CREATE TABLE table_name_33 (away_team VARCHAR, venue VARCHAR), What is the away team at glenferrie oval? |
SELECT COUNT(crowd) FROM table_name_77 WHERE venue = "glenferrie oval" | CREATE TABLE table_name_77 (crowd VARCHAR, venue VARCHAR), What is the crowd total for glenferrie oval? |
SELECT COUNT(grid) FROM table_name_4 WHERE driver = "rubens barrichello" | CREATE TABLE table_name_4 (grid VARCHAR, driver VARCHAR), Tell me the total number of Grid for Rubens Barrichello |
SELECT MIN(grid) FROM table_name_85 WHERE driver = "david coulthard" | CREATE TABLE table_name_85 (grid INTEGER, driver VARCHAR), I want the lowest Grid for David Coulthard |
SELECT MIN(crowd) FROM table_name_72 WHERE home_team = "carlton" | CREATE TABLE table_name_72 (crowd INTEGER, home_team VARCHAR), When carlton was the home team what was the lowest crowd turnout? |
SELECT home_team AS score FROM table_name_74 WHERE venue = "punt road oval" | CREATE TABLE table_name_74 (home_team VARCHAR, venue VARCHAR), When the venue was punt road oval, what was the Home teams score? |
SELECT away_team AS score FROM table_name_7 WHERE away_team = "geelong" | CREATE TABLE table_name_7 (away_team VARCHAR), When the away team was geelong, what was the away team score? |
SELECT away_team AS score FROM table_name_63 WHERE away_team = "north melbourne" | CREATE TABLE table_name_63 (away_team VARCHAR), When the away team was north melbourne, what was the away team score? |
SELECT result FROM table_name_49 WHERE year < 2010 AND tournament = "hypo-meeting" | CREATE TABLE table_name_49 (result VARCHAR, year VARCHAR, tournament VARCHAR), What is the result of the hypo-meeting before 2010? |
SELECT venue FROM table_name_18 WHERE result = "12th" AND year < 2012 | CREATE TABLE table_name_18 (venue VARCHAR, result VARCHAR, year VARCHAR), What venue is used before 2012 with a result of 12th? |
SELECT notes FROM table_name_95 WHERE tournament = "hypo-meeting" AND year = 2012 | CREATE TABLE table_name_95 (notes VARCHAR, tournament VARCHAR, year VARCHAR), What is the notes for the hypo-meeting tournament in 2012? |
SELECT MIN(year) FROM table_name_95 WHERE location = "athens" | CREATE TABLE table_name_95 (year INTEGER, location VARCHAR), What was the earliest year a game was played in Athens? |
SELECT date FROM table_name_56 WHERE result = "win" | CREATE TABLE table_name_56 (date VARCHAR, result VARCHAR), On which date was there a win? |
SELECT film_or_series FROM table_name_39 WHERE award = "inside soap awards" AND category = "best actress" AND year = 2007 | CREATE TABLE table_name_39 (film_or_series VARCHAR, year VARCHAR, award VARCHAR, category VARCHAR), What film won best actress at the 2007 Inside Soap Awards? |
SELECT character FROM table_name_26 WHERE category = "best dramatic performance" | CREATE TABLE table_name_26 (character VARCHAR, category VARCHAR), What character won the best dramatic performance award? |
SELECT category FROM table_name_67 WHERE character = "jacqui mcqueen" AND year < 2011 | CREATE TABLE table_name_67 (category VARCHAR, character VARCHAR, year VARCHAR), In what category was character Jacqui Mcqueen nominated before 2011? |
SELECT away_team AS score FROM table_name_41 WHERE away_team = "fitzroy" | CREATE TABLE table_name_41 (away_team VARCHAR), I want the away team score for away team of fitzroy |
SELECT height_in_ft FROM table_name_93 WHERE position = "center" AND school_club_team_country = "kansas" | CREATE TABLE table_name_93 (height_in_ft VARCHAR, position VARCHAR, school_club_team_country VARCHAR), Name the height for the center position from kansas |
SELECT position FROM table_name_89 WHERE no_s_ = "11" AND years_for_rockets = "1989-95" | CREATE TABLE table_name_89 (position VARCHAR, no_s_ VARCHAR, years_for_rockets VARCHAR), Name the position for number 11 and years on the rockets for 1989-95 |
SELECT position FROM table_name_37 WHERE no_s_ = "41" | CREATE TABLE table_name_37 (position VARCHAR, no_s_ VARCHAR), Name the position for numbers of 41 |
SELECT home_team FROM table_name_96 WHERE venue = "vfl park" | CREATE TABLE table_name_96 (home_team VARCHAR, venue VARCHAR), Which team calls VFL Park their home? |
SELECT pole_position FROM table_name_43 WHERE fastest_lap = "graham hill" AND winning_driver = "graham hill" AND date = "30 may" | CREATE TABLE table_name_43 (pole_position VARCHAR, date VARCHAR, fastest_lap VARCHAR, winning_driver VARCHAR), Tell me the pole position for graham hill the fastest lap and winning driver of him on 30 may |
SELECT fastest_lap FROM table_name_35 WHERE winning_driver = "jim clark" AND circuit = "prince george" | CREATE TABLE table_name_35 (fastest_lap VARCHAR, winning_driver VARCHAR, circuit VARCHAR), Tell me the fastest lapf or jim clark being the winning driver for prince george |
SELECT circuit FROM table_name_25 WHERE fastest_lap = "jim clark" | CREATE TABLE table_name_25 (circuit VARCHAR, fastest_lap VARCHAR), I want the circuit for jim clark |
SELECT constructor FROM table_name_34 WHERE winning_driver = "jim clark" AND pole_position = "graham hill" AND race = "dutch grand prix" | CREATE TABLE table_name_34 (constructor VARCHAR, race VARCHAR, winning_driver VARCHAR, pole_position VARCHAR), I want the constructor for winning driver of jim clark, pole position of graham hill and dutch grand prix |
SELECT winning_driver FROM table_name_1 WHERE pole_position = "jim clark" AND fastest_lap = "jim clark" | CREATE TABLE table_name_1 (winning_driver VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR), Tell me the winning driver for jim clark as pole position and fastest lap |
SELECT home_team AS score FROM table_name_33 WHERE venue = "windy hill" | CREATE TABLE table_name_33 (home_team VARCHAR, venue VARCHAR), At the match in windy hill, how much did the home team score? |
SELECT away_team AS score FROM table_name_74 WHERE home_team = "footscray" | CREATE TABLE table_name_74 (away_team VARCHAR, home_team VARCHAR), During footscray's home game, how much did the away team score? |
SELECT date FROM table_name_98 WHERE venue = "mcg" | CREATE TABLE table_name_98 (date VARCHAR, venue VARCHAR), What date was the match at mcg played? |
SELECT away_team AS score FROM table_name_79 WHERE venue = "arden street oval" | CREATE TABLE table_name_79 (away_team VARCHAR, venue VARCHAR), At the match which took place in arden street oval, how much did the away team score? |
SELECT MAX(floors) FROM table_name_70 WHERE name = "detroit marriott at the renaissance center" | CREATE TABLE table_name_70 (floors INTEGER, name VARCHAR), How many floors does detroit marriott at the renaissance center have? |
SELECT name FROM table_name_17 WHERE floors = 23 AND street_address_in_detroit = "144 west congress street" | CREATE TABLE table_name_17 (name VARCHAR, floors VARCHAR, street_address_in_detroit VARCHAR), Which place has 23 floors and a street address in Detroit of 144 west congress street? |
SELECT floors FROM table_name_44 WHERE street_address_in_detroit = "1828 jay street" | CREATE TABLE table_name_44 (floors VARCHAR, street_address_in_detroit VARCHAR), How many floors does the address 1828 jay street have? |
SELECT SUM(floors) FROM table_name_52 WHERE name = "st. joseph church" | CREATE TABLE table_name_52 (floors INTEGER, name VARCHAR), What is the sum of Floors at st. joseph church? |
SELECT home_team FROM table_name_38 WHERE crowd > 22 OFFSET 449 | CREATE TABLE table_name_38 (home_team VARCHAR, crowd INTEGER), Which home team has a crowd that is bigger than 22,449? |
SELECT AVG(laps) FROM table_name_80 WHERE rider = "max biaggi" | CREATE TABLE table_name_80 (laps INTEGER, rider VARCHAR), What is the average number of laps for max biaggi |
SELECT bike FROM table_name_48 WHERE rider = "dean ellison" | CREATE TABLE table_name_48 (bike VARCHAR, rider VARCHAR), What bike does dean ellison ride? |
SELECT constructor FROM table_name_48 WHERE grand_prix = "brazilian grand prix" | CREATE TABLE table_name_48 (constructor VARCHAR, grand_prix VARCHAR), What is the constructor for Brazilian Grand Prix? |
SELECT fastest_lap FROM table_name_16 WHERE grand_prix = "belgian grand prix" | CREATE TABLE table_name_16 (fastest_lap VARCHAR, grand_prix VARCHAR), What is the fastest lap for Belgian Grand Prix? |
SELECT MIN(utility_pv) FROM table_name_87 WHERE hydro > 289.25 AND renewable_total > 520.07 | CREATE TABLE table_name_87 (utility_pv INTEGER, hydro VARCHAR, renewable_total VARCHAR), What is the lowest utility PV with hydro great than 289.25 and renweable total larger than 520.07? |
SELECT dates_of_captaincy FROM table_name_14 WHERE _percentage_win_[a_] = 35.71 | CREATE TABLE table_name_14 (dates_of_captaincy VARCHAR, _percentage_win_ VARCHAR, a_ VARCHAR), What dates of captaincy for a win % of 35.71? |
SELECT locomotive_superintendent FROM table_name_45 WHERE lner_class = "d45" | CREATE TABLE table_name_45 (locomotive_superintendent VARCHAR, lner_class VARCHAR), Who was the Locomotive superintendent has a NER class of d45? |
SELECT lner_class FROM table_name_37 WHERE passed_to_lner > 3 AND date_introduced = "1895–98" | CREATE TABLE table_name_37 (lner_class VARCHAR, passed_to_lner VARCHAR, date_introduced VARCHAR), Which LNER class has been Passed to LNER larger than 3 and a introduced in 1895–98? |
SELECT winning_driver FROM table_name_98 WHERE date = "29 march" | CREATE TABLE table_name_98 (winning_driver VARCHAR, date VARCHAR), Name the winner for 29 march |
SELECT report FROM table_name_8 WHERE circuit = "kyalami" AND race_name = "south african republic trophy" | CREATE TABLE table_name_8 (report VARCHAR, circuit VARCHAR, race_name VARCHAR), Name the report for circuit of kyalami for south african republic trophy |
SELECT expected_completion FROM table_name_15 WHERE capacity = "22,500" | CREATE TABLE table_name_15 (expected_completion VARCHAR, capacity VARCHAR), What is the year of expected completion when the capacity is 22,500? |
SELECT city FROM table_name_70 WHERE province = "saskatchewan" | CREATE TABLE table_name_70 (city VARCHAR, province VARCHAR), What city is in Saskatchewan? |
SELECT province FROM table_name_66 WHERE city = "hamilton" | CREATE TABLE table_name_66 (province VARCHAR, city VARCHAR), What province is Hamilton part of? |
SELECT city FROM table_name_93 WHERE expected_completion = "2017" | CREATE TABLE table_name_93 (city VARCHAR, expected_completion VARCHAR), Which city expects their project completion in 2017? |
SELECT AVG(fumbles) FROM table_name_27 WHERE avg > 5.4 AND yards < 164 | CREATE TABLE table_name_27 (fumbles INTEGER, avg VARCHAR, yards VARCHAR), What is the number of fumbles for the avg larger than 5.4, with yards smaller than 164? |
SELECT MAX(fumbles) FROM table_name_56 WHERE yards > 44 AND att = 32 | CREATE TABLE table_name_56 (fumbles INTEGER, yards VARCHAR, att VARCHAR), What is the most fumbles for more than 44 yards and att of 32? |
SELECT entrant FROM table_name_60 WHERE year > 1981 AND chassis = "osella fa1c" | CREATE TABLE table_name_60 (entrant VARCHAR, year VARCHAR, chassis VARCHAR), What entrant has osella fa1c chassis after 1981? |
SELECT AVG(appearances) FROM table_name_50 WHERE club = "fc igea virtus" AND goals = 1 | CREATE TABLE table_name_50 (appearances INTEGER, club VARCHAR, goals VARCHAR), How many appearances with fc igea virtus and 1 goal? |
SELECT title FROM table_name_8 WHERE original_airdate = "june 13, 1999" | CREATE TABLE table_name_8 (title VARCHAR, original_airdate VARCHAR), What is the title of the program that was originally aired on June 13, 1999? |
SELECT written_by FROM table_name_90 WHERE original_airdate = "june 6, 1999" | CREATE TABLE table_name_90 (written_by VARCHAR, original_airdate VARCHAR), Who wrote the program that originally aired on June 6, 1999? |
SELECT title FROM table_name_6 WHERE written_by = "david j. burke" | CREATE TABLE table_name_6 (title VARCHAR, written_by VARCHAR), What is the title of the episode written by David J. Burke? |
SELECT driver FROM table_name_95 WHERE grid = 18 | CREATE TABLE table_name_95 (driver VARCHAR, grid VARCHAR), What driver shows grid as 18? |
SELECT time_retired FROM table_name_52 WHERE laps < 52 AND grid = 19 | CREATE TABLE table_name_52 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR), What is the Time/Retired for less than 52 laps in grid 19? |
SELECT driver FROM table_name_67 WHERE laps > 39 AND grid = 15 | CREATE TABLE table_name_67 (driver VARCHAR, laps VARCHAR, grid VARCHAR), What driver has more than 39 laps on gird 15? |
SELECT SUM(grid) FROM table_name_28 WHERE driver = "johnny herbert" AND laps > 52 | CREATE TABLE table_name_28 (grid INTEGER, driver VARCHAR, laps VARCHAR), What is the number of the grid for Johnny Herbert with more than 52 laps? |
SELECT MIN(laps) FROM table_name_54 WHERE driver = "luca badoer" | CREATE TABLE table_name_54 (laps INTEGER, driver VARCHAR), What is the least amount of laps for Luca Badoer? |
SELECT category FROM table_name_91 WHERE award = "drama league award" | CREATE TABLE table_name_91 (category VARCHAR, award VARCHAR), Which category does drama league award belong to? |
SELECT MAX(year) FROM table_name_70 WHERE category = "distinguished performance" | CREATE TABLE table_name_70 (year INTEGER, category VARCHAR), What is the latest year for the distinguished performance? |
SELECT award FROM table_name_34 WHERE category = "theatre world award" | CREATE TABLE table_name_34 (award VARCHAR, category VARCHAR), What type of award is the theatre world award? |
SELECT country FROM table_name_53 WHERE tv_network_s_ = "nova tv" | CREATE TABLE table_name_53 (country VARCHAR, tv_network_s_ VARCHAR), Which country is the Nova TV network from? |
SELECT series_premiere FROM table_name_25 WHERE tv_network_s_ = "acasa tv" | CREATE TABLE table_name_25 (series_premiere VARCHAR, tv_network_s_ VARCHAR), Which series premiered on Acasa TV? |
SELECT alternate_title_translation FROM table_name_40 WHERE series_premiere = "december 12, 2006" | CREATE TABLE table_name_40 (alternate_title_translation VARCHAR, series_premiere VARCHAR), What is the alternate title/translation of the series that premiered on December 12, 2006? |
SELECT tv_network_s_ FROM table_name_92 WHERE country = "bulgaria" | CREATE TABLE table_name_92 (tv_network_s_ VARCHAR, country VARCHAR), What is the name of Bulgaria's TV network? |
SELECT country FROM table_name_77 WHERE series_premiere = "september 4, 2006" | CREATE TABLE table_name_77 (country VARCHAR, series_premiere VARCHAR), Which country had a series that premiered on September 4, 2006? |
SELECT tv_network_s_ FROM table_name_21 WHERE alternate_title_translation = "aistrų žemė" | CREATE TABLE table_name_21 (tv_network_s_ VARCHAR, alternate_title_translation VARCHAR), What TV network is the series aistrų žemė aired on? |
SELECT venue FROM table_name_59 WHERE competition = "2013 concacaf gold cup" | CREATE TABLE table_name_59 (venue VARCHAR, competition VARCHAR), What venue will hold the 2013 Concacaf Gold Cup competition? |
SELECT result FROM table_name_49 WHERE competition = "2011 concacaf gold cup" | CREATE TABLE table_name_49 (result VARCHAR, competition VARCHAR), What is the result of the 2011 Concacaf Gold Cup competition? |
SELECT score FROM table_name_78 WHERE date = "july 23, 2009" | CREATE TABLE table_name_78 (score VARCHAR, date VARCHAR), What is the score of the event held on July 23, 2009? |
SELECT MIN(class) AS position FROM table_name_59 WHERE drivers = "les palmer, terry morris" AND position > 23 | CREATE TABLE table_name_59 (class INTEGER, drivers VARCHAR, position VARCHAR), What is the smallest Class Position that has drivers Les Palmer, Terry Morris, and a Position larger than 23? |
SELECT drivers FROM table_name_33 WHERE position = 27 | CREATE TABLE table_name_33 (drivers VARCHAR, position VARCHAR), Which drivers have the position of 27? |
SELECT away_team AS score FROM table_name_57 WHERE home_team = "fitzroy" | CREATE TABLE table_name_57 (away_team VARCHAR, home_team VARCHAR), In the game against home team Fitzroy, what did the away team score? |
SELECT SUM(crowd) FROM table_name_65 WHERE venue = "junction oval" | CREATE TABLE table_name_65 (crowd INTEGER, venue VARCHAR), At Junction Oval, what is the sum of the crowd? |
SELECT MAX(region) FROM table_name_9 WHERE name = "saint-simon-les-mines" AND population < 458 | CREATE TABLE table_name_9 (region INTEGER, name VARCHAR, population VARCHAR), Which region in Saint-Simon-Les-Mines has a population smaller than 458? |
SELECT SUM(region) FROM table_name_99 WHERE name = "saint-agapit" AND code < 33045 | CREATE TABLE table_name_99 (region INTEGER, name VARCHAR, code VARCHAR), What is total population of Saint-Agapit (code 33045)? |
SELECT AVG(area__km_2__) FROM table_name_91 WHERE code > 19025 AND region < 12 | CREATE TABLE table_name_91 (area__km_2__ INTEGER, code VARCHAR, region VARCHAR), What is the average area larger than Code 19025 but a smaller region than 12? |
SELECT MAX(region) FROM table_name_43 WHERE name = "saint-flavien" AND area__km_2__ > 67.56 | CREATE TABLE table_name_43 (region INTEGER, name VARCHAR, area__km_2__ VARCHAR), What is the highest region of Saint-Flavien with an area larger than 67.56? |
SELECT drobo__2nd_ FROM table_name_40 WHERE drobo_fs = "up to 32" | CREATE TABLE table_name_40 (drobo__2nd_ VARCHAR, drobo_fs VARCHAR), Which Drobo (2nd) has a Drobo FS of up to 32? |
SELECT drobo__2nd_ FROM table_name_1 WHERE DROBO_S(2 AS nd) = 5 | CREATE TABLE table_name_1 (drobo__2nd_ VARCHAR), Which Drobo (2nd) has a Drobo S (2nd) of 5? |
SELECT drobo__2nd_ FROM table_name_17 WHERE drobo_5d = "2012-11-02" | CREATE TABLE table_name_17 (drobo__2nd_ VARCHAR, drobo_5d VARCHAR), Which Drobo (2nd) has a Drobo 5d of 2012-11-02? |
SELECT surface FROM table_name_84 WHERE partner = "marty riessen" | CREATE TABLE table_name_84 (surface VARCHAR, partner VARCHAR), Marty Riessen played as a partner during a match with what kind of surface? |
SELECT date FROM table_name_69 WHERE surface = "carpet" AND partner = "marty riessen" | CREATE TABLE table_name_69 (date VARCHAR, surface VARCHAR, partner VARCHAR), When did Marty Riessen team up with a partner during a match on a carpet surface? |
SELECT AVG(population) FROM table_name_19 WHERE regional_county_municipality = "le domaine-du-roy" AND type = "m" AND region < 2 | CREATE TABLE table_name_19 (population INTEGER, region VARCHAR, regional_county_municipality VARCHAR, type VARCHAR), what is the average population when the regional county municipality is le domaine-du-roy, the type is m and the region is less than 2? |
SELECT regional_county_municipality FROM table_name_90 WHERE type = "m" AND code < 91015 | CREATE TABLE table_name_90 (regional_county_municipality VARCHAR, type VARCHAR, code VARCHAR), what is the regional county municipality when the type is m and the code is less than 91015? |
SELECT winning_driver FROM table_name_12 WHERE pole_position = "jackie stewart" AND fastest_lap = "carlos pace" | CREATE TABLE table_name_12 (winning_driver VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR), When the fastest lap was carlos pace and jackie stewart was the pole position, who was the winning driver? |
SELECT home_team AS score FROM table_name_64 WHERE home_team = "north melbourne" | CREATE TABLE table_name_64 (home_team VARCHAR), What is north melbourne's home team score? |
SELECT venue FROM table_name_14 WHERE away_team = "south melbourne" | CREATE TABLE table_name_14 (venue VARCHAR, away_team VARCHAR), Which venue has an Away team of south melbourne? |
SELECT COUNT(crowd) FROM table_name_67 WHERE away_team = "geelong" | CREATE TABLE table_name_67 (crowd VARCHAR, away_team VARCHAR), How many people in the crowd with Away team of geelong? |
SELECT venue FROM table_name_76 WHERE away_team = "hawthorn" | CREATE TABLE table_name_76 (venue VARCHAR, away_team VARCHAR), Which venue has a Away team of hawthorn? |
SELECT runner_s__up FROM table_name_93 WHERE tournament = "michelob light open at kingsmill" | CREATE TABLE table_name_93 (runner_s__up VARCHAR, tournament VARCHAR), Who was the runner-up in the Michelob Light Open at Kingsmill? |
SELECT tournament FROM table_name_85 WHERE winning_score = 66 - 68 - 70 - 70 = 274 | CREATE TABLE table_name_85 (tournament VARCHAR, winning_score VARCHAR), Which tournament won with a score of 66-68-70-70=274? |
SELECT away_team FROM table_name_83 WHERE crowd > 25 OFFSET 000 | CREATE TABLE table_name_83 (away_team VARCHAR, crowd INTEGER), Which Venue has a crowd larger than 25,000? |
SELECT competition FROM table_name_65 WHERE year = 2008 AND surface = "carpet" AND date = "31 jan" | CREATE TABLE table_name_65 (competition VARCHAR, date VARCHAR, year VARCHAR, surface VARCHAR), Which competition has a Year of 2008, a Surface of carpet, and a Date of 31 jan? |
SELECT surface FROM table_name_58 WHERE date = "24–25 apr" | CREATE TABLE table_name_58 (surface VARCHAR, date VARCHAR), Which surface has a Date of 24–25 apr? |
SELECT COUNT(year) FROM table_name_45 WHERE surface = "clay" AND score = "4 : 0" | CREATE TABLE table_name_45 (year VARCHAR, surface VARCHAR, score VARCHAR), How many years have a Surface of clay, and a Score of 4 : 0? |
SELECT MAX(year) FROM table_name_6 WHERE location = "zagreb, croatia" | CREATE TABLE table_name_6 (year INTEGER, location VARCHAR), What is the largest year located in zagreb, croatia? |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.