answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
484
SELECT MAX(year) FROM table_name_18 WHERE winners = "hawthorn" AND season_result = "preliminary finalist" AND crowd < 27 OFFSET 407
What's the highest year than hawthorn won with a season result of preliminary finalist and a crowd smaller than 27,407?
CREATE TABLE table_name_18 (year INTEGER, crowd VARCHAR, winners VARCHAR, season_result VARCHAR)
SELECT runner_up FROM table_21584646_10 WHERE champion = "John McEnroe 6–2, 6–3"
Who is the runner up for the champion of john mcenroe 6–2, 6–3?
CREATE TABLE table_21584646_10 (runner_up VARCHAR, champion VARCHAR)
SELECT social_sec_leeds FROM table_name_62 WHERE media_officer = "jason james" AND treasurer = "james davidson"
What kind of Social Sec Leeds has a Media Officer of jason james and a Treasurer of james davidson?
CREATE TABLE table_name_62 (social_sec_leeds VARCHAR, media_officer VARCHAR, treasurer VARCHAR)
SELECT origin FROM table_287159_1 WHERE other_abbreviation = "Tele"
What is the origin of the constellation that can be abbreviated to tele?
CREATE TABLE table_287159_1 (origin VARCHAR, other_abbreviation VARCHAR)
SELECT COUNT(opponent) FROM table_10392906_2 WHERE date = "Saturday, June 9"
How many opponents were played on Saturday, June 9?
CREATE TABLE table_10392906_2 (opponent VARCHAR, date VARCHAR)
SELECT MIN(age) FROM table_1859855_2 WHERE hometown = "Columbia, South Carolina"
When columbia, south carolina is the hometown what is the lowest age?
CREATE TABLE table_1859855_2 (age INTEGER, hometown VARCHAR)
SELECT commissioned FROM table_name_78 WHERE ship_name = "brp miguel malvar"
When was the ship BRP Miguel Malvar commissioned?
CREATE TABLE table_name_78 (commissioned VARCHAR, ship_name VARCHAR)
SELECT outcome FROM table_name_84 WHERE score_in_final = "5–7, 6–4, [10–7]"
What was the outcome for the match that ended in a score of 5–7, 6–4, [10–7]?
CREATE TABLE table_name_84 (outcome VARCHAR, score_in_final VARCHAR)
SELECT 1987 FROM table_name_45 WHERE 1994 = "atp masters series"
What is the 1987 value of the 1994 atp masters series?
CREATE TABLE table_name_45 (Id VARCHAR)
SELECT MIN(byes) FROM table_name_3 WHERE against = 1946 AND wins > 2
What is the least amount of Byes when there are more than 2 wins and 1946 against?
CREATE TABLE table_name_3 (byes INTEGER, against VARCHAR, wins VARCHAR)
SELECT attendance FROM table_name_7 WHERE opponent = "cincinnati bengals"
What is the Attendance at the game against the Cincinnati Bengals?
CREATE TABLE table_name_7 (attendance VARCHAR, opponent VARCHAR)
SELECT province FROM table_name_82 WHERE wamalwa = "4,431"
What is listed for the Province with a Wamalwa of 4,431?
CREATE TABLE table_name_82 (province VARCHAR, wamalwa VARCHAR)
SELECT built_by_hm_dockyard FROM table_name_43 WHERE laid_down = "september 1830"
Which built by HM Dockyard has September 1830 as the laid down?
CREATE TABLE table_name_43 (built_by_hm_dockyard VARCHAR, laid_down VARCHAR)
SELECT term FROM table_name_5 WHERE name_of_acharya = "acharya shree vasudevprasadji maharaj"
What is the term of acharya shree vasudevprasadji maharaj?
CREATE TABLE table_name_5 (term VARCHAR, name_of_acharya VARCHAR)
SELECT home FROM table_name_91 WHERE visitor = "boston bruins" AND date = "january 11"
Who was the home team that played against the Boston Bruins on January 11?
CREATE TABLE table_name_91 (home VARCHAR, visitor VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_70 WHERE result = "w 51-21"
Which Attendance has a Result of w 51-21?
CREATE TABLE table_name_70 (attendance VARCHAR, result VARCHAR)
SELECT MIN(crowd) FROM table_name_55 WHERE venue = "windy hill"
What was the lowest crowd size at the Windy Hill venue?
CREATE TABLE table_name_55 (crowd INTEGER, venue VARCHAR)
SELECT airline FROM table_name_98 WHERE fleet_size > 17 AND iata = "pr"
Which Airline has a Fleet size larger than 17, and a IATA of pr?
CREATE TABLE table_name_98 (airline VARCHAR, fleet_size VARCHAR, iata VARCHAR)
SELECT l1_cache FROM table_24096813_15 WHERE sspec_number = "SL2Z3, SL28Q (myA0)"
What's the l1 cache of the model with sspec number sl2z3, sl28q (mya0)?
CREATE TABLE table_24096813_15 (l1_cache VARCHAR, sspec_number VARCHAR)
SELECT class FROM table_name_79 WHERE frequency_mhz = 89.3
The frequency 89.3 belongs to what class?
CREATE TABLE table_name_79 (class VARCHAR, frequency_mhz VARCHAR)
SELECT team_1 FROM table_name_74 WHERE name = "preliminary final"
Name the team one for preliminary final
CREATE TABLE table_name_74 (team_1 VARCHAR, name VARCHAR)
SELECT MIN(place) FROM table_name_47 WHERE draw > 3 AND points = 8
Name the least place for draw more than 3 and points of 8
CREATE TABLE table_name_47 (place INTEGER, draw VARCHAR, points VARCHAR)
SELECT lane FROM table_name_30 WHERE time = "8:34.25"
What is the Lane of the swimmer with a Time of 8:34.25?
CREATE TABLE table_name_30 (lane VARCHAR, time VARCHAR)
SELECT killed FROM table_name_55 WHERE unit = "personal staff"
What was the number of Personal Staff Units Killed?
CREATE TABLE table_name_55 (killed VARCHAR, unit VARCHAR)
SELECT MAX(game) FROM table_27723526_13 WHERE date = "April 3"
What is the game number played on April 3?
CREATE TABLE table_27723526_13 (game INTEGER, date VARCHAR)
SELECT surface FROM table_name_87 WHERE score_in_the_final = "6–3, 6–2" AND opponents_in_the_final = "mansour bahrami diego pérez"
Name the Surface which has a Score in the final of 6–3, 6–2 and Opponents in the final of mansour bahrami diego pérez?
CREATE TABLE table_name_87 (surface VARCHAR, score_in_the_final VARCHAR, opponents_in_the_final VARCHAR)
SELECT event FROM table_name_74 WHERE method = "tko (punches)" AND opponent = "jason macdonald"
What event had a tko (punches) method and jason macdonald as the opponent?
CREATE TABLE table_name_74 (event VARCHAR, method VARCHAR, opponent VARCHAR)
SELECT MAX(attendance) FROM table_name_16 WHERE visitor = "dallas" AND date = "june 12"
Visitor of dallas, and a Date of june 12 had what highest attendance?
CREATE TABLE table_name_16 (attendance INTEGER, visitor VARCHAR, date VARCHAR)
SELECT type FROM table_1506619_1 WHERE school_board = "Rainbow District school_board"
The Rainbow District School Board is associated with what type?
CREATE TABLE table_1506619_1 (type VARCHAR, school_board VARCHAR)
SELECT date FROM table_name_66 WHERE catalog = "alca-9198"
Name the date with catalog of alca-9198
CREATE TABLE table_name_66 (date VARCHAR, catalog VARCHAR)
SELECT passenger FROM table_name_55 WHERE season = "2009" AND races = 17
Who is the passenger in 2009 season with 17 races?
CREATE TABLE table_name_55 (passenger VARCHAR, season VARCHAR, races VARCHAR)
SELECT winning_team FROM table_name_15 WHERE winning_manufacturer = "audi" AND winning_driver = "timo scheider" AND date = "31 august"
What is the winning team of the race on 31 August with Audi as the winning manufacturer and Timo Scheider as the winning driver?
CREATE TABLE table_name_15 (winning_team VARCHAR, date VARCHAR, winning_manufacturer VARCHAR, winning_driver VARCHAR)
SELECT MIN(subsidiaries) FROM table_1756264_2 WHERE company_name = "POSTERMOBILE ADVERTISING LIMITED"
How many subsidiaries are there of Postermobile Advertising Limited?
CREATE TABLE table_1756264_2 (subsidiaries INTEGER, company_name VARCHAR)
SELECT COUNT(name) FROM table_19061741_3 WHERE duration = "Days 1-86"
When days 1-86 is the duration how many names are there?
CREATE TABLE table_19061741_3 (name VARCHAR, duration VARCHAR)
SELECT round_of_32 FROM table_name_31 WHERE _number_of_bids < 2
What Round 32 had a # of bids smaller than 2?
CREATE TABLE table_name_31 (round_of_32 VARCHAR, _number_of_bids INTEGER)
SELECT date FROM table_name_56 WHERE venue = "lake oval"
When was the game played at Lake Oval?
CREATE TABLE table_name_56 (date VARCHAR, venue VARCHAR)
SELECT record FROM table_name_87 WHERE date = "5 february 2008"
What is the record of the game on 5 February 2008?
CREATE TABLE table_name_87 (record VARCHAR, date VARCHAR)
SELECT T2.name FROM genres AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id WHERE T1.name = "Rock" OR T1.name = "Jazz"
List the name of tracks belongs to genre Rock or genre Jazz.
CREATE TABLE genres (id VARCHAR, name VARCHAR); CREATE TABLE tracks (name VARCHAR, genre_id VARCHAR)
SELECT republican AS :_christopher_reed FROM table_name_25 WHERE lead_margin < 16
What percentage did Republish Christopher Reed receive when the lead margin was smaller than 16?
CREATE TABLE table_name_25 (republican VARCHAR, lead_margin INTEGER)
SELECT MAX(lost) FROM table_name_15 WHERE drawn < 0
what is the most games lost when there were 0 draws?
CREATE TABLE table_name_15 (lost INTEGER, drawn INTEGER)
SELECT score FROM table_name_79 WHERE competition = "1996 emarate cup" AND date = "march 25, 1996"
What is the score of the 1996 Emarate cup on March 25, 1996?
CREATE TABLE table_name_79 (score VARCHAR, competition VARCHAR, date VARCHAR)
SELECT MIN(points) FROM table_name_15 WHERE rider = "roger dutton/tony wright"
What are the fewest points that Roger Dutton/Tony Wright have received?
CREATE TABLE table_name_15 (points INTEGER, rider VARCHAR)
SELECT home_team FROM table_name_54 WHERE venue = "corio oval"
What is the home team that played at Corio Oval?
CREATE TABLE table_name_54 (home_team VARCHAR, venue VARCHAR)
SELECT high_rebounds FROM table_19778010_5 WHERE high_assists = "Five Players (3)"
Who did the high rebounds in the game in which five players (3) did the high assists?
CREATE TABLE table_19778010_5 (high_rebounds VARCHAR, high_assists VARCHAR)
SELECT roll FROM table_name_76 WHERE authority = "state" AND area = "waiotira"
What is the roll number of the school with a state authority in Waiotira?
CREATE TABLE table_name_76 (roll VARCHAR, authority VARCHAR, area VARCHAR)
SELECT date_made FROM table_name_26 WHERE type = "railmotor"
When was the railmotor made?
CREATE TABLE table_name_26 (date_made VARCHAR, type VARCHAR)
SELECT entrant FROM table_name_76 WHERE year = 1967
What is the entrant for 1967?
CREATE TABLE table_name_76 (entrant VARCHAR, year VARCHAR)
SELECT MAX(against) FROM table_name_44 WHERE opposing_team = "fiji"
What largest against has the opposing team of fiji?
CREATE TABLE table_name_44 (against INTEGER, opposing_team VARCHAR)
SELECT type FROM table_name_63 WHERE transfer_fee = "free" AND name = "kapetanos"
Which Type has a Transfer fee of free, and a Name of kapetanos?
CREATE TABLE table_name_63 (type VARCHAR, transfer_fee VARCHAR, name VARCHAR)
SELECT tennis FROM table_name_78 WHERE golf = "yes" AND soccer = "yes" AND swimming = "yes" AND school = "cleveland state"
What is the status for tennis at cleveland state who has yes for swimming, golf and soccer?
CREATE TABLE table_name_78 (tennis VARCHAR, school VARCHAR, swimming VARCHAR, golf VARCHAR, soccer VARCHAR)
SELECT surface FROM table_name_13 WHERE partner = "ruxandra dragomir"
What surface did Ruxandra Dragomir play on?
CREATE TABLE table_name_13 (surface VARCHAR, partner VARCHAR)
SELECT MAX(wins) FROM table_name_42 WHERE year < 2000 AND best_finish = "4" AND tournaments_played < 3
Tell me the highest wins for year less than 2000 and best finish of 4 and tournaments played less than 3
CREATE TABLE table_name_42 (wins INTEGER, tournaments_played VARCHAR, year VARCHAR, best_finish VARCHAR)
SELECT driver FROM table_name_91 WHERE time_retired = "engine" AND grid < 9
Who drive the car that retired due to engine failure and a grid of less than 9?
CREATE TABLE table_name_91 (driver VARCHAR, time_retired VARCHAR, grid VARCHAR)
SELECT record FROM table_name_80 WHERE athlete = "milcah chemos"
What is Milcah Chemos' record?
CREATE TABLE table_name_80 (record VARCHAR, athlete VARCHAR)
SELECT MAX(_number) FROM table_15026994_5 WHERE viewing_figure = "7.02 million"
What is the # for the episode with viewing figures of 7.02 million ?
CREATE TABLE table_15026994_5 (_number INTEGER, viewing_figure VARCHAR)
SELECT AVG(lost) FROM table_name_78 WHERE team = "newton" AND drawn < 5
What was the average Lost entry for Newton, for games with a drawn less than 5?
CREATE TABLE table_name_78 (lost INTEGER, team VARCHAR, drawn VARCHAR)
SELECT attendance FROM table_name_6 WHERE game_site = "georgia dome"
What was the attendance of the game played in the Georgia Dome?
CREATE TABLE table_name_6 (attendance VARCHAR, game_site VARCHAR)
SELECT school_club_team FROM table_10015132_11 WHERE no = "21"
What school did player number 21 play for?
CREATE TABLE table_10015132_11 (school_club_team VARCHAR, no VARCHAR)
SELECT flight_up FROM table_245801_1 WHERE landing_date = "10 December 1982 19:02:36 UTC"
Name the flight up for 10 december 1982 19:02:36 utc
CREATE TABLE table_245801_1 (flight_up VARCHAR, landing_date VARCHAR)
SELECT SUM(overall) FROM table_name_16 WHERE college = "penn state"
Total overall from penn state?
CREATE TABLE table_name_16 (overall INTEGER, college VARCHAR)
SELECT site FROM table_name_40 WHERE date = "march 17, 2006" AND winning_team = "iowa state"
Which Site has a Date of march 17, 2006 and an iowa state Winning team?
CREATE TABLE table_name_40 (site VARCHAR, date VARCHAR, winning_team VARCHAR)
SELECT chassis FROM table_name_47 WHERE engine = "honda" AND sponsor = "motorola"
What is the Chassis of the Honda Engine with a Motorola sponsor?
CREATE TABLE table_name_47 (chassis VARCHAR, engine VARCHAR, sponsor VARCHAR)
SELECT MAX(national_university_of_ireland) FROM table_name_57 WHERE total = 60 AND administrative_panel > 7
What was the greatest number of members for the National University of Ireland, when the Total number of members in the Seanad was 60, and when the Administrative Panel had more than 7 members?
CREATE TABLE table_name_57 (national_university_of_ireland INTEGER, total VARCHAR, administrative_panel VARCHAR)
SELECT license FROM table_name_11 WHERE name = "rygel"
What is the license for Rygel?
CREATE TABLE table_name_11 (license VARCHAR, name VARCHAR)
SELECT result FROM table_name_9 WHERE season = "2005-06"
What was the Result in the 2005-06 Season?
CREATE TABLE table_name_9 (result VARCHAR, season VARCHAR)
SELECT directed_by FROM table_21025437_6 WHERE episode_no = 23
Who directed episode number 23?
CREATE TABLE table_21025437_6 (directed_by VARCHAR, episode_no VARCHAR)
SELECT player FROM table_14342210_6 WHERE touchdowns = 4 AND position = "Left halfback"
Which player made 4 touchdowns while playing left halfback?
CREATE TABLE table_14342210_6 (player VARCHAR, touchdowns VARCHAR, position VARCHAR)
SELECT AVG(revenue), MAX(revenue), SUM(revenue) FROM manufacturers
What are the average, maximum and total revenues of all companies?
CREATE TABLE manufacturers (revenue INTEGER)
SELECT COUNT(*) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Bootup Baltimore" AND t3.age < 18
How many members of club "Bootup Baltimore" are younger than 18?
CREATE TABLE club (clubid VARCHAR, clubname VARCHAR); CREATE TABLE student (stuid VARCHAR, age VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR)
SELECT MIN(bronze) FROM table_name_66 WHERE total = 4 AND gold < 1
What is the low bronze total for the team with 4 total and under 1 gold?
CREATE TABLE table_name_66 (bronze INTEGER, total VARCHAR, gold VARCHAR)
SELECT class FROM table_25695027_1 WHERE years_built = "1906-08"
What was the engine class that was built on 1906-08?
CREATE TABLE table_25695027_1 (class VARCHAR, years_built VARCHAR)
SELECT COUNT(crowd) FROM table_name_15 WHERE away_team = "st kilda"
How many times is st kilda the away team?
CREATE TABLE table_name_15 (crowd VARCHAR, away_team VARCHAR)
SELECT iata FROM table_name_8 WHERE airport = "madrid-barajas airport"
What is the IATA of Madrid-Barajas Airport?
CREATE TABLE table_name_8 (iata VARCHAR, airport VARCHAR)
SELECT image_attachment FROM table_name_44 WHERE threaded = "yes" AND calendar = "yes"
Which Image attachment has a Threaded of yes, and a Calendar of yes?
CREATE TABLE table_name_44 (image_attachment VARCHAR, threaded VARCHAR, calendar VARCHAR)
SELECT finale FROM table_name_62 WHERE premiere = "september 24, 2002"
When was the finale played when the show premiered on September 24, 2002?
CREATE TABLE table_name_62 (finale VARCHAR, premiere VARCHAR)
SELECT date FROM table_name_62 WHERE description = "undergoing overhaul, restoration or repairs"
What is the date listed for the item that has undergoing overhaul, restoration or repairs listed under description?
CREATE TABLE table_name_62 (date VARCHAR, description VARCHAR)
SELECT date FROM table_name_3 WHERE week = 5
What is the Date of Week 5?
CREATE TABLE table_name_3 (date VARCHAR, week VARCHAR)
SELECT paraguay_scorers FROM table_name_1 WHERE date = "june 15, 2008"
Who were the Paraguay scorers on June 15, 2008?
CREATE TABLE table_name_1 (paraguay_scorers VARCHAR, date VARCHAR)
SELECT location_attendance FROM table_11959669_4 WHERE high_points = "Pierce (22)"
What was the location attendance when High points was by Pierce (22)?
CREATE TABLE table_11959669_4 (location_attendance VARCHAR, high_points VARCHAR)
SELECT year FROM table_name_66 WHERE moves = 14 AND opening = "c54 italian game"
What year has 14 moves and an opening of C54 Italian Game?
CREATE TABLE table_name_66 (year VARCHAR, moves VARCHAR, opening VARCHAR)
SELECT course FROM table_name_1 WHERE to_par_[a_] = "n/a" AND country = "scotland" AND year > 1905 AND location = "philadelphia, pennsylvania"
With a year larger than 1905, and a location of philadelphia, pennsylvania with a to par [a] of n/a and a country of scotland what is the course?
CREATE TABLE table_name_1 (course VARCHAR, location VARCHAR, year VARCHAR, country VARCHAR, to_par_ VARCHAR, a_ VARCHAR)
SELECT AVG(grid) FROM table_name_36 WHERE laps > 52 AND driver = "andrea de adamich"
what average grid has laps larger than 52 and contains the driver of andrea de adamich?
CREATE TABLE table_name_36 (grid INTEGER, laps VARCHAR, driver VARCHAR)
SELECT COUNT(lane) FROM table_name_55 WHERE nationality = "australia" AND reaction < 0.138
How many lanes does Australia have with a reaction smaller than 0.138?
CREATE TABLE table_name_55 (lane VARCHAR, nationality VARCHAR, reaction VARCHAR)
SELECT score FROM table_name_47 WHERE date = "october 25"
What is the Score of the competition on October 25?
CREATE TABLE table_name_47 (score VARCHAR, date VARCHAR)
SELECT DISTINCT T1.customer_name FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id = T2.customer_id JOIN order_items AS T3 ON T2.order_id = T3.order_id GROUP BY T1.customer_id HAVING COUNT(DISTINCT T3.product_id) >= 3
Find the names of customers who have bought by at least three distinct products.
CREATE TABLE order_items (order_id VARCHAR, product_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR, order_id VARCHAR)
SELECT birth_date FROM table_25058562_2 WHERE player = "Taavi Sadam"
Name the birth date for taavi sadam
CREATE TABLE table_25058562_2 (birth_date VARCHAR, player VARCHAR)
SELECT COUNT(points) FROM table_name_60 WHERE tries < 1 AND goals > 0
What is the total number of Points with less than 1 tries, and more than 0 goals?
CREATE TABLE table_name_60 (points VARCHAR, tries VARCHAR, goals VARCHAR)
SELECT state FROM table_name_74 WHERE electorate = "west sydney"
Which State has an Electorate of West Sydney?
CREATE TABLE table_name_74 (state VARCHAR, electorate VARCHAR)
SELECT team_record FROM table_24989925_2 WHERE game_site = "RheinEnergieStadion"
What was the team's record when they played at Rheinenergiestadion?
CREATE TABLE table_24989925_2 (team_record VARCHAR, game_site VARCHAR)
SELECT MAX(series__number) FROM table_19517621_4
What is the largest series number?
CREATE TABLE table_19517621_4 (series__number INTEGER)
SELECT rowers FROM table_name_96 WHERE time = "5:54.57"
Who are the rowers with the time of 5:54.57?
CREATE TABLE table_name_96 (rowers VARCHAR, time VARCHAR)
SELECT record FROM table_27755784_8 WHERE date = "January 7"
What is the record when the date is January 7?
CREATE TABLE table_27755784_8 (record VARCHAR, date VARCHAR)
SELECT language FROM table_25926120_7 WHERE awardee_s_ = "Re-recordist : Mateen Ahmad"
what is the language when the awardee is re-recordist : mateen ahmad?
CREATE TABLE table_25926120_7 (language VARCHAR, awardee_s_ VARCHAR)
SELECT opponent FROM table_name_89 WHERE week < 10 AND attendance = "63,672"
Which opponent, before Week 10, had an attendance of 63,672?
CREATE TABLE table_name_89 (opponent VARCHAR, week VARCHAR, attendance VARCHAR)
SELECT primary_conference FROM table_name_56 WHERE ihsaa_football_class = "a" AND school = "south decatur"
What is the primary conference with a IHSAA Football Class of A, at South Decatur school?
CREATE TABLE table_name_56 (primary_conference VARCHAR, ihsaa_football_class VARCHAR, school VARCHAR)
SELECT crowd FROM table_1139835_1 WHERE grand_finalist = "South Melbourne"
what is the crowd when the grand finalist was south melbourne?
CREATE TABLE table_1139835_1 (crowd VARCHAR, grand_finalist VARCHAR)
SELECT position FROM table_10015132_21 WHERE player = "Loren Woods"
Which position does Loren Woods play?
CREATE TABLE table_10015132_21 (position VARCHAR, player VARCHAR)
SELECT rank FROM table_11926114_1 WHERE finale = 37
What is the rank of finale 37?
CREATE TABLE table_11926114_1 (rank VARCHAR, finale VARCHAR)
SELECT local_networked FROM table_name_38 WHERE ad_freq = "n/a"
What is the local/networked value for the show with an ad frequency of N/A?
CREATE TABLE table_name_38 (local_networked VARCHAR, ad_freq VARCHAR)
SELECT state FROM park GROUP BY state HAVING COUNT(*) > 2
List the names of states that have more than 2 parks.
CREATE TABLE park (state VARCHAR)