instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What is the Date of the Event with a Prize of $141,426?
SELECT Date FROM table WHERE Prize = $141,426
Translate the following into a SQL query
What is the title of ahaziah?
SELECT Title FROM table WHERE Name = ahaziah
Translate the following into a SQL query
What is the type of the king title?
SELECT Type FROM table WHERE Title = king
Translate the following into a SQL query
What is the name of the queen regnant?
SELECT Name FROM table WHERE Title = queen regnant
Translate the following into a SQL query
What is the total number of Grid, when Rider is Aleix Espargaro?
SELECT COUNT Grid FROM table WHERE Rider = aleix espargaro
Translate the following into a SQL query
What is the Rider, when Grid is less than 16, when Manufacturer is Aprilia, and when Time is +28.288?
SELECT Rider FROM table WHERE Grid < 16 AND Manufacturer = aprilia AND Time = +28.288
Translate the following into a SQL query
What is the average Laps, when Grid is 15?
SELECT AVG Laps FROM table WHERE Grid = 15
Translate the following into a SQL query
What is the Manufacturer, when Laps is 26, and when Rider is Aleix Espargaro?
SELECT Manufacturer FROM table WHERE Laps = 26 AND Rider = aleix espargaro
Translate the following into a SQL query
What is Home Team, when Date is "13 March 1985", and when Tie No is "1"?
SELECT Home team FROM table WHERE Date = 13 march 1985 AND Tie no = 1
Translate the following into a SQL query
What is Date, when Away Team is "Ipswich Town"?
SELECT Date FROM table WHERE Away team = ipswich town
Translate the following into a SQL query
What is Tie No, when Away Team is "Millwall"?
SELECT Tie no FROM table WHERE Away team = millwall
Translate the following into a SQL query
What is Score, when Date is "13 March 1985", and when Away Team is "Millwall"?
SELECT Score FROM table WHERE Date = 13 march 1985 AND Away team = millwall
Translate the following into a SQL query
What is Date, when Away Team is "Liverpool"?
SELECT Date FROM table WHERE Away team = liverpool
Translate the following into a SQL query
What is Score, when Home Team is "Manchester United"?
SELECT Score FROM table WHERE Home team = manchester united
Translate the following into a SQL query
What is Team, when High Rebounds is "Carl Landry (11)"?
SELECT Team FROM table WHERE High rebounds = carl landry (11)
Translate the following into a SQL query
What is Location Attendance, when High Assists is "Rafer Alston (7)", and when High Rebounds is "Yao Ming (13)"?
SELECT Location Attendance FROM table WHERE High assists = rafer alston (7) AND High rebounds = yao ming (13)
Translate the following into a SQL query
What is Score, when Team is "@ Memphis"?
SELECT Score FROM table WHERE Team = @ memphis
Translate the following into a SQL query
What is the result of the ajc craven plate (wfa) race?
SELECT Result FROM table WHERE Race = ajc craven plate (wfa)
Translate the following into a SQL query
What is the distance of the race with amounis as the winner or 2nd and a 2nd pos'n?
SELECT Distance FROM table WHERE Winner or 2nd = amounis AND Pos'n = 2nd
Translate the following into a SQL query
What is the result of the sajc king's cup race, which has a weight heavier than 8.1?
SELECT Result FROM table WHERE Weight > 8.1 AND Race = sajc king's cup
Translate the following into a SQL query
What is the winner or 2nd of the race with a 2nd pos'n and a weight lighter than 8.1?
SELECT Winner or 2nd FROM table WHERE Pos'n = 2nd AND Weight < 8.1
Translate the following into a SQL query
What is the sum of the weight of the race with a 1st pos'n and a 8f distance?
SELECT SUM Weight FROM table WHERE Pos'n = 1st AND Distance = 8f
Translate the following into a SQL query
What is the race with a 10f distance and mollison as the winner or 2nd?
SELECT Race FROM table WHERE Distance = 10f AND Winner or 2nd = mollison
Translate the following into a SQL query
What is the highest number of Bush with a 32.40% Bush % and a total less than 5,126?
SELECT MAX Bush# FROM table WHERE Bush% = 32.40% AND Total < 5,126
Translate the following into a SQL query
What is the location and attendance when the score as w 117–109 (ot)?
SELECT Location Attendance FROM table WHERE Score = w 117–109 (ot)
Translate the following into a SQL query
What were the last 10 meetings when the opponent's venue was mu, 11-7?
SELECT Last 10 Meetings FROM table WHERE at Opponent's Venue = mu, 11-7
Translate the following into a SQL query
What were the last 5 meetings when Columbia was mu, 4-2?
SELECT Last 5 Meetings FROM table WHERE at Columbia = mu, 4-2
Translate the following into a SQL query
What is the total number of rounds at 5:36?
SELECT COUNT Round FROM table WHERE Time = 5:36
Translate the following into a SQL query
What is the total number of rounds with a 4-0 record?
SELECT COUNT Round FROM table WHERE Record = 4-0
Translate the following into a SQL query
Which district is in the province of Piura?
SELECT Districts FROM table WHERE Province = piura
Translate the following into a SQL query
What is the population of Chimbote?
SELECT SUM Population FROM table WHERE Name of City = chimbote
Translate the following into a SQL query
What is the result of the game that was played at Detroit Lions?
SELECT Result FROM table WHERE Opponent = at detroit lions
Translate the following into a SQL query
What series number was directed by milan cheylov and written by will dixon?
SELECT AVG Series # FROM table WHERE Directed by = milan cheylov AND Written by = will dixon
Translate the following into a SQL query
What series # had an original air date of november 30, 1996?
SELECT MIN Series # FROM table WHERE Original air date = november 30, 1996
Translate the following into a SQL query
What was part 4 when part 3 was *hleupun?
SELECT Part 4 FROM table WHERE Part 3 = *hleupun
Translate the following into a SQL query
What was the class when part 2 was *hΔ“t?
SELECT Class FROM table WHERE Part 2 = *hΔ“t
Translate the following into a SQL query
What was the class when part 4 was *rādanaz?
SELECT Class FROM table WHERE Part 4 = *rādanaz
Translate the following into a SQL query
What was part 2 when part 4 was *blōtanaz?
SELECT Part 2 FROM table WHERE Part 4 = *blōtanaz
Translate the following into a SQL query
What was part 2 when part 4 was *haldanaz?
SELECT Part 2 FROM table WHERE Part 4 = *haldanaz
Translate the following into a SQL query
What was the class when part 3 was *heldun?
SELECT Class FROM table WHERE Part 3 = *heldun
Translate the following into a SQL query
What is the Round din Ullevaal?
SELECT Round FROM table WHERE Venue = ullevaal
Translate the following into a SQL query
What Round is in Ullevaal?
SELECT Round FROM table WHERE Venue = ullevaal
Translate the following into a SQL query
In what Venue was the Score 1-1?
SELECT Venue FROM table WHERE Score = 1-1
Translate the following into a SQL query
What was the Score of the Semifinal 1?
SELECT Score FROM table WHERE Round = semifinal 1
Translate the following into a SQL query
What are the ends for the player with a transfer fee of loan?
SELECT Ends FROM table WHERE Transfer fee = loan
Translate the following into a SQL query
What is the transfer fee for the MLI player with fewer than 63 goals in a year more recent than 2006?
SELECT Transfer fee FROM table WHERE Since = 2006 AND Goals < 63 AND Nat. = mli
Translate the following into a SQL query
What is the royal house for Wu at the state of cai?
SELECT Royal house FROM table WHERE Name = wu AND State = cai
Translate the following into a SQL query
What is the state where the title is listed as count?
SELECT State FROM table WHERE Title = count
Translate the following into a SQL query
What is the state for the royal house of ying?
SELECT State FROM table WHERE Royal house = ying
Translate the following into a SQL query
Which Opponent in the final has a Score in the final of 6–2, 6–3, 2–6, 7–5?
SELECT Opponent in the final FROM table WHERE Score in the final = 6–2, 6–3, 2–6, 7–5
Translate the following into a SQL query
How many Dates have a Score in the final of 6–4, 6–2?
SELECT SUM Date FROM table WHERE Score in the final = 6–4, 6–2
Translate the following into a SQL query
Which Surface has an Outcome of runner-up, and a Score in the final of 4–6, 6–7, 6–2, 2–6?
SELECT Surface FROM table WHERE Outcome = runner-up AND Score in the final = 4–6, 6–7, 6–2, 2–6
Translate the following into a SQL query
Which Opponent in the final has an Outcome of winner, and a Date larger than 1992, and a Surface of clay, and a Score in the final of 3–6, 6–2, 6–1?
SELECT Opponent in the final FROM table WHERE Outcome = winner AND Date > 1992 AND Surface = clay AND Score in the final = 3–6, 6–2, 6–1
Translate the following into a SQL query
Which Surface has a Score in the final of 2–6, 6–7?
SELECT Surface FROM table WHERE Score in the final = 2–6, 6–7
Translate the following into a SQL query
What day in November has a record of 15-6-1?
SELECT AVG November FROM table WHERE Record = 15-6-1
Translate the following into a SQL query
What day in November has the game less than 12?
SELECT November FROM table WHERE Game < 12
Translate the following into a SQL query
What is the earliest day in November with a record of 15-7-1?
SELECT MIN November FROM table WHERE Record = 15-7-1
Translate the following into a SQL query
What is Finish, when Country is "South Africa"?
SELECT Finish FROM table WHERE Country = south africa
Translate the following into a SQL query
What is Player, when Country is "United States", and when Year(s) Won is "1976"?
SELECT Player FROM table WHERE Country = united states AND Year(s) won = 1976
Translate the following into a SQL query
Which first round has a first team of angers sco (d1)?
SELECT 1st round FROM table WHERE Team 1 = angers sco (d1)
Translate the following into a SQL query
In which stadium does Club Pro Patria play?
SELECT Stadium FROM table WHERE Club = pro patria
Translate the following into a SQL query
What was the stadium in which the 2007-08 season placement was 8th in Serie c1/a?
SELECT Stadium FROM table WHERE 2007–08 season = 8th in serie c1/a
Translate the following into a SQL query
Which club came in 14th in Serie c1/a in the 2007-08 season?
SELECT Club FROM table WHERE 2007–08 season = 14th in serie c1/a
Translate the following into a SQL query
What was the result of the 2007-08 season for the city of Ferrara?
SELECT 2007–08 season FROM table WHERE City = ferrara
Translate the following into a SQL query
How many matches were played that resulted in less than 59.1 overs and a 6.78 Economy rate?
SELECT SUM Matches FROM table WHERE Overs < 59.1 AND Economy Rate > 6.78
Translate the following into a SQL query
What is the average of someone with more than 19 wickets and less than 16 matches?
SELECT AVG Average FROM table WHERE Wickets > 19 AND Matches < 16
Translate the following into a SQL query
What were the total number of matches played when the Deccan Chargers had a strike rate of 15.5?
SELECT MAX Matches FROM table WHERE Team = deccan chargers AND Strike Rate > 15.5
Translate the following into a SQL query
Who was the home team of the match on 21.10.07, which had bsc young boys (asl) as the geust?
SELECT Home FROM table WHERE Date = 21.10.07 AND Geust = bsc young boys (asl)
Translate the following into a SQL query
What is the home of fc st. gallen (asl) geust?
SELECT Home FROM table WHERE Geust = fc st. gallen (asl)
Translate the following into a SQL query
What is the home of the geust fc basel (asl)?
SELECT Home FROM table WHERE Geust = fc basel (asl)
Translate the following into a SQL query
What is the home of fc thun (asl) geust?
SELECT Home FROM table WHERE Geust = fc thun (asl)
Translate the following into a SQL query
What is the home of the match with a 0:2 result on 21.10.07?
SELECT Home FROM table WHERE Result = 0:2 AND Date = 21.10.07
Translate the following into a SQL query
What is the geust with a 0:1 result?
SELECT Geust FROM table WHERE Result = 0:1
Translate the following into a SQL query
What is the nalchik with 4 played, a rl qual., and 100 jermuk?
SELECT Nalchik FROM table WHERE Played = 4 AND Qual. = rl AND Jermuk = 100
Translate the following into a SQL query
What is the elista with 1 played and 153β…“ baku?
SELECT Elista FROM table WHERE Played = 1 AND Baku = 153β…“
Translate the following into a SQL query
Which river had 26 points?
SELECT Driver FROM table WHERE Points = 26
Translate the following into a SQL query
What year did the Caphouse Colliery railway close?
SELECT Closed FROM table WHERE Name = caphouse colliery
Translate the following into a SQL query
What was the percentage in 2006 that had less than 9% in 1970?
SELECT AVG 2006 FROM table WHERE 1970 < 9
Translate the following into a SQL query
What was the percentage in 1980 that had less than 37.8% in 2006, more than 29.4% in 2000, and more than 18.2% in 1970?
SELECT MIN 1980 FROM table WHERE 2006 < 37.8 AND 2000 > 29.4 AND 1970 > 18.2
Translate the following into a SQL query
What was the percentage in 1980 in Brooklyn?
SELECT MIN 1980 FROM table WHERE Borough = brooklyn
Translate the following into a SQL query
What is the result the R3 round?
SELECT Result FROM table WHERE Round = r3
Translate the following into a SQL query
What is the result of the game against Ayr United?
SELECT Result FROM table WHERE Opponent = ayr united
Translate the following into a SQL query
What was the score for the game in which the Edmonton Oilers were visitors?
SELECT Score FROM table WHERE Visitor = edmonton oilers
Translate the following into a SQL query
What was the score of the game in which the Toronto Maple Leafs were visitors?
SELECT Score FROM table WHERE Visitor = toronto maple leafs
Translate the following into a SQL query
When Jeb Barlow was picked in round smaller than 7, how many player in totals were picked?
SELECT COUNT Pick FROM table WHERE Player = jeb barlow AND Round < 7
Translate the following into a SQL query
What country is team ucla come from?
SELECT Nationality FROM table WHERE School/Club Team = ucla
Translate the following into a SQL query
How many rounds have picked smaller than 220, with Alford Turner as a player?
SELECT SUM Round FROM table WHERE Pick < 220 AND Player = alford turner
Translate the following into a SQL query
What is the pick with Dean Sears and round larger than 6?
SELECT MIN Pick FROM table WHERE Round > 6 AND Player = dean sears
Translate the following into a SQL query
What is the total pick with Bill Duffy?
SELECT SUM Pick FROM table WHERE Player = bill duffy
Translate the following into a SQL query
What is the total round with pick of 109?
SELECT SUM Round FROM table WHERE Pick = 109
Translate the following into a SQL query
How many picks for round 12?
SELECT COUNT Pick # FROM table WHERE Round = 12
Translate the following into a SQL query
What was Tom Donchez pick number?
SELECT Pick # FROM table WHERE Player = tom donchez
Translate the following into a SQL query
What is date when against is smaller than 6 and location was durban?
SELECT Date FROM table WHERE Against < 6 AND Venue = durban
Translate the following into a SQL query
What was the note with a year after 2003?
SELECT Note FROM table WHERE Year > 2003
Translate the following into a SQL query
When was the note a vocals and the album north (original motion picture soundtrack)?
SELECT Year FROM table WHERE Note = vocals AND Album = north (original motion picture soundtrack)
Translate the following into a SQL query
Which album had the note tape [tape echo]?
SELECT Album FROM table WHERE Note = tape [tape echo]
Translate the following into a SQL query
Which artist was 2003?
SELECT Artist FROM table WHERE Year = 2003
Translate the following into a SQL query
What is the Title of the episode after Season 10 Directed by Erik Wiese and Eddie Trigueros after Seres 35?
SELECT Title FROM table WHERE Season # > 10 AND Series # > 35 AND Directed by = erik wiese and eddie trigueros
Translate the following into a SQL query
What is the Original airdate of the episode after Season 6 Directed by Erik Wiese?
SELECT Original airdate FROM table WHERE Directed by = erik wiese AND Season # > 6
Translate the following into a SQL query
What is the average of laps ridden by Toni Elias?
SELECT AVG Laps FROM table WHERE Rider = toni elias