answer
stringlengths 32
484
| context
stringlengths 27
489
| question
stringlengths 12
244
|
---|---|---|
SELECT season FROM table_name_33 WHERE location = "athens" AND winners = "panathinaikos" | CREATE TABLE table_name_33 (season VARCHAR, location VARCHAR, winners VARCHAR) | Which season's winner is Panathinaikos and is located in Athens? |
SELECT recorded FROM table_name_34 WHERE translation = "hate" | CREATE TABLE table_name_34 (recorded VARCHAR, translation VARCHAR) | What is the date recorded of Hate? |
SELECT composer FROM table_name_36 WHERE track < 4 | CREATE TABLE table_name_36 (composer VARCHAR, track INTEGER) | Who is the composer on the tracks less than 4? |
SELECT title FROM table_name_83 WHERE track = 7 | CREATE TABLE table_name_83 (title VARCHAR, track VARCHAR) | What is the title of track 7? |
SELECT recorded FROM table_name_73 WHERE track = 8 | CREATE TABLE table_name_73 (recorded VARCHAR, track VARCHAR) | What is the recorded date of track 8? |
SELECT SUM(no_built) FROM table_name_19 WHERE unit_nos = "375301-310" | CREATE TABLE table_name_19 (no_built INTEGER, unit_nos VARCHAR) | How many number Builts had unit numbers of 375301-310? |
SELECT score FROM table_name_91 WHERE home = "montreal" AND record = "40β24β6" | CREATE TABLE table_name_91 (score VARCHAR, home VARCHAR, record VARCHAR) | What was the score of the game where Montreal was the home team and the Devils had a record of 40β24β6? |
SELECT location FROM table_name_29 WHERE stores = "140" | CREATE TABLE table_name_29 (location VARCHAR, stores VARCHAR) | Which location has 140 stores? |
SELECT year_opened FROM table_name_4 WHERE mall_name = "short pump town center" | CREATE TABLE table_name_4 (year_opened VARCHAR, mall_name VARCHAR) | Which year did the Short Pump Town Center Mall open? |
SELECT retail_space_sq_feet__mΒ²_ FROM table_name_70 WHERE mall_name = "stony point fashion park" | CREATE TABLE table_name_70 (retail_space_sq_feet__mΒ²_ VARCHAR, mall_name VARCHAR) | What is the retail space of the Stony Point Fashion Park Mall? |
SELECT mall_name FROM table_name_3 WHERE stores = "140" | CREATE TABLE table_name_3 (mall_name VARCHAR, stores VARCHAR) | Which Mall has 140 stores? |
SELECT match FROM table_name_33 WHERE date = "30 january 1938" | CREATE TABLE table_name_33 (match VARCHAR, date VARCHAR) | What match was on 30 january 1938? |
SELECT result FROM table_name_75 WHERE match = "napoli-roma" | CREATE TABLE table_name_75 (result VARCHAR, match VARCHAR) | What was the result of the napoli-roma match? |
SELECT player FROM table_name_15 WHERE school = "seattle prep" | CREATE TABLE table_name_15 (player VARCHAR, school VARCHAR) | What is the player that is from seattle prep? |
SELECT hometown FROM table_name_31 WHERE height = "6-0" | CREATE TABLE table_name_31 (hometown VARCHAR, height VARCHAR) | What is the hometown of the player which has a height of 6-0? |
SELECT hometown FROM table_name_54 WHERE college = "washington" | CREATE TABLE table_name_54 (hometown VARCHAR, college VARCHAR) | What is the hometown for the player that went to the college of washington |
SELECT away_team FROM table_name_3 WHERE venue = "princes park" | CREATE TABLE table_name_3 (away_team VARCHAR, venue VARCHAR) | What was the away team's score at Princes Park? |
SELECT date FROM table_name_36 WHERE away_team = "richmond" | CREATE TABLE table_name_36 (date VARCHAR, away_team VARCHAR) | When did Richmond play an away game against Collingwood? |
SELECT AVG(league) AS Cup FROM table_name_64 WHERE fa_cup > 0 AND league = 5 | CREATE TABLE table_name_64 (league INTEGER, fa_cup VARCHAR) | How many league cup goals on average for players with over 0 FA cup and 5 league goals? |
SELECT MIN(fa_cup) FROM table_name_58 WHERE name = "viduka" AND europe < 2 | CREATE TABLE table_name_58 (fa_cup INTEGER, name VARCHAR, europe VARCHAR) | What is the low FA cup goals for viduka with under 2 europe goals? |
SELECT MAX(year) FROM table_name_55 WHERE association = "american music awards" AND category = "favorite rap/hip-hop new artist" | CREATE TABLE table_name_55 (year INTEGER, association VARCHAR, category VARCHAR) | Who won the most recent favorite rap/hip-hop new artist at the American music awards? |
SELECT date FROM table_name_24 WHERE leading_scorer = "maurice williams (25)" AND score = "102β105" | CREATE TABLE table_name_24 (date VARCHAR, leading_scorer VARCHAR, score VARCHAR) | What is the Date with a Leading scorer with maurice williams (25), and a Score with 102β105? |
SELECT score FROM table_name_54 WHERE home = "hornets" | CREATE TABLE table_name_54 (score VARCHAR, home VARCHAR) | What is the Score with a Home with hornets? |
SELECT score FROM table_name_81 WHERE visitor = "bucks" AND leading_scorer = "maurice williams (25)" | CREATE TABLE table_name_81 (score VARCHAR, visitor VARCHAR, leading_scorer VARCHAR) | What is the Score with a Visitor of bucks, and a Leading scorer with maurice williams (25)? |
SELECT record FROM table_name_49 WHERE leading_scorer = "andrew bogut (29)" | CREATE TABLE table_name_49 (record VARCHAR, leading_scorer VARCHAR) | What is the Record with a Leading scorer with andrew bogut (29)? |
SELECT record FROM table_name_38 WHERE leading_scorer = "maurice williams (25)" AND date = "27 january 2008" | CREATE TABLE table_name_38 (record VARCHAR, leading_scorer VARCHAR, date VARCHAR) | What is the Record with a Leading scorer with maurice williams (25), and a Date with 27 january 2008? |
SELECT record FROM table_name_12 WHERE score = "80β87" AND visitor = "bucks" | CREATE TABLE table_name_12 (record VARCHAR, score VARCHAR, visitor VARCHAR) | What is the Record with a Score with 80β87, and a Visitor with bucks? |
SELECT nationality FROM table_name_74 WHERE player = "tom boswell" | CREATE TABLE table_name_74 (nationality VARCHAR, player VARCHAR) | What is the nationality of the player Tom Boswell? |
SELECT nationality FROM table_name_18 WHERE school_club_team = "duke" | CREATE TABLE table_name_18 (nationality VARCHAR, school_club_team VARCHAR) | What is the nationality of the player from Duke? |
SELECT position FROM table_name_31 WHERE school_club_team = "florida international" | CREATE TABLE table_name_31 (position VARCHAR, school_club_team VARCHAR) | What position did the player from Florida International play? |
SELECT nationality FROM table_name_4 WHERE school_club_team = "ucla" | CREATE TABLE table_name_4 (nationality VARCHAR, school_club_team VARCHAR) | What is the nationality of the player from UCLA? |
SELECT AVG(attendance_g) FROM table_name_48 WHERE tms > 18 | CREATE TABLE table_name_48 (attendance_g INTEGER, tms INTEGER) | What was Attendance/G with Tms more than 18? |
SELECT chassis FROM table_name_37 WHERE entrant = "john mecom" | CREATE TABLE table_name_37 (chassis VARCHAR, entrant VARCHAR) | Which chassis had an entrant of John Mecom? |
SELECT tyre FROM table_name_27 WHERE entrant = "ecurie nationale suisse" | CREATE TABLE table_name_27 (tyre VARCHAR, entrant VARCHAR) | What tyre was used for an entrant of Ecurie Nationale Suisse? |
SELECT rounds FROM table_name_40 WHERE driver = "hap sharp" | CREATE TABLE table_name_40 (rounds VARCHAR, driver VARCHAR) | Which rounds was Hap Sharp a driver in? |
SELECT SUM(year) FROM table_name_38 WHERE title = "jotei" | CREATE TABLE table_name_38 (year INTEGER, title VARCHAR) | what is the year when the title is jotei? |
SELECT original_channel FROM table_name_67 WHERE year < 2006 AND note = "supporting" | CREATE TABLE table_name_67 (original_channel VARCHAR, year VARCHAR, note VARCHAR) | what is the original channel when the year is before 2006 and the note is supporting? |
SELECT original_channel FROM table_name_61 WHERE note = "co-star" AND year = 2012 | CREATE TABLE table_name_61 (original_channel VARCHAR, note VARCHAR, year VARCHAR) | what is the original channel when the note is co-star in year 2012? |
SELECT original_channel FROM table_name_7 WHERE year > 2012 | CREATE TABLE table_name_7 (original_channel VARCHAR, year INTEGER) | what is the original channel when the year is after 2012? |
SELECT year FROM table_name_5 WHERE note = "supporting" AND title = "rokumeikan" | CREATE TABLE table_name_5 (year VARCHAR, note VARCHAR, title VARCHAR) | what is the year when the note is supporting and the title is rokumeikan? |
SELECT title FROM table_name_71 WHERE year > 2011 AND original_channel = "nhk" | CREATE TABLE table_name_71 (title VARCHAR, year VARCHAR, original_channel VARCHAR) | what is the title when the year is after 2011 and the original channel is nhk? |
SELECT circuit FROM table_name_91 WHERE fastest_lap = "lorenzo bandini" AND pole_position = "lorenzo bandini" | CREATE TABLE table_name_91 (circuit VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR) | On which circuit does lorenzo bandini have the fastest lap as well as the pole position? |
SELECT race FROM table_name_72 WHERE pole_position = "jim clark" AND circuit = "monaco" | CREATE TABLE table_name_72 (race VARCHAR, pole_position VARCHAR, circuit VARCHAR) | At what race does jim clark has a Pole position on the Circuit of monaco? |
SELECT report FROM table_name_32 WHERE circuit = "reims" | CREATE TABLE table_name_32 (report VARCHAR, circuit VARCHAR) | Which Report is on the Circuit of reims? |
SELECT date FROM table_name_77 WHERE circuit = "brands hatch" | CREATE TABLE table_name_77 (date VARCHAR, circuit VARCHAR) | On what Date is there a race on the Circuit of brands hatch? |
SELECT winning_driver FROM table_name_21 WHERE fastest_lap = "lorenzo bandini" AND pole_position = "lorenzo bandini" | CREATE TABLE table_name_21 (winning_driver VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR) | Who is the Winnning driver in which lorenzo bandini has the fastest lap as well as the Pole position? |
SELECT date FROM table_name_91 WHERE tyre = "d" AND circuit = "monaco" | CREATE TABLE table_name_91 (date VARCHAR, tyre VARCHAR, circuit VARCHAR) | On what date is there a Tryre of d at the Circuit of monaco? |
SELECT date FROM table_name_46 WHERE against = "morocco" AND surface = "hard" | CREATE TABLE table_name_46 (date VARCHAR, against VARCHAR, surface VARCHAR) | What's the date that Morocco has an Against along with a surface of hard? |
SELECT round FROM table_name_51 WHERE surface = "hard" AND opponent = "jelena simic" | CREATE TABLE table_name_51 (round VARCHAR, surface VARCHAR, opponent VARCHAR) | What's Round has a Surface of hard and Opponent of Jelena Simic? |
SELECT winning_driver FROM table_name_95 WHERE constructor = "ferrari" AND race_name = "xv grand prix de l'albigeois" | CREATE TABLE table_name_95 (winning_driver VARCHAR, constructor VARCHAR, race_name VARCHAR) | What driver won in the xv grand prix de l'albigeois in a vehicle by ferrari? |
SELECT MAX(date) FROM table_name_4 WHERE description = "br-built inspection saloon" | CREATE TABLE table_name_4 (date INTEGER, description VARCHAR) | What is the latest death with a description of BR-Built inspection saloon? |
SELECT number_ & _name FROM table_name_57 WHERE description = "stanier (period iii) full brake" | CREATE TABLE table_name_57 (number_ VARCHAR, _name VARCHAR, description VARCHAR) | What is the identifying number for a description of Stanier (Period III) full brake? |
SELECT date FROM table_name_86 WHERE number_ & _name = "no. 37817" | CREATE TABLE table_name_86 (date VARCHAR, number_ VARCHAR, _name VARCHAR) | What is the date with identifying number of No. 37817? |
SELECT release_date FROM table_name_18 WHERE release_format = "standard cd" AND country = "north america" | CREATE TABLE table_name_18 (release_date VARCHAR, release_format VARCHAR, country VARCHAR) | What is the release date for the standard cd release format in north america? |
SELECT cat_no FROM table_name_23 WHERE label_s_ = "mute" AND release_format = "standard cd" | CREATE TABLE table_name_23 (cat_no VARCHAR, label_s_ VARCHAR, release_format VARCHAR) | What is the cat no for the label mute and the standard cd format? |
SELECT AVG(rating) FROM table_name_51 WHERE night_rank = "11" AND timeslot_rank > 4 | CREATE TABLE table_name_51 (rating INTEGER, night_rank VARCHAR, timeslot_rank VARCHAR) | What is the rating for the episode with the night rank of 11 and timeslot rank is larger than 4? |
SELECT MIN(share) FROM table_name_67 WHERE viewers__m_ < 8.78 AND timeslot_rank < 4 | CREATE TABLE table_name_67 (share INTEGER, viewers__m_ VARCHAR, timeslot_rank VARCHAR) | What is the smallest share for a timeslot ranking less than 4 and fewer viewers than 8.78 million? |
SELECT SUM(rating) FROM table_name_69 WHERE viewers__m_ = 13.47 AND overall_rank > 6 | CREATE TABLE table_name_69 (rating INTEGER, viewers__m_ VARCHAR, overall_rank VARCHAR) | What is the rating of the episode with 13.47 million viewers and overall rank larger than 6? |
SELECT AVG(overall_rank) FROM table_name_39 WHERE share = 6 AND timeslot_rank < 4 | CREATE TABLE table_name_39 (overall_rank INTEGER, share VARCHAR, timeslot_rank VARCHAR) | What is the rank of the episode with a share of 6 and timeslot rank smaller than 4? |
SELECT premierships FROM table_name_40 WHERE venue = "queensland raceway" | CREATE TABLE table_name_40 (premierships VARCHAR, venue VARCHAR) | How many premierships for the queensland raceway? |
SELECT premierships FROM table_name_25 WHERE league = "commonwealth bank trophy" | CREATE TABLE table_name_25 (premierships VARCHAR, league VARCHAR) | How many premierships for the commonwealth bank trophy league? |
SELECT MAX(round) FROM table_name_66 WHERE pick = 4 | CREATE TABLE table_name_66 (round INTEGER, pick VARCHAR) | In which round was there a pick of 4? |
SELECT COUNT(round) FROM table_name_66 WHERE position = "offensive tackle" | CREATE TABLE table_name_66 (round VARCHAR, position VARCHAR) | How many rounds were there an offensive tackle position? |
SELECT MAX(pick) FROM table_name_44 WHERE player = "mike ford" AND round > 228 | CREATE TABLE table_name_44 (pick INTEGER, player VARCHAR, round VARCHAR) | What was the pick number in round 228 for Mike Ford? |
SELECT year FROM table_name_9 WHERE driver = "e. meyer" | CREATE TABLE table_name_9 (year VARCHAR, driver VARCHAR) | What year was E. Meyer the driver? |
SELECT driver FROM table_name_2 WHERE constructor = "bugatti" AND location = "anfa" | CREATE TABLE table_name_2 (driver VARCHAR, constructor VARCHAR, location VARCHAR) | What is the name of the driver of the vehicle constructed by Bugatti in Anfa? |
SELECT constructor FROM table_name_99 WHERE location = "not held" AND year = "1933" | CREATE TABLE table_name_99 (constructor VARCHAR, location VARCHAR, year VARCHAR) | What company constructed the vehicle in the location not held in 1933? |
SELECT constructor FROM table_name_61 WHERE driver = "not held" | CREATE TABLE table_name_61 (constructor VARCHAR, driver VARCHAR) | What company constructed the vehicle when the driver shows as not held? |
SELECT driver FROM table_name_18 WHERE year = "1955" | CREATE TABLE table_name_18 (driver VARCHAR, year VARCHAR) | What is the name of the driver in 1955? |
SELECT constructor FROM table_name_48 WHERE "report" = "report" AND year = "1955" | CREATE TABLE table_name_48 (constructor VARCHAR, year VARCHAR) | What is the name of the constructor when report shows report in 1955? |
SELECT induction FROM table_name_93 WHERE years = "1975β1976" | CREATE TABLE table_name_93 (induction VARCHAR, years VARCHAR) | What is the inductioin for 1975β1976? |
SELECT power FROM table_name_73 WHERE years = "1972" | CREATE TABLE table_name_73 (power VARCHAR, years VARCHAR) | What is the power of an engine of 1972? |
SELECT venue FROM table_name_99 WHERE away_team = "richmond" | CREATE TABLE table_name_99 (venue VARCHAR, away_team VARCHAR) | In the game where richmond was the away team, what venue was it played at? |
SELECT date FROM table_name_90 WHERE home_team = "fitzroy" | CREATE TABLE table_name_90 (date VARCHAR, home_team VARCHAR) | On what date did the match where fitzroy was the home team occur? |
SELECT MIN(apps) FROM table_name_79 WHERE country = "honduras" AND goals < 2 AND team = "club deportivo victoria" AND division > 1 | CREATE TABLE table_name_79 (apps INTEGER, division VARCHAR, team VARCHAR, country VARCHAR, goals VARCHAR) | What is the smallest apps in Honduras with less than 2 goals for Club Deportivo Victoria in a division over 1? |
SELECT MAX(grid) FROM table_name_8 WHERE driver = "jacques villeneuve" AND laps > 36 | CREATE TABLE table_name_8 (grid INTEGER, driver VARCHAR, laps VARCHAR) | What grid for jacques villeneuve with over 36 laps? |
SELECT MIN(laps) FROM table_name_69 WHERE driver = "tarso marques" | CREATE TABLE table_name_69 (laps INTEGER, driver VARCHAR) | What were the lowest laps of Tarso Marques? |
SELECT AVG(grid) FROM table_name_68 WHERE time_retired = "spun off" AND laps > 64 | CREATE TABLE table_name_68 (grid INTEGER, time_retired VARCHAR, laps VARCHAR) | What's the average Grid for those who spun off after Lap 64? |
SELECT SUM(grid) FROM table_name_27 WHERE time_retired = "+ 1:33.141" AND laps < 70 | CREATE TABLE table_name_27 (grid INTEGER, time_retired VARCHAR, laps VARCHAR) | What is the grid total that has a Time/Retired of + 1:33.141, and under 70 laps? |
SELECT MAX(laps) FROM table_name_42 WHERE constructor = "tyrrell - yamaha" AND time_retired = "+ 1 lap" | CREATE TABLE table_name_42 (laps INTEGER, constructor VARCHAR, time_retired VARCHAR) | What is the high lap total for tyrrell - yamaha, and a Time/Retired of + 1 lap? |
SELECT MIN(laps) FROM table_name_12 WHERE grid = 14 | CREATE TABLE table_name_12 (laps INTEGER, grid VARCHAR) | What is the low lap total for a grid of 14? |
SELECT COUNT(laps) FROM table_name_54 WHERE driver = "martin brundle" AND grid < 10 | CREATE TABLE table_name_54 (laps VARCHAR, driver VARCHAR, grid VARCHAR) | How many laps for martin brundle with a grid of less than 10? |
SELECT AVG(points) FROM table_name_72 WHERE domestic_cup = "quarterfinals" | CREATE TABLE table_name_72 (points INTEGER, domestic_cup VARCHAR) | What was the average points in the quarterfinals domestic cup? |
SELECT level FROM table_name_22 WHERE domestic_cup = "quarterfinals" | CREATE TABLE table_name_22 (level VARCHAR, domestic_cup VARCHAR) | Which level is quarterfinals domestic cup? |
SELECT format FROM table_name_78 WHERE catalogue = "148615" | CREATE TABLE table_name_78 (format VARCHAR, catalogue VARCHAR) | What format is catalogue 148615 in? |
SELECT region FROM table_name_7 WHERE date = "june 8, 2004" | CREATE TABLE table_name_7 (region VARCHAR, date VARCHAR) | Which region was on June 8, 2004? |
SELECT format FROM table_name_94 WHERE catalogue = "wpcr13504" | CREATE TABLE table_name_94 (format VARCHAR, catalogue VARCHAR) | What format is catalogue WPCR13504 in? |
SELECT format FROM table_name_79 WHERE catalogue = "9362486152" AND region = "australia" | CREATE TABLE table_name_79 (format VARCHAR, catalogue VARCHAR, region VARCHAR) | What format is the Catalogue 9362486152 from the region of Australia in? |
SELECT region FROM table_name_50 WHERE catalogue = "9362486152" AND date = "september 3, 2004" | CREATE TABLE table_name_50 (region VARCHAR, catalogue VARCHAR, date VARCHAR) | What region is the catalogue number 9362486152 that was from September 3, 2004 from? |
SELECT region FROM table_name_88 WHERE date = "june 8, 2004" | CREATE TABLE table_name_88 (region VARCHAR, date VARCHAR) | What region is the catalogue released on June 8, 2004 from? |
SELECT date FROM table_name_87 WHERE home_team = "carlton" | CREATE TABLE table_name_87 (date VARCHAR, home_team VARCHAR) | What day is carlton the home side? |
SELECT home_team AS score FROM table_name_23 WHERE away_team = "south melbourne" | CREATE TABLE table_name_23 (home_team VARCHAR, away_team VARCHAR) | What is the home team's score when south melbourne is away? |
SELECT listed FROM table_name_17 WHERE cerclis_id = "msd004006995" | CREATE TABLE table_name_17 (listed VARCHAR, cerclis_id VARCHAR) | Tell me the listed when cerclis id is msd004006995 |
SELECT AVG(rank__timeslot_) FROM table_name_2 WHERE rating > 2.9 AND rating / SHARE(18 - 49) = 2.6 / 8 AND rank__night_ > 5 | CREATE TABLE table_name_2 (rank__timeslot_ INTEGER, rank__night_ VARCHAR, rating VARCHAR) | What is the timeslor rank for the episode with larger than 2.9 rating, rating/share of 2.6/8 and rank for the night higher than 5? |
SELECT MIN(rating) FROM table_name_27 WHERE rank__night_ < 7 AND rank__timeslot_ < 5 AND episode > 6 | CREATE TABLE table_name_27 (rating INTEGER, episode VARCHAR, rank__night_ VARCHAR, rank__timeslot_ VARCHAR) | What is the smallest rating with nightly rank smaller than 7, timeslot rank smaller than 5 and eposide after episode 6? |
SELECT MIN(rank__night_) FROM table_name_91 WHERE rating / SHARE(18 - 49) = 2.6 / 8 AND episode > 1 | CREATE TABLE table_name_91 (rank__night_ INTEGER, episode VARCHAR, rating VARCHAR) | What is the lowest nightly rank for an episode after episode 1 with a rating/share of 2.6/8? |
SELECT AVG(rank__timeslot_) FROM table_name_97 WHERE rating < 2.6 AND share > 4 | CREATE TABLE table_name_97 (rank__timeslot_ INTEGER, rating VARCHAR, share VARCHAR) | What is the timeslot rank when the rating is smaller than 2.6 and the share is more than 4? |
SELECT MIN(rank__timeslot_) FROM table_name_29 WHERE rating < 2.6 | CREATE TABLE table_name_29 (rank__timeslot_ INTEGER, rating INTEGER) | What is the smallest timeslot rank when the rating is smaller than 2.6? |
SELECT away_team FROM table_name_24 WHERE venue = "kardinia park" | CREATE TABLE table_name_24 (away_team VARCHAR, venue VARCHAR) | What away team played at Kardinia Park? |
SELECT away_team FROM table_name_82 WHERE home_team = "hawthorn" | CREATE TABLE table_name_82 (away_team VARCHAR, home_team VARCHAR) | What team played Hawthorn? |
Subsets and Splits