question
stringlengths
12
244
sql
stringlengths
22
468
What is the lowest evening gown score a contestant with an average less than 8.23, an interview score of 8.11, and a swimsuit larger than 7.84 has?
SELECT MIN Evening gown FROM table WHERE Average < 8.23 AND Interview = 8.11 AND Swimsuit > 7.84
What is the total interview score a contestant from Indiana with an average smaller than 8.3 has?
SELECT COUNT Interview FROM table WHERE State = indiana AND Average < 8.3
What is the highest swimsuit a contestant from Kansas with an average larger than 8.48, an interview higher than 8.58, and an evening gown higher than 8.82 has?
SELECT MAX Swimsuit FROM table WHERE Average > 8.48 AND Interview > 8.58 AND Evening gown > 8.82 AND State = kansas
What is the average interview score of a contestant from Louisiana with an evening gown smaller than 8.82?
SELECT AVG Interview FROM table WHERE Evening gown < 8.82 AND State = louisiana
What prefix has Haloalkane as the chemical class?
SELECT Prefix FROM table WHERE Chemical class = haloalkane
Which example has rx as the formula?
SELECT Example FROM table WHERE Formula = rx
Which chemical class uses the example Chloroethane (ethyl chloride)?
SELECT Chemical class FROM table WHERE Example = chloroethane (ethyl chloride)
What prefix has Bromo as the group?
SELECT Prefix FROM table WHERE Group = bromo
What is the chemical class for ri?
SELECT Chemical class FROM table WHERE Formula = ri
What prefix has chemical class Iodoalkane?
SELECT Prefix FROM table WHERE Chemical class = iodoalkane
What is the highest rank of the player with earnings of $6,715,649?
SELECT MAX Rank FROM table WHERE Earnings( $ ) = 6,715,649
What is the rank of Lee Trevino, who had less than 27 wins?
SELECT SUM Rank FROM table WHERE Player = lee trevino AND Wins < 27
Who is the player with more than $6,570,797 in earnings and less than 27 wins?
SELECT Player FROM table WHERE Earnings( $ ) > 6,570,797 AND Wins < 27
What date did the show with a series larger than 40, production code smaller than 213, and a season number larger than 11 air?
SELECT Original air date FROM table WHERE Series no. > 40 AND Production Code < 213 AND Season no. > 11
Who wrote the series number 49 with a season larger than 4?
SELECT Written by FROM table WHERE Season no. > 4 AND Series no. = 49
What was the latest gross 75,50,00,000?
SELECT MAX Year FROM table WHERE Nett Gross = 75,50,00,000
What is the total count of net gross in 1957?
SELECT COUNT Nett Gross FROM table WHERE Year = 1957
What is the total End term with a Title of prince regent of bavaria?
SELECT SUM End term FROM table WHERE Title = prince regent of bavaria
What is the smallest End term with a Start term of 1913, and a Name of ludwig iii?
SELECT MIN End term FROM table WHERE Start term = 1913 AND Name = ludwig iii
Which Title has an 1825 end term?
SELECT Title FROM table WHERE End term = 1825
What is the average Start term with a 1912 end term?
SELECT AVG Start term FROM table WHERE End term = 1912
What date were the high rebounds Evans (14)?
SELECT Date FROM table WHERE High rebounds = evans (14)
Which game has a high rebound of Evans (7) and a high assist of Evans, Ollie (3)?
SELECT MAX Game FROM table WHERE High rebounds = evans (7) AND High assists = evans, ollie (3)
What division has the highest FA Cup Goals, but a Total Goal score less than 5, and a Total Apps of 52?
SELECT MAX FA Cup Goals FROM table WHERE Total Apps (Sub) = 52 AND Total Goals < 5
What is the average FL Cup Apps, with a FL Cup Goals greater than 0, but a Other Apps less than 0?
SELECT AVG FL Cup Apps (Sub) FROM table WHERE FL Cup Goals > 0 AND Other Apps < 0
What is Division One's total number of FL Cup Goals, with an Other Apps greater than 3, and a FA Cup Goals greater than 0?
SELECT COUNT FL Cup Goals FROM table WHERE Division = one AND Other Apps > 3 AND FA Cup Goals > 0
What is Division One's average Other Apps, with a League Goal less than 1?
SELECT AVG Other Apps FROM table WHERE Division = one AND League Goals < 1
Who plays at Victoria Park?
SELECT Away team FROM table WHERE Venue = victoria park
What is the score against the indians after game 2?
SELECT Score FROM table WHERE Game > 2 AND Opponent = indians
What is the average grid for piers courage?
SELECT AVG Grid FROM table WHERE Driver = piers courage
Who drove 53 laps?
SELECT Driver FROM table WHERE Laps = 53
What is the lap total for george eaton, with a grid under 17 retiring due to gearbox?
SELECT SUM Laps FROM table WHERE Time/Retired = gearbox AND Driver = george eaton AND Grid < 17
How many laps for denny hulme with under 4 on the grid?
SELECT SUM Laps FROM table WHERE Driver = denny hulme AND Grid < 4
How many people were in the crowd when the home team scored 13.10 (88)?
SELECT Crowd FROM table WHERE Home team score = 13.10 (88)
What is the sum of the crowd when the away team score was 12.11 (83)?
SELECT SUM Crowd FROM table WHERE Away team score = 12.11 (83)
What was the score of the home team when there were more than 5,500 people in the crowd?
SELECT Home team score FROM table WHERE Crowd > 5,500
What is the sum of Crowd when Essendon was the home team?
SELECT SUM Crowd FROM table WHERE Home team = essendon
What was the home team score when North Melbourne was the away team?
SELECT Home team score FROM table WHERE Away team = north melbourne
What is the U.S. Hot 100 chart number of the single off of the 2002 album west coast bad boyz, vol. 3: poppin' collars?
SELECT U.S. Hot 100 FROM table WHERE Year = 2002 AND Album = west coast bad boyz, vol. 3: poppin' collars
What is the U.S. Rap chart number of the album west coast bad boyz, vol. 3: poppin' collars?
SELECT U.S. Rap FROM table WHERE Album = west coast bad boyz, vol. 3: poppin' collars
What is the top round for the baltimore bullets with a Pick larger than 6?
SELECT MAX Round FROM table WHERE Team = baltimore bullets AND Pick > 6
What team was the away team when the home team scored 12.8 (80)?
SELECT Away team FROM table WHERE Home team score = 12.8 (80)
What team was the away team when the home team scored 9.10 (64)?
SELECT Away team FROM table WHERE Home team score = 9.10 (64)
What team was the away team when they played at lake oval?
SELECT Away team score FROM table WHERE Venue = lake oval
How many people were in the crowd when North Melbourne was the home team?
SELECT Crowd FROM table WHERE Home team = north melbourne
What is Mark Grieb's average when his TDs are smaller than 2?
SELECT SUM Avg. FROM table WHERE Player = mark grieb AND TD's < 2
What is Craig Whelihan's average when his yards are smaller than 0?
SELECT SUM Avg. FROM table WHERE Player = craig whelihan AND Yards < 0
Which largest average had 1229 yards?
SELECT MAX Avg. FROM table WHERE Yards = 1229
What is the constructor where the circuit is Silverstone?
SELECT Constructor FROM table WHERE Circuit = silverstone
Who is the Winning Driver in the race viii gran premio di siracusa?
SELECT Winning driver FROM table WHERE Race Name = viii gran premio di siracusa
What is the date that the winner driver is Stirling Moss in the race named vi grand prix de caen?
SELECT Date FROM table WHERE Winning driver = stirling moss AND Race Name = vi grand prix de caen
Which state is the location of 39.1178°n 106.4454°w in?
SELECT State FROM table WHERE Location = 39.1178°n 106.4454°w
What is the highest rank Mount Elbert has?
SELECT MAX Rank FROM table WHERE Mountain Peak = mount elbert
What is the mountain range at 37.3934°n 104.9201°w?
SELECT Mountain Range FROM table WHERE Location = 37.3934°n 104.9201°w
What is the location of Blanca Peak?
SELECT Location FROM table WHERE Mountain Peak = blanca peak
Which state is West Spanish Peak in?
SELECT State FROM table WHERE Mountain Peak = west spanish peak
What is the ranked 5 mountain range?
SELECT Mountain Range FROM table WHERE Rank = 5
Name of choice b. Randell is the name of which District Residence?
SELECT District Residence FROM table WHERE Name = choice b. randell
Who has a Took Office of march 4, 1903?
SELECT Name FROM table WHERE Took Office = march 4, 1903
Which Took Office that has a Party of democrat, under the name of John Hancock
SELECT Took Office FROM table WHERE Party = democrat AND Name = john hancock
Who has Took Office of march 4, 1875?
SELECT Name FROM table WHERE Took Office = march 4, 1875
Name the record on june 22
SELECT Record FROM table WHERE Date = june 22
Name the total number in attendance for when the bulls visited
SELECT COUNT Attendance FROM table WHERE Visitor = bulls
Name the most swimsuit for interview less than 8.46
SELECT MAX Swimsuit FROM table WHERE Interview < 8.46
Name the most evening gown for average less than 8.793 with interview of 8.51 and swimsuit less than 8.12
SELECT MAX Evening Gown FROM table WHERE Average < 8.793 AND Swimsuit < 8.12 AND Interview = 8.51
On average, how many Starts have Wins that are smaller than 0?
SELECT AVG Starts FROM table WHERE Wins < 0
Which of the top-10s has a starts value of 14?
SELECT MAX Top-10s FROM table WHERE Starts = 14
In the tournament of HSBC Champions, what was the sum of the Starts with Wins lower than 0?
SELECT SUM Starts FROM table WHERE Tournament = hsbc champions AND Wins < 0
Who trained the horse on post 11 with over 36 odds?
SELECT Trainer FROM table WHERE Odds > 36 AND Post = 11
What is the lowest post number for calvin borel?
SELECT MIN Post FROM table WHERE Jockey = calvin borel
What horse for jara?
SELECT Horse FROM table WHERE Jockey = jara
What is the date when Lebron James (25) was the lead scorer?
SELECT Date FROM table WHERE Leading scorer = lebron james (25)
Which Total has a Gold smaller than 0?
SELECT SUM Total FROM table WHERE Gold < 0
Which Bronze has a Gold smaller than 0?
SELECT AVG Bronze FROM table WHERE Gold < 0
Which T.C. has a Win of 1, and a Race of 21?
SELECT T.C. FROM table WHERE Wins = 1 AND Races = 21
How many years have Drivers of ben hanley, and Flaps smaller than 0?
SELECT COUNT Year FROM table WHERE Drivers = ben hanley AND FLaps < 0
How many Points have Drivers of adrián vallés, and a Year larger than 2006?
SELECT AVG Points FROM table WHERE Drivers = adrián vallés AND Year > 2006
How many Poles have Drivers of juan cruz álvarez, and FLaps larger than 0?
SELECT SUM Poles FROM table WHERE Drivers = juan cruz álvarez AND FLaps > 0
Who was the away team at Victoria Park?
SELECT Away team FROM table WHERE Venue = victoria park
What is the name of the train numbered less than 6 before 1993?
SELECT Name FROM table WHERE Number < 6 AND Date < 1993
What is the name of the bo-bodh train with a number less than 5?
SELECT Name FROM table WHERE Number < 5 AND Type = bo-bodh
Name the record when the visitor is st. louis
SELECT Record FROM table WHERE Visitor = st. louis
What was the scory when calgary was visiting?
SELECT Score FROM table WHERE Visitor = calgary
Name the home when the visitor was dallas on february 2
SELECT Home FROM table WHERE Visitor = dallas AND Date = february 2
Name the date for turco decision and home of st. louis
SELECT Date FROM table WHERE Decision = turco AND Home = st. louis
Which rider had a speed of 104.630mph?
SELECT Rider FROM table WHERE Speed = 104.630mph
What is the best rank with a time of 1:05.14.10?
SELECT MAX Rank FROM table WHERE Time = 1:05.14.10
Where was the game played when the final score was 35-62?
SELECT Stadium FROM table WHERE Final Score = 35-62
During the game at Candlestick Park, who was the visiting team?
SELECT Visiting Team FROM table WHERE Stadium = candlestick park
Which visiting team had a final score of 14-34?
SELECT Visiting Team FROM table WHERE Final Score = 14-34
What was the final score in the game against the Cincinnati Bengals?
SELECT Final Score FROM table WHERE Visiting Team = cincinnati bengals
Who was the visiting team in the game against the Dallas Cowboys?
SELECT Visiting Team FROM table WHERE Host Team = dallas cowboys
Which tournament has an Outcome of runner-up, and an Opponent of maša zec peškirič?
SELECT Tournament FROM table WHERE Outcome = runner-up AND Opponent = maša zec peškirič
Which surface has a Score of 6–4, 6–2?
SELECT Surface FROM table WHERE Score = 6–4, 6–2
Which surface has a Date of 22 august 2006?
SELECT Surface FROM table WHERE Date = 22 august 2006
Which tournament has an Outcome of runner-up, a Surface of hard, and a Score of 6–4, 6–2?
SELECT Tournament FROM table WHERE Outcome = runner-up AND Surface = hard AND Score = 6–4, 6–2
What is the outcome with marina erakovic as opponent?
SELECT Outcome FROM table WHERE Opponent = marina erakovic
Which tournament has an Outcome of winner, and a Opponent of dia evtimova?
SELECT Tournament FROM table WHERE Outcome = winner AND Opponent = dia evtimova
What title runs for 3:22?
SELECT Title FROM table WHERE Time = 3:22
Who wrote the song that runs for 2:22?
SELECT Author(s) FROM table WHERE Time = 2:22