instruction
stringlengths
37
754
output
stringlengths
9
3.43k
### Instruction: what is the highest money ($) for bernhard langer? ### Response:
SELECT MAX("Money ( $ )") FROM table_46193 WHERE "Player" = 'bernhard langer'
### Instruction: What is the Tournament, when 2012 is 3R? ### Response:
SELECT "Tournament" FROM table_40794 WHERE "2012" = '3r'
### Instruction: Name the date with visiting team of philadelphia eagles ### Response:
SELECT "Date" FROM table_67110 WHERE "Visiting Team" = 'philadelphia eagles'
### Instruction: Name the tournaments played for 2004 ### Response:
SELECT MIN(tournaments_played) FROM table_2112220_6 WHERE year = 2004
### Instruction: What is the total for the week in the game against the Chicago Bears ### Response:
SELECT COUNT("Week") FROM table_65592 WHERE "Opponent" = 'chicago bears'
### Instruction: What did home team score at glenferrie oval? ### Response:
SELECT "Home team score" FROM table_54103 WHERE "Venue" = 'glenferrie oval'
### Instruction: What is run time when there were 7.4 million viewers? ### Response:
SELECT "Run time" FROM table_72856 WHERE "Viewers (in millions)" = '7.4'
### Instruction: What location and it's attendance was the game against the cavaliers? ### Response:
SELECT "Location Attendance" FROM table_25798 WHERE "Team" = 'Cavaliers'
### Instruction: What is the Opponents from the final with a Tournament that is puebla? ### Response:
SELECT opponents_in_the_final FROM table_name_44 WHERE tournament = "puebla"
### Instruction: Who was the vacator when the reason for change was failure to elect? ### Response:
SELECT "Vacator" FROM table_25106 WHERE "Reason for change" = 'Failure to elect'
### Instruction: Who is the 2nd member elected in 1461? ### Response:
SELECT "2nd member" FROM table_61937 WHERE "Elected" = '1461'
### Instruction: What is the average points for the chassis LOLA LC88? ### Response:
SELECT AVG(points) FROM table_name_2 WHERE chassis = "lola lc88"
### Instruction: Which place is Andy Bean from the United States? ### Response:
SELECT "Place" FROM table_12732 WHERE "Country" = 'united states' AND "Player" = 'andy bean'
### Instruction: On what date was the score for set 3 22 25? ### Response:
SELECT "Date" FROM table_9148 WHERE "Set 3" = '22–25'
### Instruction: In the year 2009 who was the under-13? ### Response:
SELECT "Under-13" FROM table_28600 WHERE "Year" = '2009'
### Instruction: stroke or recent diagnosis of coronary artery disease ### Response:
SELECT * FROM table_train_264 WHERE stroke = 1 OR coronary_artery_disease_cad = 1
### Instruction: What is the number of gold medals when the number of bronze medals is 8? ### Response:
SELECT "Gold" FROM table_77417 WHERE "Bronze" = '8'
### Instruction: Which city has spanish news on the website ultimahora.com ? ### Response:
SELECT city FROM table_name_3 WHERE language = "spanish" AND website = "ultimahora.com"
### Instruction: Drawn of 0, and a Games larger than 5 has what amount of highest points? ### Response:
SELECT MAX(points) FROM table_name_62 WHERE drawn = 0 AND games > 5
### Instruction: Name the number of jons team for 15x10 ### Response:
SELECT COUNT("Jons team") FROM table_25921 WHERE "Episode" = '15x10'
### Instruction: what is the maximum total population with % catholic being 1.17% ### Response:
SELECT MAX("Total Population") FROM table_18892 WHERE "% Catholic" = '1.17%'
### Instruction: what is the total number of painters who scored 12 in composition ? ### Response:
SELECT COUNT("painter") FROM table_203_186 WHERE "composition" = 12
### Instruction: Name the date successor seated for failure to elect ### Response:
SELECT date_successor_seated FROM table_225094_4 WHERE reason_for_change = "failure to elect"
### Instruction: Top 500 Favorited Posts. ### Response:
SELECT Id AS "post_link", FavoriteCount, CreationDate FROM Posts ORDER BY FavoriteCount DESC LIMIT 500
### Instruction: Name the incumbent for lost renomination republican hold ### Response:
SELECT "Incumbent" FROM table_73140 WHERE "Result" = 'Lost renomination Republican hold'
### Instruction: What's the lineup when the assist/pass was Unassisted? ### Response:
SELECT "Lineup" FROM table_65433 WHERE "Assist/pass" = 'unassisted'
### Instruction: What are the names of perpetrators? ### Response:
SELECT T1.Name FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID = T2.People_ID
### Instruction: What is the record when the leading scorer is Antawn Jamison (14)? ### Response:
SELECT record FROM table_name_6 WHERE leading_scorer = "antawn jamison (14)"
### Instruction: What is the english translation of the sanskrit word varsha? ### Response:
SELECT "English Translation" FROM table_7921 WHERE "Season in Sanskrit" = 'varsha'
### Instruction: Which Game site has 27,189 Attendances ? ### Response:
SELECT "Game site" FROM table_39268 WHERE "Attendance" = '27,189'
### Instruction: Who were the candidates in the district won by the incumbent Del Latta? ### Response:
SELECT candidates FROM table_1341690_35 WHERE incumbent = "Del Latta"
### Instruction: During the Mid-American Conference who is listed as the tournament winner? ### Response:
SELECT tournament_winner FROM table_28365816_2 WHERE conference = "Mid-American conference"
### Instruction: Count the number of answers of ELL in a given year. ### Response:
SELECT COUNT(AnswerCount) AS "total_answers" FROM Posts WHERE YEAR(CreationDate) = @GiveYear
### Instruction: how many times was liechtenstein the opponent ? ### Response:
SELECT COUNT(DISTINCT "date") FROM table_203_138 WHERE "opponent" = 'liechtenstein'
### Instruction: How many candidates were there in the year of 1987? ### Response:
SELECT "Number of Candidates" FROM table_23162 WHERE "Year" = '1987'
### Instruction: Name the total seats for otorhinolaryngology ### Response:
SELECT total_seats FROM table_19304764_2 WHERE discipline = "Otorhinolaryngology"
### Instruction: 2001 of 2 4 was in which tournament? ### Response:
SELECT "Tournament" FROM table_39110 WHERE "2001" = '2–4'
### Instruction: A bar chart about what are the destinations and number of flights to each one?, display by the X-axis in ascending please. ### Response:
SELECT destination, COUNT(*) FROM flight GROUP BY destination ORDER BY destination
### Instruction: What team had a capacity of 102.3%? ### Response:
SELECT team FROM table_28884858_2 WHERE capacity_percentage = "102.3%"
### Instruction: What is the total number of league goals for Simon Charlton? ### Response:
SELECT COUNT("League Goals") FROM table_65389 WHERE "Name" = 'simon charlton'
### Instruction: How many games played for the team with 686 points against? ### Response:
SELECT played FROM table_1676073_12 WHERE points_against = "686"
### Instruction: how many diekirch districts also have diekirch as their canton ? ### Response:
SELECT COUNT("district") FROM table_201_43 WHERE "canton" = 'diekirch'
### Instruction: What is the name of the circuit when Phil Hill has the fastest lap? ### Response:
SELECT "Circuit" FROM table_54770 WHERE "Fastest lap" = 'phil hill'
### Instruction: Where was adac rally deutschland's rally HQ? ### Response:
SELECT rally_hq FROM table_name_62 WHERE rally_name = "adac rally deutschland"
### Instruction: Undergrads take 370 ? ### Response:
SELECT DISTINCT advisory_requirement, enforced_requirement, name FROM course WHERE department = 'EECS' AND number = 370
### Instruction: Name the number of color for furcifer pardalis ### Response:
SELECT COUNT("Color") FROM table_21800 WHERE "Scientific name" = 'Furcifer pardalis'
### Instruction: What was the high assist when the high point was Eric Gordon (21)? ### Response:
SELECT high_assists FROM table_name_35 WHERE high_points = "eric gordon (21)"
### Instruction: Name the team for w 125-115 score ### Response:
SELECT "Team" FROM table_25461 WHERE "Score" = 'W 125-115'
### Instruction: Can you tell me the Record that has the Score of 100-105? ### Response:
SELECT record FROM table_name_99 WHERE score = "100-105"
### Instruction: What Player has a Score of 71-71=142? ### Response:
SELECT player FROM table_name_60 WHERE score = 71 - 71 = 142
### Instruction: What is the lowest Place, when Televotes is 15424? ### Response:
SELECT MIN(place) FROM table_name_50 WHERE televotes = 15424
### Instruction: What is the area for the province having Hangul of ? ### Response:
SELECT "Area" FROM table_75907 WHERE "Hangul/Chosongul" = '경기도'
### Instruction: Which TV Time has a Result of w 24 17? ### Response:
SELECT "TV Time" FROM table_14109 WHERE "Result" = 'w 24–17'
### Instruction: Who was the runner(s)-Up to winner Sarah Brice? ### Response:
SELECT "Runner(s)-Up" FROM table_9120 WHERE "Winner" = 'sarah brice'
### Instruction: If the NFL team is the Minnesota Vikings, what is the position? ### Response:
SELECT position FROM table_2508633_8 WHERE nfl_team = "Minnesota Vikings"
### Instruction: WHAT WAS THE PICK NUMBER FOR BRANDON RUSH? ### Response:
SELECT COUNT("Pick") FROM table_7876 WHERE "Player" = 'brandon rush'
### Instruction: Unanswered or non-canon answered HP questions. ### Response:
SELECT Posts.Title, TagName FROM Tags, Posts WHERE TagName LIKE 'Harry-Potter' LIMIT 50
### Instruction: Which Gold has a Silver of 7, and a Bronze smaller than 7? ### Response:
SELECT MIN(gold) FROM table_name_24 WHERE silver = 7 AND bronze < 7
### Instruction: Who are the away teams when subiaco oval was the grounds? ### Response:
SELECT away_team FROM table_16388506_1 WHERE ground = "Subiaco Oval"
### Instruction: What is the Round against Gillingham with an Against smaller than 3? ### Response:
SELECT round FROM table_name_40 WHERE opposing_team = "gillingham" AND against < 3
### Instruction: Which opponent has w 17-0 as the result? ### Response:
SELECT "Opponent" FROM table_47568 WHERE "Result" = 'w 17-0'
### Instruction: what is the record when the opponent is akiko inoue? ### Response:
SELECT "Record" FROM table_63737 WHERE "Opponent" = 'akiko inoue'
### Instruction: how many songs were produced by will.i.am ? ### Response:
SELECT COUNT("title") FROM table_203_687 WHERE "producer(s)" = 'will.i.am'
### Instruction: Who is listed under points classification when the stage winner is malcolm lange? ### Response:
SELECT "Points classification" FROM table_29313 WHERE "Stage winner" = 'Malcolm Lange'
### Instruction: What is every population density if name is Beaubassin East? ### Response:
SELECT "Population density" FROM table_28570 WHERE "Name" = 'Beaubassin East'
### Instruction: What Round 32 had a # of bids smaller than 2? ### Response:
SELECT "Round of 32" FROM table_7243 WHERE "# of Bids" < '2'
### Instruction: When were the odds of winner 16.66? ### Response:
SELECT "Year" FROM table_24543 WHERE "Odds of winner" = '16.66'
### Instruction: What is the Home team score when away team is hawthorn? ### Response:
SELECT "Home team score" FROM table_52048 WHERE "Away team" = 'hawthorn'
### Instruction: What player was the champion in the match where E.A. Lassen was the runner-up? ### Response:
SELECT champion FROM table_name_60 WHERE runner_up = "e.a. lassen"
### Instruction: Name the county for mccain being 38.78% ### Response:
SELECT "County" FROM table_23739 WHERE "McCain%" = '38.78%'
### Instruction: What is the name of the episode written by glen mazzara? ### Response:
SELECT title FROM table_30030477_1 WHERE written_by = "Glen Mazzara"
### Instruction: In what city was the team that left the conference in 1949 based? ### Response:
SELECT "City" FROM table_63693 WHERE "Year Left" = '1949'
### Instruction: find the minimum age of white female patients . ### Response:
SELECT MIN(demographic.age) FROM demographic WHERE demographic.gender = "F" AND demographic.ethnicity = "WHITE"
### Instruction: what was the only grand prix to be won by benneton ford ? ### Response:
SELECT "grand prix" FROM table_204_455 WHERE "constructor" = 'benetton-ford'
### Instruction: Tell me the format for geffen of the united states ### Response:
SELECT "Format" FROM table_4334 WHERE "Label" = 'geffen' AND "Region" = 'united states'
### Instruction: Name the number of players for louisiana state ### Response:
SELECT COUNT(player) FROM table_15621965_14 WHERE school_club_team = "Louisiana State"
### Instruction: What is the sum of all mintage created by Pierre Leduc? ### Response:
SELECT SUM("Mintage") FROM table_10335 WHERE "Artist" = 'pierre leduc'
### Instruction: Name the ERP W for glens falls, new york ### Response:
SELECT erp_w FROM table_name_56 WHERE city_of_license = "glens falls, new york"
### Instruction: the only flight on november 27th ### Response:
SELECT "flight" FROM table_203_538 WHERE "date" = 'november 27, 1997'
### Instruction: What is the highest pennant number with ships in pori class? ### Response:
SELECT MAX(pennant_number) FROM table_name_61 WHERE ships_in_class = "pori"
### Instruction: Who was the artist that issued the single on 19 January? ### Response:
SELECT "Artist" FROM table_9847 WHERE "Issue Date(s)" = '19 january'
### Instruction: How many times was pernell whitaker an opponent? ### Response:
SELECT COUNT(date) FROM table_12206918_2 WHERE opponent = "Pernell Whitaker"
### Instruction: What Elimination number is listed againt Eliminated by Sonjay Dutt? ### Response:
SELECT elimination FROM table_name_87 WHERE eliminated_by = "sonjay dutt"
### Instruction: What is Road Team, when Date is 'April 10'? ### Response:
SELECT "Road Team" FROM table_60404 WHERE "Date" = 'april 10'
### Instruction: What name has a qual 2 of 1:43.374? ### Response:
SELECT name FROM table_name_97 WHERE qual_2 = "1:43.374"
### Instruction: When segment b is dining room tables what is segment d? ### Response:
SELECT segment_d FROM table_15187735_5 WHERE segment_b = "Dining Room Tables"
### Instruction: Which date did the race name XII Pau Grand Prix take place on? ### Response:
SELECT date FROM table_1140117_5 WHERE race_name = "XII Pau Grand Prix"
### Instruction: Which home team scored 10.6 (66)? ### Response:
SELECT "Home team" FROM table_57392 WHERE "Home team score" = '10.6 (66)'
### Instruction: Show the number of headquarters from each headquarters, and I want to show by the X from high to low. ### Response:
SELECT Headquarters, COUNT(Headquarters) FROM company GROUP BY Headquarters ORDER BY Headquarters DESC
### Instruction: What is every specialization with the website Jstu.edu.bd ### Response:
SELECT specialization FROM table_2112260_1 WHERE website = "jstu.edu.bd"
### Instruction: What number episode of the season was titled 'Vision Impossible'? ### Response:
SELECT MIN("Season #") FROM table_74357 WHERE "Title" = 'Vision Impossible'
### Instruction: What was the result on 16 November 2003? ### Response:
SELECT "Result" FROM table_37915 WHERE "Date" = '16 november 2003'
### Instruction: What is Race 2, when Driver is 'Paul Radisich'? ### Response:
SELECT "Race 2" FROM table_8330 WHERE "Driver" = 'paul radisich'
### Instruction: Which Championship has a Scoreboard that is 22-14? ### Response:
SELECT "Champion" FROM table_35516 WHERE "Scoreboard" = '22-14'
### Instruction: What are the ASIANLAN courses that are worth 2 credits ? ### Response:
SELECT DISTINCT name, number FROM course WHERE department = 'ASIANLAN' AND credits = 2
### Instruction: What is the Front Side Bus for Model Number c3 850? ### Response:
SELECT front_side_bus FROM table_name_54 WHERE model_number = "c3 850"
### Instruction: what is the period if the player is Hashan Tillakaratne? ### Response:
SELECT "Period" FROM table_28280 WHERE "Player" = 'Hashan Tillakaratne'
### Instruction: When did the episode 1.13 air for the first time? ### Response:
SELECT date_aired FROM table_28283535_4 WHERE episode = "1.13"
### Instruction: What is the Date with a Score with 86 108? ### Response:
SELECT "Date" FROM table_10735 WHERE "Score" = '86–108'
### Instruction: What is the mascot for the instition of Kansas city Kansas community college? ### Response:
SELECT "Mascot" FROM table_506 WHERE "Institution" = 'Kansas City Kansas Community College'