question
stringlengths
12
244
sql
stringlengths
22
468
Which Year has a Category of best film?
SELECT MAX Year FROM table WHERE Category = best film
Who is the incumbent from the democratic party in the washington 7 district?
SELECT Incumbent FROM table WHERE Party = democratic AND District = washington 7
When was the earliest incumbent dave reichert was first elected?
SELECT MIN First elected FROM table WHERE Incumbent = dave reichert
What is the total of the first elected year of incumbent norm dicks?
SELECT COUNT First elected FROM table WHERE Incumbent = norm dicks
What is the total of the first elected year of the incumbent from the washington 8 district?
SELECT COUNT First elected FROM table WHERE District = washington 8
WHAT IS THE START THAT HAS A FINISH BIGGER THAN 3, FROM FORD, AFTER 1969?
SELECT MAX Start FROM table WHERE Finish > 3 AND Manufacturer = ford AND Year > 1969
WHAT MANUFACTURER AFTER 1966 HAD A START SMALLER THAN 5, A WOOD TEAM AND FINISHED 35?
SELECT Manufacturer FROM table WHERE Year > 1966 AND Start < 5 AND Team = wood AND Finish = 35
WHAT WAS THE FINISH NUMBER WITH A START SMALLER THAN 20 IN 1969?
SELECT COUNT Finish FROM table WHERE Start < 20 AND Year = 1969
What is the total number of Pleasure(s), when Psychological Dependence is greater than 1.9, and when Drug is "Benzodiazepines"?
SELECT COUNT Pleasure FROM table WHERE Psychological dependence > 1.9 AND Drug = benzodiazepines
What is the highest Psychological Dependence, when Pleasure is less than 2.3, when Drug is "Cannabis", and when Physical Dependence is less than 0.8?
SELECT MAX Psychological dependence FROM table WHERE Pleasure < 2.3 AND Drug = cannabis AND Physical dependence < 0.8
What is the average Mean, when Drug is "Alcohol", and when Psychological Dependence is greater than 1.9?
SELECT AVG Mean FROM table WHERE Drug = alcohol AND Psychological dependence > 1.9
What is the total number of Psychological Dependence, when Pleasure is "2.3", and when Mean is less than 1.9300000000000002?
SELECT COUNT Psychological dependence FROM table WHERE Pleasure = 2.3 AND Mean < 1.9300000000000002
What is the sum of Pleasure, when Drug is "LSD", and when Psychological Dependence is greater than 1.1?
SELECT SUM Pleasure FROM table WHERE Drug = lsd AND Psychological dependence > 1.1
What Country's team is Rajasthan Royals at the 2008 Indian Premier League?
SELECT Country FROM table WHERE Domestic tournament = 2008 indian premier league AND Team = rajasthan royals
What is the Domestic Tournament with Chennai Super Kings Team?
SELECT Domestic tournament FROM table WHERE Team = chennai super kings
What is the Dolphins Group?
SELECT Group FROM table WHERE Team = dolphins
Who is the player that won in the year 1978?
SELECT Player FROM table WHERE Year(s) won = 1978
What is the Country of the Player with a Score of 73-71-76-70=290?
SELECT Country FROM table WHERE Score = 73-71-76-70=290
What is Lawson Little's Money ($) amount?
SELECT Money ( $ ) FROM table WHERE Player = lawson little
What is the Money ($) amount of the Player with a To par of e?
SELECT Money ( $ ) FROM table WHERE To par = e
What Country has a Player with Playoff Money with a Score of 72-69-73-73=287?
SELECT Country FROM table WHERE Money ( $ ) = playoff AND Score = 72-69-73-73=287
What is Ben Hogan's Place?
SELECT Place FROM table WHERE Player = ben hogan
What is the Place of the Player with a Score of 73-75-71-73=292?
SELECT Place FROM table WHERE Score = 73-75-71-73=292
How many byes when there are 11 wins and fewer than 5 losses?
SELECT SUM Byes FROM table WHERE Wins = 11 AND Losses < 5
How many losses when there are less than 0 wins?
SELECT COUNT Losses FROM table WHERE Wins < 0
What are the most againsts with more than 11 losses and central murray is Nyah Nyah West Utd?
SELECT MAX Against FROM table WHERE Central Murray = nyah nyah west utd AND Losses > 11
What is the To par of the player with Money of 7,750 or more?
SELECT To par FROM table WHERE Money ( Β£ ) > 7,750
who is the provider when up (up to kbit/s) is 1180?
SELECT Provider FROM table WHERE Up (up to kbit/s) = 1180
what is the highest down (up to kbits/s) when resale is yes, up ( up to kbit/s) is 1180 and provider is 1&1?
SELECT MAX Down (up to kbit/s) FROM table WHERE Resale = yes AND Up (up to kbit/s) = 1180 AND Provider = 1&1
what is the resale when the down (up to kbit/s) is 24000?
SELECT Resale FROM table WHERE Down (up to kbit/s) = 24000
What is the average down (up to kbit/s) when the provider is willy.tel and the up (kbit/s) is more than 1984?
SELECT AVG Down (up to kbit/s) FROM table WHERE Provider = willy.tel AND Up (up to kbit/s) > 1984
How many totals have a Gold larger than 0, and a Bronze smaller than 0?
SELECT COUNT Total FROM table WHERE Gold > 0 AND Bronze < 0
Which Total has a Bronze larger than 1, and a Gold larger than 0?
SELECT MAX Total FROM table WHERE Bronze > 1 AND Gold > 0
What country is Eugene McDowell from?
SELECT Nationality FROM table WHERE Player = eugene mcdowell
When was Mario Elie picked in a round before 7?
SELECT MAX Pick FROM table WHERE Player = mario elie AND Round < 7
In what round did someone from North Carolina State get picked larger than 91?
SELECT COUNT Round FROM table WHERE School/Club Team = north carolina state AND Pick > 91
Which Results have a Category of the best new actor in lead role(female)?
SELECT Results FROM table WHERE Category = best new actor in lead role(female)
What was the category in 2008?
SELECT Category FROM table WHERE Year = 2008
Which Character has a Category of favourite naya sadasya?
SELECT Character FROM table WHERE Category = favourite naya sadasya
Which Show has an Award of indian television academy awards?
SELECT Show FROM table WHERE Award = indian television academy awards
What award was won after 2008?
SELECT Award FROM table WHERE Year > 2008
On what Date did the massacre result with 21 Injured?
SELECT Date FROM table WHERE Injured = 21
What is City / State, when Winner is "Rohan Onslow", and when Circuit is "Oran Park Raceway"?
SELECT City / State FROM table WHERE Winner = rohan onslow AND Circuit = oran park raceway
What is Winner, when City / State is "Mallala , South Australia", and when Team is "Elfin Sports Cars"?
SELECT Winner FROM table WHERE City / State = mallala , south australia AND Team = elfin sports cars
What is Circuit, when Team is "R.J.MacArthur Onslow", and when City / State is "Sydney , New South Wales"?
SELECT Circuit FROM table WHERE Team = r.j.macarthur onslow AND City / State = sydney , new south wales
What is Winner, when Team is "R.J.MacArthur Onslow", and when Circuit is "Oran Park Raceway"?
SELECT Winner FROM table WHERE Team = r.j.macarthur onslow AND Circuit = oran park raceway
What is Date, when City / State is "Mallala , South Australia", and when Team is "R.J.MacArthur Onslow"?
SELECT Date FROM table WHERE City / State = mallala , south australia AND Team = r.j.macarthur onslow
What is Winner, when Date is "20 August"?
SELECT Winner FROM table WHERE Date = 20 august
What is the total number of points with less than 49 points in 2008-09, and 46 points in 2006-07?
SELECT COUNT Total Pts FROM table WHERE 2008–09 Pts < 49 AND 2006–07 Pts = 46
What is the total pld that has 36 points in 2007-08, and less than 55 points in 2008-09?
SELECT SUM Total Pld FROM table WHERE 2007–08 Pts = 36 AND 2008–09 Pts < 55
What is the lowest total pld with 57 points in 2006-07, and more than 39 points in 2008-09
SELECT MIN Total Pld FROM table WHERE 2006–07 Pts = 57 AND 2008–09 Pts > 39
What actor was nominated for best actress?
SELECT Actor FROM table WHERE Result = nominated AND Category = best actress
What year was Jennifer Tilly's Film of Bullets Over Broadway up in the best supporting actress category?
SELECT Year FROM table WHERE Film = bullets over broadway AND Category = best supporting actress AND Actor = jennifer tilly
What is the result of Samantha Morton being up for best supporting actress in a year later than 1989?
SELECT Result FROM table WHERE Year > 1989 AND Category = best supporting actress AND Actor = samantha morton
What film was Dianne Wiest in?
SELECT Film FROM table WHERE Actor = dianne wiest
Which class has fewer than 10 and number(s) names?
SELECT Class FROM table WHERE Quantity < 10 AND Number(s) = names
What is the type with a quantity of fewer than 6 and number(s) 5201?
SELECT Type FROM table WHERE Quantity < 6 AND Number(s) = 5201
How many byes were then when there were less than 737 against?
SELECT SUM Byes FROM table WHERE Against < 737
How many wins were there when the byes were more than 3?
SELECT COUNT Wins FROM table WHERE Byes > 3
How many wins were there when draws were more than 0?
SELECT MIN Wins FROM table WHERE Draws > 0
How many wins did Glenelg FL of bahgallah have when there were more than 3 byes?
SELECT COUNT Wins FROM table WHERE Glenelg FL = bahgallah AND Byes > 3
What is Date, when Opponent in Final is "Guy Forget"?
SELECT Date FROM table WHERE Opponent in Final = guy forget
What is Opponent in Final, when Date is "13 January 1992"?
SELECT Opponent in Final FROM table WHERE Date = 13 january 1992
What is Opponent in Final, when Surface is "Hard", and when Date is "13 January 1992"?
SELECT Opponent in Final FROM table WHERE Surface = hard AND Date = 13 january 1992
What is the Height of the Player with a Date of Birth of 1979-06-12?
SELECT Height FROM table WHERE Date of Birth = 1979-06-12
What is the Height of the Player with a Date of Birth of 1982-07-05?
SELECT Height FROM table WHERE Date of Birth = 1982-07-05
What is the Height of the Player with a Date of Birth of 1982-07-05?
SELECT Height FROM table WHERE Date of Birth = 1982-07-05
What is the Weight of the Player with a Date of Birth of 1979-09-26?
SELECT Weight FROM table WHERE Date of Birth = 1979-09-26
What is Elise Norwood's Pos.?
SELECT Pos. FROM table WHERE Name = elise norwood
What is the Club of the Player with a Date of Birth of 1977-02-03?
SELECT Club FROM table WHERE Date of Birth = 1977-02-03
What home has 1-5 as the away?
SELECT Home FROM table WHERE Away = 1-5
What league has 2-3 as the away?
SELECT League FROM table WHERE Away = 2-3
What away has 1-4 as the home?
SELECT Away FROM table WHERE Home = 1-4
What teams has 1-5 as the away?
SELECT Teams FROM table WHERE Away = 1-5
What Date had a Series of ATCC Round 6?
SELECT Date FROM table WHERE Series = atcc round 6
Who was the Winner in the AMC Round 4 at Lakeside International Raceway?
SELECT Winner FROM table WHERE Circuit = lakeside international raceway AND Series = amc round 4
What is the week 15 result for the team that had a week 9 result of Washington (6-1)?
SELECT Week 15 (Final) Dec 9 FROM table WHERE Week 9 Oct 29 = washington (6-1)
What is the week 10 result for the tean when the week 15 result is Illinois (10-1)?
SELECT Week 10 Nov 5 FROM table WHERE Week 15 (Final) Dec 9 = illinois (10-1)
What is the week 10 result where the week 9 result was Dropped: Maryland South Carolina?
SELECT Week 10 Nov 5 FROM table WHERE Week 9 Oct 29 = dropped: maryland south carolina
What is the week 13 result where the week 14 resulted in Maryland (10-1)?
SELECT Week 13 Nov 26 FROM table WHERE Week 14 Dec 3 = maryland (10-1)
What happened in week 14 when week 11's result was Michigan (7-2)?
SELECT Week 14 Dec 3 FROM table WHERE Week 11 Nov 12 = michigan (7-2)
What happened in week 12 when week 13 resulted in Tennessee (9-1)?
SELECT Week 12 Nov 19 FROM table WHERE Week 13 Nov 26 = tennessee (9-1)
What is the fewest bronze medals when the total medals is less than 10, and the gold medals less than 0?
SELECT MIN Bronze FROM table WHERE Total < 10 AND Gold < 0
With 8 as the rank, and a total of more than 2 medals what is the average bronze medals?
SELECT AVG Bronze FROM table WHERE Rank = 8 AND Total > 2
What is the maximum total medals when the rank is 8?
SELECT MAX Total FROM table WHERE Rank = 8
What is the largest number of gold medals when the bronze medals is less than 49, and there is 22 silver medals, and the total is less than 60?
SELECT MAX Gold FROM table WHERE Bronze < 49 AND Silver = 22 AND Total < 60
When the number of gold medals is greater than 59, and the rank is total, what is the average bronze medals?
SELECT AVG Bronze FROM table WHERE Rank = total AND Gold > 59
What is the smallest number of medals a country with more than 14 silver has?
SELECT MIN Total FROM table WHERE Silver > 14
What is the rank of a country with more than 2 gold, less than 5 silver, and less than 31 total medals?
SELECT SUM Rank FROM table WHERE Gold > 2 AND Total < 31 AND Silver < 5
WHat was the score for Phil Mickelson when he placed t3?
SELECT Score FROM table WHERE Place = t3 AND Player = phil mickelson
What place did the golfer take whose country is South Africa?
SELECT Place FROM table WHERE Country = south africa
What was the result of the game played at Jeppesen Stadium?
SELECT Result FROM table WHERE Game site = jeppesen stadium
What week was the game played on November 12, 1961, with an attendance of 7,859 played?
SELECT MIN Week FROM table WHERE Date = november 12, 1961 AND Attendance < 7,859
What decade is the artist the replacements?
SELECT Decade FROM table WHERE Artist = the replacements
What is the number of households in the county with median income of $65,240 and population greater than 744,344?
SELECT SUM Number of households FROM table WHERE Median family income = $65,240 AND Population > 744,344
What is the population of Tioga county?
SELECT Population FROM table WHERE County = tioga
Which Constructor has Laps larger than 9, and a Grid smaller than 2?
SELECT Constructor FROM table WHERE Laps > 9 AND Grid < 2
What's filiberto rivera's height?
SELECT COUNT Height FROM table WHERE Player = filiberto rivera
Who has a position of sg?
SELECT Player FROM table WHERE Position = sg
Who has a height of 2.16?
SELECT Player FROM table WHERE Height = 2.16