question
stringlengths 12
244
| sql
stringlengths 22
468
|
|---|---|
Who plays halfback?
|
SELECT Player FROM table WHERE Position = halfback
|
Who is the team for Washington College?
|
SELECT Team FROM table WHERE College = washington
|
What is the Rank of the game with an Attendance of 93,039?
|
SELECT COUNT Rank FROM table WHERE Attendance = 93,039
|
What fuel system does the diesel engines model have?
|
SELECT Fuel system FROM table WHERE Model = diesel engines
|
What is the displacement for the petrol engines model?
|
SELECT Displacement FROM table WHERE Model = petrol engines
|
What is the size of the 2009 electorate for Gwalior Rural?
|
SELECT Number of electorates (2009) FROM table WHERE Name = gwalior rural
|
Who was eliminated that entered after number 3 and lasted 35:55?
|
SELECT Eliminated FROM table WHERE Entered > 3 AND Time = 35:55
|
What is the average year in which the finish position was 13th?
|
SELECT AVG Year FROM table WHERE Position = 13th
|
What is the average year for the Olympic Games?
|
SELECT AVG Year FROM table WHERE Competition = olympic games
|
What is the Label of the September 20, 2008 release with Catalog number RTRADCD491?
|
SELECT Label FROM table WHERE Catalog = rtradcd491 AND Date = september 20, 2008
|
What is the Format of the September 22, 2008 release with Catalog number RTRADCD491?
|
SELECT Format FROM table WHERE Catalog = rtradcd491 AND Date = september 22, 2008
|
What is the Format of the release with Catalog number RTRADLP491?
|
SELECT Format FROM table WHERE Catalog = rtradlp491
|
What is the Label of the Release with Catalog number 2508668?
|
SELECT Label FROM table WHERE Catalog = 2508668
|
What is the Format of the release with Catalog number 2508668?
|
SELECT Format FROM table WHERE Catalog = 2508668
|
What is the Region of the Warner Music Canada Label release?
|
SELECT Region FROM table WHERE Label = warner music canada
|
Who were the developers for Portal?
|
SELECT Developer(s) FROM table WHERE Game = portal
|
Who were the developers for the Action RPG made after 2010?
|
SELECT Developer(s) FROM table WHERE Year > 2010 AND Genre = action rpg
|
Which Callsign has an IATA of tr?
|
SELECT Callsign FROM table WHERE IATA = tr
|
Which Commenced operations have an Airline of valuair?
|
SELECT Commenced operations FROM table WHERE Airline = valuair
|
Which Commenced operations have an Airline of valuair?
|
SELECT MAX Commenced operations FROM table WHERE Airline = valuair
|
Which IATA has a ICAO of slk?
|
SELECT IATA FROM table WHERE ICAO = slk
|
How many Viewers have a Rank smaller than 2?
|
SELECT SUM Viewers FROM table WHERE Rank < 2
|
What is the longitude for the Township that has a ANSI code less than 1036534, a water (sqmi) of 0, and a GEO ID greater than 3809959540?
|
SELECT COUNT Longitude FROM table WHERE ANSI code < 1036534 AND Water (sqmi) = 0 AND GEO ID > 3809959540
|
What is the population in 2010 for the longitude of -97.578927?
|
SELECT COUNT Pop. (2010) FROM table WHERE Longitude = -97.578927
|
What is the total population in 2010 for the township located in Mountrail which has land less than 34.424 sq miles and a GEO ID less than 3806159940?
|
SELECT SUM Pop. (2010) FROM table WHERE Land ( sqmi ) < 34.424 AND County = mountrail AND GEO ID < 3806159940
|
What is the highest recorded latitude for the township that has an ANSI code greater than 1759541 and a population in 2010 of 72?
|
SELECT MAX Latitude FROM table WHERE ANSI code > 1759541 AND Pop. (2010) = 72
|
Which Athlete has a Rank larger than 1, and a Lane larger than 7, and a Nationality of china?
|
SELECT Athlete FROM table WHERE Rank > 1 AND Lane > 7 AND Nationality = china
|
How many Lanes have a Time larger than 13.59, and a Rank larger than 8?
|
SELECT SUM Lane FROM table WHERE Time > 13.59 AND Rank > 8
|
How many lanes have a Nationality of france, and a Rank larger than 8?
|
SELECT SUM Lane FROM table WHERE Nationality = france AND Rank > 8
|
What game was developed by Nintendo for the Gamecube platform?
|
SELECT Game FROM table WHERE Developer(s) = nintendo AND Platform(s) = gamecube
|
What is the genre of Super Mario Galaxy?
|
SELECT Genre FROM table WHERE Game = super mario galaxy
|
What is the average year having a rank among provinces over 5 and ten-year percentage change of 67.3?
|
SELECT AVG Year FROM table WHERE Ten Year % change = 67.3 AND Rank Among Provinces > 5
|
What is the highest population for the province having a rank under 5?
|
SELECT MAX Population FROM table WHERE Rank Among Provinces < 5
|
What is the number of population values having a rank among provinces under 5 with a five-year percentage change of 3.6?
|
SELECT COUNT Population FROM table WHERE Five Year % change = 3.6 AND Rank Among Provinces < 5
|
What is the highest year having a ten-year percentage change of 7.9?
|
SELECT MAX Year FROM table WHERE Ten Year % change = 7.9
|
What's the comp for 1998-04-22?
|
SELECT Comp FROM table WHERE Date = 1998-04-22
|
What's the score at Olympic Stadium Tokyo, Japan?
|
SELECT Score FROM table WHERE Venue = olympic stadium tokyo, japan
|
What's the comp in Olympic Stadium Tokyo, Japan?
|
SELECT Comp FROM table WHERE Venue = olympic stadium tokyo, japan
|
What's the report in King Baudouin Stadium Brussels, Belgium?
|
SELECT Report FROM table WHERE Venue = king baudouin stadium brussels, belgium
|
What is the Percentage Lost for the contestant with a starting weight above 102 kg who lost 46.9 kg?
|
SELECT Percentage Lost FROM table WHERE Starting Weight (kg) > 102 AND Weight Lost (kg) = 46.9
|
What lane has a time of 1:57.71?
|
SELECT SUM Lane FROM table WHERE Time = 1:57.71
|
Who had a larger rank than 3, less than 6 lanes, and a time of 1:58.15?
|
SELECT Name FROM table WHERE Rank > 3 AND Lane < 6 AND Time = 1:58.15
|
Which Crude death rate (per 1000) has Deaths of 768, and a Crude birth rate (per 1000) smaller than 29.7?
|
SELECT MIN Crude death rate (per 1000) FROM table WHERE Deaths = 768 AND Crude birth rate (per 1000) < 29.7
|
Which Attendance has an Opponent of perth glory, and a Round of 9?
|
SELECT MIN Attendance FROM table WHERE Opponent = perth glory AND Round = 9
|
What is the lowest rank of rider darren gilpin?
|
SELECT MIN Rank FROM table WHERE Rider = darren gilpin
|
What is the highest rank of rider colin martin?
|
SELECT MAX Rank FROM table WHERE Rider = colin martin
|
What is shown on Tuesday when Monday is showing Fox Sports Primetime?
|
SELECT Tuesday FROM table WHERE Monday = fox sports primetime
|
What is shown on Friday when Tuesday is Jay Mohr Sports?
|
SELECT Friday FROM table WHERE Tuesday = jay mohr sports
|
What is shown on Friday when Monday is Fox Sports Primetime?
|
SELECT Friday FROM table WHERE Monday = fox sports primetime
|
What is shown on Tuesday when Thursday shows Fox Sports Tonight (ends 1 am next day)?
|
SELECT Tuesday FROM table WHERE Thursday = fox sports tonight (ends 1 am next day)
|
What is shown on Tuesday when Wednesday is Fox Sports Tonight (ends 1 am next day)?
|
SELECT Tuesday FROM table WHERE Wednesday = fox sports tonight (ends 1 am next day)
|
Which capacity has the class 4c3h?
|
SELECT Capacity FROM table WHERE Class = 4c3h
|
What is the navigator for James?
|
SELECT Navigator FROM table WHERE Driver = james
|
How much time did Coad make when the margin was 04:02?
|
SELECT Total Time FROM table WHERE Margin = 04:02 AND Driver = coad
|
What class has a capacity smaller than 3384 for Ferguson?
|
SELECT Class FROM table WHERE Capacity < 3384 AND Navigator = ferguson
|
Which 1990 has a 2005 smaller than 5,361, and a 2007 smaller than 4,841, and a 2006 smaller than 618, and a 2004 smaller than 389?
|
SELECT 1990 FROM table WHERE 2005 < 5,361 AND 2007 < 4,841 AND 2006 < 618 AND 2004 < 389
|
What is the total number of places for a song with a draw of 21 and more than 36 points?
|
SELECT COUNT Place FROM table WHERE Draw = 21 AND Points > 36
|
What is the lowest numbered game against Phoenix with a record of 29-17?
|
SELECT MIN Game FROM table WHERE Opponent = phoenix AND Record = 29-17
|
what is the soap opera when the duration is 18 years and the character is miley byrne?
|
SELECT Soap Opera FROM table WHERE Duration = 18 years AND Character = miley byrne
|
what is the years when the duration is 13 years and the character is renee phelan?
|
SELECT Years FROM table WHERE Duration = 13 years AND Character = renee phelan
|
what is the years when the soap opera is glenroe and the actor is mick lally?
|
SELECT Years FROM table WHERE Soap Opera = glenroe AND Actor = mick lally
|
who is the actor when the character is dinny byrne?
|
SELECT Actor FROM table WHERE Character = dinny byrne
|
what is the soap opera when the actor is dave duffy?
|
SELECT Soap Opera FROM table WHERE Actor = dave duffy
|
What is the score for the game with an 11 tie number?
|
SELECT Score FROM table WHERE Tie no = 11
|
What date was Ipswich Town the away team?
|
SELECT Date FROM table WHERE Away team = ipswich town
|
Who is the owner with a Hot Adult Contemporary format?
|
SELECT Owner FROM table WHERE Format = hot adult contemporary
|
What's the call sign of The Q?
|
SELECT Call sign FROM table WHERE Branding = the q
|
What's the call sign for Jack FM?
|
SELECT Call sign FROM table WHERE Branding = jack fm
|
What is the average year for a Saar of FK Pirmasens and Hessen of Wormatia Worms?
|
SELECT AVG Year FROM table WHERE Saar = fk pirmasens AND Hessen = wormatia worms
|
What is the smallest year for a Main of Eintracht Frankfurt, Rhein of Waldhof Mannheim, Sarr of FK Pirmasens, and Hessen of Wormatia Worms?
|
SELECT MIN Year FROM table WHERE Main = eintracht frankfurt AND Rhein = waldhof mannheim AND Saar = fk pirmasens AND Hessen = wormatia worms
|
Which year has a Main of Eintracht Frankfurt and Hessen of FSV Mainz 05?
|
SELECT Year FROM table WHERE Main = eintracht frankfurt AND Hessen = fsv mainz 05
|
Who was the Hessen the year that Saar was FK Pirmasens?
|
SELECT Hessen FROM table WHERE Saar = fk pirmasens
|
What's the series of Buddy The Woodsman by director Jack King?
|
SELECT Series FROM table WHERE Director = jack king AND Title = buddy the woodsman
|
Who was the director of the movie having a release date of 1934-09-15, an MM Series and a production number less than 6494?
|
SELECT Director FROM table WHERE Series = mm AND Production Num. < 6494 AND Release date = 1934-09-15
|
Who's the director of Buddy of the Apes?
|
SELECT Director FROM table WHERE Title = buddy of the apes
|
What's the title of the film directed by Friz Freleng with an MM Series, production number greater than 6209 and a release date of 1934-11-03?
|
SELECT Title FROM table WHERE Production Num. > 6209 AND Series = mm AND Director = friz freleng AND Release date = 1934-11-03
|
What is the lowest time for Paulo Villar in lane 9?
|
SELECT MIN Time FROM table WHERE Athlete = paulo villar AND Lane < 9
|
What is the nationality of lane 4?
|
SELECT Nationality FROM table WHERE Lane = 4
|
What is the nationality with a 13.21 time?
|
SELECT Nationality FROM table WHERE Time = 13.21
|
With an increase in net assets of $211,418, what are the net assets at end of year?
|
SELECT Net Assets at End of Year FROM table WHERE Increase in Net Assets = $211,418
|
What increase in net assets also has $5,617,236 as the total expenses?
|
SELECT Increase in Net Assets FROM table WHERE Total Expenses = $5,617,236
|
With the net assets at end of year of $8,231,767, what is the increase in net assets?
|
SELECT Increase in Net Assets FROM table WHERE Net Assets at End of Year = $8,231,767
|
What net assets at end of year has $6,310,964 as the increase in net assets?
|
SELECT Net Assets at End of Year FROM table WHERE Increase in Net Assets = $6,310,964
|
When the increase in net assets is $654,066, what is the net assets at end of year?
|
SELECT Net Assets at End of Year FROM table WHERE Increase in Net Assets = $654,066
|
What net assets at end of year also has $736,132 as the increase in net assets?
|
SELECT Net Assets at End of Year FROM table WHERE Increase in Net Assets = $736,132
|
How many Gold medals did Puerto Rico receive with 1 Silver and a Total of 1 or less?
|
SELECT COUNT Gold FROM table WHERE Silver = 1 AND Nation = puerto rico AND Total < 1
|
What is the Total number of medals for the Nation with 7 or less Bronze medals and 1 Silver medal with a Rank of 9 or larger?
|
SELECT MIN Total FROM table WHERE Bronze < 7 AND Silver = 1 AND Rank > 9
|
How many Silver medals did the Nation with 10 or more Bronze receive?
|
SELECT MIN Silver FROM table WHERE Bronze > 10
|
what is the average wins when draws is less than 0?
|
SELECT AVG Wins FROM table WHERE Draws < 0
|
what is the average losses when the club is warrnambool and wins is less than 12?
|
SELECT AVG Losses FROM table WHERE Club = warrnambool AND Wins < 12
|
what is the most losses when the club is terang and draws is less than 0?
|
SELECT MAX Losses FROM table WHERE Club = terang AND Draws < 0
|
What is the sum of losses when wins is more than 6, club is camperdown and against is more than 1238?
|
SELECT SUM Losses FROM table WHERE Wins > 6 AND Club = camperdown AND Against > 1238
|
What is the drew for the 1999-2000 season when they were in third place?
|
SELECT Drew FROM table WHERE Round = third place AND Season = 1999-2000
|
What competition did they have 1 lost, 3 draws, and played 9 games?
|
SELECT Competition FROM table WHERE Lost = 1 AND Drew = 3 AND Played = 9
|
What is the number of draws when the played 9 and lost 3?
|
SELECT Drew FROM table WHERE Played = 9 AND Lost = 3
|
How many cable channels have callsign CBFT-DT?
|
SELECT COUNT Cable channel FROM table WHERE Call sign = cbft-dt
|
What is the lowest Digital PSIP for channels over 29 with callsign CFTU-DT?
|
SELECT MIN Digital PSIP FROM table WHERE Call sign = cftu-dt AND Broadcast channel > 29
|
What is the Digital PSIP for channels over 15 with callsign CFTU-DT?
|
SELECT Digital PSIP FROM table WHERE Broadcast channel > 15 AND Call sign = cftu-dt
|
Where was the location of the Mong Kok Stadium?
|
SELECT Location FROM table WHERE Home Ground = mong kok stadium
|
Which club, had a home ground of n/a?
|
SELECT Club FROM table WHERE Home Ground = n/a
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.