question
stringlengths 12
244
| sql
stringlengths 22
468
|
---|---|
Who was in Human Resources & Operations when David Hornsby was in Academic & University Affairs?
|
SELECT Human Resources & Operations FROM table WHERE Academic & University Affairs = david hornsby
|
Who was in external affairs when Jakki Doyle was in Human Resources & Operations?
|
SELECT External Affairs FROM table WHERE Human Resources & Operations = jakki doyle
|
Who was in local affairs in 2012-2013?
|
SELECT Local Affairs FROM table WHERE Year = 2012-2013
|
Who was in Academic & University Affairs when Andrew Langille was in local affairs?
|
SELECT Academic & University Affairs FROM table WHERE Local Affairs = andrew langille
|
Which Perth's gold coast and Adelaide were yes when Auckland was no?
|
SELECT Perth FROM table WHERE Gold Coast = yes AND Adelaide = yes AND Auckland = no
|
Which Melbourne had a gold coast and sydney which were yes, but an adelaide that was no?
|
SELECT Melbourne FROM table WHERE Gold Coast = yes AND Adelaide = no AND Sydney = yes
|
Which Adelaide's Melbourne and Perth were yes when Auckland was no?
|
SELECT Adelaide FROM table WHERE Melbourne = yes AND Auckland = no AND Perth = yes
|
Which Sydney's Melbourne was no, when Auckland was yes?
|
SELECT Sydney FROM table WHERE Melbourne = no AND Auckland = yes
|
Which Syndney's Gold coast, Adelaide, Melbourne, and Auckland were all no?
|
SELECT Sydney FROM table WHERE Gold Coast = no AND Adelaide = no AND Melbourne = no AND Auckland = no
|
Which Adelaide's Melbourne, Sydney, and Gold Coast were all no?
|
SELECT Adelaide FROM table WHERE Melbourne = no AND Sydney = no AND Gold Coast = no
|
Name the date which has type of plain stage
|
SELECT Date FROM table WHERE Type = plain stage
|
Name the distance for Course of vittorio veneto to marina romea
|
SELECT Distance FROM table WHERE Course = vittorio veneto to marina romea
|
Who was the partner that played a match on a grass court?
|
SELECT Partner FROM table WHERE Surface = grass
|
What was the score of the match in which mardy fish was the partner?
|
SELECT Score FROM table WHERE Partner = mardy fish
|
Who were the opponents in the match that was played on a hard court and had a runner-up outcome?
|
SELECT Opponents FROM table WHERE Surface = hard AND Outcome = runner-up
|
What is the time when the opponent is phil collins?
|
SELECT Time FROM table WHERE Opponent = phil collins
|
what is the total number of rounds when method is tko (punches) and time is 0:40?
|
SELECT COUNT Round FROM table WHERE Method = tko (punches) AND Time = 0:40
|
what is the method when the time is 0:51?
|
SELECT Method FROM table WHERE Time = 0:51
|
what is the time when the event is bellator 89?
|
SELECT Time FROM table WHERE Event = bellator 89
|
Name the average debt as % of value for operating income more than -16 and % change on year being 62
|
SELECT AVG Debt as % of value FROM table WHERE % change on year = 62 AND Operating income ($m) > -16
|
Name the country where % change on year is 21 and value is less than 86
|
SELECT Country FROM table WHERE Debt as % of value < 86 AND % change on year = 21
|
Name the total number of revenue for italy with team of internazionale with operating income less than 27
|
SELECT COUNT Revenue ($M) FROM table WHERE Country = italy AND Team = internazionale AND Operating income ($m) < 27
|
Name the most revenue for operating income more than 27 for hamburg and debt as % of value less than 0
|
SELECT MAX Revenue ($M) FROM table WHERE Operating income ($m) > 27 AND Team = hamburg AND Debt as % of value < 0
|
What is the result for an H/A of H and a round value of R6 replay?
|
SELECT Result FROM table WHERE H / A = h AND Round = r6 replay
|
What was the kickoff date for the round value of R4?
|
SELECT Kick Off FROM table WHERE Round = r4
|
What country was Henry Picard from?
|
SELECT Country FROM table WHERE Player = henry picard
|
Name the sum of inversions for opened of april 20, 2002
|
SELECT SUM Inversions FROM table WHERE Opened = april 20, 2002
|
Name the opened for spain
|
SELECT Opened FROM table WHERE Country = spain
|
Name the status for six flags new england
|
SELECT Status FROM table WHERE Park = six flags new england
|
Name the to par with money of 200,000 for australia
|
SELECT To par FROM table WHERE Money ( £ ) = 200,000 AND Country = australia
|
Name the money for ireland
|
SELECT Money ( £ ) FROM table WHERE Country = ireland
|
Name the money for pádraig harrington
|
SELECT Money ( £ ) FROM table WHERE Player = pádraig harrington
|
Name the to par for score of 69-73-68-70=280
|
SELECT To par FROM table WHERE Score = 69-73-68-70=280
|
Name the money for the to par of -6
|
SELECT Money ( £ ) FROM table WHERE To par = -6
|
On what date or dates did the term with the Centre Party end?
|
SELECT Term end FROM table WHERE Party = centre party
|
When did the term end for the term that had government 27 and Minister Tzachi Hanegbi?
|
SELECT Term end FROM table WHERE Governments = 27 AND Minister = tzachi hanegbi
|
What is the location/state of the race on the Wanneroo raceway?
|
SELECT Location / State FROM table WHERE Circuit = wanneroo raceway
|
What is the location/state of the Launceston race?
|
SELECT Location / State FROM table WHERE Race Title = launceston
|
What is the team of winner Dick Johnson?
|
SELECT Team FROM table WHERE Winner = dick johnson
|
What is the race title of the Oran Park raceway circuit with team jps team bmw?
|
SELECT Race Title FROM table WHERE Team = jps team bmw AND Circuit = oran park raceway
|
Name the total number of population hervey bay with population woocoo less than 640 and population of maryborough less than 19,257
|
SELECT COUNT Population (Hervey Bay) FROM table WHERE Population (Woocoo) < 640 AND Population (Maryborough) < 19,257
|
Name the average population hervey bay with population maryborough more than 11,415 and population region total less than 48,308 and population tiaro less than 2,066 and population woocoo of 491
|
SELECT AVG Population (Hervey Bay) FROM table WHERE Population (Maryborough) > 11,415 AND Population (Region total) < 48,308 AND Population (Tiaro) < 2,066 AND Population (Woocoo) = 491
|
Name the most population hervey bay for when population maryborough of 22,977 and population tiaro less than 3,287
|
SELECT MAX Population (Hervey Bay) FROM table WHERE Population (Maryborough) = 22,977 AND Population (Tiaro) < 3,287
|
Name the least year for population woocoo more than 750 and population region total more than 74,210 with population tiaro of 4,449 and population maryborough less than 24,465
|
SELECT MIN Year FROM table WHERE Population (Woocoo) > 750 AND Population (Region total) > 74,210 AND Population (Tiaro) = 4,449 AND Population (Maryborough) < 24,465
|
Which manufacturer made Shoya Tomizawa's motorcycle?
|
SELECT Manufacturer FROM table WHERE Rider = shoya tomizawa
|
How many laps were ridden in the race that had a Time/Retired of +37.351?
|
SELECT COUNT Laps FROM table WHERE Time/Retired = +37.351
|
How many laps did Mattia Pasini ride?
|
SELECT MIN Laps FROM table WHERE Rider = mattia pasini
|
What position does the player who has made 244 appearances with a Leeds career of 1981–1989 play?
|
SELECT Position FROM table WHERE Appearances = 244 AND Leeds career = 1981–1989
|
What position does the Wales player who made more than 167 appearances, had more than 0 goals, and had a Leeds career from 1977–1982 play?
|
SELECT Position FROM table WHERE Appearances > 167 AND Nationality = wales AND Goals > 0 AND Leeds career = 1977–1982
|
What is the average number of goals for a player who had a Leeds career from 1960–1964 and made fewer than 120 appearances?
|
SELECT AVG Goals FROM table WHERE Leeds career = 1960–1964 AND Appearances < 120
|
Who attended the school in 2008, that Deandria Hill attended in 2005?
|
SELECT 2008 FROM table WHERE 2005 = deandria hill
|
Who attended the school in 2006, that Jasmine Wilson attended in 2005?
|
SELECT 2006 FROM table WHERE 2005 = jasmine wilson
|
Who attended the school in 2009, that Lakita Hall attended in 2007?
|
SELECT 2009 FROM table WHERE 2007 = lakita hall
|
Who attended the school in 2007, that Kiara Spivey attended in 2008?
|
SELECT 2007 FROM table WHERE 2008 = kiara spivey
|
Who attended the school in 2006, that Whitney Powell attended in 2007?
|
SELECT 2006 FROM table WHERE 2007 = whitney powell
|
Who attended the school in 2008, that Brikajdri Wilson attended in 2006?
|
SELECT 2008 FROM table WHERE 2006 = brikajdri wilson
|
What is the lowest rank of a swimmer named Elizabeth Van Welie with a lane larger than 5?
|
SELECT MIN Rank FROM table WHERE Lane > 5 AND Name = elizabeth van welie
|
What is the rank of the swimmer with a time of 2:11.83?
|
SELECT Rank FROM table WHERE Time = 2:11.83
|
What is the lowest lane of a swimmer with a time of 2:07.57 and a rank larger than 1?
|
SELECT MIN Lane FROM table WHERE Time = 2:07.57 AND Rank > 1
|
What is the rank of the swimmer named Petria Thomas?
|
SELECT Rank FROM table WHERE Name = petria thomas
|
How many people were in attendance when the group position was 3rd?
|
SELECT Attendance FROM table WHERE Group position = 3rd
|
What was the final score agains Dynamo Kyiv, when the group position was 1st?
|
SELECT Result F – A FROM table WHERE Group position = 1st AND Opponents = dynamo kyiv
|
What was the average attendance on 18 October 2000?
|
SELECT AVG Attendance FROM table WHERE Date = 18 october 2000
|
In 2007, what player won player of the year?
|
SELECT Player FROM table WHERE Year(s) won = 2007
|
What year(s) did Mike Weir win player of the year?
|
SELECT Year(s) won FROM table WHERE Player = mike weir
|
The To par of +14 was won in what year(s)?
|
SELECT Year(s) won FROM table WHERE To par = +14
|
What is the result when the competition is 1982 president's cup?
|
SELECT Result FROM table WHERE Competition = 1982 president's cup
|
What is the score when the date is December 14, 1985?
|
SELECT Score FROM table WHERE Date = december 14, 1985
|
What is the venue when the date is September 24, 1980?
|
SELECT Venue FROM table WHERE Date = september 24, 1980
|
What is the venue when the result is 2-0, and the score is 1 goal, and the competition is 1980 afc asian cup?
|
SELECT Venue FROM table WHERE Result = 2-0 AND Score = 1 goal AND Competition = 1980 afc asian cup
|
What is the venue when the score is 1 goal, and the date is August 27, 1980?
|
SELECT Venue FROM table WHERE Score = 1 goal AND Date = august 27, 1980
|
What is the result when the date is August 27, 1980?
|
SELECT Result FROM table WHERE Date = august 27, 1980
|
What year shows the Entrant of bmw motorsport?
|
SELECT SUM Year FROM table WHERE Entrant = bmw motorsport
|
Which Entrant of stp march engineering scored the lowest points?
|
SELECT MIN Points FROM table WHERE Entrant = stp march engineering
|
What year had the Chassis of march 762 and more than 0 points?
|
SELECT COUNT Year FROM table WHERE Chassis = march 762 AND Points > 0
|
Which engine of bmw had the lowest points and chassis of march 792 that is newer than 1979?
|
SELECT MIN Points FROM table WHERE Engine = bmw AND Chassis = march 792 AND Year > 1979
|
Name the record when the attendance was more than 20,228 and rockies was the opponent on june 8
|
SELECT Record FROM table WHERE Attendance > 20,228 AND Opponent = rockies AND Date = june 8
|
Which Conference has a City of boca raton, and a School of florida atlantic university?
|
SELECT Conference FROM table WHERE City = boca raton AND School = florida atlantic university
|
Which School has a National Championships of 2, and a City of orlando?
|
SELECT School FROM table WHERE National Championships = 2 AND City = orlando
|
Which school has National Championships smaller than 2, and a Nickname of lions?
|
SELECT School FROM table WHERE National Championships < 2 AND Nickname = lions
|
What is the win percentage when 2011 shows 1r in the Paris tournament?
|
SELECT Win % FROM table WHERE 2011 = 1r AND Tournament = paris
|
What shows for 2009 when 25 shows for 2011?
|
SELECT 2009 FROM table WHERE 2011 = 25
|
What shows for 2010 when 2011 is 1r at the US Open tournament?
|
SELECT 2010 FROM table WHERE 2011 = 1r AND Tournament = us open
|
What is the win percentage when 2010 was 98?
|
SELECT Win % FROM table WHERE 2010 = 98
|
What shows for 2008 at the Shanghai tournament?
|
SELECT 2008 FROM table WHERE Tournament = shanghai
|
What is the win percentage for the 2012 of olympic games?
|
SELECT Win % FROM table WHERE 2012 = olympic games
|
Who was the opponent in the match that lasted 1:22?
|
SELECT Opponent FROM table WHERE Time = 1:22
|
Which round did the bout against Jonatas Novaes end in?
|
SELECT Round FROM table WHERE Opponent = jonatas novaes
|
Name the average established for championships less than 1 and club of erie seawolves
|
SELECT AVG Established FROM table WHERE Championships < 1 AND Club = erie seawolves
|
Name the most championships for club of erie seawolves
|
SELECT MAX Championships FROM table WHERE Club = erie seawolves
|
Name the sport with championships less than 1 and club of erie bayhawks
|
SELECT Sport FROM table WHERE Championships < 1 AND Club = erie bayhawks
|
what is the date for game 3?
|
SELECT Date FROM table WHERE Game = 3
|
What is the English title of 餓狼伝説バトルアーカイブズ2?
|
SELECT English title FROM table WHERE Japanese title = 餓狼伝説バトルアーカイブズ2
|
Who was the opponent when there was a loss of Francisco (1-1)?
|
SELECT Opponent FROM table WHERE Loss = francisco (1-1)
|
On what date was the attendance 17,136?
|
SELECT Date FROM table WHERE Attendance = 17,136
|
Who was the opponent during the game with a score of 6-5 and a loss of White (2-1)?
|
SELECT Opponent FROM table WHERE Score = 6-5 AND Loss = white (2-1)
|
What was the score for the game that had an attendance of 41,087?
|
SELECT Score FROM table WHERE Attendance = 41,087
|
When the game had a loss of Koch (0-1) what was the attendance?
|
SELECT Attendance FROM table WHERE Loss = koch (0-1)
|
What is the inegi code for mexicali with 13,700 km area?
|
SELECT AVG INEGI code FROM table WHERE Municipal seat = mexicali AND Area (Km2) > 13,700
|
What is the date of the away game when the team has a league position of 9th?
|
SELECT Date FROM table WHERE H / A = a AND League position = 9th
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.