instruction
stringlengths
37
754
output
stringlengths
9
3.43k
### Instruction: Name the college/junior/club team for left wing ### Response:
SELECT college_junior_club_team FROM table_1473672_8 WHERE position = "Left Wing"
### Instruction: What game site had a result at l 21 13? ### Response:
SELECT "Game site" FROM table_34097 WHERE "Result" = 'l 21–13'
### Instruction: What is the score of the match with deportes savio as the away team? ### Response:
SELECT "Score" FROM table_47333 WHERE "Away" = 'deportes savio'
### Instruction: What is the League a for 1908 1928? ### Response:
SELECT league_a FROM table_name_30 WHERE years = "1908–1928"
### Instruction: What is the current tournament name for the event in Tampa? ### Response:
SELECT also_currently_known_as FROM table_20630462_1 WHERE tournament = "Tampa"
### Instruction: When is the sankrit how many western names are there? ### Response:
SELECT COUNT(western_name) FROM table_186462_1 WHERE sanskrit = "धनुष"
### Instruction: How many pole positions were there for the 2011 season? ### Response:
SELECT MAX(poles) FROM table_24330803_1 WHERE season = 2011
### Instruction: What Time has a Show Name of mornings with neil mitchell? ### Response:
SELECT time FROM table_name_15 WHERE show_name = "mornings with neil mitchell"
### Instruction: Name the Place which has To par of 5, in united states? ### Response:
SELECT place FROM table_name_95 WHERE country = "united states" AND to_par = "–5"
### Instruction: What is the away team of the match with a 356 attendance? ### Response:
SELECT "Away team" FROM table_79044 WHERE "Attendance" = '356'
### Instruction: What is Method, when Event is 'Reality Submission Fighting 2'? ### Response:
SELECT "Method" FROM table_9103 WHERE "Event" = 'reality submission fighting 2'
### Instruction: what is age and insurance of subject name jerry deberry? ### Response:
SELECT demographic.age, demographic.insurance FROM demographic WHERE demographic.name = "Jerry Deberry"
### Instruction: what's the location attendance where record is 14 39 ### Response:
SELECT "Location Attendance" FROM table_17356 WHERE "Record" = '14–39'
### Instruction: What is Date, when Venue is 'Weserstadion , Bremen'? ### Response:
SELECT date FROM table_name_32 WHERE venue = "weserstadion , bremen"
### Instruction: How many years was the issue price $19.95? ### Response:
SELECT COUNT(year_of_issue) FROM table_name_52 WHERE issue_price = "$19.95"
### Instruction: Which Circuit has a Winning driver of scott pruett? ### Response:
SELECT "Circuit" FROM table_49885 WHERE "Winning driver" = 'scott pruett'
### Instruction: What is the date deng (20) had high points? ### Response:
SELECT date FROM table_11960610_10 WHERE high_points = "Deng (20)"
### Instruction: Show me the proportion of each payment method code using a pie chart. ### Response:
SELECT Payment_Method_Code, COUNT(Payment_Method_Code) FROM Payments GROUP BY Payment_Method_Code
### Instruction: What game allow the 1980s to be exportable? ### Response:
SELECT exportable FROM table_14160327_4 WHERE decade = "1980s"
### Instruction: what's the preliminaries where state is south dakota ### Response:
SELECT preliminaries FROM table_12094609_1 WHERE state = "South Dakota"
### Instruction: What was the original air date of the episode written by amanda segel? ### Response:
SELECT "Original air date" FROM table_3452 WHERE "Written by" = 'Amanda Segel'
### Instruction: What squad plays at comunale in darfo boario terme? ### Response:
SELECT name FROM table_name_40 WHERE home_venue = "comunale" AND city = "darfo boario terme"
### Instruction: What method has a round less than 3, and 3:36 as the time? ### Response:
SELECT method FROM table_name_5 WHERE round < 3 AND time = "3:36"
### Instruction: How many are listed under ### Response:
SELECT COUNT(peak) FROM table_10942714_1 WHERE chinese_title = "潮爆大狀"
### Instruction: what is the maximum first elected with district being alabama 5 ### Response:
SELECT MAX(first_elected) FROM table_1342270_3 WHERE district = "Alabama 5"
### Instruction: what is the only role she played with broadcaster itv2 ? ### Response:
SELECT "character" FROM table_204_903 WHERE "broadcaster" = 'itv2'
### Instruction: What Location has Years Member of 1963 1968? ### Response:
SELECT location FROM table_name_24 WHERE years_member = "1963–1968"
### Instruction: How much Money( )australia has ? ### Response:
SELECT "Money ( \u00a3 )" FROM table_63609 WHERE "Country" = 'australia'
### Instruction: who is the voice actor with the birthday march 26? ### Response:
SELECT voice_actor FROM table_26615633_1 WHERE birthday = "March 26"
### Instruction: What was the smallest crowd at a game when Richmond was the away team? ### Response:
SELECT MIN("Crowd") FROM table_56096 WHERE "Away team" = 'richmond'
### Instruction: What are all the results where Robert Bauman is the incumbent politician? ### Response:
SELECT "Result" FROM table_18358 WHERE "Incumbent" = 'Robert Bauman'
### Instruction: When the home team was fitzroy, what did the away team score? ### Response:
SELECT "Away team score" FROM table_77741 WHERE "Home team" = 'fitzroy'
### Instruction: Who is the teleplay by when the director is Rob Bailey? ### Response:
SELECT teleplay_by FROM table_14346950_1 WHERE directed_by = "Rob Bailey"
### Instruction: How many Pole Positions were there on 30 March? ### Response:
SELECT COUNT(pole_position) FROM table_25213146_2 WHERE date = "30 March"
### Instruction: what is the properties of sodium when potassium is lii (1.5)? ### Response:
SELECT sodium FROM table_name_66 WHERE potassium = "lii (1.5)"
### Instruction: What is every reason for change for the Washington 3rd District? ### Response:
SELECT reason_for_change FROM table_2159571_2 WHERE district = "Washington 3rd"
### Instruction: What is the result of the fight that had a tko (low kicks)? ### Response:
SELECT "Result" FROM table_52144 WHERE "Method" = 'tko (low kicks)'
### Instruction: Which party is tobias a. plants the incumbent? ### Response:
SELECT "Party" FROM table_5537 WHERE "Incumbent" = 'tobias a. plants'
### Instruction: Who was the women's singles champion in 1984? ### Response:
SELECT "Women's singles" FROM table_77863 WHERE "Year" = '1984'
### Instruction: Name the manner of departure for elvio selighini ### Response:
SELECT "Manner of departure" FROM table_1642 WHERE "Replaced by" = 'Elvio Selighini'
### Instruction: What was the win for 4 matches with a success rate of 25%? ### Response:
SELECT wins FROM table_name_70 WHERE matches = "4" AND success_rate = "25%"
### Instruction: Which Congress has a # of cosponsors of 19? ### Response:
SELECT "Congress" FROM table_38153 WHERE "# of cosponsors" = '19'
### Instruction: What's the length of the model with 500 E body style? ### Response:
SELECT length FROM table_1773707_2 WHERE body_style = "500 E"
### Instruction: What winning amount has himesh reshammiya as the contestant name? ### Response:
SELECT winning_amount FROM table_name_51 WHERE contestant_name = "himesh reshammiya"
### Instruction: Name the label for traditional chinese ### Response:
SELECT label FROM table_1893815_1 WHERE chinese__traditional_ = "情歌沒有告訴你"
### Instruction: What is the highest game with team @ l.a. clippers? ### Response:
SELECT MAX("Game") FROM table_74198 WHERE "Team" = '@ L.A. Clippers'
### Instruction: Who is the required actor when Robert Austin was the actor in the original production? ### Response:
SELECT actor_required FROM table_name_29 WHERE actor_in_original_production = "robert austin"
### Instruction: what was the team record during the 10th week of the season ? ### Response:
SELECT "results\nteam record" FROM table_203_522 WHERE "week" = 10
### Instruction: What was the airdate of k0120? ### Response:
SELECT original_air_date FROM table_2618113_1 WHERE production_code = "K0120"
### Instruction: In the venue Corio Oval, who was the away team? ### Response:
SELECT "Away team" FROM table_10815 WHERE "Venue" = 'corio oval'
### Instruction: How many silvers are there with more than 2 golds in Germany? ### Response:
SELECT COUNT(silver) FROM table_name_81 WHERE gold > 2 AND nation = "germany"
### Instruction: Who did he fight in Rumble of the Kings 6? ### Response:
SELECT "Opponent" FROM table_4985 WHERE "Event" = 'rumble of the kings 6'
### Instruction: What stadium was the game held in when the final score was 17-31? ### Response:
SELECT stadium FROM table_name_88 WHERE final_score = "17-31"
### Instruction: What years was the player Lonny Baxter in Toronto? ### Response:
SELECT "Years in Toronto" FROM table_15878 WHERE "Player" = 'Lonny Baxter'
### Instruction: What city has a building ranked greater than 15 with floors greater than 43? ### Response:
SELECT city FROM table_name_45 WHERE rank > 15 AND floors > 43
### Instruction: How many players had a best winning average of 20? ### Response:
SELECT COUNT("Games Won") FROM table_29594 WHERE "Best Winning Average" = '20'
### Instruction: What is the highest rank for PSV - FC Barcelona? ### Response:
SELECT MAX("RANK") FROM table_7141 WHERE "TEAM" = 'psv - fc barcelona'
### Instruction: What is the average number of gold medals with more than 1 bronze medal? ### Response:
SELECT AVG("Gold") FROM table_10892 WHERE "Bronze" > '1'
### Instruction: in what year did the runner participate in the most marathons ? ### Response:
SELECT "year" FROM table_203_370 GROUP BY "year" ORDER BY COUNT(*) DESC LIMIT 1
### Instruction: Find the total budgets of the Marketing or Finance department. ### Response:
SELECT SUM(budget) FROM department WHERE dept_name = 'Marketing' OR dept_name = 'Finance'
### Instruction: How many first tournaments are associated with bowling? ### Response:
SELECT COUNT(1 AS st_tournament) FROM table_2849652_2 WHERE sport = "Bowling"
### Instruction: What are the exact Cubic inches of the Unit of kruzhka? ### Response:
SELECT cubic_inches__exact_ FROM table_name_86 WHERE unit = "kruzhka"
### Instruction: how many times did the united states rank ? ### Response:
SELECT COUNT(*) FROM table_204_521 WHERE "nationality" = 'united states' AND NOT "rank" IS NULL
### Instruction: How many shows were launched on CBS (2002)? ### Response:
SELECT COUNT("Launched") FROM table_30775 WHERE "Original channel" = 'CBS (2002)'
### Instruction: Name the current womens lacrosse conference for bison ### Response:
SELECT "Current womens lacrosse conference" FROM table_3758 WHERE "Nickname" = 'Bison'
### Instruction: What is Ben-Tahir when Bello is 51? ### Response:
SELECT ben_tahir FROM table_11447995_2 WHERE bello = "51"
### Instruction: Who were the candidates in the election that featured incumbent don edwards? ### Response:
SELECT "Candidates" FROM table_18392 WHERE "Incumbent" = 'Don Edwards'
### Instruction: What team does George Hulme play for? ### Response:
SELECT "College/junior/club team" FROM table_17450 WHERE "Player" = 'George Hulme'
### Instruction: When the crowd was greater than 19,498 who was the away team? ### Response:
SELECT away_team FROM table_name_5 WHERE crowd > 19 OFFSET 498
### Instruction: when did their world cup games take place ? ### Response:
SELECT "date" FROM table_203_164 WHERE "competition" = '1998 fifa world cup qualification'
### Instruction: Which network has s analyst of eddie arcaro? ### Response:
SELECT network FROM table_22514845_4 WHERE s_analyst = "Eddie Arcaro"
### Instruction: what is the number of us technological schools in the state of california ? ### Response:
SELECT COUNT("school") FROM table_203_721 WHERE "location" = 'california'
### Instruction: How many runs were there when there was 1 match and les than 86 average? ### Response:
SELECT SUM(runs) FROM table_name_1 WHERE matches = 1 AND average < 86
### Instruction: What are all info of students who registered courses but not attended courses? ### Response:
SELECT * FROM student_course_registrations WHERE NOT student_id IN (SELECT student_id FROM student_course_attendance)
### Instruction: What is the 2010 value for the Australian Open? ### Response:
SELECT "2010" FROM table_57758 WHERE "Tournament" = 'australian open'
### Instruction: WHAT IS THE RESULT WHEN THE OPPONENT WAS CHICAGO BEARS? ### Response:
SELECT result FROM table_name_18 WHERE opponent = "chicago bears"
### Instruction: What's the lowest diameter when the longitude is 71.1w? ### Response:
SELECT MIN(diameter) FROM table_name_71 WHERE longitude = "71.1w"
### Instruction: Which Elevated has an Elector of matteo orsini rosso? ### Response:
SELECT elevated FROM table_name_23 WHERE elector = "matteo orsini rosso"
### Instruction: What is 2004, when 2009 is 'A'? ### Response:
SELECT 2004 FROM table_name_28 WHERE 2009 = "a"
### Instruction: which Player has a To par of 7, and a Country of spain? ### Response:
SELECT player FROM table_name_67 WHERE to_par = "–7" AND country = "spain"
### Instruction: What is the Venue of the game with a Score of 0 0? ### Response:
SELECT "Venue" FROM table_60428 WHERE "Score" = '0–0'
### Instruction: Find middle_name and author_id , and visualize them by a bar chart. ### Response:
SELECT middle_name, author_id FROM Course_Authors_and_Tutors ORDER BY personal_name
### Instruction: What is the scientific pitch when the Helmholtz pitch is D? ### Response:
SELECT "Scientific pitch" FROM table_77931 WHERE "Helmholtz pitch" = 'd'
### Instruction: what is the number of formula one series races that cochet has been in ? ### Response:
SELECT COUNT("series") FROM table_203_198 WHERE "series" = 'formula one'
### Instruction: what is the number of films in this category that came from france during this year ? ### Response:
SELECT COUNT("title") FROM table_204_652 WHERE "country" = 'france'
### Instruction: Name the coronie for marowijne being 6.8% ### Response:
SELECT coronie FROM table_16886076_1 WHERE marowijne = "6.8%"
### Instruction: When was the time of 12:49:08 first set? ### Response:
SELECT MIN(year) FROM table_name_7 WHERE time = "12:49:08"
### Instruction: Which cell type has a conduction speed of 35? ### Response:
SELECT "Cell type" FROM table_41594 WHERE "Conduction speed (m/s)" = '35'
### Instruction: For what week was the attendance 40,429? ### Response:
SELECT SUM("Week") FROM table_76363 WHERE "Attendance" = '40,429'
### Instruction: What is the tyre on the race where Bruce Mclaren had the fastest lap? ### Response:
SELECT tyre FROM table_name_58 WHERE fastest_lap = "bruce mclaren"
### Instruction: For games on December 20, how many points did the scoring leaders get? ### Response:
SELECT "High points" FROM table_16311 WHERE "Date" = 'December 20'
### Instruction: What was the calling for the 18.42 arrival time? ### Response:
SELECT "Calling at" FROM table_22266 WHERE "Arrival" = '18.42'
### Instruction: What is the final result of the team that has Simara as No.5? ### Response:
SELECT "FINAL" FROM table_67500 WHERE "No.5" = 'simara'
### Instruction: What is the relationship between Team_ID and ACC_Percent , and group by attribute All_Road? ### Response:
SELECT Team_ID, ACC_Percent FROM basketball_match GROUP BY All_Road
### Instruction: What are the number of the distinct visit dates?, order by the x axis in descending. ### Response:
SELECT Visit_Date, COUNT(Visit_Date) FROM Visits ORDER BY Visit_Date DESC
### Instruction: Find the number of dorms for each gender in a bar chart, and list from high to low by the total number. ### Response:
SELECT gender, COUNT(*) FROM Dorm GROUP BY gender ORDER BY COUNT(*) DESC
### Instruction: When nanhai is the commandery what is the commandery capital? ### Response:
SELECT "Commandery capital" FROM table_30017 WHERE "Commandery" = 'Nanhai 南海'
### Instruction: what is the total number of times that the competition is listed as world championships ? ### Response:
SELECT COUNT(*) FROM table_203_734 WHERE "competition" = 'world championships'
### Instruction: Name the championship for peter mcnamara ### Response:
SELECT championship FROM table_22597626_6 WHERE opponent_in_the_final = "Peter McNamara"
### Instruction: What 1958 CIE is class s? ### Response:
SELECT "1958 CI\u00c9" FROM table_71536 WHERE "Class" = 's'