instruction
stringlengths
37
754
output
stringlengths
9
3.43k
### Instruction: what is gender and language of subject name travis hofman? ### Response:
SELECT demographic.gender, demographic.language FROM demographic WHERE demographic.name = "Travis Hofman"
### Instruction: What was the team #1 for the match that had a result of 0-3? ### Response:
SELECT team__number1 FROM table_name_17 WHERE res = "0-3"
### Instruction: How many inputs joined this institution located in Franklin, Indiana? ### Response:
SELECT COUNT(joined) FROM table_255205_1 WHERE location = "Franklin, Indiana"
### Instruction: Where is the team that is managed by richard barnwell from? ### Response:
SELECT "Location" FROM table_29494 WHERE "Manager" = 'Richard Barnwell'
### Instruction: What is the 2012 club of the cf pos. player? ### Response:
SELECT 2012 AS _club FROM table_name_85 WHERE pos = "cf"
### Instruction: Which School/Club Team has a Player of jud buechler? ### Response:
SELECT school_club_team FROM table_name_16 WHERE player = "jud buechler"
### Instruction: Is there a 250 lab ? ### Response:
SELECT COUNT(*) > 0 FROM course WHERE department = 'EECS' AND has_lab = 'Y' AND number = 250
### Instruction: which actor/actress took the most years to complete egot ? ### Response:
SELECT "name" FROM table_204_673 ORDER BY "egot completed" DESC LIMIT 1
### Instruction: Who is team 1 when team 2 is koper? ### Response:
SELECT team_1 FROM table_19294812_2 WHERE team_2 = "Koper"
### Instruction: Name the brighton cast for jerry cruncher ### Response:
SELECT "Brighton Cast" FROM table_1588 WHERE "Character" = 'Jerry Cruncher'
### Instruction: Show each gender code and the corresponding count of guests sorted by the count in descending order. ### Response:
SELECT gender_code, COUNT(*) FROM Guests GROUP BY gender_code ORDER BY COUNT(*) DESC
### Instruction: What is the Pinnacle height for Metcalf, Georgia? ### Response:
SELECT pinnacle_height FROM table_name_17 WHERE town = "metcalf, georgia"
### Instruction: What were the results for the incumbent from Iowa 2 district? ### Response:
SELECT "Results" FROM table_12870 WHERE "District" = 'iowa 2'
### Instruction: In what laguage was Contotv 5? ### Response:
SELECT "Language" FROM table_20386 WHERE "Television service" = 'ContoTV 5'
### Instruction: What is the most number of blocks kendall gill had? ### Response:
SELECT MAX("Blocks") FROM table_25396 WHERE "Player" = 'Kendall Gill'
### Instruction: In which district was the incumbent Dick Saslaw? ### Response:
SELECT "District" FROM table_835 WHERE "Incumbent" = 'Dick Saslaw'
### Instruction: Visualize the relationship between author_id and gender_mf . ### Response:
SELECT author_id, gender_mf FROM Course_Authors_and_Tutors ORDER BY personal_name
### Instruction: Which Conference Semifinals has a Record of 55 27? ### Response:
SELECT conference_semifinals FROM table_name_73 WHERE record = "55–27"
### Instruction: Which Week has an Attendance of 72,855? ### Response:
SELECT MAX(week) FROM table_name_47 WHERE attendance = "72,855"
### Instruction: What is the original air date for episode 15 of season 6? ### Response:
SELECT "Original air date" FROM table_89 WHERE "No. in season" = '15'
### Instruction: What is the name of the Post code district that is in Eden Park? ### Response:
SELECT "Postcodedistrict" FROM table_53502 WHERE "Location" = 'eden park'
### Instruction: what were the total number of times 4th was listed as a result in this chart ? ### Response:
SELECT COUNT(*) FROM table_203_300 WHERE "result" = 4
### Instruction: Bar chart x axis type y axis total number of enrollment, rank by the X in desc. ### Response:
SELECT Type, SUM(Enrollment) FROM Institution GROUP BY Type ORDER BY Type DESC
### Instruction: What is the away team where the home team is Coventry City? ### Response:
SELECT "Away team" FROM table_41718 WHERE "Home team" = 'coventry city'
### Instruction: What is the 2012 population of Indonesia? ### Response:
SELECT population_2012_ FROM table_28741_1 WHERE country = "Indonesia"
### Instruction: Who was the visiting team at the matchup at the RCA Dome? ### Response:
SELECT visiting_team FROM table_name_99 WHERE stadium = "rca dome"
### Instruction: WHich Facility ID has a Call sign of wnpr? ### Response:
SELECT AVG(facility_id) FROM table_name_64 WHERE call_sign = "wnpr"
### Instruction: What Willinghshain has Reimboldsh of 101? ### Response:
SELECT willingshain FROM table_name_27 WHERE reimboldsh = "101"
### Instruction: What is the year when the course is sunset ridge cc? ### Response:
SELECT SUM("Year") FROM table_9045 WHERE "Course" = 'sunset ridge cc'
### Instruction: What is HDTV, when Television Service is MTV Rocks? ### Response:
SELECT "HDTV" FROM table_41067 WHERE "Television service" = 'mtv rocks'
### Instruction: Which opponents are on the date July 22? ### Response:
SELECT "Opponent" FROM table_26188 WHERE "Date" = 'July 22'
### Instruction: Name the % of popular vote for election for 1926 ### Response:
SELECT "% of popular vote" FROM table_2158 WHERE "Election" = '1926'
### Instruction: Which District has a Republican of dan mansell? ### Response:
SELECT AVG("District") FROM table_37321 WHERE "Republican" = 'dan mansell'
### Instruction: When was the first elected for district missouri 7? ### Response:
SELECT MIN("First elected") FROM table_18323 WHERE "District" = 'Missouri 7'
### Instruction: which area has the largest number of stations serving it ? ### Response:
SELECT "area served" FROM table_204_12 GROUP BY "area served" ORDER BY COUNT(*) DESC LIMIT 1
### Instruction: When the away team was Carlton, who was the home team? ### Response:
SELECT "Home team" FROM table_20758 WHERE "Away team" = 'Carlton'
### Instruction: Which Crew has Comments of daggerboards. design: roy seaman? ### Response:
SELECT crew FROM table_name_49 WHERE comments = "daggerboards. design: roy seaman"
### Instruction: What opponent has a loss of Trachsel (10-11)? ### Response:
SELECT opponent FROM table_name_12 WHERE loss = "trachsel (10-11)"
### Instruction: what is procedure icd9 code of subject id 3343? ### Response:
SELECT procedures.icd9_code FROM procedures WHERE procedures.subject_id = "3343"
### Instruction: Which Thickness has a Year of Issue smaller than 1983? ### Response:
SELECT thickness FROM table_name_35 WHERE year_of_issue < 1983
### Instruction: What is the Continent that also has the United States listed as a country? ### Response:
SELECT "Continent" FROM table_44131 WHERE "Country" = 'united states'
### Instruction: What is the number of the division for the 1st round? ### Response:
SELECT COUNT("Division") FROM table_16110 WHERE "Open Cup" = '1st Round'
### Instruction: Valmir Benavides won pole position at which circuit? ### Response:
SELECT circuit FROM table_29361707_2 WHERE pole_position = "Valmir Benavides"
### Instruction: what record label appears the most on the chart ? ### Response:
SELECT "record label" FROM table_203_686 GROUP BY "record label" ORDER BY COUNT(*) DESC LIMIT 1
### Instruction: How many districts featured the democrat nicholas von stein? ### Response:
SELECT COUNT(district) FROM table_name_57 WHERE democratic = "nicholas von stein"
### Instruction: In what venue did the Boston Red Sox play in? ### Response:
SELECT "Venue" FROM table_35750 WHERE "Team" = 'boston red sox'
### Instruction: what is the somerset for the year 2009? ### Response:
SELECT "Somerset" FROM table_72257 WHERE "Year" = '2009'
### Instruction: What date did series number 32 premiere? ### Response:
SELECT original_air_date FROM table_2667438_5 WHERE no_in_series = 32
### Instruction: Which date has time (GMT) of 23:34? ### Response:
SELECT date FROM table_name_45 WHERE time___gmt__ = "23:34"
### Instruction: How many people did Mayor Olav Martin Vik preside over? ### Response:
SELECT AVG(innhabitants) FROM table_name_87 WHERE mayor = "olav martin vik"
### Instruction: Which week had an attendance of 70,225 ### Response:
SELECT MIN(week) FROM table_name_27 WHERE attendance = "70,225"
### Instruction: Where did he finish when he started at 21.6? ### Response:
SELECT COUNT("Finish") FROM table_28745 WHERE "Start" = '21.6'
### Instruction: What was the total tenure time with a rank of 49? ### Response:
SELECT total_tenure_time FROM table_name_3 WHERE total_tenure_rank = 49
### Instruction: What team in France had 15 UCi points? ### Response:
SELECT team FROM table_name_81 WHERE country = "france" AND uci_points = "15"
### Instruction: What team had the record asscoiated with the 9th inning? ### Response:
SELECT "Team" FROM table_35749 WHERE "Inn." = '9th'
### Instruction: what's the country with es mulatto being 3.5% ### Response:
SELECT "Country" FROM table_18061 WHERE "es Mulatto" = '3.5%'
### Instruction: How many divisions were listed in 2006? ### Response:
SELECT COUNT(division) FROM table_1243601_1 WHERE year = "2006"
### Instruction: What is the Part 3 when the Verb meaning is to gather? ### Response:
SELECT "Part 3" FROM table_46612 WHERE "Verb meaning" = 'to gather'
### Instruction: Which is the method under the event Jungle Fight 2? ### Response:
SELECT "Method" FROM table_67716 WHERE "Event" = 'jungle fight 2'
### Instruction: Name the current club for player sacha giffa ### Response:
SELECT "Current Club" FROM table_17886 WHERE "Player" = 'Sacha Giffa'
### Instruction: How many club teams had more than 14 people? ### Response:
SELECT "Club team(s)" FROM table_66814 WHERE "Team Number" > '14'
### Instruction: how many years did budivelnyk not win ? ### Response:
SELECT COUNT("year") FROM table_204_874 WHERE "winner" <> 'budivelnyk'
### Instruction: What is the best finish where the scoring rank is 97? ### Response:
SELECT "Best finish" FROM table_1253 WHERE "Scoring rank" = '97'
### Instruction: What was the result in the game broadcast on the Big East Network? ### Response:
SELECT result FROM table_26842217_12 WHERE broadcast = "Big East Network"
### Instruction: Which venue hosted South Melbourne as an away team? ### Response:
SELECT "Venue" FROM table_54919 WHERE "Away team" = 'south melbourne'
### Instruction: WHAT IS THE DEVICE WITH MTS MOBILITY? ### Response:
SELECT "Device" FROM table_62089 WHERE "Carrier" = 'mts mobility'
### Instruction: What opponents played Waldstadion in a game? ### Response:
SELECT "Opponent" FROM table_27233 WHERE "Game site" = 'Waldstadion'
### Instruction: For each competition, count the number of matches, I want to display in asc by the X-axis. ### Response:
SELECT Competition, COUNT(*) FROM match GROUP BY Competition ORDER BY Competition
### Instruction: How many times is the points 8 and the place larger than 8? ### Response:
SELECT COUNT(draw) FROM table_name_65 WHERE points = 8 AND place > 8
### Instruction: What's the post position when the lengths behind is 0? ### Response:
SELECT AVG(post_position) FROM table_name_74 WHERE lengths_behind = "0"
### Instruction: Overall pick 240 was a pick in which round? ### Response:
SELECT "Round" FROM table_16060 WHERE "Overall" = '240'
### Instruction: Name the total number of scores for 7x10 ### Response:
SELECT COUNT("Scores") FROM table_25938 WHERE "Episode" = '7x10'
### Instruction: Who is the Director of the Olsen Gang Sees Red? ### Response:
SELECT director FROM table_name_11 WHERE english_title = "the olsen gang sees red"
### Instruction: Who was the supporting actress in 1943? ### Response:
SELECT "Supporting Actress" FROM table_73644 WHERE "Year" = '1943'
### Instruction: What is the number of podiums with 0 wins and 6 points? ### Response:
SELECT podiums FROM table_name_16 WHERE wins = "0" AND points = "6"
### Instruction: For which tie was Scunthorpe United the away team? ### Response:
SELECT tie_no FROM table_name_5 WHERE away_team = "scunthorpe united"
### Instruction: What is the most recent year with a finish in 2nd position? ### Response:
SELECT MAX("Season") FROM table_49030 WHERE "Position" = '2nd'
### Instruction: What was the average attendance when Chicago Bears were the home team? ### Response:
SELECT AVG(attendance) FROM table_name_22 WHERE home = "chicago bears"
### Instruction: Who made the car that won the race on May 21? ### Response:
SELECT manufacturer FROM table_2241841_1 WHERE date = "May 21"
### Instruction: What is the largest crowd for a Home team of carlton? ### Response:
SELECT MAX(crowd) FROM table_name_96 WHERE home_team = "carlton"
### Instruction: What is the sum of wins for teams with against under 1067? ### Response:
SELECT SUM(wins) FROM table_name_16 WHERE against < 1067
### Instruction: List the presbyterian members of the senate. ### Response:
SELECT "Senator" FROM table_2346 WHERE "Religion" = 'Presbyterian'
### Instruction: How many rebounds did Rhonda Mapp make? ### Response:
SELECT MAX("Rebounds") FROM table_23191 WHERE "Player" = 'Rhonda Mapp'
### Instruction: If the varsity team is 6, what is the location? ### Response:
SELECT location FROM table_22319599_1 WHERE varsity_teams = 6
### Instruction: Which campus was opened between 1935 and 1939? ### Response:
SELECT campus FROM campuses WHERE year >= 1935 AND year <= 1939
### Instruction: What was the record of the match against Chris Mounce? ### Response:
SELECT "Record" FROM table_48018 WHERE "Opponent" = 'chris mounce'
### Instruction: Which Away team score has a Home team of richmond? ### Response:
SELECT "Away team score" FROM table_56136 WHERE "Home team" = 'richmond'
### Instruction: How many goals Olimpia recorded for 32 matches? ### Response:
SELECT COUNT("Goals Olimpia") FROM table_18908 WHERE "Matches" = '32'
### Instruction: Can you tell me the average Weight that has Height of 6-9? ### Response:
SELECT AVG(weight) FROM table_name_69 WHERE height = "6-9"
### Instruction: What tournament has a year prior to 2001? ### Response:
SELECT "Tournament" FROM table_35925 WHERE "Year" < '2001'
### Instruction: Name the away team score for carlton ### Response:
SELECT away_team AS score FROM table_16388439_3 WHERE home_team = "Carlton"
### Instruction: What was the score of the game with the Broadview Hawks as the home team? ### Response:
SELECT score FROM table_name_97 WHERE home = "broadview hawks"
### Instruction: How many bronze medals for the nation with less than 1 total? ### Response:
SELECT MAX("Bronze") FROM table_57826 WHERE "Total" < '1'
### Instruction: One2one is the shirt sponsor for the captain of what team? ### Response:
SELECT captain FROM table_name_79 WHERE shirt_sponsor = "one2one"
### Instruction: Who is the Winner for the City of Loutraki? ### Response:
SELECT "Winner" FROM table_71050 WHERE "City" = 'loutraki'
### Instruction: What club is associated with draft number 155? ### Response:
SELECT nhl_team FROM table_2679061_8 WHERE pick__number = 155
### Instruction: What was the score of the match on 11/2/01? ### Response:
SELECT score FROM table_name_94 WHERE date = "11/2/01"
### Instruction: What is Class, when Part 2 is 'bl tu'? ### Response:
SELECT "Class" FROM table_48529 WHERE "Part 3" = 'blétu'
### Instruction: When did a Position of 21st (q) happen? ### Response:
SELECT "Year" FROM table_15496 WHERE "Position" = '21st (q)'
### Instruction: What was the date of the game where the record was 4-4? ### Response:
SELECT "Date" FROM table_49736 WHERE "Record" = '4-4'