question
stringlengths 12
244
| sql
stringlengths 22
468
|
|---|---|
What type of wheels did the locomotive have that was built by Baldwin Locomotive Works?
|
SELECT Wheels FROM table WHERE Builder = baldwin locomotive works
|
Which Venue has Against of 25?
|
SELECT Venue FROM table WHERE Against = 25
|
Which Venue has Against smaller than 6?
|
SELECT Venue FROM table WHERE Against < 6
|
What's the value for utah when colorado and new mexico are bush?
|
SELECT Utah FROM table WHERE Colorado = bush AND New Mexico = bush
|
What's the value for oklahoma when texas is kennedy?
|
SELECT Oklahoma FROM table WHERE Texas = kennedy
|
What's the value for utah when texas is humphrey?
|
SELECT Utah FROM table WHERE Texas = humphrey
|
What's the value for arizona when colorado and nevada are nixon, and texas is humphrey?
|
SELECT Arizona FROM table WHERE Colorado = nixon AND Nevada = nixon AND Texas = humphrey
|
What's the value for oklahoma when nevada and colorado are clinton?
|
SELECT Oklahoma FROM table WHERE Nevada = clinton AND Colorado = clinton
|
What's the value for arizona when utah is eisenhower?
|
SELECT Arizona FROM table WHERE Utah = eisenhower
|
How often are there ads during American Top 40?
|
SELECT Ad Freq FROM table WHERE Show Name = american top 40
|
When does Classic Hits air?
|
SELECT Time FROM table WHERE Show Name = classic hits
|
What is Pick #18's Role?
|
SELECT Role FROM table WHERE Pick # = 18
|
What is the foundation for the institution whose name in English is tanjung puteri technical secondary school?
|
SELECT Foundation FROM table WHERE Name in English = tanjung puteri technical secondary school
|
What is the location of the institution whose name in Malay is kolej kemahiran belia nasional, pontian?
|
SELECT Location FROM table WHERE Name in Malay = kolej kemahiran belia nasional, pontian
|
What was the average money when the score was 68-69-68-72=277?
|
SELECT AVG Money ( $ ) FROM table WHERE Score = 68-69-68-72=277
|
What was the highest money when the score was 69-68-67-69=273?
|
SELECT MAX Money ( $ ) FROM table WHERE Score = 69-68-67-69=273
|
What did South Africa place?
|
SELECT Place FROM table WHERE Country = south africa
|
What county placed t2 and scored 68-69-68-72=277?
|
SELECT Country FROM table WHERE Place = t2 AND Score = 68-69-68-72=277
|
Name the Milan – San Remo which has a Liège–Bastogne–Liège of danilo di luca ( ita )?
|
SELECT Milan – San Remo FROM table WHERE Liège–Bastogne–Liège = danilo di luca ( ita )
|
Which Giro di Lombardia has a Paris–Roubaix of servais knaven ( ned )?
|
SELECT Giro di Lombardia FROM table WHERE Paris–Roubaix = servais knaven ( ned )
|
what kind of Giro di Lombardiahas a Tour of Flanders of tom boonen ( bel ), and a Paris–Roubaix of fabian cancellara ( sui )?
|
SELECT Giro di Lombardia FROM table WHERE Tour of Flanders = tom boonen ( bel ) AND Paris–Roubaix = fabian cancellara ( sui )
|
What are the cargo tonnes when the international (non-CIS) is 297 421?
|
SELECT Cargo (tonnes) FROM table WHERE International (non-CIS) = 297 421
|
How manu aircraft landings when the cargo tonnes are 18 344?
|
SELECT Aircraft Landings FROM table WHERE Cargo (tonnes) = 18 344
|
What is the domestic figure when cargo tonnes equal 25 866?
|
SELECT Domestic FROM table WHERE Cargo (tonnes) = 25 866
|
What is the year that saw a passenger change of +32,9%?
|
SELECT COUNT Year FROM table WHERE Passenger Change = +32,9%
|
What year had cargo tonnes of 13 585?
|
SELECT AVG Year FROM table WHERE Cargo (tonnes) = 13 585
|
What round did the event UFC 86 take place?
|
SELECT Round FROM table WHERE Event = ufc 86
|
What method was there in round 1 when the location was Aruba?
|
SELECT Method FROM table WHERE Round = 1 AND Location = aruba
|
What location was the event ufc: fight for the troops?
|
SELECT Location FROM table WHERE Event = ufc: fight for the troops
|
When was the game that had the St. Louis Rams as visiting team and resulted in a score of 26-0?
|
SELECT Date FROM table WHERE Visiting Team = st. louis rams AND Result = 26-0
|
What date(s) was the game(s) at Candlestick Park?
|
SELECT Date FROM table WHERE Venue = candlestick park
|
What year was the opponent in the final john higgins category:articles with hcards?
|
SELECT Year FROM table WHERE Opponent in the final = john higgins category:articles with hcards
|
Which church was built in 1600?
|
SELECT Church Name FROM table WHERE Year Built = 1600
|
What is the Location of the Church that was built in the year 1914?
|
SELECT Location of the Church FROM table WHERE Year Built = 1914
|
Where is the Church that has a Sub-Parish (Sokn) of rugsund?
|
SELECT Location of the Church FROM table WHERE Sub-Parish (Sokn) = rugsund
|
Which Year Built has a Parish (Prestegjeld) of bremanger parish, and a Location of the Church of bremanger?
|
SELECT AVG Year Built FROM table WHERE Parish ( Prestegjeld ) = bremanger parish AND Location of the Church = bremanger
|
Who is the required actor when Robert Austin was the actor in the original production?
|
SELECT Actor required FROM table WHERE Actor in original production = robert austin
|
Who is the actor in the original production when Troy Stephens is the GamePlan?
|
SELECT Actor in original production FROM table WHERE GamePlan = troy stephens
|
Who is the GamePlan when Jacqueline King is the actor in the original production?
|
SELECT GamePlan FROM table WHERE Actor in original production = jacqueline king
|
Who is the GamePlan when Arabella Lazenby is the RolePlay actor?
|
SELECT GamePlan FROM table WHERE RolePlay = arabella lazenby
|
Who is the actor required when Edna Stricken is the FlatSpin actor?
|
SELECT Actor required FROM table WHERE FlatSpin = edna stricken
|
What shows for the 1st round when the team 1 was Lb Châteauroux (d2)?
|
SELECT 1st round FROM table WHERE Team 1 = lb châteauroux (d2)
|
What shows for 2nd round when the team 1 was Rc Strasbourg (d1)?
|
SELECT 2nd round FROM table WHERE Team 1 = rc strasbourg (d1)
|
Who was the Home team in Tie #23?
|
SELECT Home team FROM table WHERE Tie no = 23
|
What was the final score in Tie #28?
|
SELECT Score FROM table WHERE Tie no = 28
|
What score has a to par greater than 15, money ($) greater than 116, with billy burke as the player?
|
SELECT Score FROM table WHERE To par > 15 AND Money ( $ ) > 116 AND Player = billy burke
|
What player has t3 as the place, with england united states as the country?
|
SELECT Player FROM table WHERE Place = t3 AND Country = england united states
|
What is the lowest money ($) that has t8 as the place, with a to par greater than 19?
|
SELECT MIN Money ( $ ) FROM table WHERE Place = t8 AND To par > 19
|
What score has money ($) greater than 400, with gene sarazen as the player?
|
SELECT Score FROM table WHERE Money ( $ ) > 400 AND Player = gene sarazen
|
Which Country has a To par smaller than 7, and a Total of 148?
|
SELECT Country FROM table WHERE To par < 7 AND Total = 148
|
Which player is from south africa?
|
SELECT Player FROM table WHERE Country = south africa
|
Which Year(s) won has a Total larger than 148, and a To par smaller than 17, and a Country of new zealand?
|
SELECT Year(s) won FROM table WHERE Total > 148 AND To par < 17 AND Country = new zealand
|
In what Event did Dorcus Inzikuru compete?
|
SELECT Event FROM table WHERE Name = dorcus inzikuru
|
In what Games did Patrick Etolu compete?
|
SELECT Games FROM table WHERE Name = patrick etolu
|
What Medal did James Odwori receive for Boxing in the 1970 Edinburgh Games?
|
SELECT Medal FROM table WHERE Sport = boxing AND Games = 1970 edinburgh AND Name = james odwori
|
What is the Medal for the Player in the Light Heavyweight event?
|
SELECT Medal FROM table WHERE Event = light heavyweight
|
At what Games did the competitor win a Silver medal in the light heavyweight event?
|
SELECT Games FROM table WHERE Medal = silver AND Event = light heavyweight
|
What is the Tie no for Away Team Ipswich Town?
|
SELECT Tie no FROM table WHERE Away team = ipswich town
|
What is the Date of the Middlesbrough Home game?
|
SELECT Date FROM table WHERE Home team = middlesbrough
|
What is the Home team in the Game with a Score of 1–0?
|
SELECT Home team FROM table WHERE Score = 1–0
|
What is the Date of the Everton Away game?
|
SELECT Date FROM table WHERE Away team = everton
|
When the finish was t31 what was the To par?
|
SELECT To par FROM table WHERE Finish = t31
|
Who had a finish of t15?
|
SELECT Player FROM table WHERE Finish = t15
|
When the total was 290 what was the To par?
|
SELECT To par FROM table WHERE Total = 290
|
What is the Total for Seve Ballesteros?
|
SELECT SUM Total FROM table WHERE Player = seve ballesteros
|
What was the result of Declan Donnellan's nomination?
|
SELECT Result FROM table WHERE Nominee = declan donnellan
|
What was the result of the Best Actor in a Musical category?
|
SELECT Result FROM table WHERE Category = best actor in a musical
|
WHAT IS THE PLAYER WITH 287?
|
SELECT Player FROM table WHERE Total = 287
|
WHAT COUNTRY HAS A PLAYER NAMED JACK NICKLAUS?
|
SELECT Country FROM table WHERE Player = jack nicklaus
|
What is Player, when Country is "United States", and when Place is "6"?
|
SELECT Player FROM table WHERE Country = united states AND Place = 6
|
What is the average Money ( $ ), when Score is "69-69-76-69=283"?
|
SELECT AVG Money ( $ ) FROM table WHERE Score = 69-69-76-69=283
|
What is Country, when To par is "+1", and when Score is "72-71-70-72=285"?
|
SELECT Country FROM table WHERE To par = +1 AND Score = 72-71-70-72=285
|
What is Place, when Score is "70-70-68-70=278"?
|
SELECT Place FROM table WHERE Score = 70-70-68-70=278
|
For which network was Chris Walby the color commentator after 1990?
|
SELECT Network FROM table WHERE Year > 1990 AND Colour commentator(s) = chris walby
|
Who was the pregame host before 1992 when there was a play by play of Bob Irving?
|
SELECT Pregame host FROM table WHERE Year < 1992 AND Play-by-play = bob irving
|
What is the total of the player who won before 1991 and has a to par less than 14?
|
SELECT COUNT Total FROM table WHERE Year won < 1991 AND To par < 14
|
What is the total to par of player jeff sluman, who won before 1993 and has a total greater than 154?
|
SELECT COUNT To par FROM table WHERE Year won < 1993 AND Player = jeff sluman AND Total > 154
|
What is the sum of the total of player rich beem, who has a to par greater than 17?
|
SELECT SUM Total FROM table WHERE Player = rich beem AND To par > 17
|
Who was the away team in the semifinals?
|
SELECT Away FROM table WHERE Round = semifinals
|
What is the home record for the Auxerre club?
|
SELECT Home FROM table WHERE Club = auxerre
|
What is the home record for the Maccabi Tel-Aviv club?
|
SELECT Home FROM table WHERE Club = maccabi tel-aviv
|
What is the total number of Against, when Date is "16/03/1996"?
|
SELECT COUNT Against FROM table WHERE Date = 16/03/1996
|
What is Venue, when Against is greater than 9, and when Date is "03/02/1996"?
|
SELECT Venue FROM table WHERE Against > 9 AND Date = 03/02/1996
|
What is Status, when Opposing Teams is "Scotland"?
|
SELECT Status FROM table WHERE Opposing Teams = scotland
|
What is Venue, when Date is "14/12/1996"?
|
SELECT Venue FROM table WHERE Date = 14/12/1996
|
What is the average Against, when Status is "Five Nations", and when Date is "16/03/1996"?
|
SELECT AVG Against FROM table WHERE Status = five nations AND Date = 16/03/1996
|
In what year did the team of aston martin racing have a position of 6th?
|
SELECT COUNT Year FROM table WHERE Team = aston martin racing AND Pos. = 6th
|
Which year did the team of pescarolo sport have a Class Position of 7th?
|
SELECT MAX Year FROM table WHERE Team = pescarolo sport AND Class Pos. = 7th
|
Who were the co-drivers of the vehicle that had both a Class position and position of 7th?
|
SELECT Co-Drivers FROM table WHERE Class Pos. = 7th AND Pos. = 7th
|
Which Rank is Highest for Yoshiazuma?
|
SELECT Highest rank FROM table WHERE Name = yoshiazuma
|
Which Top Division debut for Kitazakura has Tournaments less than 88?
|
SELECT Top division debut FROM table WHERE Tournaments < 88 AND Name = kitazakura
|
What is the lowest Tournaments with Highest Rank of Maegashira 13?
|
SELECT MIN Tournaments FROM table WHERE Highest rank = maegashira 13
|
What was the city where Hallescher FC won in 2008?
|
SELECT City FROM table WHERE Winner = hallescher fc AND Year = 2008
|
Who was the winner of fc grün-weiß wolfen?
|
SELECT Winner FROM table WHERE Finalist = fc grün-weiß wolfen
|
What was the stadium past 2012?
|
SELECT Stadium FROM table WHERE Year > 2012
|
What is the average Year, when Country is "U.S.", and when Location is "Edmond , OK"?
|
SELECT AVG Year FROM table WHERE Country = u.s. AND Location = edmond , ok
|
What is the lowest Killed, when Perpetrator is "Sherrill, Patrick Henry , 44"?
|
SELECT MIN Killed FROM table WHERE Perpetrator = sherrill, patrick henry , 44
|
What was the highest goals with fewer than 16 losses, fewer than 11 wins, and a goal difference greater than -9?
|
SELECT MAX Goals for FROM table WHERE Losses < 16 AND Wins < 11 AND Goal Difference > -9
|
What is the highest wins entry with fewer than 51 goals, more than 39 points, and a goal difference smaller than 13?
|
SELECT MAX Wins FROM table WHERE Goals against < 51 AND Points > 39 AND Goal Difference < 13
|
What is the lowest wins entry that has a goal difference less than 33, position higher than 13, and 42 goals?
|
SELECT MIN Wins FROM table WHERE Goal Difference < 33 AND Position < 13 AND Goals for = 42
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.