instruction
stringlengths
37
754
output
stringlengths
9
3.43k
### Instruction: Loss of lyon (5-4) had what score? ### Response:
SELECT "Score" FROM table_33882 WHERE "Loss" = 'lyon (5-4)'
### Instruction: What team was the winner when the result was 90 86? ### Response:
SELECT "Winner" FROM table_6904 WHERE "Result" = '90–86'
### Instruction: What's the name of the award that Edward Jeffreys was the writer? ### Response:
SELECT award FROM table_name_64 WHERE writer_s_ = "edward jeffreys"
### Instruction: What is the biggest number of the team who's owned by Jeff Gordon? ### Response:
SELECT MAX("#") FROM table_17739 WHERE "Owner(s)" = 'Jeff Gordon'
### Instruction: Who was the Manufacturer for the Rider Colin Edwards? ### Response:
SELECT "Manufacturer" FROM table_48051 WHERE "Rider" = 'colin edwards'
### Instruction: Which 2nd Member has a 1st Party of liberal? ### Response:
SELECT "2nd Member" FROM table_12840 WHERE "1st Party" = 'liberal'
### Instruction: What number pick was the player with the hometown school of concordia college? ### Response:
SELECT pick FROM table_name_96 WHERE hometown_school = "concordia college"
### Instruction: What Title's Start of Reign is 1993? ### Response:
SELECT "Title" FROM table_7484 WHERE "Start of Reign" = '1993'
### Instruction: Who was the home team in the game where North Melbourne was the away team? ### Response:
SELECT home_team AS score FROM table_name_25 WHERE away_team = "north melbourne"
### Instruction: What is the type of disc by Logistics after 2004? ### Response:
SELECT type FROM table_name_95 WHERE year > 2004 AND artist = "logistics"
### Instruction: What is the average lane that is called rebecca brown? ### Response:
SELECT AVG("Lane") FROM table_14394 WHERE "Name" = 'rebecca brown'
### Instruction: Name the total number of grupo capitol valladolid ### Response:
SELECT COUNT("No") FROM table_17882 WHERE "Current Club" = 'Grupo Capitol Valladolid'
### Instruction: Which Opponent has a Score of 2 6? ### Response:
SELECT "Opponent" FROM table_39533 WHERE "Score" = '2–6'
### Instruction: What years had 134 orbital flights? ### Response:
SELECT "Years" FROM table_21994 WHERE "Flights" = '134 Orbital'
### Instruction: The Rainbow District School Board is associated with what type? ### Response:
SELECT type FROM table_1506619_1 WHERE school_board = "Rainbow District school_board"
### Instruction: What GSR class is associated with a 0-4-2t type? ### Response:
SELECT gsr_class FROM table_name_49 WHERE type = "0-4-2t"
### Instruction: What is the score of the match with the sydney roosters as the opponent? ### Response:
SELECT score FROM table_name_83 WHERE opponent = "sydney roosters"
### Instruction: how many total points did scotland score in friendly competitions ? ### Response:
SELECT SUM("score") FROM table_203_590 WHERE "competition" = 'friendly'
### Instruction: Which Venue has a Competition of venice marathon? ### Response:
SELECT "Venue" FROM table_42034 WHERE "Competition" = 'venice marathon'
### Instruction: What is the relationship between Team_ID and School_ID , and group by attribute All_Road? ### Response:
SELECT Team_ID, School_ID FROM basketball_match GROUP BY All_Road
### Instruction: Which Finals have a Pre-Season larger than 0? ### Response:
SELECT MIN("Finals") FROM table_64042 WHERE "Pre-Season" > '0'
### Instruction: what is age and insurance of subject name hector blair? ### Response:
SELECT demographic.age, demographic.insurance FROM demographic WHERE demographic.name = "Hector Blair"
### Instruction: What is the average rating for right-footed players and left-footed players? ### Response:
SELECT preferred_foot, AVG(overall_rating) FROM player_attributes GROUP BY preferred_foot
### Instruction: What Album has a Year that's larger than 2001? ### Response:
SELECT "Album" FROM table_35571 WHERE "Year" > '2001'
### Instruction: What is Tennis, when School Year is 2004-05? ### Response:
SELECT tennis FROM table_name_29 WHERE school_year = "2004-05"
### Instruction: What was Barreto's song choice when the theme was samba? ### Response:
SELECT "Song Choice" FROM table_29652 WHERE "Theme" = 'Samba'
### Instruction: How many results were there for the Stan Fox Stakes race? ### Response:
SELECT COUNT(result) FROM table_1360997_2 WHERE race = "Stan Fox Stakes"
### Instruction: If the writer is Mark Fink, who is the director? ### Response:
SELECT directed_by FROM table_25277262_2 WHERE written_by = "Mark Fink"
### Instruction: What was the date of the game with a loss of Wakefield (5-2)? ### Response:
SELECT date FROM table_name_26 WHERE loss = "wakefield (5-2)"
### Instruction: What is the Main span of the Qincaobei Bridge ### Response:
SELECT "Main span feet" FROM table_42135 WHERE "Name" = 'qincaobei bridge'
### Instruction: What is the maximum 2010 value for China? ### Response:
SELECT MAX("2010") FROM table_31524 WHERE "Economy" = 'China'
### Instruction: Who had the high assist total on january 8? ### Response:
SELECT high_assists FROM table_27734286_7 WHERE date = "January 8"
### Instruction: How long were Ray Bradbury and his wife married? ### Response:
SELECT length_of_marriage FROM table_24143253_4 WHERE name = "Ray Bradbury"
### Instruction: how many competitors scored above 5,000 points ? ### Response:
SELECT COUNT("athlete") FROM table_204_731 WHERE "total" > 5000
### Instruction: what was the last year of the television scores in the genre category ? ### Response:
SELECT MAX("date") FROM table_203_765 WHERE "genre" = 'television scores'
### Instruction: A bar chart showing the number of first name for all female students. Their sex is F. ### Response:
SELECT Fname, COUNT(Fname) FROM Student WHERE Sex = 'F' GROUP BY Fname
### Instruction: What is the accreditation level of the network brand Movistar? ### Response:
SELECT accreditation_level FROM table_name_76 WHERE network_brand_name = "movistar"
### Instruction: What year finished with Daniel Zueras as the runner-up? ### Response:
SELECT COUNT("Year") FROM table_16810 WHERE "Runner-up" = 'Daniel Zueras'
### Instruction: how many seasons did kevin gall play for yeovil town ? ### Response:
SELECT COUNT("season") FROM table_202_295 WHERE "club" = 'yeovil town'
### Instruction: how many riders on the surf 's up ? ### Response:
SELECT "riders" FROM table_203_873 WHERE "model name" = "surf's up"
### Instruction: What is the institution that was located is circleville, ohio? ### Response:
SELECT "Institution" FROM table_73632 WHERE "Location" = 'Circleville, Ohio'
### Instruction: What did the away team score at Junction oval? ### Response:
SELECT "Away team score" FROM table_55956 WHERE "Venue" = 'junction oval'
### Instruction: what is the number of league goals billy sharp made ? ### Response:
SELECT "league\ngoals" FROM table_204_27 WHERE "name" = 'billy sharp'
### Instruction: Which Game is the highest one that has a Score of 3 2? ### Response:
SELECT MAX("Game") FROM table_35036 WHERE "Score" = '3–2'
### Instruction: Name the opponent on november 22, 1942 ### Response:
SELECT opponent FROM table_name_6 WHERE date = "november 22, 1942"
### Instruction: which person has led the conference the most ? ### Response:
SELECT "name of president" FROM table_204_278 GROUP BY "name of president" ORDER BY COUNT(*) DESC LIMIT 1
### Instruction: what is gender and language of subject name stephanie suchan? ### Response:
SELECT demographic.gender, demographic.language FROM demographic WHERE demographic.name = "Stephanie Suchan"
### Instruction: What is the only type of university that was founded in 1873? ### Response:
SELECT "Control" FROM table_2318 WHERE "Founded" = '1873'
### Instruction: How many fourth places were there in 2003? ### Response:
SELECT COUNT("Fourth place") FROM table_16812 WHERE "Year" = '2003'
### Instruction: What is the lowest earnings for a player with over 24 wins? ### Response:
SELECT MIN(earnings__) AS $__ FROM table_name_65 WHERE wins > 24
### Instruction: How many episodes were portrayed by Nick Jonas? ### Response:
SELECT COUNT(_number_of_episodes) FROM table_name_81 WHERE portrayed_by = "nick jonas"
### Instruction: Name the home for 16 april 2008 ### Response:
SELECT "Home" FROM table_54694 WHERE "Date" = '16 april 2008'
### Instruction: what is the mascot of st. paul's school? ### Response:
SELECT mascot FROM table_2439728_1 WHERE school = "St. Paul's school"
### Instruction: What is Mark, when Name is Dmytro Hlushchenko? ### Response:
SELECT mark FROM table_name_19 WHERE name = "dmytro hlushchenko"
### Instruction: What event did Diego Saraiva fight jorge gurgel? ### Response:
SELECT "Event" FROM table_9085 WHERE "Opponent" = 'jorge gurgel'
### Instruction: Where was the game played when the team's record was 1-3? ### Response:
SELECT "Game site" FROM table_16807 WHERE "Record" = '1-3'
### Instruction: When was the game with the loss of Moore (0-1)? ### Response:
SELECT "Date" FROM table_79751 WHERE "Loss" = 'moore (0-1)'
### Instruction: How many opponents did the team play in week 13? ### Response:
SELECT COUNT(opponents) FROM table_16677874_2 WHERE game = 13
### Instruction: What was the winning team lmpc in rnd 3? ### Response:
SELECT "LMPC Winning Team" FROM table_26505 WHERE "Rnd" = '3'
### Instruction: On January 29, who had the decision of Mason? ### Response:
SELECT visitor FROM table_name_17 WHERE decision = "mason" AND date = "january 29"
### Instruction: Who was the opponent at the Staples Center? ### Response:
SELECT "Opponent" FROM table_51557 WHERE "Arena" = 'staples center'
### Instruction: A bar chart showing the number of last name for all female students. Their sex is F. ### Response:
SELECT LName, COUNT(LName) FROM Student WHERE Sex = 'F' GROUP BY LName
### Instruction: What was the outcome for Jan Pisecky and his partner? ### Response:
SELECT "Outcome" FROM table_42987 WHERE "Partner" = 'jan pisecky'
### Instruction: What is the production number of 'rain of terror'? ### Response:
SELECT MIN("Production No.") FROM table_18952 WHERE "Title" = 'Rain of Terror'
### Instruction: Tell me the lowest silver for rank of 9 and bronze less than 2 ### Response:
SELECT MIN(silver) FROM table_name_26 WHERE rank = 9 AND bronze < 2
### Instruction: What is the total number of Premier, when Second is '55'? ### Response:
SELECT COUNT("Premier") FROM table_61388 WHERE "Second" = '55'
### Instruction: What is the date of the Last Performance of Billy Elliot with a Cast Status of past replacement? ### Response:
SELECT last_performance FROM table_name_46 WHERE status = "past replacement"
### Instruction: What political party for burton e. sweet? ### Response:
SELECT "Party" FROM table_72437 WHERE "Incumbent" = 'Burton E. Sweet'
### Instruction: List the total number of records from Lambeau Field. ### Response:
SELECT COUNT(record) FROM table_14477002_1 WHERE location = "Lambeau Field"
### Instruction: When the total points are 22 how many total touchdowns have been made? ### Response:
SELECT "Touchdowns" FROM table_1038 WHERE "Points" = '22'
### Instruction: On what date did the episode 'Petra-Gate' air? ### Response:
SELECT "Airdate" FROM table_10622 WHERE "Title" = 'petra-gate'
### Instruction: On what frequency does W233AG broadcast? ### Response:
SELECT COUNT(frequency_mhz) FROM table_name_95 WHERE call_sign = "w233ag"
### Instruction: How many faculty members have 20 years of experience? ### Response:
SELECT COUNT(designation) FROM table_17384764_1 WHERE experience = "20 years"
### Instruction: What is the DuBose Porter with Roy Barnes at 54%? ### Response:
SELECT dubose_porter FROM table_name_16 WHERE roy_barnes = "54%"
### Instruction: Which dance style had a draw smaller than 15 and 18 points? ### Response:
SELECT dance_styles FROM table_name_54 WHERE draw < 15 AND points = 18
### Instruction: Find the brand and name for each camera lens, and sort in descending order of maximum aperture. ### Response:
SELECT brand, name FROM camera_lens ORDER BY max_aperture DESC
### Instruction: what is the district where the incumbent is richard kelly? ### Response:
SELECT district FROM table_1341672_10 WHERE incumbent = "Richard Kelly"
### Instruction: Find +1 comments ordered by length. ### Response:
SELECT Id AS "comment_link" FROM Comments WHERE Text LIKE '+1%' ORDER BY LENGTH(Text) LIMIT 100
### Instruction: when was the first friendly competition ? ### Response:
SELECT "date" FROM table_204_346 WHERE "competition" = 'friendly' ORDER BY "date" LIMIT 1
### Instruction: On what date was the game against San Diego Chargers played? ### Response:
SELECT date FROM table_13258851_2 WHERE opponent = "San Diego Chargers"
### Instruction: how many countries in the provided table came in 4th place ? ### Response:
SELECT COUNT("nation") FROM table_203_586 WHERE "place in qt" = 4
### Instruction: What was the result when competing in the Opening NIght Film category? ### Response:
SELECT "Result" FROM table_31284 WHERE "Category" = 'Opening Night Film'
### Instruction: Who was the Worship Leader for the song that was 7:05 long? ### Response:
SELECT worship_leader FROM table_name_17 WHERE time = "7:05"
### Instruction: What is the Attendance at the Hereford United Away game? ### Response:
SELECT "Attendance" FROM table_61882 WHERE "Away team" = 'hereford united'
### Instruction: When indianapolis, indiana is the location what is the institution? ### Response:
SELECT institution FROM table_28211213_2 WHERE location = "Indianapolis, Indiana"
### Instruction: With chem-s as the dative, what is the ergative? ### Response:
SELECT "Ergative" FROM table_50520 WHERE "Dative" = 'chem-s'
### Instruction: Which artist sang the song that ingela hemming wrote? ### Response:
SELECT "Artist" FROM table_2915 WHERE "Songwriter(s)" = 'Ingela Hemming'
### Instruction: What is the league name that has a Games listing of 10? ### Response:
SELECT "LEAGUE" FROM table_13926 WHERE "GAMES" = '10'
### Instruction: What is the lowest Draws, when Byes is less than 2? ### Response:
SELECT MIN("Draws") FROM table_61147 WHERE "Byes" < '2'
### Instruction: What Date had a Partner of urszula radwa ska? ### Response:
SELECT "Date" FROM table_6702 WHERE "Partner" = 'urszula radwańska'
### Instruction: On what date did they have a record of 12-17? ### Response:
SELECT "Date" FROM table_15731 WHERE "Record" = '12-17'
### Instruction: what is the base when the play is thesmophoriazusae? ### Response:
SELECT base FROM table_name_67 WHERE play = "thesmophoriazusae"
### Instruction: Name the total number of division for fa cups being 9 ### Response:
SELECT COUNT(division) FROM table_2979789_1 WHERE fa_cup_apps = 9
### Instruction: How many statuses are listed for the parish officially named Gagetown? ### Response:
SELECT COUNT("Status") FROM table_21377 WHERE "Official Name" = 'Gagetown'
### Instruction: What finish qualified at 141.071? ### Response:
SELECT "Finish" FROM table_80181 WHERE "Qual" = '141.071'
### Instruction: which recored album is listed before february 1984 ? ### Response:
SELECT "album" FROM table_203_686 WHERE "release date" < 1984
### Instruction: What is the average number for the song 'O Sudha'? ### Response:
SELECT AVG("Number") FROM table_66366 WHERE "Song Title" = 'o sudha'
### Instruction: what is the most recent date founded in elk county? ### Response:
SELECT MAX("Date founded") FROM table_57008 WHERE "County or counties" = 'elk county'
### Instruction: What was Eric Dickerson's longest run? ### Response:
SELECT COUNT(longest_run) FROM table_11157122_5 WHERE player = "Eric Dickerson"
### Instruction: Who did the Jets play in their post-week 15 game? ### Response:
SELECT "Opponent" FROM table_77531 WHERE "Week" > '15'