question
stringlengths
12
244
sql
stringlengths
22
468
For the United Kingdom, what's the date?
SELECT Date FROM table WHERE Country = united kingdom
For the Enernoc Australia Pty Ltd, what's the country with an unknown date?
SELECT Country FROM table WHERE Date = unknown AND Company = enernoc australia pty ltd
Which date is associated with a venue of Luxembourg?
SELECT Date FROM table WHERE Venue = luxembourg
What is the year with a Kurtis Kraft 500a chassis, and less than 1.5 points?
SELECT SUM Year FROM table WHERE Chassis = kurtis kraft 500a AND Points < 1.5
What is the year with a kurtis kraft 500a chassis?
SELECT SUM Year FROM table WHERE Chassis = kurtis kraft 500a
What is the lowest Pick # of Saint Vincent College?
SELECT MIN Pick # FROM table WHERE College = saint vincent college
What is the Overall for Pick # less than 5 Jack Harmon?
SELECT MIN Overall FROM table WHERE Name = jack harmon AND Pick # < 5
Which rank has a Total GDP (€ bn) of €11.243??
SELECT Rank FROM table WHERE Total GDP (€ bn ) = €11.243
What is the Region that has a Total GDP (€ bn ) of €11,745.353?
SELECT Region FROM table WHERE Total GDP (€ bn ) = €11,745.353
Which Region that has a growth of −3.6%?
SELECT Region FROM table WHERE % growth = −3.6
What is the per capita of Greece?
SELECT Per capita FROM table WHERE Region = greece
What is the fewest number of silver medals received by a nation who received 40 bronze medals and more than 42 gold medals?
SELECT MIN Silver FROM table WHERE Bronze = 40 AND Gold > 42
What is the lowest number of silver medals received by Austria when they receive more than 3 total medals, more than 22 bronze medals, and fewer than 395 gold medals?
SELECT MIN Silver FROM table WHERE Total > 3 AND Bronze > 22 AND Gold < 395 AND Nation = austria
What is the average number of silver medals with more than 6 gold meals and less than 5 bronze medals?
SELECT AVG Silver FROM table WHERE Gold > 6 AND Bronze < 5
How many ranks are for Switzerland with more than 2 total medals?
SELECT COUNT Rank FROM table WHERE Nation = switzerland AND Total > 2
What is the event of the match with a round larger than 2 and ended with a method of ko (kick)?
SELECT Event FROM table WHERE Round > 2 AND Method = ko (kick)
What is the method of the match after round 1 in the k-1 andy memorial 2001 japan gp final?
SELECT Method FROM table WHERE Round > 1 AND Event = k-1 andy memorial 2001 japan gp final
What is the highest round of the match with Rene Rooze as the opponent in Saitama, Japan?
SELECT MAX Round FROM table WHERE Opponent = rene rooze AND Location = saitama, japan
What is the highest round of the match with a time of 0:57?
SELECT MAX Round FROM table WHERE Time = 0:57
How many points did the Club score that has a try bonus of 7 and 52 tries for ?
SELECT Points for FROM table WHERE Tries for = 52 AND Try bonus = 7
What is the Losing bonus of the club that has 80 tries against ?
SELECT Losing bonus FROM table WHERE Tries against = 80
How many tries for does waunarlwydd rfc have ?
SELECT Tries for FROM table WHERE Club = waunarlwydd rfc
How many losses did the club with 47 points have ?
SELECT Lost FROM table WHERE Points = 47
How many points against does the club that has a try bonus of 6 and tries against of 54 have ?
SELECT Points against FROM table WHERE Try bonus = 6 AND Tries against = 54
Who were the co-drivers in 2008?
SELECT Co-Drivers FROM table WHERE Year = 2008
What was the position in 2006?
SELECT Pos. FROM table WHERE Year = 2006
What was the class when there were 325 laps?
SELECT Class FROM table WHERE Laps = 325
What was the position in a year after 2005 with a class position of 5th?
SELECT Pos. FROM table WHERE Year > 2005 AND Class Pos. = 5th
What is the English title of the film from 2001?
SELECT English title FROM table WHERE Year = 2001
What is the original title of the film from Japan/Taiwan before 2003?
SELECT Original title FROM table WHERE Year < 2003 AND Country = japan/taiwan
What is the English title of the film directed by Fernando Meirelles?
SELECT English title FROM table WHERE Director(s) = fernando meirelles
What is the country of the original title Cidade de deus?
SELECT Country FROM table WHERE Original title = cidade de deus
What is the earliest year of a film from Mexico?
SELECT MIN Year FROM table WHERE Country = mexico
What is the average year of the film from France/Hong Kong?
SELECT AVG Year FROM table WHERE Country = france/hong kong
Name the country for t3 place
SELECT Country FROM table WHERE Place = t3
Name the country with +2 to par
SELECT Country FROM table WHERE To par = +2
Name the to par for colin montgomerie
SELECT To par FROM table WHERE Player = colin montgomerie
Name the score for scotland
SELECT Score FROM table WHERE Country = scotland
What island has a population over 76, a height over 210, and an area larger than 12068?
SELECT Island FROM table WHERE Population > 76 AND Height (m) > 210 AND Area ( ha ) > 12068
What is the highest population of Trondra Island in the Scalloway Islands?
SELECT MAX Population FROM table WHERE Location = scalloway islands AND Island = trondra
How many matches were drawn associated with a percentage of 7.14% and more than 12 losses?
SELECT COUNT Drawn FROM table WHERE Percentage = 7.14% AND Lost > 12
Which percentage has a first game before 1997, fewer than 2 losses, and fewer than 5 matches played?
SELECT Percentage FROM table WHERE First game < 1997 AND Lost < 2 AND Played < 5
What is the total number of drawn matches from first game years before 2006 and fewer than 2 matches played?
SELECT SUM Drawn FROM table WHERE First game < 2006 AND Played < 2
What is the highest number of losses associated with 2 matches played, a first game after 1997, and more than 0 draws?
SELECT MAX Lost FROM table WHERE Played = 2 AND First game > 1997 AND Drawn > 0
What is the Result of the Test match at the Edgbaston Venue on 5,6,7,8 June 1997?
SELECT Result FROM table WHERE Date = 5,6,7,8 june 1997
What is the Date of the Test match of Australia in England at The Oval Venue?
SELECT Date FROM table WHERE Venue = the oval
Who was the Away captain for the Test match of Australia in England where the Result was AUS by 264 runs?
SELECT Away captain FROM table WHERE Result = aus by 264 runs
Who was the Home captain for the Test match of Australia in England at the Edgbaston Venue?
SELECT Home captain FROM table WHERE Venue = edgbaston
what is the name of the role that has co-protagonist in the notes field and the years of 2008-2009?
SELECT Role FROM table WHERE Notes = co-protagonist AND Year = 2008-2009
What is the name of the role that has a Title of Olvidarte Jamas?
SELECT Role FROM table WHERE Title = olvidarte jamas
Which production company has the year of 2005 listed?
SELECT Production Company FROM table WHERE Year = 2005
What is the name of the role that has a Title of Salud, Dinero y Amor and antagonist in the notes field?
SELECT Role FROM table WHERE Notes = antagonist AND Title = salud, dinero y amor
What is the name of the production company that has a year of 2008-2009?
SELECT Production Company FROM table WHERE Year = 2008-2009
What is the Authority for Kuranui Primary School that is located in the Area of Tirau?
SELECT Authority FROM table WHERE Area = tirau AND Name = kuranui primary school
Which Names have Deciles larger than 7?
SELECT Name FROM table WHERE Decile > 7
What Gender are the schools that have a Roll of 135?
SELECT Gender FROM table WHERE Roll = 135
What is the Name of a state Authority that has a Roll of 72?
SELECT Name FROM table WHERE Authority = state AND Roll = 72
Which friendly competition took place on 19 April 1979?
SELECT Score FROM table WHERE Competition = friendly AND Date = 19 april 1979
Which Team 1 has a first leg of 1-0 and a second leg of 0-2?
SELECT Team 1 FROM table WHERE 1st leg = 1-0 AND 2nd leg = 0-2
Which Team 1 faced Dynamos FC?
SELECT Team 1 FROM table WHERE Team 2 = dynamos fc
What is Team 1 Al-Hilal's Agg.?
SELECT Agg. FROM table WHERE Team 1 = al-hilal
What Team 2 has a second leg of 1-0?
SELECT Team 2 FROM table WHERE 2nd leg = 1-0
What Team 2 has a second leg of 3-1?
SELECT Team 2 FROM table WHERE 2nd leg = 3-1
Which record happened on the date of May 7?
SELECT Record FROM table WHERE Date = may 7
Which tournament had Lubomira Bacheva as the opponent in the final?
SELECT Tournament FROM table WHERE Opponent in the final = lubomira bacheva
Who was the opponent in the final on 5 July 1992?
SELECT Opponent in the final FROM table WHERE Date = 5 july 1992
What is the date of the tournament where Kyoko Nagatsuka was the opponent in the final?
SELECT Date FROM table WHERE Opponent in the final = kyoko nagatsuka
What is the surface at the tournament of Vaihingen?
SELECT Surface FROM table WHERE Tournament = vaihingen
What was the surface of the tournament where Anna Benzon was the opponent in the final?
SELECT Surface FROM table WHERE Opponent in the final = anna benzon
What is the average position of Eesti Põlevkivi Jõhvi when they had less than 13 points and worse than a -12 goal differential?
SELECT AVG Position FROM table WHERE Points < 13 AND Goals +/- > -12
What is the to par for the player who had a score of 70-72-70-69=281?
SELECT To par FROM table WHERE Score = 70-72-70-69=281
What year had the qual of totals
SELECT Year FROM table WHERE Qual = totals
What qual had a finish of 16 in 1968?
SELECT Qual FROM table WHERE Finish = 16 AND Year = 1968
What was the finish with the start of 25 and a lap larger than 46?
SELECT Finish FROM table WHERE Start = 25 AND Laps > 46
What was the lowest lap with the ranking of 19?
SELECT MIN Laps FROM table WHERE Start = 19
Name the least ovrs for wkts of 0
SELECT MIN Ovrs FROM table WHERE Wkts = 0
Name the average econ for runs more than 703 and ovrs more than 25.5
SELECT AVG Econ FROM table WHERE Ovrs > 25.5 AND Runs > 703
What is the average year that has a car that won 0 stages with a position of DNF?
SELECT AVG Year FROM table WHERE Class = car AND Stages won = 0 AND Position = dnf
What is the class that that won 2 stages and has a position of DNF?
SELECT Class FROM table WHERE Stages won = 2 AND Position = dnf
What position did the BMW vehicle made in 2006 hold?
SELECT Position FROM table WHERE Vehicle = bmw AND Year = 2006
Which builder has a Fuel Propulsion of diesel, a Model of d40lf, and an Order Year of 2005?
SELECT Builder FROM table WHERE Fuel Propulsion = diesel AND Model = d40lf AND Order Year = 2005
Name the sum of roll for morrinsville school
SELECT SUM Roll FROM table WHERE Name = morrinsville school
Name the authority for morrinsville college
SELECT Authority FROM table WHERE Name = morrinsville college
Name the years when decile was less than 7 for waitoa school
SELECT Years FROM table WHERE Decile < 7 AND Name = waitoa school
Name the total number of roll for state authority and stanley avenue school with decile more than 5
SELECT COUNT Roll FROM table WHERE Authority = state AND Name = stanley avenue school AND Decile > 5
What was the Blue Jays' record when they played the Royals with an attendance larger than 50,522?
SELECT Record FROM table WHERE Attendance > 50,522 AND Opponent = royals
What year had a population region total of 63,073 and a population maroochy smaller than 35,266?
SELECT MAX Year FROM table WHERE Population (Region total) = 63,073 AND Population (Maroochy) < 35,266
What is the grid total associated with 18 laps?
SELECT COUNT Grid FROM table WHERE Laps = 18
What rider is on an aprilia that went under 18 laps with a grid total of 17?
SELECT Rider FROM table WHERE Manufacturer = aprilia AND Laps < 18 AND Grid = 17
What is the Manufacturer for simone corsi?
SELECT Manufacturer FROM table WHERE Rider = simone corsi
What is the grid total associated with a Time/Retired of +33.634, and a Laps smaller than 19?
SELECT MIN Grid FROM table WHERE Time/Retired = +33.634 AND Laps < 19
Tell me the power when the torque is n·m (lb·ft)/*n·m (lb·ft) @1750
SELECT Power/rpm FROM table WHERE Torque (Nm)/rpm = n·m (lb·ft)/*n·m (lb·ft) @1750
Name the capacity for the engine of 2.0 duratorq
SELECT Capacity FROM table WHERE Model/Engine = 2.0 duratorq
Name the capacity for the torque of n·m (lb·ft) @4150
SELECT Capacity FROM table WHERE Torque (Nm)/rpm = n·m (lb·ft) @4150
Name the power for 1.8 duratorq
SELECT Power/rpm FROM table WHERE Model/Engine = 1.8 duratorq
Name the power for when the torque is n·m (lb·ft)/*n·m (lb·ft) @1750
SELECT Power/rpm FROM table WHERE Torque (Nm)/rpm = n·m (lb·ft)/*n·m (lb·ft) @1750
What are the smallest goals with a Goal Ratio of 0.14, and a Debut in Europe smaller than 1995?
SELECT MIN Goals FROM table WHERE Goal Ratio = 0.14 AND Debut in Europe < 1995
What's the average goal ratio with Goals larger than 1, Games larger than 161, and a Debut in Europe smaller than 1985?
SELECT AVG Goal Ratio FROM table WHERE Goals > 1 AND Games > 161 AND Debut in Europe < 1985
What lowest games have 20 goals and a Goal Ratio smaller than 0.14?
SELECT MIN Games FROM table WHERE Goals = 20 AND Goal Ratio < 0.14
What is the largest goal ratio with Goals smaller than 0?
SELECT MAX Goal Ratio FROM table WHERE Goals < 0