instruction
stringlengths
37
754
output
stringlengths
9
3.43k
### Instruction: In which season is the runner-up Lase-R/Riga? ### Response:
SELECT "Season" FROM table_3217 WHERE "Runner-up" = 'Lase-R/Riga'
### Instruction: what rank has viewers at 6.45? ### Response:
SELECT rank__week_ FROM table_15681686_4 WHERE viewers__millions_ = "6.45"
### Instruction: What is the earliest year of release for the album labelled ? ### Response:
SELECT MIN("Year of Release") FROM table_10590 WHERE "Label(s)" = '艺能动音'
### Instruction: anemia ( hemoglobin < 12 ) ### Response:
SELECT * FROM table_dev_5 WHERE anemia = 1 OR hemoglobin_a1c_hba1c < 12
### Instruction: What is the Site when the date is 11/11/1950? ### Response:
SELECT site FROM table_name_37 WHERE date = "11/11/1950"
### Instruction: When fm 97.3 is the frequency how many formats are there? ### Response:
SELECT COUNT("Format") FROM table_22417 WHERE "Frequency" = 'FM 97.3'
### Instruction: What date was the game for the score L 88 79? ### Response:
SELECT date FROM table_11960944_11 WHERE score = "L 88–79"
### Instruction: Which ranking has money of $82 and Al Watrous as the player? ### Response:
SELECT place FROM table_name_64 WHERE money___$__ = 82 AND player = "al watrous"
### Instruction: Who is the perpetrator in Bait Al-Aqari? ### Response:
SELECT "Perpetrator" FROM table_12652 WHERE "Location" = 'bait al-aqari'
### Instruction: What team was the player that received a penalty at time 32:17 playing for? ### Response:
SELECT "Team" FROM table_47122 WHERE "Time" = '32:17'
### Instruction: What is the chassis of the Honda Engine from 2008? ### Response:
SELECT chassis FROM table_name_68 WHERE engine = "honda" AND year = 2008
### Instruction: What is the Away team at the game with a Score of 4 2? ### Response:
SELECT "Away team" FROM table_63656 WHERE "Score" = '4 – 2'
### Instruction: Which Country has a Score of 69, and a Player of mick soli? ### Response:
SELECT country FROM table_name_92 WHERE score = 69 AND player = "mick soli"
### Instruction: Who directed the episode with production code 177605? ### Response:
SELECT "Directed by" FROM table_73969 WHERE "Production code" = '177605'
### Instruction: What's the code name of the wireless LAN with Chief River Centrino? ### Response:
SELECT "Codename" FROM table_23454 WHERE "Centrino" = 'Chief River'
### Instruction: What Singapore League Cup does Masahiro Fukasawa have? ### Response:
SELECT "Singapore League Cup" FROM table_44858 WHERE "Name" = 'masahiro fukasawa'
### Instruction: Which Reason has a State (class) of tennessee (2)? ### Response:
SELECT "Reason for change" FROM table_66236 WHERE "State (class)" = 'tennessee (2)'
### Instruction: How many categories of Senate Seats does Emile Roemer have? ### Response:
SELECT COUNT("Senate seats") FROM table_1342 WHERE "Political Leader" = 'Emile Roemer'
### Instruction: What is the to par of the player from the United States with a t1 place? ### Response:
SELECT to_par FROM table_name_76 WHERE country = "united states" AND place = "t1"
### Instruction: What AP increase has an AP duration of 0.75? ### Response:
SELECT ap_increase__mv_ FROM table_name_68 WHERE ap_duration__ms_ = "0.75"
### Instruction: When brive proceeded to quarter final what were the match points? ### Response:
SELECT match_points FROM table_27987767_3 WHERE proceed_to_quarter_final = "Brive"
### Instruction: What type of yacht has a LOA of 15.15 metres? ### Response:
SELECT yacht AS Type FROM table_name_94 WHERE loa__metres_ = 15.15
### Instruction: In the final against Ashley Harkleroad what was the score? ### Response:
SELECT score FROM table_name_21 WHERE opponent_in_the_final = "ashley harkleroad"
### Instruction: Who is in the high points in the @ l.a. clippers team? ### Response:
SELECT "High points" FROM table_29874 WHERE "Team" = '@ L.A. Clippers'
### Instruction: Who is the 1st member elected in 1620/21? ### Response:
SELECT 1 AS st_member FROM table_name_82 WHERE elected = "1620/21"
### Instruction: Name the to par for 20 feb 2005 ### Response:
SELECT to_par FROM table_21469545_2 WHERE date = "20 Feb 2005"
### Instruction: What is the country when the date shows October 24, 2008? ### Response:
SELECT country FROM table_name_30 WHERE date = "october 24, 2008"
### Instruction: How many first elections have Claude Fuller as incumbent? ### Response:
SELECT COUNT(first_elected) FROM table_1342315_4 WHERE incumbent = "Claude Fuller"
### Instruction: When it's the 2nd round of the open cup what is the playoffs? ### Response:
SELECT playoffs FROM table_1939235_1 WHERE open_cup = "2nd Round"
### Instruction: What is the maximum game that was played against the New York Knickerbockers? ### Response:
SELECT MAX(game) FROM table_name_40 WHERE opponent = "new york knickerbockers"
### Instruction: What episode number of the season was also number 75 in the series? ### Response:
SELECT MAX("No. in season") FROM table_25759 WHERE "No. in series" = '75'
### Instruction: When was the game played when the opponent was 'at Los Angeles Rams'? ### Response:
SELECT date FROM table_17972193_1 WHERE opponent = "at Los Angeles Rams"
### Instruction: What is the seed for lyon (32) was DNQ? ### Response:
SELECT MAX("Seed") FROM table_23844 WHERE "Lyon (32)" = 'DNQ'
### Instruction: What was the first leg result in the round against Norchi Dinamoeli? ### Response:
SELECT first_leg FROM table_20086138_1 WHERE opposition = "Norchi Dinamoeli"
### Instruction: Who drive the car that went under 60 laps and spun off? ### Response:
SELECT driver FROM table_name_25 WHERE laps < 60 AND time_retired = "spun off"
### Instruction: what is the total number of contestants that participated in 1972 ? ### Response:
SELECT "number of contestants" FROM table_203_872 WHERE "year" = 1972
### Instruction: What is the event # when the winner is what is 7x6? ### Response:
SELECT event__number FROM table_22050544_1 WHERE winner = "what is 7x6"
### Instruction: What was the highest attendance for a game where Geelong was the home team? ### Response:
SELECT MAX("Crowd") FROM table_34935 WHERE "Home team" = 'geelong'
### Instruction: What team with a Game smaller than 18 has the lowest Goal Gain? ### Response:
SELECT MIN("Goal Gain") FROM table_74681 WHERE "Game" < '18'
### Instruction: surgically unresolved infection ( such as some intraperitoneal infection etc. ) ### Response:
SELECT * FROM table_train_16 WHERE intraperitoneal_infection = 1
### Instruction: What 2009 has 345 as the 2007? ### Response:
SELECT 2009 FROM table_name_33 WHERE 2007 = "345"
### Instruction: What team is Jim Garcia category:Articles with Hcards on? ### Response:
SELECT "Team" FROM table_62829 WHERE "Player" = 'jim garcia category:articles with hcards'
### Instruction: What was the crowd attendance in the match at punt road oval? ### Response:
SELECT SUM("Crowd") FROM table_58581 WHERE "Venue" = 'punt road oval'
### Instruction: Which Series 1 has a Series 11 of peter jones? ### Response:
SELECT "Series 1" FROM table_78693 WHERE "Series 11" = 'peter jones'
### Instruction: What is the Date of the game with a Score of 4 6, 4 6? ### Response:
SELECT date FROM table_name_36 WHERE score = "4–6, 4–6"
### Instruction: What was the highest attendance of games that resulted in L 23-20? ### Response:
SELECT MAX(attendance) FROM table_name_64 WHERE result = "l 23-20"
### Instruction: What was Anders Forsbrand's score when the TO par is +4? ### Response:
SELECT score FROM table_name_65 WHERE to_par = "+4" AND player = "anders forsbrand"
### Instruction: What's the highest level of team Astana since 2007? ### Response:
SELECT MAX(level) FROM table_name_96 WHERE team = "astana" AND season > 2007
### Instruction: What is the highest numbered episode with patient portrayer doug savant? ### Response:
SELECT MAX("#") FROM table_73973 WHERE "Patient Portrayer" = 'Doug Savant'
### Instruction: what is the country with the album best of and weeks on chart is less than 5? ### Response:
SELECT country FROM table_name_53 WHERE album = "best of" AND weeks_on_chart < 5
### Instruction: Find the number of dorms for each gender in a bar chart, I want to show by the x axis from high to low please. ### Response:
SELECT gender, COUNT(*) FROM Dorm GROUP BY gender ORDER BY gender DESC
### Instruction: How many PNC votes did the election before 1996 have? ### Response:
SELECT "Number of PNC votes" FROM table_44645 WHERE "Election" < '1996'
### Instruction: Which County has a Rank larger than 8, and a Player of joe mckenna? ### Response:
SELECT county FROM table_name_29 WHERE rank > 8 AND player = "joe mckenna"
### Instruction: What playoff result happened during the season in which they finished 1st, southern? ### Response:
SELECT "Playoffs" FROM table_17368 WHERE "Reg. Season" = '1st, Southern'
### Instruction: What is the average rank of an athlete that holds a time higher than 53.38? ### Response:
SELECT AVG(rank) FROM table_name_76 WHERE time > 53.38
### Instruction: what is date of birth and religion of subject name jerry deberry? ### Response:
SELECT demographic.dob, demographic.religion FROM demographic WHERE demographic.name = "Jerry Deberry"
### Instruction: What is the location of the opponent Siarhei Navarka? ### Response:
SELECT "Location" FROM table_9748 WHERE "Opponent" = 'siarhei navarka'
### Instruction: Who had the pole position when matt davies had the fastest lap? ### Response:
SELECT "Pole Position" FROM table_30987 WHERE "Fastest Lap" = 'Matt Davies'
### Instruction: Which Intelli Trace has a No Extension and Windows Phone development of no? ### Response:
SELECT intellitrace FROM table_name_10 WHERE extensions = "no" AND windows_phone_development = "no"
### Instruction: what is the vehicle code where the bore is 79.4? ### Response:
SELECT "Vehicle code" FROM table_26303 WHERE "Bore (mm)" = '79.4'
### Instruction: What is the series number for the episode with production code bdf109? ### Response:
SELECT "Series #" FROM table_30224 WHERE "Production code" = 'BDF109'
### Instruction: What is the province for with the stadium capacity of 5100? ### Response:
SELECT province FROM table_27369069_4 WHERE stadium_capacity = 5100
### Instruction: Who was from Great Britain in lane 5? ### Response:
SELECT "Name" FROM table_14937 WHERE "Nationality" = 'great britain' AND "Lane" = '5'
### Instruction: Who is the President of the team that has the Head Coach Mark Wakeling? ### Response:
SELECT "President" FROM table_10446 WHERE "Head Coach" = 'mark wakeling'
### Instruction: What is the highest Week, when Result is W 34-21? ### Response:
SELECT MAX("Week") FROM table_49029 WHERE "Result" = 'w 34-21'
### Instruction: How old is the youngest person for each job Visualize by bar chart, and rank by the X from high to low please. ### Response:
SELECT job, MIN(age) FROM Person GROUP BY job ORDER BY job DESC
### Instruction: what's the result with incumbent being william h. ayres ### Response:
SELECT "Result" FROM table_18485 WHERE "Incumbent" = 'William H. Ayres'
### Instruction: What is the Team 2 with a Team 1 that is milli piyango sk? ### Response:
SELECT team_2 FROM table_name_34 WHERE team_1 = "milli piyango sk"
### Instruction: Create a bar chart showing how many team across team, and I want to rank from low to high by the X-axis please. ### Response:
SELECT Team, COUNT(Team) FROM Elimination GROUP BY Team ORDER BY Team
### Instruction: What Country scored 72-65-73=210? ### Response:
SELECT country FROM table_name_2 WHERE score = 72 - 65 - 73 = 210
### Instruction: Show the names of sponsors of players whose residence is either 'Brandon' or 'Birtle'. ### Response:
SELECT sponsor_name FROM player WHERE residence = "Brandon" OR residence = "Birtle"
### Instruction: what are the ways to consume prochlorperazine maleate? ### Response:
SELECT DISTINCT prescriptions.route FROM prescriptions WHERE prescriptions.drug = 'prochlorperazine maleate'
### Instruction: Which Qual has Laps smaller than 195, and a Rank of 25? ### Response:
SELECT qual FROM table_name_74 WHERE laps < 195 AND rank = "25"
### Instruction: how many patients whose primary disease is abdominal pain? ### Response:
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "ABDOMINAL PAIN"
### Instruction: When fleetwood is the city/town how many sets of population are there? ### Response:
SELECT COUNT("Population") FROM table_25793 WHERE "City/Town" = 'Fleetwood'
### Instruction: How many month names are there for the tenth numbered month? ### Response:
SELECT COUNT(month_name) FROM table_28985631_1 WHERE numbered_month = "Tenth"
### Instruction: Name the winning score for 54 holes of 5 shot deficit ### Response:
SELECT "Winning score" FROM table_39161 WHERE "54 holes" = '5 shot deficit'
### Instruction: Draw a bar chart of first name versus manager_id, and list bar from high to low order. ### Response:
SELECT FIRST_NAME, MANAGER_ID FROM employees ORDER BY FIRST_NAME DESC
### Instruction: What year is the 2004 shake don't stir? ### Response:
SELECT "Year" FROM table_76404 WHERE "2004" = 'shake don''t stir'
### Instruction: Is 510 taken by undergrads ? ### Response:
SELECT DISTINCT advisory_requirement, enforced_requirement, name FROM course WHERE department = 'EECS' AND number = 510
### Instruction: What is the 2007 08 when the event was autumn gold? ### Response:
SELECT 2007 AS _08 FROM table_name_32 WHERE event = "autumn gold"
### Instruction: What is the church made from in Hamburg? ### Response:
SELECT "Held record" FROM table_9410 WHERE "Structural type" = 'church' AND "Town" = 'hamburg'
### Instruction: What is the final standing in 1981 82? ### Response:
SELECT "Final Standing" FROM table_60911 WHERE "Years" = '1981–82'
### Instruction: What was the report in the race where the winning team was Roush Fenway Racing? ### Response:
SELECT "Report" FROM table_24848 WHERE "Team" = 'Roush Fenway Racing'
### Instruction: what is the location when the score is w 105-99? ### Response:
SELECT "Location" FROM table_45657 WHERE "Score" = 'w 105-99'
### Instruction: tell me the time of admission and gender of patient erik dickerson. ### Response:
SELECT demographic.gender, demographic.admittime FROM demographic WHERE demographic.name = "Erik Dickerson"
### Instruction: Which Year is the highest one that has a Record label of supertone melodies? ### Response:
SELECT MAX(year) FROM table_name_69 WHERE record_label = "supertone melodies"
### Instruction: If a team had a percentage of games won recorded as .429, what Championship Game was played? ### Response:
SELECT championship_game FROM table_name_82 WHERE win__percentage = ".429"
### Instruction: Name the candidates for l. mendel rivers ### Response:
SELECT COUNT(candidates) FROM table_1341930_40 WHERE incumbent = "L. Mendel Rivers"
### Instruction: How many times was w. arthur winstead first elected? ### Response:
SELECT COUNT("First elected") FROM table_18547 WHERE "Incumbent" = 'W. Arthur Winstead'
### Instruction: How many runs conceded when the earned runs was 4.96? ### Response:
SELECT runs_conceded FROM table_15700367_6 WHERE er = "4.96"
### Instruction: What Team had 40 Laps in C1 Class? ### Response:
SELECT "Team" FROM table_45654 WHERE "Class" = 'c1' AND "Laps" = '40'
### Instruction: In what Week is the Opponent the New Orleans Saints? ### Response:
SELECT AVG("Week") FROM table_47698 WHERE "Opponent" = 'new orleans saints'
### Instruction: If artist 1 is Wolfgang Gartner, what is the release date? ### Response:
SELECT "Release date" FROM table_2921 WHERE "Artist 1" = 'Wolfgang Gartner'
### Instruction: Which Date has a Game site of shea stadium, and a Week of 5? ### Response:
SELECT date FROM table_name_18 WHERE game_site = "shea stadium" AND week = 5
### Instruction: Who won the Silver the Year Katie Curtis Unknown won the Bronze? ### Response:
SELECT "Silver" FROM table_45059 WHERE "Bronze" = 'katie curtis unknown'
### Instruction: What city was completed in 1910-1978? ### Response:
SELECT "City" FROM table_53460 WHERE "Completion" = '1910-1978'
### Instruction: What is the name of the Tournament with Jade Curtis as the opponent? ### Response:
SELECT "Tournament" FROM table_8602 WHERE "Opponent" = 'jade curtis'
### Instruction: At a latitude of 67.5n, what is the diameter? ### Response:
SELECT diameter__km_ FROM table_16799784_3 WHERE latitude = "67.5N"
### Instruction: What date was the match played where Amy Frazier was the opponent? ### Response:
SELECT "Date" FROM table_5605 WHERE "Opponent in the Final" = 'amy frazier'