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