instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What's Great Britain's lane with a heat less than 3?
SELECT AVG Lane FROM table WHERE Nationality = great britain AND Heat < 3
Translate the following into a SQL query
What's Spain's lane with a heat less than 4?
SELECT AVG Lane FROM table WHERE Nationality = spain AND Heat < 4
Translate the following into a SQL query
What's the heat in the lane less than 3 with a time of 14:48.39?
SELECT AVG Heat FROM table WHERE Lane < 3 AND Time = 14:48.39
Translate the following into a SQL query
What's China's heat for Zhang Lin in a lane after 6?
SELECT SUM Heat FROM table WHERE Nationality = china AND Name = zhang lin AND Lane > 6
Translate the following into a SQL query
Who won bronze in 1994?
SELECT Bronze FROM table WHERE Year = 1994
Translate the following into a SQL query
Which position was picked before 63, for Oklahoma College?
SELECT Position FROM table WHERE Pick < 63 AND College = oklahoma
Translate the following into a SQL query
Which College has a Position of Offensive Tackle?
SELECT College FROM table WHERE Position = offensive tackle
Translate the following into a SQL query
Which player had 50 balls?
SELECT Player FROM table WHERE Balls = 50
Translate the following into a SQL query
What date was Apes of Wrath written by Friz Freleng, production number higher than 1496 from series mm released?
SELECT Release date FROM table WHERE Director = friz freleng AND Production Number > 1496 AND Series = mm AND Title = apes of wrath
Translate the following into a SQL query
What is the production number directed by Robert McKimson in series mm titled People Are Bunny?
SELECT SUM Production Number FROM table WHERE Director = robert mckimson AND Series = mm AND Title = people are bunny
Translate the following into a SQL query
What was the series of the episode directed by Abe Levitow released on 1959-06-27?
SELECT Series FROM table WHERE Director = abe levitow AND Release date = 1959-06-27
Translate the following into a SQL query
What is the release date of the episode named Mouse-Placed Kitten with an episode number less than 1495 directed by Robert McKimson?
SELECT Release date FROM table WHERE Production Number < 1495 AND Director = robert mckimson AND Title = mouse-placed kitten
Translate the following into a SQL query
Which Player has a Round larger than 8?
SELECT Player FROM table WHERE Round > 8
Translate the following into a SQL query
What is tom cassidy's nationality?
SELECT Nationality FROM table WHERE Player = tom cassidy
Translate the following into a SQL query
Which College/Junior/Club Team has a Pick larger than 70, and a Round smaller than 7?
SELECT College/Junior/Club Team FROM table WHERE Pick > 70 AND Round < 7
Translate the following into a SQL query
Which Player has a Round larger than 8?
SELECT Player FROM table WHERE Round > 8
Translate the following into a SQL query
Which County has a Location of edinburgh?
SELECT County FROM table WHERE Location = edinburgh
Translate the following into a SQL query
COunt the average Enrollment in hope?
SELECT AVG Enrollment FROM table WHERE Location = hope
Translate the following into a SQL query
Which Mascot has IHSAA Class of aa, and a Enrollment larger than 369?
SELECT Mascot FROM table WHERE IHSAA Class = aa AND Enrollment > 369
Translate the following into a SQL query
what is the lowest league goals when the league apps is 1 and the fa cup goals is more than 0?
SELECT MIN League Goals FROM table WHERE League Apps = 1 AND FA Cup Goals > 0
Translate the following into a SQL query
what is the highest fa cup goals when the total goals is more than 3 and total apps is 31 (1)?
SELECT MAX FA Cup Goals FROM table WHERE Total Goals > 3 AND Total Apps = 31 (1)
Translate the following into a SQL query
what is the league goals when the fa cup goals is higher than 0, the fa cup apps is 2 and the league apps is 45?
SELECT League Goals FROM table WHERE FA Cup Goals > 0 AND FA Cup Apps = 2 AND League Apps = 45
Translate the following into a SQL query
how many times is the total apps 1 and the fa cup goals less than 0 for bob mountain?
SELECT COUNT Total Goals FROM table WHERE Total Apps = 1 AND Name = bob mountain AND FA Cup Goals < 0
Translate the following into a SQL query
What is the highest attendance for the match against west ham united at the venue of a?
SELECT MAX Attendance FROM table WHERE Venue = a AND Opponent = west ham united
Translate the following into a SQL query
Which Country has a Score of 67?
SELECT Country FROM table WHERE Score = 67
Translate the following into a SQL query
Which To par has a Player of momoko ueda?
SELECT To par FROM table WHERE Player = momoko ueda
Translate the following into a SQL query
Which To par has a Player of johanna head?
SELECT To par FROM table WHERE Player = johanna head
Translate the following into a SQL query
What is the notes for the team from Denmark?
SELECT Notes FROM table WHERE Country = denmark
Translate the following into a SQL query
Which athlete had a rank of 6 and notes of sc/d?
SELECT Athlete FROM table WHERE Notes = sc/d AND Rank = 6
Translate the following into a SQL query
Which country is the athlete latt shwe zin with notes of sc/d from?
SELECT Country FROM table WHERE Notes = sc/d AND Athlete = latt shwe zin
Translate the following into a SQL query
What's the HR number when the LMS number is 14758?
SELECT HR no. FROM table WHERE LMS no. = 14758
Translate the following into a SQL query
What's the CR number that has an LMS number less than 14761 and works of Hawthorn Leslie 3100?
SELECT AVG CR no. FROM table WHERE Works = hawthorn leslie 3100 AND LMS no. < 14761
Translate the following into a SQL query
What's the HR Number when the LMS number is 14757 and has a built of 9/1915?
SELECT HR no. FROM table WHERE Built = 9/1915 AND LMS no. = 14757
Translate the following into a SQL query
What's the built date when the CR number is more than 940 and the LMS number is 14760?
SELECT Built FROM table WHERE CR no. > 940 AND LMS no. = 14760
Translate the following into a SQL query
What is the Home team of the event on Thursday, December 11 with Visitor Modo Hockey?
SELECT Home FROM table WHERE Visitor = modo hockey AND Date = thursday, december 11
Translate the following into a SQL query
What is the traditional Chinese name for the record titled Sunrise?
SELECT Chinese (Traditional) FROM table WHERE English Title = sunrise
Translate the following into a SQL query
What would be the traditional Chinese name tat is simplified as 崇拜?
SELECT Chinese (Traditional) FROM table WHERE Chinese (Simplified) = 崇拜
Translate the following into a SQL query
What traditional Chinese name would the Rock Records release Grown up Overnight be given?
SELECT Chinese (Traditional) FROM table WHERE Label = rock records AND English Title = grown up overnight
Translate the following into a SQL query
What is the traditional Chinese name for the record Beautiful?
SELECT Chinese (Traditional) FROM table WHERE English Title = beautiful
Translate the following into a SQL query
What is the album number for the record 情歌没有告诉你, simplified from the traditional Chinese name?
SELECT Album# FROM table WHERE Chinese (Simplified) = 情歌没有告诉你
Translate the following into a SQL query
What is the simplified Chinese name for the 9th album?
SELECT Chinese (Simplified) FROM table WHERE Album# = 9th
Translate the following into a SQL query
Which Eliminated has a Tag Team of jindrak and cade?
SELECT Eliminated by FROM table WHERE Tag Team = jindrak and cade
Translate the following into a SQL query
Which Eliminated has an Entered smaller than 2?
SELECT Eliminated by FROM table WHERE Entered < 2
Translate the following into a SQL query
Name the Tag Team with Entered of 6?
SELECT Tag Team FROM table WHERE Entered = 6
Translate the following into a SQL query
Name Tag Team with a Eliminated of 5?
SELECT Tag Team FROM table WHERE Eliminated = 5
Translate the following into a SQL query
Name the Tag Team with a Time of 03:34?
SELECT Tag Team FROM table WHERE Time = 03:34
Translate the following into a SQL query
Name the highest Entered of Eliminated by of rosey and the hurricane?
SELECT MAX Entered FROM table WHERE Eliminated by = rosey and the hurricane
Translate the following into a SQL query
Which Episodes have a TV Station of ntv, and a Japanese Title of あいのうた?
SELECT AVG Episodes FROM table WHERE TV Station = ntv AND Japanese Title = あいのうた
Translate the following into a SQL query
Which TV Station has Average Ratings of 16.89%?
SELECT TV Station FROM table WHERE Average Ratings = 16.89%
Translate the following into a SQL query
Which Episodes have a TV Station of tbs, and a Japanese Title of 今夜ひとりのベッドで?
SELECT MAX Episodes FROM table WHERE TV Station = tbs AND Japanese Title = 今夜ひとりのベッドで
Translate the following into a SQL query
Which Japanese Title has a TV Station of tbs, and a Romaji Title of hana yori dango?
SELECT Japanese Title FROM table WHERE TV Station = tbs AND Romaji Title = hana yori dango
Translate the following into a SQL query
Who was the away team with a tie number of 4?
SELECT Away team FROM table WHERE Tie no = 4
Translate the following into a SQL query
What date was the tie number of 32?
SELECT Date FROM table WHERE Tie no = 32
Translate the following into a SQL query
What was the score when the tie number was a replay and the home team was mansfield town?
SELECT Score FROM table WHERE Tie no = replay AND Home team = mansfield town
Translate the following into a SQL query
what is the to par when the score is 67-68-76=211?
SELECT To par FROM table WHERE Score = 67-68-76=211
Translate the following into a SQL query
what is the score for tom watson?
SELECT Score FROM table WHERE Player = tom watson
Translate the following into a SQL query
who is the player when the place is t10 and the score is 67-72-72=211?
SELECT Player FROM table WHERE Place = t10 AND Score = 67-72-72=211
Translate the following into a SQL query
what is the place for bryce molder?
SELECT Place FROM table WHERE Player = bryce molder
Translate the following into a SQL query
what is the to par for mathew goggin?
SELECT To par FROM table WHERE Player = mathew goggin
Translate the following into a SQL query
Which Quantity has an Axle arrangement of 2′c h2?
SELECT AVG Quantity FROM table WHERE Axle arrangement = 2′c h2
Translate the following into a SQL query
Which Year(s) of manufacture has an Axle arrangement of 2′b n2?
SELECT Year(s) of manufacture FROM table WHERE Axle arrangement = 2′b n2
Translate the following into a SQL query
Which Rank has a Time of 5:56.73?
SELECT Rank FROM table WHERE Time = 5:56.73
Translate the following into a SQL query
Which Rank has Notes of fb, and a Time of 5:57.31?
SELECT Rank FROM table WHERE Notes = fb AND Time = 5:57.31
Translate the following into a SQL query
How much 2000 has a 2005 smaller than 583,590, and a 2009 smaller than 156,761, and a 2002 larger than 1,393,020?
SELECT SUM 2000 FROM table WHERE 2005 < 583,590 AND 2009 < 156,761 AND 2002 > 1,393,020
Translate the following into a SQL query
Which 2011 has a 2004 smaller than 271,691, and a Country or territory of vietnam, and a 2009 larger than 265,414?
SELECT AVG 2011 FROM table WHERE 2004 < 271,691 AND Country or territory = vietnam AND 2009 > 265,414
Translate the following into a SQL query
Which 2007 has a Country or territory of china, and a 2002 smaller than 670,099?
SELECT MIN 2007 FROM table WHERE Country or territory = china AND 2002 < 670,099
Translate the following into a SQL query
what is the giro wins when jerseys is 2, country is portugal and young rider is more than 0?
SELECT SUM Giro wins FROM table WHERE Jerseys = 2 AND Country = portugal AND Young rider > 0
Translate the following into a SQL query
what is the highest jersey when points is 0, different holders is less than 3, giro wins is less than 1 and young rider is more than 1?
SELECT MAX Jerseys FROM table WHERE Points = 0 AND Different holders < 3 AND Giro wins < 1 AND Young rider > 1
Translate the following into a SQL query
how many times is young rider more than 0, country is france and points less than 1?
SELECT COUNT Jerseys FROM table WHERE Young rider > 0 AND Country = france AND Points < 1
Translate the following into a SQL query
what is the least different holders when the country is ireland and giro wins is less than 1?
SELECT MIN Different holders FROM table WHERE Country = ireland AND Giro wins < 1
Translate the following into a SQL query
What is Brian Mateer's Speed?
SELECT Speed FROM table WHERE Rider = brian mateer
Translate the following into a SQL query
What is the Rank of the Rider with a Speed of 111.072mph in Team 250CC Honda?
SELECT AVG Rank FROM table WHERE Team = 250cc honda AND Speed = 111.072mph
Translate the following into a SQL query
What is the Nationality of the swimmer with a Time of 1:08.80?
SELECT Nationality FROM table WHERE Time = 1:08.80
Translate the following into a SQL query
What is Anna Khlistunova's Nationality?
SELECT Nationality FROM table WHERE Name = anna khlistunova
Translate the following into a SQL query
What is the penalty for the DET team player Andreas Lilja?
SELECT Penalty FROM table WHERE Team = det AND Player = andreas lilja
Translate the following into a SQL query
What is the penalty for Jonathan Toews?
SELECT Penalty FROM table WHERE Player = jonathan toews
Translate the following into a SQL query
What is the period for Ben Eager?
SELECT Period FROM table WHERE Player = ben eager
Translate the following into a SQL query
What is the period for the DET Team with a time of 11:27?
SELECT Period FROM table WHERE Team = det AND Time = 11:27
Translate the following into a SQL query
What player has a penalty of holding on the DET team?
SELECT Player FROM table WHERE Penalty = holding AND Team = det
Translate the following into a SQL query
What time does Dustin Byfuglien have in 1st period?
SELECT Time FROM table WHERE Period = 1st AND Player = dustin byfuglien
Translate the following into a SQL query
Which competition has a result of 2-0 in Ferreiras with an assist/pass by Casey Nogueira?
SELECT Competition FROM table WHERE Result = 2-0 AND Location = ferreiras AND Assist/pass = casey nogueira
Translate the following into a SQL query
What is the score with the Lineup match reports?
SELECT Score FROM table WHERE Lineup = match reports
Translate the following into a SQL query
On what date is there an assist/pass by Shannon Boxx?
SELECT Date FROM table WHERE Assist/pass = shannon boxx
Translate the following into a SQL query
Which assist/pass is in Ferreiras?
SELECT Assist/pass FROM table WHERE Location = ferreiras
Translate the following into a SQL query
Willy Sagnol with a type as career end had what has the transfer fee?
SELECT Transfer fee FROM table WHERE Type = career end AND Name = willy sagnol
Translate the following into a SQL query
Marcell Jansen with a transfer window of summer, and of transfer as type is from what nation?
SELECT Nat. FROM table WHERE Transfer window = summer AND Type = transfer AND Name = marcell jansen
Translate the following into a SQL query
Marcell Jansen of the nation GER has what for the type?
SELECT Type FROM table WHERE Nat. = ger AND Name = marcell jansen
Translate the following into a SQL query
What player had a transfer window of winter, and free as the transfer fee?
SELECT Name FROM table WHERE Transfer window = winter AND Transfer fee = free
Translate the following into a SQL query
Which player from GER has a transfer window of summer, and a transfer fee of n/a?
SELECT Name FROM table WHERE Transfer window = summer AND Nat. = ger AND Transfer fee = n/a
Translate the following into a SQL query
What's the highest Year Left that's got a Conference Joined of Sagamore with a Year Joined larger than 1942?
SELECT MAX Year Left FROM table WHERE Conference Joined = sagamore AND Year Joined > 1942
Translate the following into a SQL query
What's the highest Year Left for the School of Danville?
SELECT MAX Year Left FROM table WHERE School = danville
Translate the following into a SQL query
What was lane 4's time?
SELECT Time FROM table WHERE Lane = 4
Translate the following into a SQL query
What's the part number of the processor that has an 1.8 ghz frequency and 2 × 256 kb L@ Cache?
SELECT Part number(s) FROM table WHERE L2 cache = 2 × 256 kb AND Frequency = 1.8 ghz
Translate the following into a SQL query
What's the sSpec number of the processor having an ultra-low power I/O?
SELECT sSpec number FROM table WHERE I/O bus = ultra-low power
Translate the following into a SQL query
What the cores with a release date of February 2011 and a BGA-1023 socket?
SELECT Cores FROM table WHERE Socket = bga-1023 AND Release date = february 2011
Translate the following into a SQL query
What's the L3 Cache that has a standard power I/O?
SELECT L3 cache FROM table WHERE I/O bus = standard power
Translate the following into a SQL query
What's the release date of the processor with 2.8 ghz of frequency?
SELECT Release date FROM table WHERE Frequency = 2.8 ghz
Translate the following into a SQL query
What is the total S ÷ D with a 3298 (1986) [3 H] nizoxetine and an N ÷ D greater than 37.01?
SELECT COUNT S ÷ D FROM table WHERE [ 3 H]Nisoxetine = 3298 (1986) AND N ÷ D > 37.01
Translate the following into a SQL query
What is the [3 H] paroxetine with a [3 H] CFT less than 3.93, an S ÷ D greater than 1891, and a [3H] nizoxetine of 299 (180)?
SELECT [ 3 H]Paroxetine FROM table WHERE [ 3 H]CFT < 3.93 AND S ÷ D > 1891 AND [ 3 H]Nisoxetine = 299 (180)
Translate the following into a SQL query
What is the sum of the [3 H]CFT with an N ÷ D less than 393.8 and a [3H] paroxetine of 1045 (45)?
SELECT SUM [ 3 H]CFT FROM table WHERE N ÷ D < 393.8 AND [ 3 H]Paroxetine = 1045 (45)