question stringlengths 12 244 | sql stringlengths 22 468 |
|---|---|
Who held pole position at the race won by Gilles Villeneuve, with the fastest lap held by Gilles Villeneuve, driving a Ferrari? | SELECT Pole Position FROM table WHERE Fastest Lap = gilles villeneuve AND Constructor = ferrari AND Race Winner = gilles villeneuve |
Who won the South African Grand Prix? | SELECT Race Winner FROM table WHERE Race = south african grand prix |
Who had the fastest lap at the German Grand Prix? | SELECT Fastest Lap FROM table WHERE Race = german grand prix |
What is the Tyre for the united states grand prix? | SELECT Tyre FROM table WHERE Race = united states grand prix |
What was the result of the 1948 og competition? | SELECT Result FROM table WHERE Competition = 1948 og |
I want the lowest Grid for Rolf Stommelen | SELECT MIN Grid FROM table WHERE Driver = rolf stommelen |
I want the constructor for grid less than 20 and Laps of 6 | SELECT Constructor FROM table WHERE Grid < 20 AND Laps = 6 |
What is the german total population after 1910 with an other total of 143 and 32 hungarians? | SELECT German FROM table WHERE year > 1910 AND other = 143 AND Hungarian = 32 |
What year did Naoki Tsukahara finish 3rd in the 200 m race? | SELECT Year FROM table WHERE Notes = 200 m AND Position = 3rd |
What is the attendance at the Dallas home game on may 12? | SELECT COUNT Attendance FROM table WHERE Home = dallas AND Date = may 12 |
What nationality is the player ranked 2? | SELECT Country FROM table WHERE Rank = 2 |
How many wins for mike hill ranked below 4? | SELECT COUNT Wins FROM table WHERE Player = mike hill AND Rank < 4 |
What is Trevor Cann's nationality? | SELECT Nationality FROM table WHERE Player = trevor cann |
What is Kent Patterson's nationality? | SELECT Nationality FROM table WHERE Player = kent patterson |
Which unit has a Pennant Number of 82? | SELECT Unit FROM table WHERE Pennant Number = 82 |
What is the highest pennant number with ships in raahe class? | SELECT MAX Pennant Number FROM table WHERE Ships in class = raahe |
What is the highest pennant number with ships in pori class? | SELECT MAX Pennant Number FROM table WHERE Ships in class = pori |
What is the name of the competition that ended with a score of 2-1? | SELECT Competition FROM table WHERE Score = 2-1 |
What is the name of the competition that ended with a score of 1-3? | SELECT Competition FROM table WHERE Score = 1-3 |
At which venue did the game on 28 october 2013 take place? | SELECT Venue FROM table WHERE Date = 28 october 2013 |
What is the Competition name of the competition that ended with a score of 2-1? | SELECT Competition FROM table WHERE Score = 2-1 |
In what year did a car have a yamaha v12 engine and a brabham bt60y chassis | SELECT Year FROM table WHERE Engine = yamaha v12 AND Chassis = brabham bt60y |
waht is the last year with a mclaren mp4/10b chassis | SELECT MAX Year FROM table WHERE Chassis = mclaren mp4/10b |
before 1995 waht is the aveage pts for a mclaren mp4/10b chassis | SELECT AVG Pts. FROM table WHERE Chassis = mclaren mp4/10b AND Year < 1995 |
what is the most recent year for a ligier gitanes blondes | SELECT MAX Year FROM table WHERE Entrant = ligier gitanes blondes |
What is the total number of averages with an interview of 8.75 when the evening gown number was bigger than 8.75? | SELECT SUM Average FROM table WHERE Interview = 8.75 AND Evening gown > 8.75 |
What is the total number of interviews where the evening gown number is less than 8.82, the state is Kentucky, and the average is more than 8.85? | SELECT SUM Interview FROM table WHERE Evening gown < 8.82 AND State = kentucky AND Average > 8.85 |
How many averages had a swimsuit number of 8.42 and an evening gown number that was less than 8.71? | SELECT SUM Average FROM table WHERE Swimsuit = 8.42 AND Evening gown < 8.71 |
Which state had an average of less than 8.67, a swimsuit score of 8.27, an evening gown score of 8.78, and an interview number of 8.52? | SELECT State FROM table WHERE Average < 8.67 AND Swimsuit = 8.27 AND Evening gown = 8.78 AND Interview = 8.52 |
What is the record when the visitor was Nashville? | SELECT Record FROM table WHERE Visitor = nashville |
What was the score when there were more than 14,381 in attendance and Phoenix was the visitor and Chicago was home? | SELECT Score FROM table WHERE Attendance > 14,381 AND Visitor = phoenix AND Home = chicago |
When was a competition held at Pietermaritzburg? | SELECT Date FROM table WHERE Venue = pietermaritzburg |
What were the bowling figures for the competition at Pietermaritzburg? | SELECT Bowling figures Wickets-Runs (Overs) FROM table WHERE Venue = pietermaritzburg |
Who was the opponent during the competition in which the bowling figures were 5-33 (10)? | SELECT Versus FROM table WHERE Bowling figures Wickets-Runs (Overs) = 5-33 (10) |
What were GD Mcgrath's bowling figures? | SELECT Bowling figures Wickets-Runs (Overs) FROM table WHERE Bowler = gd mcgrath |
During the competition at Port Elizabeth, where the opponent was Australia, what were the bowling figures? | SELECT Bowling figures Wickets-Runs (Overs) FROM table WHERE Venue = port elizabeth AND Versus = australia |
What is the lowest amount of floors after rank 1 in the Trillium (residential) building? | SELECT MIN Floors FROM table WHERE Rank > 1 AND Building = the trillium (residential) |
What is the lowest amount of floors in the building completed before 1970 ranked more than 14? | SELECT MIN Floors FROM table WHERE Completed < 1970 AND Rank > 14 |
What is the largest amount of floors in the 70m (233ft) Tupper building (educational)? | SELECT MAX Floors FROM table WHERE Height = 70m (233ft) AND Building = tupper building (educational) |
Which manufacturer has 23 laps and a time of +45.195? | SELECT Manufacturer FROM table WHERE Laps = 23 AND Time/Retired = +45.195 |
What is the sum of Sylvain Guintoli's laps? | SELECT SUM Laps FROM table WHERE Rider = sylvain guintoli |
How many runs were scored when the strike rate was 101.42? | SELECT Runs FROM table WHERE Strike Rate = 101.42 |
What was the amount of grain in 2001? | SELECT 2001 FROM table WHERE Product = grain |
What is the amount of oil terminal in 2004? | SELECT 2004 FROM table WHERE Product = oil terminal |
What is the 2003 statistic for the product that had 514,000 tonnes in 2001? | SELECT 2003 FROM table WHERE 2001 = 514,000 tonnes |
What is the 2002 statistic for the product that had 452,000 tonnes in 2001? | SELECT 2002 FROM table WHERE 2001 = 452,000 tonnes |
What is the 2001 statistic for the product that had 2,360,000 tonnes in 2002? | SELECT 2001 FROM table WHERE 2002 = 2,360,000 tonnes |
What is the 2003 statistic for general cargo? | SELECT 2003 FROM table WHERE Product = general cargo |
What did the home team score at MCG? | SELECT Home team score FROM table WHERE Venue = mcg |
What did the away team score when playing South Melbourne? | SELECT Away team score FROM table WHERE Home team = south melbourne |
When did the game with North Melbourne as the away team take place? | SELECT Date FROM table WHERE Away team = north melbourne |
If the Away team was south melbourne what Date did they play? | SELECT Date FROM table WHERE Away team = south melbourne |
When the venue was kardinia park and the Crowd was larger than 16,437, what was the Away team score? | SELECT Away team score FROM table WHERE Crowd > 16,437 AND Venue = kardinia park |
When the Away team scored 6.13 (49), what was the Home teams score? | SELECT Home team score FROM table WHERE Away team score = 6.13 (49) |
When the Home team of essendon is playing what is the Away team score? | SELECT Away team score FROM table WHERE Home team = essendon |
I wan the date of vacancy for departure of resigned and outgoing manager of gordon wylde | SELECT Date of vacancy FROM table WHERE Manner of departure = resigned AND Outgoing manager = gordon wylde |
I want the replaced for date of appointment being 12 october 2007 | SELECT Replaced by FROM table WHERE Date of appointment = 12 october 2007 |
I want the team for date of vacancy being 28 february | SELECT Team FROM table WHERE Date of vacancy = 28 february |
I want the manner of departure for date of appointment being 12 october 2007 | SELECT Manner of departure FROM table WHERE Date of appointment = 12 october 2007 |
Which date was the syracuse circuit? | SELECT Date FROM table WHERE Circuit = syracuse |
Which date was the x gran premio di napoli? | SELECT Date FROM table WHERE Race Name = x gran premio di napoli |
What report happened on 22 september? | SELECT Report FROM table WHERE Date = 22 september |
Which report has a Winning driver of peter collins, and a Circuit of syracuse? | SELECT Report FROM table WHERE Winning driver = peter collins AND Circuit = syracuse |
Who appointed Judge Edward E. Cushman? | SELECT Appointed by FROM table WHERE Judge = edward e. cushman |
Who was Judge Jack Edward Tanner's chief judge? | SELECT Chief Judge FROM table WHERE Judge = jack edward tanner |
What is the date of birth of the player that has 11 caps and plays the prop position? | SELECT Date of Birth (Age) FROM table WHERE Caps = 11 AND Position = prop |
What club or province is the player with 12 caps from? | SELECT Club/province FROM table WHERE Caps = 12 |
What position does Toby Flood, who is from Newcastle and has fewer than 24 caps, play? | SELECT Position FROM table WHERE Club/province = newcastle AND Caps < 24 AND Player = toby flood |
Which team beat the Newcastle Breakers? | SELECT WinningTeam FROM table WHERE LosingTeam = newcastle breakers |
What team lost on 20 August 1989? | SELECT LosingTeam FROM table WHERE Cup FinalDate = 20 august 1989 |
On what date did the Brisbane Lions (1) win? | SELECT Cup FinalDate FROM table WHERE WinningTeam = brisbane lions (1) |
What was the winning team with the 8,132 final attendance? | SELECT WinningTeam FROM table WHERE Cup Final Attendance = 8,132 |
What was the attendance on August 2? | SELECT Attendance FROM table WHERE Date = august 2 |
What is the date where the attendance was 31,220? | SELECT Date FROM table WHERE Attendance = 31,220 |
What was the team's record on August 4? | SELECT Record FROM table WHERE Date = august 4 |
What was the date when the attendance was 48,041? | SELECT Date FROM table WHERE Attendance = 48,041 |
Who are the finals opponents for the match with partner Ricardo Hocevar? | SELECT Opponents in the final FROM table WHERE Partnering = ricardo hocevar |
Who were the opponents of the final on June 23, 2003? | SELECT Opponents in the final FROM table WHERE Date = june 23, 2003 |
Who was the home side at glenferrie oval? | SELECT Home team FROM table WHERE Venue = glenferrie oval |
How many people attended the game with the home side scoring 18.14 (122)? | SELECT SUM Crowd FROM table WHERE Home team score = 18.14 (122) |
Who is the author of Episode 38 (16)? | SELECT Written by FROM table WHERE Episode # = 38 (16) |
When did Episode 29 (7) originally air? | SELECT Original airdate FROM table WHERE Episode # = 29 (7) |
Who directed the episode "Approaching Zero"? | SELECT Directed by FROM table WHERE Title = "approaching zero" |
What is the episode # of the episode that aired on April 5, 1998? | SELECT Episode # FROM table WHERE Original airdate = april 5, 1998 |
Who wrote the episode that originally aired on March 1, 1998? | SELECT Written by FROM table WHERE Original airdate = march 1, 1998 |
what tournament has 2000 of 3r? | SELECT Tournament FROM table WHERE 2000 = 3r |
what 2001 has 1991 of 4r? | SELECT 2001 FROM table WHERE 1991 = 4r |
what 1989 has 2002 of 4r and 2005 of 4r? | SELECT 1989 FROM table WHERE 2002 = 4r AND 2005 = 4r |
What team played in front of 28,536 at an away stadium? | SELECT Away team score FROM table WHERE Crowd > 28,536 |
What was Fitzroy score at their home stadium? | SELECT Home team score FROM table WHERE Home team = fitzroy |
When did an away team score 12.14 (86) against a home team with 15.10 (100)? | SELECT Date FROM table WHERE Away team score = 12.14 (86) AND Home team score = 15.10 (100) |
Who faced off against St Kilda at their home? | SELECT Away team score FROM table WHERE Home team = st kilda |
Where did a home team score 15.14 (104)? | SELECT Venue FROM table WHERE Home team score = 15.14 (104) |
When did an away team score 12.14 (86) at Windy Hill? | SELECT Date FROM table WHERE Away team score = 12.14 (86) AND Venue = windy hill |
What is the low number of top 25s in an event with over 15 appearances? | SELECT MIN Top-25 FROM table WHERE Events > 15 |
What is the average rank of the Reliance Entertainment movie with an opening day on Wednesday before 2012? | SELECT AVG Rank FROM table WHERE Day of Week = wednesday AND Year < 2012 AND Studio(s) = reliance entertainment |
What is the opening day of the week of Chennai Express, which had an opening day net gross larger than 14,76,00,000 in 2013? | SELECT Day of Week FROM table WHERE Opening Day Net Gross > 14,76,00,000 AND Year = 2013 AND Movie = chennai express |
What is the opening day net gross a Reliance Entertainment movie before 2011 had? | SELECT SUM Opening Day Net Gross FROM table WHERE Studio(s) = reliance entertainment AND Year < 2011 |
What is the studio of ra.one? | SELECT Studio(s) FROM table WHERE Movie = ra.one |
What is the year of the movie with an opening day on Friday with a rank 10? | SELECT COUNT Year FROM table WHERE Day of Week = friday AND Rank = 10 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.