question
stringlengths 12
244
| sql
stringlengths 22
468
|
---|---|
Name the most goals with losses less than 15 and position more than 8 with points of 42+4
|
SELECT MAX Goals for FROM table WHERE Losses < 15 AND Position > 8 AND Points = 42+4
|
Name the average goals against for draws of 8 and wins more than 22 with losses less than 12
|
SELECT AVG Goals against FROM table WHERE Draws = 8 AND Losses < 12 AND Wins > 22
|
Name the least wins for goal difference being less than -20 with position less than 20 and goals for of 35
|
SELECT MIN Wins FROM table WHERE Position < 20 AND Goals for = 35 AND Goal Difference < -20
|
Name the average losses for draws larger than 6 and played more than 38
|
SELECT AVG Losses FROM table WHERE Draws > 6 AND Played > 38
|
Name the least goals against for played more than 38
|
SELECT MIN Goals against FROM table WHERE Played > 38
|
After 1961, who as the Entrant when the engine was a Ferrari v8, and when the points were lower than 23?
|
SELECT Entrant FROM table WHERE Year > 1961 AND Engine = ferrari v8 AND Points < 23
|
What is was the Chassis in 1967?
|
SELECT Chassis FROM table WHERE Year = 1967
|
In 1962, what was the total number of points, when the Engine was Ferrari v6?
|
SELECT COUNT Points FROM table WHERE Engine = ferrari v6 AND Year = 1962
|
In 1961, what was the Chassis when the points were lower than 6?
|
SELECT Chassis FROM table WHERE Points < 6 AND Year = 1961
|
What was the sum of the years, when the entrant was Scuderia Ferrari, and when the Chassis was Ferrari 312/66?
|
SELECT SUM Year FROM table WHERE Entrant = scuderia ferrari AND Chassis = ferrari 312/66
|
What was the sum of the years, when the entrant was Scuderia Centro Sud, and when there were 6 points?
|
SELECT SUM Year FROM table WHERE Entrant = scuderia centro sud AND Points = 6
|
In the tkkm o manawatu coed school in kelvin grove, what is the Authority listed/
|
SELECT Authority FROM table WHERE Gender = coed AND Area = kelvin grove AND Name = tkkm o manawatu
|
which Authority has a coed school with a decile greater than 4, with a 150 roll?
|
SELECT Authority FROM table WHERE Gender = coed AND Decile > 4 AND Roll = 150
|
Name the language for trotta
|
SELECT Language FROM table WHERE Original title = trotta
|
Name the original title directed by luis buñuel
|
SELECT Original title FROM table WHERE Director = luis buñuel
|
Name the original title directed by sudhendu roy
|
SELECT Original title FROM table WHERE Director = sudhendu roy
|
Name the film title that is spanish from peru
|
SELECT Film title used in nomination FROM table WHERE Language = spanish AND Country = peru
|
Name the langauge for switzerland
|
SELECT Language FROM table WHERE Country = switzerland
|
What is the Total with 0 Silver and Gold, 1 Bronze and Rank larger than 2?
|
SELECT MIN Total FROM table WHERE Rank > 2 AND Bronze = 1 AND Silver > 0 AND Gold < 0
|
How many Bronze medals were received by the nation that Ranked less than 5 and received more than 2 Gold medals, less than 4 Silver medals with a Total of 9 medals?
|
SELECT AVG Bronze FROM table WHERE Rank < 5 AND Gold > 2 AND Total = 9 AND Silver < 4
|
which order of bat belongs to the family of vespertilionidae and includes the northern long-eared myotis?
|
SELECT Order FROM table WHERE Family = vespertilionidae AND Name = northern long-eared myotis
|
What year has WSC class?
|
SELECT Year FROM table WHERE Class = wsc
|
Which race has D. Beadman for the jockey and a 4th place result?
|
SELECT Race FROM table WHERE Jockey = d. beadman AND Result = 4th
|
What is the 1st party with Charles Isaac Elton as the 2nd member?
|
SELECT 1st Party FROM table WHERE 2nd Member = charles isaac elton
|
Which election had Sir Alexander Fuller-Acland-Hood, bt as the 2nd member?
|
SELECT Election FROM table WHERE 2nd Member = sir alexander fuller-acland-hood, bt
|
Who is the 2nd member of the conservative 1st party, which had Vaughan Lee as the 1st member, in the election of 1874?
|
SELECT 2nd Member FROM table WHERE 1st Party = conservative AND 1st Member = vaughan lee AND Election = 1874
|
What is the 2nd party for a conservative 1st party with a 1st member Charles Moody in the election of 1851 by-election?
|
SELECT 2nd Party FROM table WHERE 1st Party = conservative AND 1st Member = charles moody AND Election = 1851 by-election
|
Who is the 1st member in the 1884 by-election?
|
SELECT 1st Member FROM table WHERE Election = 1884 by-election
|
What is the 2nd party in the 1874 election?
|
SELECT 2nd Party FROM table WHERE Election = 1874
|
Which school had a player who played the C position?
|
SELECT School FROM table WHERE Position = c
|
Which game is on the date October 16?
|
SELECT AVG Game FROM table WHERE Date = october 16
|
What is the 2009 value with a q1 in 2006 in the French Open?
|
SELECT 2009 FROM table WHERE 2006 = q1 AND Tournament = french open
|
What is the 2010 value with a 2r in 2008 and A in 2013?
|
SELECT 2010 FROM table WHERE 2008 = 2r AND 2013 = a
|
What is the 2007 value with 1r in 2009 in the US Open?
|
SELECT 2007 FROM table WHERE 2009 = 1r AND Tournament = us open
|
What is the 2009 value in the 2011 Grand Slam Tournaments?
|
SELECT 2009 FROM table WHERE 2011 = grand slam tournaments
|
What is the 2005 value with 1r in 2013 and q2 in 2011?
|
SELECT 2005 FROM table WHERE 2013 = 1r AND 2011 = q2
|
What is the 2010 value in the Australian Open?
|
SELECT 2010 FROM table WHERE Tournament = australian open
|
what is the city of license for the station with the frequency mhz less than 102.3 abd erp w of 25?
|
SELECT City of license FROM table WHERE Frequency MHz < 102.3 AND ERP W = 25
|
\What is the class of the station with the call sign w254ah?
|
SELECT Class FROM table WHERE Call sign = w254ah
|
what is the class of the station with erp w more than 30?
|
SELECT Class FROM table WHERE ERP W > 30
|
what is the highest frequency mhz with the call sign w292cu?
|
SELECT MAX Frequency MHz FROM table WHERE Call sign = w292cu
|
Which constructor makes the ej15 ej15b chassis?
|
SELECT Constructor FROM table WHERE Chassis = ej15 ej15b
|
Which tyre is on the car driven by Pedro de la Rosa?
|
SELECT Tyre FROM table WHERE Driver = pedro de la rosa
|
Which constructor made the car with a rb1 chassis and which is driven by David Coulthard?
|
SELECT Constructor FROM table WHERE Chassis = rb1 AND Driver = david coulthard
|
Which constructor manufactured the car with a c24 chassis and which is driven by Jacques Villeneuve?
|
SELECT Engine † FROM table WHERE Chassis = c24 AND Driver = jacques villeneuve
|
What Region is the MHCL-20004 Catalog?
|
SELECT Region FROM table WHERE Catalog = mhcl-20004
|
What region is the ALCA-272 Catalog?
|
SELECT Region FROM table WHERE Catalog = alca-272
|
What label is the ALCA-9197 Catalog?
|
SELECT Label FROM table WHERE Catalog = alca-9197
|
What date is the MHCL-20004 Catalog?
|
SELECT Date FROM table WHERE Catalog = mhcl-20004
|
On what date was the Ed Remaster CD and TOCT-24365 Catalog released?
|
SELECT Date FROM table WHERE Format = ed remaster cd AND Catalog = toct-24365
|
What identities have more than 5 DVD volumes?
|
SELECT Identity(ies) FROM table WHERE DVD volume > 5
|
How many DVD volumes was identified by Skippy Johnson?
|
SELECT DVD volume FROM table WHERE Identity(ies) = skippy johnson
|
What was the score when St. Louis was the visiting team?
|
SELECT Score FROM table WHERE Visitor = st. louis
|
What was the decision when Chicago was the visiting team?
|
SELECT Decision FROM table WHERE Visitor = chicago
|
What was the score on December 3 when Detroit was the home team and Legace took the decision?
|
SELECT Score FROM table WHERE Home = detroit AND Decision = legace AND Date = december 3
|
What was the record when Minnesota was the visiting team?
|
SELECT Record FROM table WHERE Visitor = minnesota
|
On what date was the record with catalog ALCA-275 released?
|
SELECT Date FROM table WHERE Catalog = alca-275
|
What label released a record on March 25, 1984?
|
SELECT Label FROM table WHERE Date = march 25, 1984
|
What label released a record on December 19, 2001?
|
SELECT Label FROM table WHERE Date = december 19, 2001
|
What is the catalog of the record released on May 27, 2009?
|
SELECT Catalog FROM table WHERE Date = may 27, 2009
|
On what date was a record from Village Records with catalog VRCL-2205 released?
|
SELECT Date FROM table WHERE Label = village records AND Catalog = vrcl-2205
|
On what date was the record with catalog ALCA-275 released?
|
SELECT Date FROM table WHERE Catalog = alca-275
|
What was the earliest year that Yvette Alexander took office and was up for reelection after 2016?
|
SELECT MIN Took office FROM table WHERE Name = yvette alexander AND Up for reelection > 2016
|
What is the earliest year a Chairman who took office after 2011 is up for reelection?
|
SELECT MIN Up for reelection FROM table WHERE Took office > 2011 AND Position = chairman
|
What year had less than 36 laps?
|
SELECT Year FROM table WHERE Laps < 36
|
What was the most laps with a finish of 10 and qualification of 106.185?
|
SELECT MAX Laps FROM table WHERE Finish = 10 AND Qual = 106.185
|
What is the most laps with a qualification of 106.185?
|
SELECT MAX Laps FROM table WHERE Qual = 106.185
|
In what year were laps less than 64 and the finish at 25?
|
SELECT Year FROM table WHERE Laps < 64 AND Finish = 25
|
What was the qualification in 1932?
|
SELECT Qual FROM table WHERE Year = 1932
|
What was the start with a rank of 3 in 1936?
|
SELECT Start FROM table WHERE Rank = 3 AND Year = 1936
|
Which 2nd leg came after a 1st leg of 0-3?
|
SELECT 2nd leg FROM table WHERE 1st leg = 0-3
|
For a Team 1 of Al-Merrikh, what was the aggregate?
|
SELECT Agg. FROM table WHERE Team 1 = al-merrikh
|
Who was the Team 1 for a 2nd leg of 1-4?
|
SELECT Team 1 FROM table WHERE 2nd leg = 1-4
|
For an aggregate of 1-3, what was the 2nd leg?
|
SELECT 2nd leg FROM table WHERE Agg. = 1-3
|
For a team 2 of Al-Faisaly, what was the 2nd leg?
|
SELECT 2nd leg FROM table WHERE Team 2 = al-faisaly
|
What years is the private school in upper hutt?
|
SELECT Years FROM table WHERE Area = upper hutt AND Authority = private
|
What school with a decile of 7 is in upper hutt?
|
SELECT Name FROM table WHERE Decile = 7 AND Area = upper hutt
|
What authority is the coed school in pinehaven?
|
SELECT Authority FROM table WHERE Gender = coed AND Area = pinehaven
|
What years does plateau school serve?
|
SELECT Years FROM table WHERE Name = plateau school
|
Is Upper valley middle school public or private?
|
SELECT Authority FROM table WHERE Name = upper valley middle school
|
What is the record on June 13?
|
SELECT Record FROM table WHERE Date = june 13
|
Name the most lot number with notes of b4 bogies and diagram of 185
|
SELECT MAX Lot No. FROM table WHERE Notes = b4 bogies AND Diagram = 185
|
Name the fleet numbers for diagram of 186 and lot number of 30798
|
SELECT Fleet numbers FROM table WHERE Diagram = 186 AND Lot No. = 30798
|
What line is 24.7 km and head towards Toyohashi East?
|
SELECT Name FROM table WHERE Direction = toyohashi east AND Length (km) = 24.7
|
What is the record on November 18?
|
SELECT Record FROM table WHERE Date = november 18
|
What is the record when attendance is more than 19,658 and Los Angeles Rams are the visiting team?
|
SELECT Record FROM table WHERE Attendance > 19,658 AND Visitor = los angeles rams
|
What was the average attendance when Chicago Bears were the home team?
|
SELECT AVG Attendance FROM table WHERE Home = chicago bears
|
What is the score when the record is 5-4-1?
|
SELECT Score FROM table WHERE Record = 5-4-1
|
What is the largest number in attendance when the record is 1-1-0?
|
SELECT MAX Attendance FROM table WHERE Record = 1-1-0
|
What is the GDP of the nation with 56,210,000 people?
|
SELECT GDP per capita (US$) FROM table WHERE Population = 56,210,000
|
What is the area of the nation with GDP per capita (US$) of 11,929?
|
SELECT Area (km²) FROM table WHERE GDP per capita (US$) = 11,929
|
What is the population of the nation that has a GDP per capita (US$) of 11,929?
|
SELECT Population FROM table WHERE GDP per capita (US$) = 11,929
|
What is the Population of the nation that has an Area (km²) of 70,273?
|
SELECT Population FROM table WHERE Area (km²) = 70,273
|
What is the Population of the nation that has a Member countries consisting of existing members (1973)?
|
SELECT Population FROM table WHERE Member countries = existing members (1973)
|
What television network, founded in 2002, has a community type of network?
|
SELECT Television Network FROM table WHERE Type of network = community AND Founded = 2002
|
At what stadium did the Green Bay Packers play an away game?
|
SELECT Stadium FROM table WHERE Visiting Team = green bay packers
|
At what stadium was the final score 31-28?
|
SELECT Stadium FROM table WHERE Final Score = 31-28
|
Which team hosted the Kansas City Chiefs?
|
SELECT Host Team FROM table WHERE Visiting Team = kansas city chiefs
|
What team hosted at Tampa Stadium?
|
SELECT Host Team FROM table WHERE Stadium = tampa stadium
|
With a record of 43-26, what was the score that game?
|
SELECT Score FROM table WHERE Record = 43-26
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.