answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT years FROM table_name_41 WHERE goals < 160
What years were the goals less then 160?
CREATE TABLE table_name_41 (years VARCHAR, goals INTEGER)
SELECT MIN(wins) FROM table_name_21 WHERE team = "olimpia" AND draws < 4
What is the lowest Wins that has the Team of Olimpia and Draws that's smaller than 4?
CREATE TABLE table_name_21 (wins INTEGER, team VARCHAR, draws VARCHAR)
SELECT crew_chief FROM table_name_73 WHERE team = "make motorsports"
Who was the crew chief for the team from Make Motorsports?
CREATE TABLE table_name_73 (crew_chief VARCHAR, team VARCHAR)
SELECT opponent FROM table_name_25 WHERE record = "11-6-2"
Who was the opponent when the record was 11-6-2?
CREATE TABLE table_name_25 (opponent VARCHAR, record VARCHAR)
SELECT time FROM table_name_61 WHERE method = "tko"
What was the time when the method was TKO?
CREATE TABLE table_name_61 (time VARCHAR, method VARCHAR)
SELECT bowl_game FROM table_23718905_6 WHERE matchup_results = "Oklahoma 31, Stanford 27"
In what bowl game was the result Oklahoma 31, Stanford 27?
CREATE TABLE table_23718905_6 (bowl_game VARCHAR, matchup_results VARCHAR)
SELECT year FROM table_name_3 WHERE runner_up = "utc" AND winners = "saint-gaudens bears"
Which year had UTC as the runner-up and Saint-Gaudens Bears as the winners?
CREATE TABLE table_name_3 (year VARCHAR, runner_up VARCHAR, winners VARCHAR)
SELECT governments FROM table_name_43 WHERE term_start = "24 september 1984"
What governments did the minister with a term start on 24 September 1984 have?
CREATE TABLE table_name_43 (governments VARCHAR, term_start VARCHAR)
SELECT COUNT(silver) FROM table_name_81 WHERE gold > 2 AND nation = "germany"
How many silvers are there with more than 2 golds in Germany?
CREATE TABLE table_name_81 (silver VARCHAR, gold VARCHAR, nation VARCHAR)
SELECT discipline FROM table_name_68 WHERE tournament = "summer olympics" AND year = 2008
What is the discipline for the summer Olympics in 2008?
CREATE TABLE table_name_68 (discipline VARCHAR, tournament VARCHAR, year VARCHAR)
SELECT issue_price FROM table_name_46 WHERE artist = "john mardon" AND year = 2000 AND mintage = "included in steam buggy"
What is the issue price of a Year 2000 coin by artist John Mardon of the Included in Steam Buggy mintage.
CREATE TABLE table_name_46 (issue_price VARCHAR, mintage VARCHAR, artist VARCHAR, year VARCHAR)
SELECT T1.Name, T2.Height FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID
Show the names of climbers and the heights of mountains they climb.
CREATE TABLE mountain (Height VARCHAR, Mountain_ID VARCHAR); CREATE TABLE climber (Name VARCHAR, Mountain_ID VARCHAR)
SELECT space_crusade FROM table_name_7 WHERE english = "finnish"
Name the space crusade when the english is of finnish
CREATE TABLE table_name_7 (space_crusade VARCHAR, english VARCHAR)
SELECT name FROM table_name_55 WHERE state = "jin"
What is Name, when State is "Jin"?
CREATE TABLE table_name_55 (name VARCHAR, state VARCHAR)
SELECT MAX(number_of_seasons_in_top_division) FROM table_18143210_2 WHERE first_season_in_top_division = "1990-91"
How many 'number of seasons in top division' were played if the 'first season in top division' games is in 1990-91?
CREATE TABLE table_18143210_2 (number_of_seasons_in_top_division INTEGER, first_season_in_top_division VARCHAR)
SELECT part_id, chargeable_amount FROM Parts ORDER BY chargeable_amount LIMIT 1
Which part has the least chargeable amount? List the part id and amount.
CREATE TABLE Parts (part_id VARCHAR, chargeable_amount VARCHAR)
SELECT streak FROM table_name_99 WHERE stadium = "miami orange bowl"
What was the streak at the game at the Miami Orange Bowl?
CREATE TABLE table_name_99 (streak VARCHAR, stadium VARCHAR)
SELECT class FROM table_name_87 WHERE name = "jamar jackson"
for the name of jamar jackson what is the class?
CREATE TABLE table_name_87 (class VARCHAR, name VARCHAR)
SELECT COUNT(high_assists) FROM table_13557843_7 WHERE score = "L 90–98 (OT)"
how many high assbeingts with score being l 90–98 (ot)
CREATE TABLE table_13557843_7 (high_assists VARCHAR, score VARCHAR)
SELECT SUM(season) FROM table_name_10 WHERE team = "penske racing" AND date = "october 3"
What is the sum of Seasons, when the Team is Penske Racing, and when the Date is October 3?
CREATE TABLE table_name_10 (season INTEGER, team VARCHAR, date VARCHAR)
SELECT visitor FROM table_name_99 WHERE game__number > 62 AND date = "february 25"
Which Visitor has a Game # larger than 62, and a Date of february 25?
CREATE TABLE table_name_99 (visitor VARCHAR, game__number VARCHAR, date VARCHAR)
SELECT SUM(races) FROM table_name_40 WHERE podiums > 4 AND season = "2007"
What is the sum of the races in the 2007 season, which has more than 4 podiums?
CREATE TABLE table_name_40 (races INTEGER, podiums VARCHAR, season VARCHAR)
SELECT COUNT(pinyin) FROM table_1300525_1 WHERE simplified = "信州区"
What is the capital of the district who's simplified name is 信州区?
CREATE TABLE table_1300525_1 (pinyin VARCHAR, simplified VARCHAR)
SELECT to_par FROM table_name_11 WHERE score = 72 - 69 - 68 = 209
What is the to par for the score 72-69-68=209?
CREATE TABLE table_name_11 (to_par VARCHAR, score VARCHAR)
SELECT userpics_free FROM table_name_18 WHERE registration = "open" AND yearly_cost_for_paid_account = "unknown" AND name = "kraslan"
What is Userpics Free, when Registration is Open, when Yearly Cost For Paid Account is "unknown", and when Name is Kraslan?
CREATE TABLE table_name_18 (userpics_free VARCHAR, name VARCHAR, registration VARCHAR, yearly_cost_for_paid_account VARCHAR)
SELECT enzyme FROM table_name_66 WHERE disorder = "ornithine transcarbamylase deficiency"
What is the enzyme involved in the disorder of Ornithine Transcarbamylase deficiency?
CREATE TABLE table_name_66 (enzyme VARCHAR, disorder VARCHAR)
SELECT country FROM table_name_85 WHERE rank < 4 AND athlete = "ekaterina karsten"
What country is the athlete ekaterina karsten from with a rank less than 4?
CREATE TABLE table_name_85 (country VARCHAR, rank VARCHAR, athlete VARCHAR)
SELECT 2010 FROM table_name_60 WHERE 2005 = "1r"
What shows for 2010 when 2005 shows 1r?
CREATE TABLE table_name_60 (Id VARCHAR)
SELECT opponent FROM table_name_25 WHERE away = "1–1" AND home = "3–3"
Which Opponent has an Away of 1–1, and a Home of 3–3?
CREATE TABLE table_name_25 (opponent VARCHAR, away VARCHAR, home VARCHAR)
SELECT label FROM table_name_48 WHERE date = "20 july"
Which Label has a Date of 20 July?
CREATE TABLE table_name_48 (label VARCHAR, date VARCHAR)
SELECT player FROM table_11734041_1 WHERE school_club_team_country = "Loyola Marymount"
What player attended Loyola Marymount?
CREATE TABLE table_11734041_1 (player VARCHAR, school_club_team_country VARCHAR)
SELECT competition FROM table_name_51 WHERE venue = "stade fernand fournier, arles"
Which competition took place at Stade Fernand Fournier, Arles?
CREATE TABLE table_name_51 (competition VARCHAR, venue VARCHAR)
SELECT original_airdate FROM table_24222929_3 WHERE live + sd_total_viewers = "3.69 million"
When did the episode that had 3.69 million total viewers (Live and SD types combined) first air?
CREATE TABLE table_24222929_3 (original_airdate VARCHAR, live VARCHAR, sd_total_viewers VARCHAR)
SELECT Country FROM manager WHERE Age > 50 OR Age < 46
Show the countries that have managers of age above 50 or below 46.
CREATE TABLE manager (Country VARCHAR, Age VARCHAR)
SELECT MIN(_number) FROM table_2182170_1 WHERE driver_s_ = "Geoffrey Bodine"
What number is on the car that Geoffrey Bodine drives?
CREATE TABLE table_2182170_1 (_number INTEGER, driver_s_ VARCHAR)
SELECT opponent FROM table_name_89 WHERE date = "april 23"
Who did the Indians play on April 23?
CREATE TABLE table_name_89 (opponent VARCHAR, date VARCHAR)
SELECT COUNT(*) FROM climber
How many climbers are there?
CREATE TABLE climber (Id VARCHAR)
SELECT telugu_తెలుగు FROM table_name_52 WHERE tamil_தமிழ் = "pūsam பூசம்"
Which Telugu తెలుగు has a Tamil தமிழ் of pūsam பூசம்?
CREATE TABLE table_name_52 (telugu_తెలుగు VARCHAR, tamil_தமிழ் VARCHAR)
SELECT incumbent FROM table_1341843_15 WHERE first_elected = "1950"
Who's the incumbent of the district with first election held in 1950?
CREATE TABLE table_1341843_15 (incumbent VARCHAR, first_elected VARCHAR)
SELECT standard_yarn_weight_system FROM table_20297668_1 WHERE wraps_per_inch__wpi_ = "9 wpi"
Name the standard yarn weight system for 9 wpi
CREATE TABLE table_20297668_1 (standard_yarn_weight_system VARCHAR, wraps_per_inch__wpi_ VARCHAR)
SELECT senior_status FROM table_name_18 WHERE chief_judge = "—" AND reason_for_termination = "death" AND active_service = "1967–1983"
Which Senior status has a Chief Judge of —, a Reason for termination of death, and Active service of 1967–1983?
CREATE TABLE table_name_18 (senior_status VARCHAR, active_service VARCHAR, chief_judge VARCHAR, reason_for_termination VARCHAR)
SELECT MIN(interview) FROM table_name_60 WHERE swimsuit > 9.021 AND average < 9.513 AND state = "north carolina" AND evening_gown > 9.5
What is the lowest interview for a contestant from North Carolina with a swimsuit larger than 9.021, an average smaller than 9.513, and an evening gown larger than 9.5?
CREATE TABLE table_name_60 (interview INTEGER, evening_gown VARCHAR, state VARCHAR, swimsuit VARCHAR, average VARCHAR)
SELECT class_aAAA FROM table_name_28 WHERE class_aAA = gonzales
What is the Class AAAAA when the Class AAA is Gonzales?
CREATE TABLE table_name_28 (class_aAAA VARCHAR, class_aAA VARCHAR, gonzales VARCHAR)
SELECT title FROM table_26464364_1 WHERE directed_by = "Christopher Petry" AND production_code = "3X6006"
What is the title of the episode directed by Christopher Petry with the production cod 3x6006?
CREATE TABLE table_26464364_1 (title VARCHAR, directed_by VARCHAR, production_code VARCHAR)
SELECT president FROM table_name_22 WHERE location = "justus lipsius building, brussels" AND type = "scheduled" AND year > 2011 AND date = "18–19 october"
What is the President with a Location of justus lipsius building, brussels, and a Type with scheduled, and a Year larger than 2011, and a Date with 18–19 october?
CREATE TABLE table_name_22 (president VARCHAR, date VARCHAR, year VARCHAR, location VARCHAR, type VARCHAR)
SELECT MAX(sr_no) FROM table_26036389_1 WHERE name_of_road = "Banikhet Dalhouse Khajiar"
What is the Sr. number of Banikhet Dalhouse Khajiar?
CREATE TABLE table_26036389_1 (sr_no INTEGER, name_of_road VARCHAR)
SELECT SUM(1995) FROM table_name_35 WHERE 2005 > 74 AND 2008 = 84 AND 2000 < 80
What is the 1995 value with a 2005 value bigger than 74, a 2008 value of 84, and a 2000 value less than 80?
CREATE TABLE table_name_35 (Id VARCHAR)
SELECT opponent FROM table_name_24 WHERE date = "october 28"
What was the opponent on october 28?
CREATE TABLE table_name_24 (opponent VARCHAR, date VARCHAR)
SELECT COUNT(spokesperson) FROM table_1992924_3 WHERE year_s_ = 2004
how many spokesperson where in 2004
CREATE TABLE table_1992924_3 (spokesperson VARCHAR, year_s_ VARCHAR)
SELECT incumbent FROM table_name_93 WHERE party = "democratic" AND district = "ohio 7"
Which democratic incumbent is from the district of ohio 7?
CREATE TABLE table_name_93 (incumbent VARCHAR, party VARCHAR, district VARCHAR)
SELECT supporting_actress FROM table_24225238_1 WHERE year = 1943
Who was the supporting actress in 1943?
CREATE TABLE table_24225238_1 (supporting_actress VARCHAR, year VARCHAR)
SELECT role FROM table_name_4 WHERE year = 2008 AND festival_organization = "sydney film festival"
What role was at the Sydney Film Festival in 2008?
CREATE TABLE table_name_4 (role VARCHAR, year VARCHAR, festival_organization VARCHAR)
SELECT date FROM table_name_65 WHERE visitor = "philadelphia"
When was the game played against a visiting team from Philadelphia?
CREATE TABLE table_name_65 (date VARCHAR, visitor VARCHAR)
SELECT Product_Name FROM PRODUCTS ORDER BY Product_Price DESC LIMIT 1
What is the name of the most expensive product?
CREATE TABLE PRODUCTS (Product_Name VARCHAR, Product_Price VARCHAR)
SELECT event FROM table_name_6 WHERE year = 2002 AND competition = "european indoor championships"
What is the Event, when Year is 2002, and when Competition is European Indoor Championships?
CREATE TABLE table_name_6 (event VARCHAR, year VARCHAR, competition VARCHAR)
SELECT publisher FROM table_name_47 WHERE release_title = "martial law: substitutes"
Which publisher released Martial Law: Substitutes?
CREATE TABLE table_name_47 (publisher VARCHAR, release_title VARCHAR)
SELECT county FROM table_name_34 WHERE median_family_income = "$46,426"
Which country has a $46,426 median family income?
CREATE TABLE table_name_34 (county VARCHAR, median_family_income VARCHAR)
SELECT MAX(election_year) FROM table_23512864_4 WHERE assembly = "Sixth assembly"
If the assembly is the sixth assembly, what is the maximum election year?
CREATE TABLE table_23512864_4 (election_year INTEGER, assembly VARCHAR)
SELECT release FROM table_16279520_1 WHERE timeline = "Season 2"
What is the releases number under Season 2?
CREATE TABLE table_16279520_1 (release VARCHAR, timeline VARCHAR)
SELECT status FROM table_name_21 WHERE population > 930 AND census_ranking = "1,769 of 5,008"
What is the current status of a location with a census ranking of 1,769 of 5,008 and population greater than 930?
CREATE TABLE table_name_21 (status VARCHAR, population VARCHAR, census_ranking VARCHAR)
SELECT SUM(a_score) FROM table_name_54 WHERE e_score > 9.566 AND nation = "greece" AND t_score > 4
What was the quantity of the A Score when the E Score was larger than 9.566 in the Greece and the T score was more than 4?
CREATE TABLE table_name_54 (a_score INTEGER, t_score VARCHAR, e_score VARCHAR, nation VARCHAR)
SELECT almalı__qax_ FROM table_name_77 WHERE süskən = "zərnə"
What is the Almali village with the Süskən village zərnə?
CREATE TABLE table_name_77 (almalı__qax_ VARCHAR, süskən VARCHAR)
SELECT opponent FROM table_name_31 WHERE week > 1 AND result = "l 21-20"
What is the opponent in a week larger than 1, with a result of l 21-20?
CREATE TABLE table_name_31 (opponent VARCHAR, week VARCHAR, result VARCHAR)
SELECT label FROM table_name_56 WHERE date = "14 february"
Which Label has a Date of 14 February?
CREATE TABLE table_name_56 (label VARCHAR, date VARCHAR)
SELECT time FROM table_name_61 WHERE event = "ufc 123"
When has an Event of ufc 123?
CREATE TABLE table_name_61 (time VARCHAR, event VARCHAR)
SELECT COUNT(byes) FROM table_name_39 WHERE benalla_dfl = "swanpool" AND losses < 16
When Benalla DFL is swanpool with less than 16 losses, what is the sum of Byes?
CREATE TABLE table_name_39 (byes VARCHAR, benalla_dfl VARCHAR, losses VARCHAR)
SELECT tournament FROM table_name_47 WHERE finalist = "marat safin (12)"
WHich Tournament has a Finalist of marat safin (12)?
CREATE TABLE table_name_47 (tournament VARCHAR, finalist VARCHAR)
SELECT name FROM table_24807406_1 WHERE position = "FW" AND appearances = 2
What is the name if the appearance is 2 and the position is FW?
CREATE TABLE table_24807406_1 (name VARCHAR, position VARCHAR, appearances VARCHAR)
SELECT release_date FROM table_name_59 WHERE track > 4 AND recorded = "1/12/57" AND time = "2:31"
When was the release date of a track greater than 4, 1/12/57 recorded, and a length of 2:31?
CREATE TABLE table_name_59 (release_date VARCHAR, time VARCHAR, track VARCHAR, recorded VARCHAR)
SELECT player FROM table_name_21 WHERE pick__number > 38 AND cfl_team = "saskatchewan"
Which player was chosen by Saskatchewan in a pick larger than 38?
CREATE TABLE table_name_21 (player VARCHAR, pick__number VARCHAR, cfl_team VARCHAR)
SELECT MAX(displacement__cc_) FROM table_name_12 WHERE model = "r fwd auto phase1"
What is the highest displacement value for the R Fwd Auto Phase1?
CREATE TABLE table_name_12 (displacement__cc_ INTEGER, model VARCHAR)
SELECT venue FROM table_name_20 WHERE year = 1967
Which venue hosted a race in 1967?
CREATE TABLE table_name_20 (venue VARCHAR, year VARCHAR)
SELECT candidates FROM table_2646656_3 WHERE result = "Retired Republican hold" AND incumbent = "Philemon Bliss"
Who were the candidates where the result was retired Republican hold and the incumbent was Philemon Bliss?
CREATE TABLE table_2646656_3 (candidates VARCHAR, result VARCHAR, incumbent VARCHAR)
SELECT date FROM table_name_37 WHERE circuit = "sandown raceway"
On what Date is the Circuit at Sandown Raceway?
CREATE TABLE table_name_37 (date VARCHAR, circuit VARCHAR)
SELECT date_withdrawn FROM table_name_96 WHERE fleet_numbers = "12, 25, 42–46, 50, 70–71, 74–77, 106–107, 129"
What day withdrawn is associated with fleet numbers of 12, 25, 42–46, 50, 70–71, 74–77, 106–107, 129?
CREATE TABLE table_name_96 (date_withdrawn VARCHAR, fleet_numbers VARCHAR)
SELECT recnet FROM table_name_20 WHERE power = "40 watts" AND city_of_license = "temagami"
What RECNet has 40 watts of power and temagami as the city of license?
CREATE TABLE table_name_20 (recnet VARCHAR, power VARCHAR, city_of_license VARCHAR)
SELECT population__2011_ FROM table_2562572_39 WHERE cyrillic_name_other_names = "Јарковац"
The pooulation of јарковац is?
CREATE TABLE table_2562572_39 (population__2011_ VARCHAR, cyrillic_name_other_names VARCHAR)
SELECT MAX(year) FROM table_name_62 WHERE beer_name = "maggs magnificent mild" AND competition = "camra reading branch beer festival" AND category = "overall"
What year did maggs magnificent mild bear win overall at the camra reading branch beer festival?
CREATE TABLE table_name_62 (year INTEGER, category VARCHAR, beer_name VARCHAR, competition VARCHAR)
SELECT MIN(lost) FROM table_15319684_1 WHERE team = "Corinthians"
Name the most losst for corinthians
CREATE TABLE table_15319684_1 (lost INTEGER, team VARCHAR)
SELECT 250 AS cc_winner FROM table_name_5 WHERE round > 6 AND date = "26 july"
Which 250cc winner has a Round larger than 6, and a Date of 26 july?
CREATE TABLE table_name_5 (round VARCHAR, date VARCHAR)
SELECT round_of_32 FROM table_17427004_7 WHERE athlete = "Nabil Kassel"
Who did Nabil Kassel face in the Round of 32?
CREATE TABLE table_17427004_7 (round_of_32 VARCHAR, athlete VARCHAR)
SELECT score FROM table_name_94 WHERE home = "montreal"
What was the score when Montreal was home?
CREATE TABLE table_name_94 (score VARCHAR, home VARCHAR)
SELECT SUM(year) FROM table_name_75 WHERE player_name = "ronnie bull"
How many years have a Player name of ronnie bull?
CREATE TABLE table_name_75 (year INTEGER, player_name VARCHAR)
SELECT AVG(rank) FROM table_name_90 WHERE director = "michael bay"
What is the average rank for the film directed by michael bay?
CREATE TABLE table_name_90 (rank INTEGER, director VARCHAR)
SELECT score FROM table_name_57 WHERE player = "tiger woods"
What was Tiger Woods' score?
CREATE TABLE table_name_57 (score VARCHAR, player VARCHAR)
SELECT state_served FROM table_24415627_2 WHERE time_since_entry = "49years, 29days"
List the states that have entry times of 49years, 29days
CREATE TABLE table_24415627_2 (state_served VARCHAR, time_since_entry VARCHAR)
SELECT id, market_share FROM browser WHERE name = 'Safari'
What is the id and market share of the browser Safari?
CREATE TABLE browser (id VARCHAR, market_share VARCHAR, name VARCHAR)
SELECT district_name FROM district ORDER BY city_area LIMIT 1
Which district has the least area?
CREATE TABLE district (district_name VARCHAR, city_area VARCHAR)
SELECT COUNT(raiders_first_downs) FROM table_18207285_2 WHERE game = 9
How many different counts of the Raiders first downs are there for the game number 9?
CREATE TABLE table_18207285_2 (raiders_first_downs VARCHAR, game VARCHAR)
SELECT nhl_team FROM table_name_87 WHERE player = "wade belak"
I want the NHL team for wade belak
CREATE TABLE table_name_87 (nhl_team VARCHAR, player VARCHAR)
SELECT COUNT(*) FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T2.Airline = T1.uid WHERE T1.Airline = "United Airlines" AND T2.SourceAirport = "AHD"
How many 'United Airlines' flights depart from Airport 'AHD'?
CREATE TABLE FLIGHTS (Airline VARCHAR, SourceAirport VARCHAR); CREATE TABLE AIRLINES (uid VARCHAR, Airline VARCHAR)
SELECT COUNT(byes) FROM table_name_84 WHERE against = 1136 AND draws < 0
What was the total number of Byes for the team that had 1136 Against and fewer than 0 Draws?
CREATE TABLE table_name_84 (byes VARCHAR, against VARCHAR, draws VARCHAR)
SELECT AVG(crowd) FROM table_name_59 WHERE home_team = "footscray"
What is the size of the crowd for the game with Footscray as the home team?
CREATE TABLE table_name_59 (crowd INTEGER, home_team VARCHAR)
SELECT AVG(year) FROM table_name_22 WHERE tournament = "world cross country championships" AND venue = "st etienne, france" AND extra = "team competition" AND result = "8th"
What is the average year that anna thompson had an 8th place result in team competition at the world cross country championships in st etienne, france with
CREATE TABLE table_name_22 (year INTEGER, result VARCHAR, extra VARCHAR, tournament VARCHAR, venue VARCHAR)
SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id WHERE T2.grade > 5 GROUP BY T1.student_id HAVING COUNT(*) >= 2
Show the names of students who have a grade higher than 5 and have at least 2 friends.
CREATE TABLE Friend (student_id VARCHAR); CREATE TABLE Highschooler (name VARCHAR, id VARCHAR, grade INTEGER)
SELECT built_as FROM table_name_28 WHERE ship = "dahlgren"
Where the ship is Dahlgren what is the build as?
CREATE TABLE table_name_28 (built_as VARCHAR, ship VARCHAR)
SELECT MAX(year) FROM table_1241987_1 WHERE regular_season = "6th, Heartland"
What is the latest year that 6th, Heartland is regular season?
CREATE TABLE table_1241987_1 (year INTEGER, regular_season VARCHAR)
SELECT first_elected FROM table_1342198_25 WHERE incumbent = "Phil J. Welch"
In what year was Phil J. Welch first elected?
CREATE TABLE table_1342198_25 (first_elected VARCHAR, incumbent VARCHAR)
SELECT first_name, last_name, salary, department_id, MAX(salary) FROM employees GROUP BY department_id
display the department ID, full name (first and last name), salary for those employees who is highest salary in every department.
CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, salary INTEGER, department_id VARCHAR)
SELECT high_points FROM table_30049462_3 WHERE team = "Milwaukee"
in the milwaukee team who made the high points
CREATE TABLE table_30049462_3 (high_points VARCHAR, team VARCHAR)