prompt
stringlengths
81
567
completion
stringlengths
18
557
Question: Who was the partner for the jazz piece in the bottom three? Context: CREATE TABLE table_name_40 (partner VARCHAR, style VARCHAR, results VARCHAR) Answer:
SELECT partner FROM table_name_40 WHERE style = "jazz" AND results = "bottom three"
Question: For Venue vfl park, what was the home team score? Context: CREATE TABLE table_name_98 (home_team VARCHAR, venue VARCHAR) Answer:
SELECT home_team AS score FROM table_name_98 WHERE venue = "vfl park"
Question: On which date was the venue of vfl park used? Context: CREATE TABLE table_name_37 (date VARCHAR, venue VARCHAR) Answer:
SELECT date FROM table_name_37 WHERE venue = "vfl park"
Question: What was the Average crowd when the away team was north melbourne? Context: CREATE TABLE table_name_17 (crowd INTEGER, away_team VARCHAR) Answer:
SELECT AVG(crowd) FROM table_name_17 WHERE away_team = "north melbourne"
Question: What is the maximum torque at rpm for the engine coded BJB/BKC/BXE/BLS? Context: CREATE TABLE table_name_7 (max_torque_at_rpm VARCHAR, engine_code_s_ VARCHAR) Answer:
SELECT max_torque_at_rpm FROM table_name_7 WHERE engine_code_s_ = "bjb/bkc/bxe/bls"
Question: What is the maximum power at rpm for the engine named 2.0 TDI that has a 1968cc displacement? Context: CREATE TABLE table_name_90 (max_power_at_rpm VARCHAR, displacement VARCHAR, engine_name VARCHAR) Answer:
SELECT max_power_at_rpm FROM table_name_90 WHERE displacement = "1968cc" AND engine_name = "2.0 tdi"
Question: What is the maximum torque at rpm for the engine with code BMM? Context: CREATE TABLE table_name_90 (max_torque_at_rpm VARCHAR, engine_code_s_ VARCHAR) Answer:
SELECT max_torque_at_rpm FROM table_name_90 WHERE engine_code_s_ = "bmm"
Question: What is the maximum torque at rpm for the engine with code BMM? Context: CREATE TABLE table_name_31 (max_torque_at_rpm VARCHAR, engine_code_s_ VARCHAR) Answer:
SELECT max_torque_at_rpm FROM table_name_31 WHERE engine_code_s_ = "bmm"
Question: What is the engine name that has a maximum torque at rpm of n·m ( lbf·ft ) @ 3,800? Context: CREATE TABLE table_name_42 (engine_name VARCHAR, max_torque_at_rpm VARCHAR) Answer:
SELECT engine_name FROM table_name_42 WHERE max_torque_at_rpm = "n·m ( lbf·ft ) @ 3,800"
Question: What was the result of t.u.f.f. puppy? Context: CREATE TABLE table_name_37 (result VARCHAR, work VARCHAR) Answer:
SELECT result FROM table_name_37 WHERE work = "t.u.f.f. puppy"
Question: what is the score for the 2010 world cup qualifying? Context: CREATE TABLE table_name_1 (score VARCHAR, competition VARCHAR) Answer:
SELECT score FROM table_name_1 WHERE competition = "2010 world cup qualifying"
Question: Which home has a Date of november 7? Context: CREATE TABLE table_name_16 (home VARCHAR, date VARCHAR) Answer:
SELECT home FROM table_name_16 WHERE date = "november 7"
Question: What is the lowest attendance on November 18? Context: CREATE TABLE table_name_94 (attendance INTEGER, date VARCHAR) Answer:
SELECT MIN(attendance) FROM table_name_94 WHERE date = "november 18"
Question: What is the date of the game where Dipietro earned a decision and Carolina was the visiting team? Context: CREATE TABLE table_name_28 (date VARCHAR, decision VARCHAR, visitor VARCHAR) Answer:
SELECT date FROM table_name_28 WHERE decision = "dipietro" AND visitor = "carolina"
Question: Who is the visiting team when Dipietro received a decision on October 27? Context: CREATE TABLE table_name_50 (visitor VARCHAR, decision VARCHAR, date VARCHAR) Answer:
SELECT visitor FROM table_name_50 WHERE decision = "dipietro" AND date = "october 27"
Question: What was the record when the home team is Washington? Context: CREATE TABLE table_name_57 (record VARCHAR, home VARCHAR) Answer:
SELECT record FROM table_name_57 WHERE home = "washington"
Question: What was the score of the game on October 20 when the home team is the NY Islanders? Context: CREATE TABLE table_name_57 (score VARCHAR, home VARCHAR, date VARCHAR) Answer:
SELECT score FROM table_name_57 WHERE home = "ny islanders" AND date = "october 20"
Question: In the Endangered Wildlife Series from the Royal Canadian Mint numismatic coins printed in the 2000s, what theme had a mintage of 700? Context: CREATE TABLE table_name_73 (theme VARCHAR, mintage VARCHAR) Answer:
SELECT theme FROM table_name_73 WHERE mintage = 700
Question: What year had an issue price of $2,995.95, and a theme of grizzly bear? Context: CREATE TABLE table_name_10 (year INTEGER, issue_price VARCHAR, theme VARCHAR) Answer:
SELECT MAX(year) FROM table_name_10 WHERE issue_price = "$2,995.95" AND theme = "grizzly bear"
Question: Tell me the total for silver more than 0 for italy with gold less than 29 Context: CREATE TABLE table_name_26 (total INTEGER, gold VARCHAR, silver VARCHAR, nation VARCHAR) Answer:
SELECT MIN(total) FROM table_name_26 WHERE silver > 0 AND nation = "italy" AND gold < 29
Question: Tell me the average bronze for total less than 4 and silver more than 0 Context: CREATE TABLE table_name_96 (bronze INTEGER, total VARCHAR, silver VARCHAR) Answer:
SELECT AVG(bronze) FROM table_name_96 WHERE total < 4 AND silver > 0
Question: I want to know the total for silver more than 0 with bronze more than 21 and gold more than 29 Context: CREATE TABLE table_name_74 (total VARCHAR, gold VARCHAR, silver VARCHAR, bronze VARCHAR) Answer:
SELECT COUNT(total) FROM table_name_74 WHERE silver > 0 AND bronze > 21 AND gold > 29
Question: How many carries for jeff smoker? Context: CREATE TABLE table_name_54 (car INTEGER, player VARCHAR) Answer:
SELECT SUM(car) FROM table_name_54 WHERE player = "jeff smoker"
Question: How many average carries for the player with 3 as a long? Context: CREATE TABLE table_name_58 (car INTEGER, long VARCHAR) Answer:
SELECT AVG(car) FROM table_name_58 WHERE long = "3"
Question: who is the home team when tie no is less than 7 and the away team is havant & waterlooville? Context: CREATE TABLE table_name_24 (home_team VARCHAR, tie_no VARCHAR, away_team VARCHAR) Answer:
SELECT home_team FROM table_name_24 WHERE tie_no < 7 AND away_team = "havant & waterlooville"
Question: What is the Score in the final with an Outcome with runner-up, and a Date with 1970? Context: CREATE TABLE table_name_95 (score_in_the_final VARCHAR, outcome VARCHAR, date VARCHAR) Answer:
SELECT score_in_the_final FROM table_name_95 WHERE outcome = "runner-up" AND date = 1970
Question: What is the Tournament with a Opponents in the final with rod laver fred stolle? Context: CREATE TABLE table_name_15 (tournament VARCHAR, opponents_in_the_final VARCHAR) Answer:
SELECT tournament FROM table_name_15 WHERE opponents_in_the_final = "rod laver fred stolle"
Question: What is the Tournament with a Date larger than 1973, with Opponents in the final with hank pfister sherwood stewart? Context: CREATE TABLE table_name_66 (tournament VARCHAR, date VARCHAR, opponents_in_the_final VARCHAR) Answer:
SELECT tournament FROM table_name_66 WHERE date > 1973 AND opponents_in_the_final = "hank pfister sherwood stewart"
Question: What is the Partner with Opponents in the final with roy emerson rod laver, with Date smaller than 1975? Context: CREATE TABLE table_name_31 (partner VARCHAR, opponents_in_the_final VARCHAR, date VARCHAR) Answer:
SELECT partner FROM table_name_31 WHERE opponents_in_the_final = "roy emerson rod laver" AND date < 1975
Question: Which driver has 45 laps? Context: CREATE TABLE table_name_92 (driver VARCHAR, laps VARCHAR) Answer:
SELECT driver FROM table_name_92 WHERE laps = 45
Question: Which Time/Retired has a grid smaller than 9, a Ferrari construct, and is driven by Rubens Barrichello? Context: CREATE TABLE table_name_16 (time_retired VARCHAR, driver VARCHAR, grid VARCHAR, constructor VARCHAR) Answer:
SELECT time_retired FROM table_name_16 WHERE grid < 9 AND constructor = "ferrari" AND driver = "rubens barrichello"
Question: Who was the home team when the away team was Footscray? Context: CREATE TABLE table_name_55 (home_team VARCHAR, away_team VARCHAR) Answer:
SELECT home_team FROM table_name_55 WHERE away_team = "footscray"
Question: What was the date of the game where North Melbourne was the home team? Context: CREATE TABLE table_name_65 (date VARCHAR, home_team VARCHAR) Answer:
SELECT date FROM table_name_65 WHERE home_team = "north melbourne"
Question: Which away team played at Kardinia Park? Context: CREATE TABLE table_name_35 (away_team VARCHAR, venue VARCHAR) Answer:
SELECT away_team FROM table_name_35 WHERE venue = "kardinia park"
Question: Namem the number of cities that contains Voivodeship of elbląg voivodeship Context: CREATE TABLE table_name_38 (no_of_cities VARCHAR, voivodeship VARCHAR) Answer:
SELECT no_of_cities FROM table_name_38 WHERE voivodeship = "elbląg voivodeship"
Question: How many people in 1991 have a Village (German) of rupertiberg? Context: CREATE TABLE table_name_72 (number_of_people_1991 VARCHAR, village__german_ VARCHAR) Answer:
SELECT COUNT(number_of_people_1991) FROM table_name_72 WHERE village__german_ = "rupertiberg"
Question: What was the score on October 30? Context: CREATE TABLE table_name_64 (score VARCHAR, date VARCHAR) Answer:
SELECT score FROM table_name_64 WHERE date = "october 30"
Question: What was the attendance on October 6? Context: CREATE TABLE table_name_78 (attendance VARCHAR, date VARCHAR) Answer:
SELECT attendance FROM table_name_78 WHERE date = "october 6"
Question: What was the record on October 24? Context: CREATE TABLE table_name_41 (record VARCHAR, date VARCHAR) Answer:
SELECT record FROM table_name_41 WHERE date = "october 24"
Question: Who was the visitor on October 20? Context: CREATE TABLE table_name_85 (visitor VARCHAR, date VARCHAR) Answer:
SELECT visitor FROM table_name_85 WHERE date = "october 20"
Question: Name the smoke point for monosaturated fat of 30g Context: CREATE TABLE table_name_25 (smoke_point VARCHAR, monounsaturated_fat VARCHAR) Answer:
SELECT smoke_point FROM table_name_25 WHERE monounsaturated_fat = "30g"
Question: Name the polyunsaturated fat with total fat of 100g and monounsaturated fat of 20g (84g in high oleic variety) Context: CREATE TABLE table_name_96 (polyunsaturated_fat VARCHAR, total_fat VARCHAR, monounsaturated_fat VARCHAR) Answer:
SELECT polyunsaturated_fat FROM table_name_96 WHERE total_fat = "100g" AND monounsaturated_fat = "20g (84g in high oleic variety)"
Question: Name the polyunsaturated fat with total fat of 100g and saturated fat of 7g Context: CREATE TABLE table_name_39 (polyunsaturated_fat VARCHAR, total_fat VARCHAR, saturated_fat VARCHAR) Answer:
SELECT polyunsaturated_fat FROM table_name_39 WHERE total_fat = "100g" AND saturated_fat = "7g"
Question: Name the polyunsaturated fat with a saturated fat of 25g Context: CREATE TABLE table_name_31 (polyunsaturated_fat VARCHAR, saturated_fat VARCHAR) Answer:
SELECT polyunsaturated_fat FROM table_name_31 WHERE saturated_fat = "25g"
Question: Name the total fat which has a polyunsaturated fat of 11g and monounsaturated fat of 45g Context: CREATE TABLE table_name_60 (total_fat VARCHAR, polyunsaturated_fat VARCHAR, monounsaturated_fat VARCHAR) Answer:
SELECT total_fat FROM table_name_60 WHERE polyunsaturated_fat = "11g" AND monounsaturated_fat = "45g"
Question: Name the result for friendly competition on 9 october 2010 Context: CREATE TABLE table_name_79 (result VARCHAR, competition VARCHAR, date VARCHAR) Answer:
SELECT result FROM table_name_79 WHERE competition = "friendly" AND date = "9 october 2010"
Question: Name the result for uncaf nations cup 2009 and 6 goal Context: CREATE TABLE table_name_3 (result VARCHAR, competition VARCHAR, goal VARCHAR) Answer:
SELECT result FROM table_name_3 WHERE competition = "uncaf nations cup 2009" AND goal = 6
Question: Which team was team 1 that had a team 2 that was la nuova piovese (veneto a)? Context: CREATE TABLE table_name_2 (team_1 VARCHAR, team_2 VARCHAR) Answer:
SELECT team_1 FROM table_name_2 WHERE team_2 = "la nuova piovese (veneto a)"
Question: What was the 2nd leg where the team 2 was budoni (sardinia)? Context: CREATE TABLE table_name_4 (team_2 VARCHAR) Answer:
SELECT 2 AS nd_leg FROM table_name_4 WHERE team_2 = "budoni (sardinia)"
Question: Which was the team 1 that had a team 2 which was avigliano (basilicata)? Context: CREATE TABLE table_name_81 (team_1 VARCHAR, team_2 VARCHAR) Answer:
SELECT team_1 FROM table_name_81 WHERE team_2 = "avigliano (basilicata)"
Question: How much cash was on hand after debt of $82,741? Context: CREATE TABLE table_name_93 (cash_on_hand VARCHAR, after_debt VARCHAR) Answer:
SELECT cash_on_hand FROM table_name_93 WHERE after_debt = "$82,741"
Question: What was the amount of loans received with a total debt of $169,256? Context: CREATE TABLE table_name_24 (loans_received VARCHAR, _3q VARCHAR, total_debt VARCHAR) Answer:
SELECT loans_received, _3q FROM table_name_24 WHERE total_debt = "$169,256"
Question: How much money was spent when the amount after debt was $1,757,936? Context: CREATE TABLE table_name_19 (money_spent VARCHAR, _3q VARCHAR, after_debt VARCHAR) Answer:
SELECT money_spent, _3q FROM table_name_19 WHERE after_debt = "$1,757,936"
Question: How much is after debt when cash on hand is $651,300? Context: CREATE TABLE table_name_11 (after_debt VARCHAR, cash_on_hand VARCHAR) Answer:
SELECT after_debt FROM table_name_11 WHERE cash_on_hand = "$651,300"
Question: What is the lowest total when the Bronze metals are larger than 0 and the nation is France (fra)? Context: CREATE TABLE table_name_85 (total INTEGER, bronze VARCHAR, nation VARCHAR) Answer:
SELECT MIN(total) FROM table_name_85 WHERE bronze > 0 AND nation = "france (fra)"
Question: What is the highest silver medal count when there is 1 Bronze medal and 1 Gold medal? Context: CREATE TABLE table_name_86 (silver INTEGER, bronze VARCHAR, gold VARCHAR) Answer:
SELECT MAX(silver) FROM table_name_86 WHERE bronze = 1 AND gold = 1
Question: What is the total number of medals when the Bronze, Silver, and Gold medals are smaller than 1? Context: CREATE TABLE table_name_61 (total VARCHAR, gold VARCHAR, bronze VARCHAR, silver VARCHAR) Answer:
SELECT COUNT(total) FROM table_name_61 WHERE bronze < 1 AND silver < 1 AND gold < 1
Question: What is the sum of the Bronze medals when the Gold medals are larger than 0, Silver medals are smaller than 1, and the total is smaller than 1? Context: CREATE TABLE table_name_62 (bronze INTEGER, total VARCHAR, gold VARCHAR, silver VARCHAR) Answer:
SELECT SUM(bronze) FROM table_name_62 WHERE gold > 0 AND silver < 1 AND total < 1
Question: what is the result for 11 august 2010? Context: CREATE TABLE table_name_94 (result VARCHAR, date VARCHAR) Answer:
SELECT result FROM table_name_94 WHERE date = "11 august 2010"
Question: what is the result when the competition is friendly on 8 october 2009? Context: CREATE TABLE table_name_73 (result VARCHAR, competition VARCHAR, date VARCHAR) Answer:
SELECT result FROM table_name_73 WHERE competition = "friendly" AND date = "8 october 2009"
Question: For the group name European Progressive Democrats what is the French abbr? Context: CREATE TABLE table_name_23 (french_abbr VARCHAR, group_name VARCHAR) Answer:
SELECT french_abbr FROM table_name_23 WHERE group_name = "european progressive democrats"
Question: Which Livery has a Description of 20t tanker, with a date later than 1941? Context: CREATE TABLE table_name_32 (livery VARCHAR, description VARCHAR, date VARCHAR) Answer:
SELECT livery FROM table_name_32 WHERE description = "20t tanker" AND date > 1941
Question: What's the Description for Scottish Tar Distillers No. 78, that's Livery is black, and a date prior to 1897? Context: CREATE TABLE table_name_49 (description VARCHAR, livery VARCHAR, date VARCHAR, number_ VARCHAR, _name VARCHAR) Answer:
SELECT description FROM table_name_49 WHERE livery = "black" AND date < 1897 AND number_ & _name = "scottish tar distillers no. 78"
Question: What was the score of the game that Washington played at home against Florida? Context: CREATE TABLE table_name_23 (score VARCHAR, home VARCHAR, visitor VARCHAR) Answer:
SELECT score FROM table_name_23 WHERE home = "washington" AND visitor = "florida"
Question: What driver has BRM as a constructor and had more than 30 laps? Context: CREATE TABLE table_name_12 (driver VARCHAR, constructor VARCHAR, laps VARCHAR) Answer:
SELECT driver FROM table_name_12 WHERE constructor = "brm" AND laps > 30
Question: How many lost when the number managed is over 2 and the period is from 12 november 2012 – 27 november 2012? Context: CREATE TABLE table_name_66 (lost VARCHAR, period VARCHAR, managed VARCHAR) Answer:
SELECT COUNT(lost) FROM table_name_66 WHERE period = "12 november 2012 – 27 november 2012" AND managed > 2
Question: What is the average attendnace for seasons before 1986, a margin of 6, and a Score of 13.16 (94) – 13.10 (88)? Context: CREATE TABLE table_name_10 (attendance INTEGER, score VARCHAR, season VARCHAR, margin VARCHAR) Answer:
SELECT AVG(attendance) FROM table_name_10 WHERE season < 1986 AND margin = 6 AND score = "13.16 (94) – 13.10 (88)"
Question: When is the earliest season at waverley park, a Score of 15.12 (102) – 9.14 (68), and a Margin larger than 34? Context: CREATE TABLE table_name_46 (season INTEGER, margin VARCHAR, venue VARCHAR, score VARCHAR) Answer:
SELECT MIN(season) FROM table_name_46 WHERE venue = "waverley park" AND score = "15.12 (102) – 9.14 (68)" AND margin > 34
Question: How many seasons feature essendon, and a Score of 15.12 (102) – 9.14 (68)? Context: CREATE TABLE table_name_30 (season VARCHAR, premier VARCHAR, score VARCHAR) Answer:
SELECT COUNT(season) FROM table_name_30 WHERE premier = "essendon" AND score = "15.12 (102) – 9.14 (68)"
Question: What was the date of the game at MCG? Context: CREATE TABLE table_name_85 (date VARCHAR, venue VARCHAR) Answer:
SELECT date FROM table_name_85 WHERE venue = "mcg"
Question: What was the date of the game where Geelong was the home team? Context: CREATE TABLE table_name_18 (date VARCHAR, home_team VARCHAR) Answer:
SELECT date FROM table_name_18 WHERE home_team = "geelong"
Question: What was the crowd size for the game where Footscray was the away team? Context: CREATE TABLE table_name_21 (crowd VARCHAR, away_team VARCHAR) Answer:
SELECT COUNT(crowd) FROM table_name_21 WHERE away_team = "footscray"
Question: What is the total round with an overall of 199 with sweden? Context: CREATE TABLE table_name_65 (round INTEGER, nationality VARCHAR, overall VARCHAR) Answer:
SELECT SUM(round) FROM table_name_65 WHERE nationality = "sweden" AND overall = 199
Question: What is the total for Canada during round 2? Context: CREATE TABLE table_name_12 (overall VARCHAR, nationality VARCHAR, round VARCHAR) Answer:
SELECT overall FROM table_name_12 WHERE nationality = "canada" AND round = 2
Question: Which team scores 119 in round 4? Context: CREATE TABLE table_name_1 (club_team VARCHAR, round VARCHAR, overall VARCHAR) Answer:
SELECT club_team FROM table_name_1 WHERE round = 4 AND overall = 119
Question: What was the attendance at the Kings game when Anaheim was the visiting team? Context: CREATE TABLE table_name_22 (attendance VARCHAR, visitor VARCHAR) Answer:
SELECT attendance FROM table_name_22 WHERE visitor = "anaheim"
Question: What was the score of the Kings game when they had a record of 8–11–1? Context: CREATE TABLE table_name_27 (score VARCHAR, record VARCHAR) Answer:
SELECT score FROM table_name_27 WHERE record = "8–11–1"
Question: Name the high points for charlotte Context: CREATE TABLE table_name_2 (high_points VARCHAR, team VARCHAR) Answer:
SELECT high_points FROM table_name_2 WHERE team = "charlotte"
Question: Name the team on february 12 Context: CREATE TABLE table_name_68 (team VARCHAR, date VARCHAR) Answer:
SELECT team FROM table_name_68 WHERE date = "february 12"
Question: Name the location attendance for game more than 54 on february 25 Context: CREATE TABLE table_name_17 (location_attendance VARCHAR, game VARCHAR, date VARCHAR) Answer:
SELECT location_attendance FROM table_name_17 WHERE game > 54 AND date = "february 25"
Question: Name the record for february 27 Context: CREATE TABLE table_name_67 (record VARCHAR, date VARCHAR) Answer:
SELECT record FROM table_name_67 WHERE date = "february 27"
Question: Name the team for 48 game Context: CREATE TABLE table_name_16 (team VARCHAR, game VARCHAR) Answer:
SELECT team FROM table_name_16 WHERE game = 48
Question: What's the average of shows that had a timeslot rank greater that 3 but still had a smaller viewership less than 4.87? Context: CREATE TABLE table_name_29 (share INTEGER, viewers__m_ VARCHAR, timeslot VARCHAR) Answer:
SELECT AVG(share) FROM table_name_29 WHERE RANK(timeslot) > 3 AND viewers__m_ < 4.87
Question: Which division in the AFC Conference had a total of 10 wins and appeared more than 18 times? Context: CREATE TABLE table_name_90 (division VARCHAR, appearances VARCHAR, conference VARCHAR, wins VARCHAR) Answer:
SELECT division FROM table_name_90 WHERE conference = "afc" AND wins = 10 AND appearances > 18
Question: How many losses did the East Division have who appeared 18 times and lost 8? Context: CREATE TABLE table_name_19 (wins INTEGER, appearances VARCHAR, division VARCHAR, losses VARCHAR) Answer:
SELECT MIN(wins) FROM table_name_19 WHERE division = "east" AND losses = 8 AND appearances < 18
Question: How many losses did the division who appeared less than 16 times have? Context: CREATE TABLE table_name_95 (losses VARCHAR, appearances INTEGER) Answer:
SELECT losses FROM table_name_95 WHERE appearances < 16
Question: How many medals for spain with 1 silver? Context: CREATE TABLE table_name_68 (total INTEGER, silver VARCHAR, nation VARCHAR) Answer:
SELECT SUM(total) FROM table_name_68 WHERE silver = "1" AND nation = "spain"
Question: How many silvers for finland? Context: CREATE TABLE table_name_48 (silver VARCHAR, nation VARCHAR) Answer:
SELECT silver FROM table_name_48 WHERE nation = "finland"
Question: How many medals for spain that has 1 silver and 1 bronze? Context: CREATE TABLE table_name_62 (total VARCHAR, nation VARCHAR, silver VARCHAR, bronze VARCHAR) Answer:
SELECT COUNT(total) FROM table_name_62 WHERE silver = "1" AND bronze = "1" AND nation = "spain"
Question: What is the record when they play the canucks and have under 98 points? Context: CREATE TABLE table_name_61 (record VARCHAR, points VARCHAR, opponent VARCHAR) Answer:
SELECT record FROM table_name_61 WHERE points < 98 AND opponent = "canucks"
Question: How many attended the game against the sharks with over 86 points? Context: CREATE TABLE table_name_99 (attendance INTEGER, points VARCHAR, opponent VARCHAR) Answer:
SELECT AVG(attendance) FROM table_name_99 WHERE points > 86 AND opponent = "sharks"
Question: Name the song that has a track larger than 7 and means death. Context: CREATE TABLE table_name_83 (recorded VARCHAR, track VARCHAR, translation VARCHAR) Answer:
SELECT recorded FROM table_name_83 WHERE track > 7 AND translation = "death"
Question: Which track 7 title was recorded in 1959-09-15? Context: CREATE TABLE table_name_23 (title VARCHAR, recorded VARCHAR, track VARCHAR) Answer:
SELECT title FROM table_name_23 WHERE recorded = "1959-09-15" AND track = 7
Question: Which track translates to Flemish Women? Context: CREATE TABLE table_name_96 (track VARCHAR, translation VARCHAR) Answer:
SELECT track FROM table_name_96 WHERE translation = "flemish women"
Question: What is the high capacity that has an average under 489 and a highest over 778? Context: CREATE TABLE table_name_90 (capacity INTEGER, average VARCHAR, highest VARCHAR) Answer:
SELECT MAX(capacity) FROM table_name_90 WHERE average < 489 AND highest > 778
Question: On the album titled “Loud” who was the other performer on the song directed by Melina Matsoukas? Context: CREATE TABLE table_name_4 (other_performer_s_ VARCHAR, director_s_ VARCHAR, album VARCHAR) Answer:
SELECT other_performer_s_ FROM table_name_4 WHERE director_s_ = "melina matsoukas" AND album = "loud"
Question: What is the decision when vancouver is at home and winnipeg is away? Context: CREATE TABLE table_name_44 (decision VARCHAR, home VARCHAR, visitor VARCHAR) Answer:
SELECT decision FROM table_name_44 WHERE home = "vancouver" AND visitor = "winnipeg"
Question: What is the record of the team from chicago? Context: CREATE TABLE table_name_6 (record VARCHAR, home VARCHAR) Answer:
SELECT record FROM table_name_6 WHERE home = "chicago"
Question: Where was the away team st kilda? Context: CREATE TABLE table_name_52 (venue VARCHAR, away_team VARCHAR) Answer:
SELECT venue FROM table_name_52 WHERE away_team = "st kilda"
Question: Which club has 1 cap? Context: CREATE TABLE table_name_90 (club_province VARCHAR, caps VARCHAR) Answer:
SELECT club_province FROM table_name_90 WHERE caps = 1