question
stringlengths
12
244
sql
stringlengths
22
468
What is the name of the home team when the away team was Melbourne?
SELECT Home team FROM table WHERE Away team = melbourne
What is the name of the home team that has a venue called EMCG?
SELECT Home team FROM table WHERE Venue = emcg
What is the name of the venue where the game played had an away team of Melbourne?
SELECT Venue FROM table WHERE Away team = melbourne
What is the average number lost with a difference of -16, 19 points, and more than 24 against?
SELECT AVG Lost FROM table WHERE Diff > -16 AND Points = 19 AND Against > 24
What is the highest number of losses with 25 points?
SELECT MAX Lost FROM table WHERE Points = 25
What is the sum of the difference for 9 draws and over 18 played?
SELECT SUM Diff FROM table WHERE Drawn = 9 AND Played > 18
What is the lowest number drawn with less than 2 lost?
SELECT MIN Drawn FROM table WHERE Lost < 2
What is the sum of all points when number played is less than 18?
SELECT SUM Points FROM table WHERE Played < 18
Which date has a Score of 6–4, 6–3?
SELECT Date FROM table WHERE Score = 6–4, 6–3
What is the total PI GP that a Reg GP has larger than 3?
SELECT COUNT Pl GP FROM table WHERE Reg GP > 3
What average Reg GP has a pick # larger than 210?
SELECT AVG Reg GP FROM table WHERE Pick # > 210
Which result has a Goal of deacon 2/5?
SELECT Result FROM table WHERE Goals = deacon 2/5
Which date has a Goal of deacon 4/4, withers 1 dg?
SELECT Date FROM table WHERE Goals = deacon 4/4, withers 1 dg
What are the goals for 8/4/04?
SELECT Goals FROM table WHERE Date = 8/4/04
Which venue has a Result of w, and a Goal of deacon 5/5?
SELECT Venue FROM table WHERE Result = w AND Goals = deacon 5/5
Which result has a Goal of deacon 3/5, bridge 2/2?
SELECT Result FROM table WHERE Goals = deacon 3/5, bridge 2/2
Which competition has a Goal of deacon 10/10, and a Score of 40–12?
SELECT Competition FROM table WHERE Goals = deacon 10/10 AND Score = 40–12
What is the total number of playoff games played by the Seattle Thunderbirds team where the number of regular games played is less than 5 and pick number is less than 131?
SELECT COUNT Pl GP FROM table WHERE Reg GP < 5 AND Team (League) = seattle thunderbirds AND Pick # < 131
What player has a number of playoff games played greater than 0?
SELECT Player FROM table WHERE Pl GP > 0
What is the sum of the number of regular games played by Morgan Clark with the number of road games less than 7?
SELECT SUM Reg GP FROM table WHERE Player = morgan clark AND Rd # < 7
What player has a number of playoff games played greater than 0?
SELECT Player FROM table WHERE Pl GP > 0
What is the pick number for the player from higher than round 3 and a PI GP bigger than 0?
SELECT Pick # FROM table WHERE Rd # > 3 AND Pl GP > 0
What is the lowest regular GP Larry Courville, who has a PI GP smaller than 0, has?
SELECT MIN Reg GP FROM table WHERE Player = larry courville AND Pl GP < 0
What was Essendon's opponents away score?
SELECT Away team score FROM table WHERE Home team = essendon
What was the attendance at Corio Oval?
SELECT Crowd FROM table WHERE Venue = corio oval
If the home team scored 6.7 (43), what was the away teams score?
SELECT Away team score FROM table WHERE Home team score = 6.7 (43)
When collingwood played as the away team what did they score?
SELECT Away team score FROM table WHERE Away team = collingwood
What was the away team playing when the home team scored 16.18 (114)?
SELECT Away team FROM table WHERE Home team score = 16.18 (114)
Which venue was it at when 10.14 (74) was the home teams score?
SELECT Venue FROM table WHERE Home team score = 10.14 (74)
What was the locaction of the Evans test blast?
SELECT Location FROM table WHERE Name = evans
What was the yield for a blast that was in nts area 3s?
SELECT Yield FROM table WHERE Location = nts area 3s
What was the purpose of the Quay test blast?
SELECT Purpose FROM table WHERE Name = quay
For an apparent magnitude greater than 11.8 what Right ascension value is assigned?
SELECT Right ascension ( J2000 ) FROM table WHERE Apparent magnitude > 11.8
What is the least apparent magnitude for all constellations from hydra?
SELECT MIN Apparent magnitude FROM table WHERE Constellation = hydra
What is the highest Car with more than 155 yards?
SELECT MAX Car. FROM table WHERE Yards > 155
How many pages were in the book by Stefano D'Arrigo?
SELECT Page count FROM table WHERE Author = stefano d'arrigo
Which author wrote Sironia, Texas in English?
SELECT Author FROM table WHERE Language = english AND Book title = sironia, texas
Who is the edition/publisher for Xavier Herbert?
SELECT Edition/Publisher FROM table WHERE Author = xavier herbert
What language is the book Miss Macintosh, My Darling in?
SELECT Language FROM table WHERE Book title = miss macintosh, my darling
Who published in Italian with a page size of 8 inches (20cm) x 5.4 inches (14cm)?
SELECT Edition/Publisher FROM table WHERE Language = italian AND Page size = 8 inches (20cm) x 5.4 inches (14cm)
What is the total average for long 10?
SELECT COUNT Avg. FROM table WHERE Long = 10
Name the college that has 7 rounds and boston celtics team
SELECT College FROM table WHERE Team = boston celtics AND Round = 7
Name the position that has baltimore bullets and college of texas tech
SELECT Position FROM table WHERE Team = baltimore bullets AND College = texas tech
What is the nationality for milwaukee hawks?
SELECT Nationality FROM table WHERE Team = milwaukee hawks
What is the name of the superfund that was proposed on 06/24/1988?
SELECT Name FROM table WHERE Proposed = 06/24/1988
Which team was played against in game 4?
SELECT Team FROM table WHERE Game = 4
What is the location attendance of the game with A. Horford (10) as the highest rebounds and J. Johnson (21) as the highest points?
SELECT Location Attendance FROM table WHERE High rebounds = a. horford (10) AND High points = j. johnson (21)
During what Championship was the Opponent Jeff Borowiak?
SELECT Championship FROM table WHERE Opponent = jeff borowiak
On what Date was the Score of 3–6, 6–4, 3–6, 6–1, 6–2
SELECT SUM Date FROM table WHERE Score = 3–6, 6–4, 3–6, 6–1, 6–2
What is the highest rank for gene littler with under 3 wins and under $962,133?
SELECT MAX Rank FROM table WHERE Earnings( $ ) < 962,133 AND Player = gene littler AND Wins < 3
What tyre is on the talbot-lago and an Entrant of automobiles talbot-darracq sa, and a Chassis of talbot-lago t26c-da?
SELECT Tyre FROM table WHERE Constructor = talbot-lago AND Entrant = automobiles talbot-darracq sa AND Chassis = talbot-lago t26c-da
What is the Entrant with a Engine of talbot l6, and Eugène Chaboud was the driver?
SELECT Entrant FROM table WHERE Engine = talbot l6 AND Driver = eugène chaboud
What entrant has a P tyre and was constructed by Alfa Romeo?
SELECT Entrant FROM table WHERE Tyre = p AND Constructor = alfa romeo
I want the country for score of 274 and runner-up of virginie lagoutte-clément
SELECT Country FROM table WHERE Score = 274 AND Runner(s)-up = virginie lagoutte-clément
Tell me the date for 2004
SELECT Date FROM table WHERE Year = 2004
What is the margin of victory for nikki garrett?
SELECT Margin of victory FROM table WHERE Winner = nikki garrett
I want to see the result for venue of n and attendance more than 20,664
SELECT Result FROM table WHERE Venue = n AND Attendance > 20,664
Tell me the result for venue of a
SELECT Result FROM table WHERE Venue = a
I want to know the average attendance for n venue and f round
SELECT AVG Attendance FROM table WHERE Venue = n AND Round = f
In grid 15, how many laps were there before ending with a time of exhaust?
SELECT SUM Laps FROM table WHERE Time/Retired = exhaust AND Grid < 15
What year was class of undine?
SELECT Year made FROM table WHERE Class = undine
What was the quantity preserved for quantity made of 15?
SELECT Quantity preserved FROM table WHERE Quantity made = 15
Name the year for hercules
SELECT Year made FROM table WHERE Class = hercules
When did the tom smith built train enter service with a number under 7007?
SELECT AVG Entered Service FROM table WHERE Builder = tom smith AND Number < 7007
Who is the opponent for the 1985 World Group i edition?
SELECT Opponent FROM table WHERE Edition = 1985 world group i
What is the amount of cash on hand that has an after debt of $327,094
SELECT Cash On Hand FROM table WHERE After Debt = $327,094
How many receipts does Mike Gravel have?
SELECT Total Receipts FROM table WHERE Candidate = mike gravel
What After debt has raised 3Q of $5,358,585?
SELECT After Debt FROM table WHERE Money Raised, 3Q = $5,358,585
How much money has been raised that has $5,821,587 cash on hand?
SELECT Money Raised, 3Q FROM table WHERE Cash On Hand = $5,821,587
What is the after debt has receipts of $379,794?
SELECT After Debt FROM table WHERE Total Receipts = $379,794
How much money has Candidate Dennis Kucinich spent?
SELECT Money Spent, 3Q FROM table WHERE Candidate = dennis kucinich
What is the crowd size when the away team was South Melbourne?
SELECT SUM Crowd FROM table WHERE Away team = south melbourne
What was the crowd size at Junction Oval?
SELECT MAX Crowd FROM table WHERE Venue = junction oval
What was the date of the game at Junction Oval?
SELECT Date FROM table WHERE Venue = junction oval
What was the away score for Carlton?
SELECT Away team score FROM table WHERE Away team = carlton
Who was the away team at MCG?
SELECT Away team FROM table WHERE Venue = mcg
What is the D 48 when the D 50 is d 30?
SELECT D 48 FROM table WHERE D 50 = d 30
What is the D 47 when the D 49 is r 32?
SELECT D 47 FROM table WHERE D 49 = r 32
What is the D 50 when the D 43 is r 43?
SELECT D 50 FROM table WHERE D 43 = r 43
What is the D 42 when the D 50 is d 31?
SELECT D 42 FROM table WHERE D 50 = d 31
What is the D 50 when the D 41 is d 41?
SELECT D 50 FROM table WHERE D 41 = d 41
What is the D 50 when the D 41 is d 41?
SELECT D 50 FROM table WHERE D 41 = d 41
what is the total vessels built for usmc when the 1st ship delivery date is january 1943?
SELECT Total Vessels Built for USMC FROM table WHERE 1st Ship Delivery Date = january 1943
what is the yard name when the ship types delivered is n3 type, v4 type and the total vessels built for usmc is 13 ships for usmc?
SELECT Yard Name FROM table WHERE Ship Types Delivered = n3 type, v4 type AND Total Vessels Built for USMC = 13 ships for usmc
what is the ship types delivered when the total vessels built for usmc is 13 ships for usmc (plus 37 more for usn)?
SELECT Ship Types Delivered FROM table WHERE Total Vessels Built for USMC = 13 ships for usmc (plus 37 more for usn)
what is the ship types delivered when the location is panama city, florida?
SELECT Ship Types Delivered FROM table WHERE Location (City, State) = panama city, florida
Who were the co drivers past 1994 in the WSC class?
SELECT Co-Drivers FROM table WHERE Year > 1994 AND Class = wsc
Which home team scored 9.15 (69)?
SELECT Home team FROM table WHERE Home team score = 9.15 (69)
Which venue did the home team score 14.23 (107)?
SELECT Venue FROM table WHERE Home team score = 14.23 (107)
What day did Footscray play as the home team?
SELECT Date FROM table WHERE Home team = footscray
What is the report for 10 october?
SELECT Report FROM table WHERE Date = 10 october
Who was the race winner with a pole position james hunt, and a Fastest Lap of james hunt, and a Date of 15 august?
SELECT Race Winner FROM table WHERE Pole Position = james hunt AND Fastest Lap = james hunt AND Date = 15 august
What race has a Pole Position of Jacques Laffite?
SELECT Race FROM table WHERE Pole Position = jacques laffite
What is the Pole Position of the Swedish Grand Prix?
SELECT Pole Position FROM table WHERE Race = swedish grand prix
What was the date when the location was Zandvoort?
SELECT Date FROM table WHERE Location = zandvoort
How many chapters did Elmer Clifton direct?
SELECT COUNT Chapters FROM table WHERE Director = elmer clifton
Who is the spouse of the queen who is the daughter of Ferdinand I of the two sicilies?
SELECT Spouse FROM table WHERE Father = ferdinand i of the two sicilies
What is the entered service date for serial number 85-1222?
SELECT Entered service FROM table WHERE Serial No = 85-1222
What is the locomotive for the city of Benalla?
SELECT Locomotive FROM table WHERE Name = city of benalla
What is the name for the locomotive n464?
SELECT Name FROM table WHERE Locomotive = n464