instruction
stringlengths
37
754
output
stringlengths
9
3.43k
### Instruction: When the record was 4-4, how many people attended? ### Response:
SELECT "Attendance" FROM table_10563 WHERE "Record" = '4-4'
### Instruction: What was the final score for the match where Hereford United was the home team? ### Response:
SELECT score FROM table_name_57 WHERE home_team = "hereford united"
### Instruction: What award did Andrew Ryder win as producer? ### Response:
SELECT "Award" FROM table_69175 WHERE "Producer(s)" = 'andrew ryder'
### Instruction: What is the Name of the power station with a Capacity of 25 MW? ### Response:
SELECT name FROM table_name_9 WHERE capacity__mw_ = 25
### Instruction: Where was the match held that lasted 3:24? ### Response:
SELECT "Location" FROM table_50244 WHERE "Time" = '3:24'
### Instruction: how many correctional facilities are listed in yerevan ? ### Response:
SELECT COUNT("name") FROM table_204_414 WHERE "location" = 'yerevan'
### Instruction: what year did he only have 1 assisted tackle ? ### Response:
SELECT "year" FROM table_204_957 WHERE "assisted tackles" = 1
### Instruction: what is procedure short title of subject id 42963? ### Response:
SELECT procedures.short_title FROM procedures WHERE procedures.subject_id = "42963"
### Instruction: Which color is the background of the mandatory instructions? ### Response:
SELECT "Background colour" FROM table_57203 WHERE "Type of sign" = 'mandatory instructions'
### Instruction: Name the segment b for s dress form ### Response:
SELECT segment_b FROM table_15187735_10 WHERE segment_a = "s Dress Form"
### Instruction: Which Position has a Game 1 of noel cleal? ### Response:
SELECT "Position" FROM table_5205 WHERE "Game 1" = 'noel cleal'
### Instruction: How many attempts did Charley Johnson have? ### Response:
SELECT COUNT(attempts) FROM table_20906175_3 WHERE name = "Charley Johnson"
### Instruction: What is the RAvg when the ratt is 3? ### Response:
SELECT "RAvg" FROM table_40273 WHERE "RAtt" = '3'
### Instruction: Who directed episode # 92 (4)? ### Response:
SELECT "Directed by" FROM table_57005 WHERE "Episode #" = '92 (4)'
### Instruction: Which English has a Sanskrit of sam dhi? ### Response:
SELECT "English" FROM table_45212 WHERE "Sanskrit" = 'samādhi'
### Instruction: What is the place of the song 'Never Change'? ### Response:
SELECT SUM("Place") FROM table_40447 WHERE "Song" = 'never change'
### Instruction: Who directed the film with the original title of ? ### Response:
SELECT "Director" FROM table_24856 WHERE "Original title" = 'Три летња дана'
### Instruction: What is the Home team of Tie no 40? ### Response:
SELECT "Home team" FROM table_12728 WHERE "Tie no" = '40'
### Instruction: A bar chart shows the distribution of password and gender_mf . ### Response:
SELECT password, gender_mf FROM Course_Authors_and_Tutors ORDER BY personal_name
### Instruction: How many party classifications are there for the senator from Canton? ### Response:
SELECT "Party" FROM table_3471 WHERE "Residence" = 'Canton'
### Instruction: Where was the Ivy League conference tournament? ### Response:
SELECT tournament_venue__city_ FROM table_21091982_3 WHERE conference = "Ivy League"
### Instruction: What term end had minister Danny Ayalon? ### Response:
SELECT "Term end" FROM table_61583 WHERE "Minister" = 'danny ayalon'
### Instruction: What were the high points on june 20? ### Response:
SELECT "High points" FROM table_49769 WHERE "Date" = 'june 20'
### Instruction: What is points diff when points against is 123? ### Response:
SELECT "Points diff" FROM table_46052 WHERE "Points against" = '123'
### Instruction: Who had the highest points on January 2? ### Response:
SELECT high_points FROM table_23274514_6 WHERE date = "January 2"
### Instruction: Name the fsb for atom z540 ### Response:
SELECT "FSB" FROM table_21017 WHERE "Model number" = 'Atom Z540'
### Instruction: Who is the lead of the nation with Juha Pekaristo as the alternate? ### Response:
SELECT lead FROM table_name_46 WHERE alternate = "juha pekaristo"
### Instruction: What was the latest season with 20 contestants? ### Response:
SELECT MAX("Season") FROM table_23487 WHERE "Contestants" = '20'
### Instruction: What's the song of artist liam reilly? ### Response:
SELECT "Song" FROM table_77202 WHERE "Artist" = 'liam reilly'
### Instruction: What is the Government the has the Kadima Party? ### Response:
SELECT "Governments" FROM table_60304 WHERE "Party" = 'kadima'
### Instruction: What is Distance, when Venue is 'Belgrade'? ### Response:
SELECT "Distance" FROM table_60369 WHERE "Venue" = 'belgrade'
### Instruction: What was the result in 2011 for the French Open tournament? ### Response:
SELECT 2011 FROM table_name_16 WHERE tournament = "french open"
### Instruction: In the game where Melbourne was the away team, what did they score? ### Response:
SELECT away_team AS score FROM table_name_67 WHERE away_team = "melbourne"
### Instruction: Return the average age of captains in each class, and rank from low to high by the X. ### Response:
SELECT Class, AVG(age) FROM captain GROUP BY Class ORDER BY Class
### Instruction: How many songs were sung by queen? ### Response:
SELECT COUNT(result) FROM table_15383430_1 WHERE original_artist = "Queen"
### Instruction: Which Thickness has a Weight of 3.50grams? ### Response:
SELECT thickness FROM table_name_3 WHERE weight = "3.50grams"
### Instruction: What is the average points when the drawn is less than 0? ### Response:
SELECT AVG("Points") FROM table_48165 WHERE "Drawn" < '0'
### Instruction: what's the won with points for being 643 ### Response:
SELECT "Won" FROM table_19117 WHERE "Points for" = '643'
### Instruction: What's the mutated of Auvil? ### Response:
SELECT "Mutated From" FROM table_61048 WHERE "Assignee" = 'auvil'
### Instruction: What finals have grant brebner as the name? ### Response:
SELECT "Finals" FROM table_64567 WHERE "Name" = 'grant brebner'
### Instruction: What is the gender of the cunningham hill infant school? ### Response:
SELECT gender FROM table_28523_2 WHERE school = "Cunningham Hill Infant school"
### Instruction: what amount played tried for 60? ### Response:
SELECT COUNT(played) FROM table_12807904_5 WHERE tries_for = "60"
### Instruction: Where did the west indies batting team play at? ### Response:
SELECT "Venue" FROM table_8804 WHERE "Batting team" = 'west indies'
### Instruction: Which Year is the lowest one that has a To par of 1? ### Response:
SELECT MIN(year) FROM table_name_93 WHERE to_par = "–1"
### Instruction: Name the number of families for uk30 ### Response:
SELECT COUNT("Family/families") FROM table_23409 WHERE "No. overall" = 'UK30'
### Instruction: What is the nickname of the University of Alabama? ### Response:
SELECT "Nickname" FROM table_73942 WHERE "School" = 'University of Alabama'
### Instruction: Name the manner of departure for luis enrique ### Response:
SELECT "Manner of departure" FROM table_3824 WHERE "Outgoing manager" = 'Luis Enrique'
### Instruction: name all the winnings that the start appears to be 7 ### Response:
SELECT "Winnings" FROM table_20989 WHERE "Starts" = '7'
### Instruction: At what stadium did the Green Bay Packers play an away game? ### Response:
SELECT stadium FROM table_name_67 WHERE visiting_team = "green bay packers"
### Instruction: What team(s) did they play on april 23? ### Response:
SELECT "Team" FROM table_1624 WHERE "Date" = 'April 23'
### Instruction: What is the top grid that is driven by martin brundle? ### Response:
SELECT MAX(grid) FROM table_name_78 WHERE driver = "martin brundle"
### Instruction: what is the total number of constancy where purity is falling ### Response:
SELECT COUNT("constancy") FROM table_72202 WHERE "purity" = 'falling'
### Instruction: What is the largest crowd for a Melbourne away team? ### Response:
SELECT MAX("Crowd") FROM table_32802 WHERE "Away team" = 'melbourne'
### Instruction: In which category is Frank Scarabino a pilot? ### Response:
SELECT "Category" FROM table_48218 WHERE "Pilot" = 'frank scarabino'
### Instruction: Name the number of colleges for jerome pathon ### Response:
SELECT COUNT("College") FROM table_3978 WHERE "Player" = 'Jerome Pathon'
### Instruction: How many mileposts are there on Anne Street? ### Response:
SELECT COUNT("Milepost") FROM table_16168 WHERE "Street Names" = 'Anne Street'
### Instruction: Name the avg finish for position of 70th ### Response:
SELECT "Avg. Finish" FROM table_2762 WHERE "Position" = '70th'
### Instruction: Which date had the final opponent of Iva Majoli? ### Response:
SELECT date FROM table_name_39 WHERE opponent_in_the_final = "iva majoli"
### Instruction: How many winners had a debut album titled 'mike'? ### Response:
SELECT winner FROM table_1646960_3 WHERE debut_album = "Mike"
### Instruction: In what conflicts was the Italian Navy Combatants B? ### Response:
SELECT "Conflict" FROM table_3685 WHERE "Combatants B" = 'Italian Navy'
### Instruction: What is the Albedo name for Neruda? ### Response:
SELECT "Albedo feature name" FROM table_36682 WHERE "Name" = 'neruda'
### Instruction: what were the total number of titles aired in november ? ### Response:
SELECT COUNT("title") FROM table_203_685 WHERE "original air date" = 11
### Instruction: In which year did he compete in the Universiade? ### Response:
SELECT "Year" FROM table_77018 WHERE "Competition" = 'universiade'
### Instruction: Barry University had a maximum enrollment of what? ### Response:
SELECT MAX("Enrollment") FROM table_17221 WHERE "Institution" = 'Barry University'
### Instruction: What is the casting temperature for a hardness of 22? ### Response:
SELECT casting_at__°c_ FROM table_name_88 WHERE hardness = "22"
### Instruction: What is Director, when Original Title is 'Sah '? ### Response:
SELECT "Director" FROM table_47581 WHERE "Original title" = 'sahə'
### Instruction: Which catalog had a date year of 1984? ### Response:
SELECT "Catalog" FROM table_52775 WHERE "Date" = '1984'
### Instruction: Who was the director for the episode in season #50? ### Response:
SELECT "Directed by" FROM table_20858 WHERE "Series #" = '50'
### Instruction: What NHL team picked richard borgo? ### Response:
SELECT nhl_team FROM table_2897457_2 WHERE player = "Richard Borgo"
### Instruction: What is the team 1 with cementarnica as team 2? ### Response:
SELECT team_1 FROM table_name_20 WHERE team_2 = "cementarnica"
### Instruction: how many big wins does peru state college have ### Response:
SELECT COUNT("National Titles") FROM table_19135 WHERE "School" = 'Peru State College'
### Instruction: What is the smalledt position when the difference was 6? ### Response:
SELECT MIN("Position") FROM table_20040 WHERE "Difference" = '6'
### Instruction: What is the batting style of Makhaya Ntini? ### Response:
SELECT batting_style FROM table_name_85 WHERE player = "makhaya ntini"
### Instruction: Who was the subject for the year of 2007? ### Response:
SELECT "Subject" FROM table_62850 WHERE "Year" = '2007'
### Instruction: Create a bar chart showing the total number across bedtype, and rank bar in asc order please. ### Response:
SELECT bedType, COUNT(*) FROM Rooms GROUP BY bedType ORDER BY bedType
### Instruction: What is the Frequency for Model Number c3 850? ### Response:
SELECT frequency FROM table_name_99 WHERE model_number = "c3 850"
### Instruction: how many songs are listed from 1998 ? ### Response:
SELECT COUNT("album") FROM table_204_244 WHERE "year" = 1998
### Instruction: What university was founded in 1898? ### Response:
SELECT university FROM table_24697604_1 WHERE year_founded = 1898
### Instruction: what is the score when the time is 2:22? ### Response:
SELECT "Score" FROM table_11404 WHERE "Time" = '2:22'
### Instruction: Name the rookie for ryan powell ### Response:
SELECT rookie FROM table_23265433_2 WHERE offensive = "Ryan Powell"
### Instruction: how long was the round for season 2010 ### Response:
SELECT "fa cup" FROM table_204_179 WHERE "season" = 2010
### Instruction: How tall is the building with 36 floors? ### Response:
SELECT height__m_ FROM table_23759976_1 WHERE floors = 36
### Instruction: Who is Essendon's home team? ### Response:
SELECT MIN("Crowd") FROM table_53471 WHERE "Home team" = 'essendon'
### Instruction: Name the rank for thomas morgenstern ### Response:
SELECT rank FROM table_24489942_10 WHERE name = "Thomas Morgenstern"
### Instruction: What is the Chinese name for the English name Andy Lau? ### Response:
SELECT "Chinese name" FROM table_60976 WHERE "English name" = 'andy lau'
### Instruction: Are there PEDDENT courses that are 8 credit ? ### Response:
SELECT DISTINCT name, number FROM course WHERE department = 'PEDDENT' AND credits = 8
### Instruction: What is terry's record when he fights julio paulino? ### Response:
SELECT record FROM table_name_21 WHERE opponent = "julio paulino"
### Instruction: who is the only player to have 3 fl trophies ? ### Response:
SELECT "name" FROM table_204_877 WHERE "fl trophy" = 3
### Instruction: What was the Result at Strathclyde Homes Stadium? ### Response:
SELECT result FROM table_name_59 WHERE venue = "strathclyde homes stadium"
### Instruction: Which track has a title : Just a little bit ### Response:
SELECT MIN("Track") FROM table_52160 WHERE "Song Title" = 'just a little bit'
### Instruction: What drama role does she play in 1973? ### Response:
SELECT role FROM table_name_57 WHERE genre = "drama" AND year = 1973
### Instruction: What is Country, when Player is 'Hale Irwin'? ### Response:
SELECT "Country" FROM table_46660 WHERE "Player" = 'hale irwin'
### Instruction: What Datacenter is listed against the network access connections: rras Feature? ### Response:
SELECT datacenter FROM table_name_85 WHERE features = "network access connections: rras"
### Instruction: Who is the player who had more than 1,052 points? ### Response:
SELECT player FROM table_name_87 WHERE points > 1 OFFSET 052
### Instruction: How many sets were in the 2011 Australian Open Tournament? ### Response:
SELECT 2011 FROM table_name_10 WHERE tournament = "australian open"
### Instruction: How many years does coach Jim Berryman have? ### Response:
SELECT "Years" FROM table_46520 WHERE "Coach" = 'jim berryman'
### Instruction: What was the winning score when Steve Stricker was runner-up? ### Response:
SELECT winning_score FROM table_name_1 WHERE runner_s__up = "steve stricker"
### Instruction: Name the english title for zhang yimou ### Response:
SELECT "English title" FROM table_15467 WHERE "Director" = 'zhang yimou'
### Instruction: What is the number of the pick for round 11? ### Response:
SELECT SUM("Pick") FROM table_77911 WHERE "Round" = '11'
### Instruction: What was the competition on 25/08/07? ### Response:
SELECT competition FROM table_name_52 WHERE date = "25/08/07"