instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What tournament took place on Ground A with 8 rounds?
SELECT Tournament FROM table WHERE Ground = a AND Round = 8
Translate the following into a SQL query
What series had the title rank of various?
SELECT Series FROM table WHERE Title/Rank = various
Translate the following into a SQL query
What is the title rank of the actor who played the character of arthur hastings during series 1-8, 13?
SELECT Title/Rank FROM table WHERE Series = 1-8, 13 AND Character = arthur hastings
Translate the following into a SQL query
What is the title rank of the actor who played the character of arthur hastings during series 1-8, 13?
SELECT Title/Rank FROM table WHERE Series = 1-8, 13 AND Character = arthur hastings
Translate the following into a SQL query
What is the title rank of actor pauline moran?
SELECT Title/Rank FROM table WHERE Actor = pauline moran
Translate the following into a SQL query
Which character had a title rank of various?
SELECT Character FROM table WHERE Title/Rank = various
Translate the following into a SQL query
Who had the highest rebounds of the game with a game number higher than 65 on March 28?
SELECT High rebounds FROM table WHERE Game > 65 AND Date = march 28
Translate the following into a SQL query
WHAT DATE HAD A GAME SMALLER THAN 58, AND FROM BOSTON?
SELECT Date FROM table WHERE Game < 58 AND Team = boston
Translate the following into a SQL query
Original airdate for #6 with 1.246 viewers?
SELECT Original airdate FROM table WHERE Nightly rank = #6 AND Viewers (millions) = 1.246
Translate the following into a SQL query
Rank for viewers larger than 1.244?
SELECT Nightly rank FROM table WHERE Viewers (millions) > 1.244
Translate the following into a SQL query
How many weeks had a Result of w 20–6?
SELECT SUM Week FROM table WHERE Result = w 20–6
Translate the following into a SQL query
Which Opponent has an Attendance of bye?
SELECT Opponent FROM table WHERE Attendance = bye
Translate the following into a SQL query
WHAT IS THE FLAPS WITH PODIUMS OF 24 AND RACES BIGGER THAN 143?
SELECT MAX FLaps FROM table WHERE Podiums = 24 AND Races > 143
Translate the following into a SQL query
WHAT ARE THE RACES WHEN FLAPS ARE ZERO, PODIUMS ARE LARGER THAN 0, SEASON IS 2008, AND POLE SMALLER THAN 1?
SELECT SUM Races FROM table WHERE FLaps = 0 AND Podiums > 0 AND Season = 2008 AND Pole < 1
Translate the following into a SQL query
WHAT ARE THE RACES WITH A POLE SMALLER THAN 2 IN 2007?
SELECT MIN Races FROM table WHERE Pole < 2 AND Season = 2007
Translate the following into a SQL query
WHAT ARE THE RACES FOR 2010 WITH FLAPS LARGER THAN 6?
SELECT MAX Races FROM table WHERE Season = 2010 AND FLaps > 6
Translate the following into a SQL query
What T20 Match has a total of 23?
SELECT T20 matches FROM table WHERE Total = 23
Translate the following into a SQL query
What FC Match was played in Darlington?
SELECT FC matches FROM table WHERE Location = darlington
Translate the following into a SQL query
What T20 match was played in 1979?
SELECT T20 matches FROM table WHERE Year = 1979
Translate the following into a SQL query
Which FC match has a total of 24?
SELECT FC matches FROM table WHERE Total = 24
Translate the following into a SQL query
Where was the FC match with a score of 12 played?
SELECT Location FROM table WHERE FC matches = 12
Translate the following into a SQL query
How many oricon's have a romaji title of rakuen -memorial tracks- (maxi-single)?
SELECT COUNT Oricon FROM table WHERE Romaji title = rakuen -memorial tracks- (maxi-single)
Translate the following into a SQL query
What reference is used with the title アイシテル?
SELECT Reference FROM table WHERE Japanese title = アイシテル
Translate the following into a SQL query
What is the reference for the romani title da.i.su.ki?
SELECT Reference FROM table WHERE Romaji title = da.i.su.ki
Translate the following into a SQL query
What title to the japanese give the romani title ashita wa ashita no kaze ga fuku?
SELECT Japanese title FROM table WHERE Romaji title = ashita wa ashita no kaze ga fuku
Translate the following into a SQL query
Which club was founded after 1998?
SELECT Club FROM table WHERE Founded > 1998
Translate the following into a SQL query
Which Tries has a Goal smaller than 0?
SELECT MIN Tries FROM table WHERE Goals < 0
Translate the following into a SQL query
What was the issue price for the Trumpeter Swan set?
SELECT Issue Price FROM table WHERE Theme = trumpeter swan
Translate the following into a SQL query
Who was the artist with a mintage of 40,000 and an issue price of $45.95?
SELECT Artist FROM table WHERE Mintage = 40,000 AND Issue Price = 45.95
Translate the following into a SQL query
What is the highest number of points a player got during the game on May 25?
SELECT High points FROM table WHERE Date = may 25
Translate the following into a SQL query
What is the position of the player who has ongoing first-team goals and currently plays for the Aston Villa club?
SELECT Position FROM table WHERE First-Team Goals = ongoing AND Current Club = aston villa
Translate the following into a SQL query
Who is the player who has had 7 first team appearances?
SELECT Player FROM table WHERE First-Team Appearances = 7
Translate the following into a SQL query
What is the name of the club that has ongoing first-team appearances, a midfielder, and whose player is Samir Carruthers?
SELECT Current Club FROM table WHERE First-Team Appearances = ongoing AND Position = midfielder AND Player = samir carruthers
Translate the following into a SQL query
How many first-team goals does the team have whose player is Samir Carruthers?
SELECT First-Team Goals FROM table WHERE Player = samir carruthers
Translate the following into a SQL query
What position has ongoing first-team appearances, Graham Burke for a player, and whose club is Aston Villa?
SELECT Position FROM table WHERE First-Team Appearances = ongoing AND Current Club = aston villa AND Player = graham burke
Translate the following into a SQL query
Which position has had 7 first-team appearances?
SELECT Position FROM table WHERE First-Team Appearances = 7
Translate the following into a SQL query
What was the theme when the issue price was $508.95?
SELECT Theme FROM table WHERE Issue Price = $508.95
Translate the following into a SQL query
What's the mintage when the theme was year of the rabbit?
SELECT Mintage FROM table WHERE Theme = year of the rabbit
Translate the following into a SQL query
What year was the year of the pig theme?
SELECT Year FROM table WHERE Theme = year of the pig
Translate the following into a SQL query
Who was the artist for the year of the snake?
SELECT Artist FROM table WHERE Theme = year of the snake
Translate the following into a SQL query
What is the total Frequency MHz Port Charlotte, Florida, which has an ERP W larger than 10, has?
SELECT COUNT Frequency MHz FROM table WHERE City of license = port charlotte, florida AND ERP W > 10
Translate the following into a SQL query
What is the call sign for the translator with an ERP W larger than 10?
SELECT Call sign FROM table WHERE ERP W > 10
Translate the following into a SQL query
What is the highest ERP W of the translator with a call sign of w284av?
SELECT MAX ERP W FROM table WHERE Call sign = w284av
Translate the following into a SQL query
How big was the crowd of the Home team of Collingwood?
SELECT MAX Crowd FROM table WHERE Home team = collingwood
Translate the following into a SQL query
What away team had a score of 7.9 (51)?
SELECT Away team FROM table WHERE Away team score = 7.9 (51)
Translate the following into a SQL query
What was the home team score when the away team scored 6.13 (49)?
SELECT Home team score FROM table WHERE Away team score = 6.13 (49)
Translate the following into a SQL query
What date was the home team score 5.9 (39)?
SELECT Date FROM table WHERE Home team score = 5.9 (39)
Translate the following into a SQL query
What was the away team when the home team was south melbourne?
SELECT Away team FROM table WHERE Home team = south melbourne
Translate the following into a SQL query
What was the away team when the home team score was 5.9 (39)?
SELECT Away team FROM table WHERE Home team score = 5.9 (39)
Translate the following into a SQL query
What is the home team score when the away team score was 6.13 (49)?
SELECT Home team score FROM table WHERE Away team score = 6.13 (49)
Translate the following into a SQL query
Who was recruited from Calgary?
SELECT Player FROM table WHERE College = calgary
Translate the following into a SQL query
What number of wins was ranked higher than 5?
SELECT SUM Wins FROM table WHERE Rank > 5
Translate the following into a SQL query
What rank is Miller Barber with more than 11 wins?
SELECT Rank FROM table WHERE Wins > 11 AND Player = miller barber
Translate the following into a SQL query
What was the venue when the away team scored 11.11 (77)?
SELECT Venue FROM table WHERE Away team score = 11.11 (77)
Translate the following into a SQL query
What was the venue when Collingwood was the home team?
SELECT Venue FROM table WHERE Home team = collingwood
Translate the following into a SQL query
What was the venue when the away team scored 11.11 (77)?
SELECT Venue FROM table WHERE Away team score = 11.11 (77)
Translate the following into a SQL query
How many people were in the crowd when the away team scored 17.17 (119)?
SELECT SUM Crowd FROM table WHERE Away team score = 17.17 (119)
Translate the following into a SQL query
What was the largest crowd at vfl park?
SELECT MAX Crowd FROM table WHERE Venue = vfl park
Translate the following into a SQL query
How many people were at the game where the home team was South Melbourne?
SELECT Crowd FROM table WHERE Home team = south melbourne
Translate the following into a SQL query
What was the score when the away team was Footscray?
SELECT Away team score FROM table WHERE Away team = footscray
Translate the following into a SQL query
What was the score when the away team was Collingwood?
SELECT Away team score FROM table WHERE Away team = collingwood
Translate the following into a SQL query
What was the home team that played at Corio Oval?
SELECT Home team FROM table WHERE Venue = corio oval
Translate the following into a SQL query
How many goals were scored on November 22, 1994?
SELECT SUM Goal FROM table WHERE Date = november 22, 1994
Translate the following into a SQL query
What was the result of the game with 9 goals?
SELECT Result FROM table WHERE Goal = 9
Translate the following into a SQL query
What is the highest number supporting prohibition in British Columbia when the percent opposing is more than 10.8, the percent supporting is less than 72.2, number against is less than 4,756?
SELECT MAX For Prohibition FROM table WHERE Percent Against > 10.8 AND Percent For < 72.2 AND Jurisdiction = british columbia AND Against Prohibition < 4,756
Translate the following into a SQL query
What is the lowest percentage opposing prohibition when the number opposing is 9,575 and the percent supporting is less than 72.2?
SELECT MIN Percent Against FROM table WHERE Against Prohibition = 9,575 AND Percent For < 72.2
Translate the following into a SQL query
What is the highest percent supporting prohibition when the number opposing is less than 2,978 and the percent opposing is less than 31.2 while the number supporting is less than 9,461?
SELECT MAX Percent For FROM table WHERE Against Prohibition < 2,978 AND Percent Against < 31.2 AND For Prohibition < 9,461
Translate the following into a SQL query
what is the apparent magnitude of the constellation sculptor
SELECT COUNT Apparent magnitude FROM table WHERE Constellation = sculptor
Translate the following into a SQL query
What is the Right ascension of the Object type spiral galaxy that has an Apparent magnitude larger that 12.2
SELECT Right ascension ( J2000 ) FROM table WHERE Object type = spiral galaxy AND Apparent magnitude > 12.2
Translate the following into a SQL query
Which Constellation has an Apparent magnitude larger that 7.7, and an NGC number of 7777
SELECT Constellation FROM table WHERE Apparent magnitude > 7.7 AND NGC number = 7777
Translate the following into a SQL query
What is the name of the Chassis of Diver Maria Teresa de Filippis in round 1?
SELECT Chassis FROM table WHERE Rounds = 1 AND Driver = maria teresa de filippis
Translate the following into a SQL query
How many yards have a Player of james macpherson, and a Long smaller than 1?
SELECT COUNT Yards FROM table WHERE Player = james macpherson AND Long < 1
Translate the following into a SQL query
How many averages have a TD's of 6, and more than 25 yards?
SELECT COUNT Avg. FROM table WHERE TD's = 6 AND Yards > 25
Translate the following into a SQL query
What is the lowest car with more than 122 yards?
SELECT MIN Car. FROM table WHERE Yards > 122
Translate the following into a SQL query
What away team has a home team score of 10.13 (73)?
SELECT Away team FROM table WHERE Home team score = 10.13 (73)
Translate the following into a SQL query
Which home team has home team score of 12.12 (84)?
SELECT Home team FROM table WHERE Home team score = 12.12 (84)
Translate the following into a SQL query
What round was Ryan Thang drafted in?
SELECT MIN Round FROM table WHERE Player = ryan thang
Translate the following into a SQL query
How many laps did Jeff Burton have when he drove car with a # over 9 and more than 118 points?
SELECT COUNT Laps FROM table WHERE Car # > 9 AND Driver = jeff burton AND Points > 118
Translate the following into a SQL query
What was Scott Riggs points when he had more than 400 laps?
SELECT SUM Points FROM table WHERE Driver = scott riggs AND Laps > 400
Translate the following into a SQL query
Who drove the dodge with a car # less than 5?
SELECT Driver FROM table WHERE Car # < 5 AND Make = dodge
Translate the following into a SQL query
What team had a high rebound of perkins (9) and a game smaller than 78?
SELECT Team FROM table WHERE Game < 78 AND High rebounds = perkins (9)
Translate the following into a SQL query
What date were the high assists rondo (5) and the high rebounds rondo (10)?
SELECT Date FROM table WHERE High assists = rondo (5) AND High rebounds = rondo (10)
Translate the following into a SQL query
On the date April 11, what were the high points?
SELECT High points FROM table WHERE Date = april 11
Translate the following into a SQL query
On the date April 11, what is the total game number?
SELECT COUNT Game FROM table WHERE Date = april 11
Translate the following into a SQL query
What actor made a film in 1957?
SELECT Name FROM table WHERE Year = 1957
Translate the following into a SQL query
What year did Miyoshi Umeki make a film?
SELECT Year FROM table WHERE Name = miyoshi umeki
Translate the following into a SQL query
What status has a role?
SELECT Status FROM table WHERE Role = role
Translate the following into a SQL query
what is the earliest round for nominee david mundy?
SELECT MIN Round FROM table WHERE Nominees = david mundy
Translate the following into a SQL query
what round saw the ground of telstra dome and shaun burgoyne as nominees?
SELECT MAX Round FROM table WHERE Ground = telstra dome AND Nominees = shaun burgoyne
Translate the following into a SQL query
When the total winners was smaller than 2 and 2 woman won, what's the average of the men's half marathon winners?
SELECT AVG Half Marathon (men's) FROM table WHERE Marathon (women's) = 2 AND Total < 2
Translate the following into a SQL query
What has the lowest number of wins with GA smaller than 39, more than 2 losses, and ties greater than 0?
SELECT MIN Wins FROM table WHERE Goals Against < 39 AND Losses > 2 AND Ties > 0
Translate the following into a SQL query
Which team has the most ties with fewer than 4 losses and GA smaller than 20?
SELECT MAX Ties FROM table WHERE Losses < 4 AND Goals Against < 20
Translate the following into a SQL query
How many games did the team lose that played 7 games and has a GA of less than 27?
SELECT COUNT Losses FROM table WHERE Games Played = 7 AND Goals Against < 27
Translate the following into a SQL query
what date saw the chicago bears lose in green bay earlier than 1931?
SELECT Date FROM table WHERE Loser = chicago bears AND Location = green bay AND Year < 1931
Translate the following into a SQL query
What is the Away team score for Away team Melbourne?
SELECT Away team score FROM table WHERE Away team = melbourne
Translate the following into a SQL query
Which Home team with the Hawthorn Away team has a Crowd larger than 21,876?
SELECT Home team FROM table WHERE Crowd > 21,876 AND Away team = hawthorn
Translate the following into a SQL query
what is the years for the displacement 4.0l (242cid)?
SELECT Years FROM table WHERE Displacement = 4.0l (242cid)
Translate the following into a SQL query
Which engine has a torgue of lb·ft (n·m)?
SELECT Engine FROM table WHERE Torque = lb·ft (n·m)
Translate the following into a SQL query
How many years for the team with under 31 ties and a percentage of 0.5451?
SELECT Years FROM table WHERE Tied < 31 AND Pct. = 0.5451
Translate the following into a SQL query
How many games tied for the air force with over 57 years participating?
SELECT COUNT Tied FROM table WHERE Mountain West = air force AND Years > 57