instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
Which Home team score has an Away team score of 11.9 (75)?
SELECT Home team score FROM table WHERE Away team score = 11.9 (75)
Translate the following into a SQL query
Which Crowd has an Away team of st kilda?
SELECT Crowd FROM table WHERE Away team = st kilda
Translate the following into a SQL query
Which Away team has an Away team score of 15.13 (103)?
SELECT Away team FROM table WHERE Away team score = 15.13 (103)
Translate the following into a SQL query
What stadium has a final score of 26–21?
SELECT Stadium FROM table WHERE Final Score = 26–21
Translate the following into a SQL query
When the new orleans saints were visiting texas stadium, what was the final score?
SELECT Final Score FROM table WHERE Stadium = texas stadium AND Visiting Team = new orleans saints
Translate the following into a SQL query
What was the final score at texas stadium on September 17?
SELECT Final Score FROM table WHERE Stadium = texas stadium AND Date = september 17
Translate the following into a SQL query
What was the final score for the game at giants stadium when the indianapolis colts were the visiting team?
SELECT Final Score FROM table WHERE Visiting Team = indianapolis colts AND Stadium = giants stadium
Translate the following into a SQL query
What were the investment earnings in the year that State and Federal taxes were $8,549,565?
SELECT Investment Earnings FROM table WHERE State & Federal = 8,549,565
Translate the following into a SQL query
What were the investment earnings in the year that State and Federal taxes were $13,999,169?
SELECT Investment Earnings FROM table WHERE State & Federal = 13,999,169
Translate the following into a SQL query
What were the investment earnings in a year when other local sources were $2,670,060 after 2001?
SELECT Investment Earnings FROM table WHERE Year > 2001 AND Other Local Sources = $2,670,060
Translate the following into a SQL query
What were the investment earnings in a year when total revenue was $21,779,618?
SELECT Investment Earnings FROM table WHERE Total Revenue = 21,779,618
Translate the following into a SQL query
What were property taxes in a year when total revenue was $40,891,700 after 2002?
SELECT Property Taxes FROM table WHERE Year > 2002 AND Total Revenue = $40,891,700
Translate the following into a SQL query
What rank for season 1?
SELECT Rank FROM table WHERE Season = 1
Translate the following into a SQL query
What week had an attendance of 27,262?
SELECT Week FROM table WHERE Attendance = 27,262
Translate the following into a SQL query
What opponent has an attendance of 20,456?
SELECT Opponent FROM table WHERE Attendance = 20,456
Translate the following into a SQL query
What was the record on March 27?
SELECT Record FROM table WHERE Date = march 27
Translate the following into a SQL query
What was the record on March 22?
SELECT Record FROM table WHERE Date = march 22
Translate the following into a SQL query
What was the record on April 1?
SELECT Record FROM table WHERE Date = april 1
Translate the following into a SQL query
What date did North Melbourne score 22.14 (146) as the home team?
SELECT Date FROM table WHERE Home team score = 22.14 (146) AND Home team = north melbourne
Translate the following into a SQL query
What was the lowest crowd size when Carlton was the away team.
SELECT MIN Crowd FROM table WHERE Away team = carlton
Translate the following into a SQL query
Who played as the home team when Footscray was the away team?
SELECT Home team FROM table WHERE Away team = footscray
Translate the following into a SQL query
Who was playing as the home team when the away team scored 18.14 (122)?
SELECT Home team FROM table WHERE Away team score = 18.14 (122)
Translate the following into a SQL query
What size was the crowd when Hawthorn was the home team?
SELECT COUNT Crowd FROM table WHERE Home team = hawthorn
Translate the following into a SQL query
What is the lowest number of Gold the Nation of Italy had when it ranked other than 1, and had more than 0 Silver?
SELECT MIN Gold FROM table WHERE Rank > 1 AND Nation = italy AND Silver > 0
Translate the following into a SQL query
How many Golds did the country with a Rank better than 5 and more Bronze than 1 receive?
SELECT SUM Gold FROM table WHERE Rank < 5 AND Bronze > 1
Translate the following into a SQL query
When the Total is less than 1, how many Bronze medals are won?
SELECT MIN Bronze FROM table WHERE Total < 1
Translate the following into a SQL query
When the Total is less than 1, and Bronze is 0, how many Gold medals are there?
SELECT SUM Gold FROM table WHERE Bronze = 0 AND Total < 1
Translate the following into a SQL query
What is the Rank of the Nation of Germany when the Total is more than 2?
SELECT COUNT Rank FROM table WHERE Nation = germany AND Total > 2
Translate the following into a SQL query
Which weightlifter with a snatch larger than 117.5 had the lowest bodyweight?
SELECT MIN Bodyweight FROM table WHERE Snatch > 117.5
Translate the following into a SQL query
Which weightlifter, who had a bodyweight of less than 136.16 and a clean and jerk larger than 135, had the highest Total?
SELECT MAX Total (kg) FROM table WHERE Bodyweight < 136.16 AND Clean & jerk > 135
Translate the following into a SQL query
Of weightlifters who weighed more than 136.16, who had the highest Total?
SELECT MAX Total (kg) FROM table WHERE Bodyweight > 136.16
Translate the following into a SQL query
What was the average clean and jerk of all weightlifters who had a bodyweight smaller than 87.5 and a snatch of less than 95?
SELECT AVG Clean & jerk FROM table WHERE Bodyweight = 87.5 AND Snatch < 95
Translate the following into a SQL query
What is the sum of the weight that all weightlifters managed to clean and jerk, among weightlifters who had a snatch of more than 95 and a Total of more than 200?
SELECT COUNT Clean & jerk FROM table WHERE Total (kg) = 200 AND Snatch > 95
Translate the following into a SQL query
What kilometer (Rizal Park-basis) has a kilometer of 25?
SELECT Kilometer No. (Rizal Park-basis) FROM table WHERE Kilometer No. (Layac-basis) = 25
Translate the following into a SQL query
Which Barangay has an exit of Sisiman toll barrier?
SELECT Barangay FROM table WHERE Exit = sisiman toll barrier
Translate the following into a SQL query
What kilometer (Layac-basis) has a Barangay of general lim (capot)?
SELECT Kilometer No. (Layac-basis) FROM table WHERE Barangay = general lim (capot)
Translate the following into a SQL query
In which municipality is Barangay Poblacion?
SELECT Municipality FROM table WHERE Barangay = poblacion
Translate the following into a SQL query
What is the exit at kilometer (Rizal Park-basis) 164?
SELECT Exit FROM table WHERE Kilometer No. (Rizal Park-basis) = 164
Translate the following into a SQL query
What is the competition on 23 February 1929?
SELECT Competition FROM table WHERE Date = 23 february 1929
Translate the following into a SQL query
What is the club/province of Sireli Bobo, who plays wing and has less than 24 caps?
SELECT Club/province FROM table WHERE Position = wing AND Caps < 24 AND Player = sireli bobo
Translate the following into a SQL query
What is the total number of Caps Aca Ratuva, a flanker, has?
SELECT COUNT Caps FROM table WHERE Position = flanker AND Player = aca ratuva
Translate the following into a SQL query
What is the date of birth of Kameli Ratuvou?
SELECT Date of Birth (Age) FROM table WHERE Player = kameli ratuvou
Translate the following into a SQL query
What is the date of birth of Henry Qiodravu?
SELECT Date of Birth (Age) FROM table WHERE Player = henry qiodravu
Translate the following into a SQL query
What is the lowest medal total with less than 3 gold medals?
SELECT MIN Total FROM table WHERE Gold < 3
Translate the following into a SQL query
What's the lowest amount of laps with a start of 21?
SELECT MIN Laps FROM table WHERE Start = 21
Translate the following into a SQL query
What was the start of the competitor with a qualifying time of 84.300?
SELECT Start FROM table WHERE Qual = 84.300
Translate the following into a SQL query
In what year were there more laps than 200 in a race?
SELECT Year FROM table WHERE Laps > 200
Translate the following into a SQL query
what is the current version of the project64 with gpl v2 license?
SELECT Current version FROM table WHERE License = gpl v2 AND Name = project64
Translate the following into a SQL query
what is the current version of the name mupen64plus with gpl v2 license?
SELECT Current version FROM table WHERE License = gpl v2 AND Name = mupen64plus
Translate the following into a SQL query
what is the current version with license gpl v3?
SELECT Current version FROM table WHERE License = gpl v3
Translate the following into a SQL query
What leading man earlier than 1932 was directed by archie mayo?
SELECT Leading Man FROM table WHERE Year < 1932 AND Director = archie mayo
Translate the following into a SQL query
What year was the role nan taylor, alias of nan ellis, aka mrs. andrews and directed by William keighley?
SELECT SUM Year FROM table WHERE Role = nan taylor, alias of nan ellis, aka mrs. andrews AND Director = william keighley
Translate the following into a SQL query
What is the latest year for the role of joan gordon, aka francine la rue?
SELECT MAX Year FROM table WHERE Role = joan gordon, aka francine la rue
Translate the following into a SQL query
What film has a leading man of adolphe menjou in 1939?
SELECT Film FROM table WHERE Leading Man = adolphe menjou AND Year = 1939
Translate the following into a SQL query
What film was the director william a. wellman, later than 1931 with a leading man of george brent, and a Role of joan gordon, aka francine la rue?
SELECT Film FROM table WHERE Director = william a. wellman AND Year > 1931 AND Leading Man = george brent AND Role = joan gordon, aka francine la rue
Translate the following into a SQL query
What director directed the role of shelby barret wyatt in 1935?
SELECT Director FROM table WHERE Year = 1935 AND Role = shelby barret wyatt
Translate the following into a SQL query
What is the weekly rank for a share of 9 and 9.42 million viewers?
SELECT Weekly Rank (#) FROM table WHERE Share = 9 AND Viewers (m) = 9.42
Translate the following into a SQL query
What is the sum of all ratings at a weekly rank of 10 and a share less than 11?
SELECT SUM Rating FROM table WHERE Weekly Rank (#) = 10 AND Share < 11
Translate the following into a SQL query
What is the highest number of viewers for a rating greater than 9.4?
SELECT MAX Viewers (m) FROM table WHERE Rating > 9.4
Translate the following into a SQL query
What is the rating/share with more than 8.88 million viewers and a weekly rant of 27?
SELECT 18-49 (Rating/Share) FROM table WHERE Viewers (m) > 8.88 AND Weekly Rank (#) = 27
Translate the following into a SQL query
Which athlete performed before 1984 in an 800 m event?
SELECT Athlete FROM table WHERE Year < 1984 AND Event = 800 m
Translate the following into a SQL query
What venue has the away side scoring 6.5 (41)?
SELECT Venue FROM table WHERE Away team score = 6.5 (41)
Translate the following into a SQL query
How many attended the game when the home team's score is 5.6 (36)?
SELECT Crowd FROM table WHERE Home team score = 5.6 (36)
Translate the following into a SQL query
What is the lowest number of points that Tevita Vaikona scored when making more than 23 tries?
SELECT MIN Points FROM table WHERE Tries > 23 AND Player = tevita vaikona
Translate the following into a SQL query
What is the average number of points scored by Joe Vagana when making fewer than 2 tries?
SELECT AVG Points FROM table WHERE Player = joe vagana AND Tries < 2
Translate the following into a SQL query
What is the competition that had a win result and a score of 3-1?
SELECT Competition FROM table WHERE Result = win AND Score = 3-1
Translate the following into a SQL query
What is the venue of the match that had a win result and a score of 0-4 in the 2002 Tiger Cup Group Stage?
SELECT Venue FROM table WHERE Result = win AND Competition = 2002 tiger cup group stage AND Score = 0-4
Translate the following into a SQL query
What is the score of the match on July 22, 2008?
SELECT Score FROM table WHERE Date = july 22, 2008
Translate the following into a SQL query
What is the score of the 2002 Tiger Cup third/fourth place match?
SELECT Score FROM table WHERE Competition = 2002 tiger cup third/fourth place
Translate the following into a SQL query
What is the competition on October 15, 2008?
SELECT Competition FROM table WHERE Date = october 15, 2008
Translate the following into a SQL query
What is the player that went to st. benedict's prep?
SELECT Player FROM table WHERE School = st. benedict's prep
Translate the following into a SQL query
What is the NBA draft for ohio state?
SELECT NBA Draft FROM table WHERE College = ohio state
Translate the following into a SQL query
What school did the player that is 6-6 go to?
SELECT School FROM table WHERE Height = 6-6
Translate the following into a SQL query
What school did samardo samuels go to?
SELECT School FROM table WHERE Player = samardo samuels
Translate the following into a SQL query
What is the final for middleweight –75 kg?
SELECT Final FROM table WHERE Event = middleweight –75 kg
Translate the following into a SQL query
For the light heavyweight –81 kg event that did not advance to semifinal, who was the athlete?
SELECT Athlete FROM table WHERE Semifinal = did not advance AND Event = light heavyweight –81 kg
Translate the following into a SQL query
What was the final for rouhollah hosseini?
SELECT Final FROM table WHERE Athlete = rouhollah hosseini
Translate the following into a SQL query
When the round of 32 was n/a and quarterfinal was did not advance, what was the round of 16?
SELECT Round of 16 FROM table WHERE Quarterfinal = did not advance AND Round of 32 = n/a
Translate the following into a SQL query
Can you tell me a date that has a crowd larger than 20,771, and a Venue at Windy Hill?
SELECT Date FROM table WHERE Crowd > 20,771 AND Venue = windy hill
Translate the following into a SQL query
What Home team that has the Home team score of 9.19 (73)?
SELECT Home team FROM table WHERE Home team score = 9.19 (73)
Translate the following into a SQL query
Can you tell me the Home team that has a Venue of Windy Hill?
SELECT Home team FROM table WHERE Venue = windy hill
Translate the following into a SQL query
What Venue that has the Away team score of 16.9 (105)?
SELECT Venue FROM table WHERE Away team score = 16.9 (105)
Translate the following into a SQL query
Can you tell me the Away team that has the Away team score of 6.11 (47)?
SELECT Away team FROM table WHERE Away team score = 6.11 (47)
Translate the following into a SQL query
What was the lowest attendance at a game when Pittsburgh was the home team?
SELECT MIN Attendance FROM table WHERE Home = pittsburgh
Translate the following into a SQL query
What was the date of the game when Atlanta was the home team?
SELECT Date FROM table WHERE Home = atlanta
Translate the following into a SQL query
What was the decision of the game when Montreal was the home team?
SELECT Decision FROM table WHERE Home = montreal
Translate the following into a SQL query
What was the date of the game with a decision of Niittymaki and when the Flyers had a record of 30–21–5?
SELECT Date FROM table WHERE Decision = niittymaki AND Record = 30–21–5
Translate the following into a SQL query
Which Position has a Nationality of united states, and a Pick of 9?
SELECT Position FROM table WHERE Nationality = united states AND Pick = 9
Translate the following into a SQL query
What is the average Pick with a Position of pg, and a Round less than 1?
SELECT AVG Pick FROM table WHERE Position = pg AND Round < 1
Translate the following into a SQL query
Which top ten, having less than 12 cuts less than 2 top five, and events smaller than 14, is the highest?
SELECT MAX Top-10 FROM table WHERE Cuts made < 12 AND Top-5 < 2 AND Events < 14
Translate the following into a SQL query
What is the average for the top five having a number of 42 cuts made.
SELECT AVG Top-5 FROM table WHERE Cuts made = 42
Translate the following into a SQL query
Tell me the score on april 27 with visitor of buffalo
SELECT Score FROM table WHERE Visitor = buffalo AND Date = april 27
Translate the following into a SQL query
Where was the game that the home team scored 12.15 (87)?
SELECT Venue FROM table WHERE Home team score = 12.15 (87)
Translate the following into a SQL query
How many people attended Melbourne's away game?
SELECT SUM Crowd FROM table WHERE Away team = melbourne
Translate the following into a SQL query
What was the home team's score when the away team scored 15.17 (107)?
SELECT Home team score FROM table WHERE Away team score = 15.17 (107)
Translate the following into a SQL query
Who won the game at Dairy farmers stadium with a score of 28-24?
SELECT Result FROM table WHERE Venue = dairy farmers stadium AND Score = 28-24
Translate the following into a SQL query
Who won that game on 24 July 2010?
SELECT Result FROM table WHERE Date = 24 july 2010
Translate the following into a SQL query
Who loss the 24-28 game?
SELECT Opponent FROM table WHERE Result = loss AND Score = 24-28
Translate the following into a SQL query
Who scored 18-19?
SELECT Opponent FROM table WHERE Score = 18-19
Translate the following into a SQL query
Which rank has more than 1 silver and a total nation?
SELECT Rank FROM table WHERE Silver > 1 AND Nation = total