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