instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What is To Par, when Country is United States, and when Score is 71-68-73=212?
SELECT To par FROM table WHERE Country = united states AND Score = 71-68-73=212
Translate the following into a SQL query
What is Player, when Country is United States, and when Score is 70-72-70=212?
SELECT Player FROM table WHERE Country = united states AND Score = 70-72-70=212
Translate the following into a SQL query
What is Country, when Player is "Billy Maxwell"?
SELECT Country FROM table WHERE Player = billy maxwell
Translate the following into a SQL query
Who has a react smaller than 0.149 and a lane smaller than 6?
SELECT Name FROM table WHERE React < 0.149 AND Lane < 6
Translate the following into a SQL query
What was the lowest lane with a mark of 7.26?
SELECT MIN Lane FROM table WHERE Mark = 7.26
Translate the following into a SQL query
What is the maximum number of games when the season is more recent than 2001 and the average is less than 10,838?
SELECT MAX Games FROM table WHERE Season > 2001 AND Average < 10,838
Translate the following into a SQL query
What is the number of clubs when the average is more than 18,571, there are fewer than 182 games and the total attendance is 3,140,280 in a year more recent than 1995?
SELECT AVG No. Of Clubs FROM table WHERE Average > 18,571 AND Games < 182 AND Total Attendance = 3,140,280 AND Season > 1995
Translate the following into a SQL query
What is the number of clubs for Shenyang Ginde when there were more than 182 games?
SELECT COUNT No. Of Clubs FROM table WHERE Team = shenyang ginde AND Games > 182
Translate the following into a SQL query
What is the smallest average for Beijing Guo'an when they played more than 240 games?
SELECT MIN Average FROM table WHERE Team = beijing guo'an AND Games > 240
Translate the following into a SQL query
What is the average pick number for Washington State?
SELECT AVG Pick FROM table WHERE School = washington state
Translate the following into a SQL query
Which Comments has a Length Over All of 4.5m?
SELECT Comments FROM table WHERE Length Over All = 4.5m
Translate the following into a SQL query
Which Crew has Comments of daggerboards. design: roy seaman?
SELECT Crew FROM table WHERE Comments = daggerboards. design: roy seaman
Translate the following into a SQL query
Which Comments has a Model of 18sq?
SELECT Comments FROM table WHERE Model = 18sq
Translate the following into a SQL query
Which Model has Comments of curved daggerboards. design: morelli und melvin?
SELECT Model FROM table WHERE Comments = curved daggerboards. design: morelli und melvin
Translate the following into a SQL query
Which Beam has a Model of 570?
SELECT Beam FROM table WHERE Model = 570
Translate the following into a SQL query
Which Model has a Sail Area of 24.5 m²?
SELECT Model FROM table WHERE Sail Area = 24.5 m²
Translate the following into a SQL query
What is the sum of the game numbers for games with less than 30 points?
SELECT SUM Game FROM table WHERE Points < 30
Translate the following into a SQL query
Where was the game against the buffalo sabres?
SELECT Location FROM table WHERE Opponent = buffalo sabres
Translate the following into a SQL query
What is the smallest area that has a Population Density of 3,216 and a Population larger than 16,650,000?
SELECT MIN Area (km²) FROM table WHERE Population Density (People/km²) = 3,216 AND Population > 16,650,000
Translate the following into a SQL query
What is the highest BR number with a SECR number of 765?
SELECT MAX BR No. FROM table WHERE SECR No. = 765
Translate the following into a SQL query
What is Beyer Peacock's SR number with a SECR number of 769?
SELECT AVG SR No. FROM table WHERE Builder = beyer peacock AND SECR No. = 769
Translate the following into a SQL query
What is the tyre of nismo team member satoshi motoyama when he has rounds of all?
SELECT Tyre FROM table WHERE Rounds = all AND Team = nismo AND Drivers = satoshi motoyama
Translate the following into a SQL query
What is the tyre of real racing with leon team member koudai tsukakoshi?
SELECT Tyre FROM table WHERE Team = real racing with leon AND Drivers = koudai tsukakoshi
Translate the following into a SQL query
Which drives drove a lexus, made all rounds, had a tyre of B and was on the team of petronas toyota team tom's?
SELECT Drivers FROM table WHERE Rounds = all AND Make = lexus AND Tyre = b AND Team = petronas toyota team tom's
Translate the following into a SQL query
When driver yuji tachikawa had a make of lexus, what team did he represent?
SELECT Team FROM table WHERE Make = lexus AND Drivers = yuji tachikawa
Translate the following into a SQL query
What is the sum of Capacity, when Team is "Denizlispor"?
SELECT SUM Capacity FROM table WHERE Team = denizlispor
Translate the following into a SQL query
What is the Team, when Team Captain is "Uğur Kavuk"?
SELECT Team FROM table WHERE Team captain = uğur kavuk
Translate the following into a SQL query
What is Team, when Venue is "Şükrü Saracoğlu Stadium"?
SELECT Team FROM table WHERE Venue = şükrü saracoğlu stadium
Translate the following into a SQL query
What is Team, when Capacity is greater than 16,981, and when Venue is "Atatürk Olympic Stadium"?
SELECT Team FROM table WHERE Capacity > 16,981 AND Venue = atatürk olympic stadium
Translate the following into a SQL query
Who is the gagarin cup winner when avangard omsk is the gagarin cup finalist?
SELECT Gagarin Cup Winner FROM table WHERE Gagarin Cup finalist = avangard omsk
Translate the following into a SQL query
What was the resolution of the fight where andre roberts record was 9-1?
SELECT Res. FROM table WHERE Record = 9-1
Translate the following into a SQL query
What is the 2nd leg of goiás team 2?
SELECT 2nd leg FROM table WHERE Team #2 = goiás
Translate the following into a SQL query
What is the 2nd leg of emelec team 2?
SELECT 2nd leg FROM table WHERE Team #2 = emelec
Translate the following into a SQL query
What is the 2nd leg with ldu quito as team 1?
SELECT 2nd leg FROM table WHERE Team #1 = ldu quito
Translate the following into a SQL query
On what date was the bridge located in McClain listed?
SELECT Listed FROM table WHERE Location = mcclain
Translate the following into a SQL query
What is the source on 6 September?
SELECT Source FROM table WHERE Date = 6 september
Translate the following into a SQL query
Which Week has a Result of l 21-19?
SELECT COUNT Week FROM table WHERE Result = l 21-19
Translate the following into a SQL query
Which Week has a Result of l 41-14?
SELECT MIN Week FROM table WHERE Result = l 41-14
Translate the following into a SQL query
Which Result has a Date of september 3, 2000?
SELECT Result FROM table WHERE Date = september 3, 2000
Translate the following into a SQL query
Which Date has an Attendance of 54,626?
SELECT Date FROM table WHERE Attendance = 54,626
Translate the following into a SQL query
Which Result has an Attendance of bye?
SELECT Result FROM table WHERE Attendance = bye
Translate the following into a SQL query
What is the smallest preliminary when swimsuit is less than 8.822, interview is more than 8.744 and gown is more than 9.333?
SELECT MIN Preliminary FROM table WHERE Swimsuit < 8.822 AND Interview > 8.744 AND Evening Gown > 9.333
Translate the following into a SQL query
What is the best preliminary for a contestant from New Mexico with interview less than 9.533?
SELECT MAX Preliminary FROM table WHERE State = new mexico AND Interview < 9.533
Translate the following into a SQL query
What state has a swimsuit less than 9.277, gown more than 8.944 and preliminary greater than 8.483?
SELECT State FROM table WHERE Swimsuit < 9.277 AND Evening Gown > 8.944 AND Preliminary < 8.483
Translate the following into a SQL query
What is the average when interview is 9.465 and evening gown is less than 9.454?
SELECT SUM Average FROM table WHERE Interview = 9.465 AND Evening Gown < 9.454
Translate the following into a SQL query
What is the best preliminary score from a contestant from Oklahoma with evening gown less than 8.853?
SELECT MAX Preliminary FROM table WHERE State = oklahoma AND Evening Gown < 8.853
Translate the following into a SQL query
What is Written By, when Originalairdate is 25 April 1993?
SELECT Written by FROM table WHERE Originalairdate = 25 april 1993
Translate the following into a SQL query
What is Directed By, when Episode # is 7?
SELECT Directed by FROM table WHERE Episode # = 7
Translate the following into a SQL query
WHAT IS THE LOWEST AVERAGE FINISH FOR 40TH POSITION, WITH A TOP 5 LARGER THAN 0?
SELECT MIN Avg. Finish FROM table WHERE Position = 40th AND Top 5 > 0
Translate the following into a SQL query
What country has 50 supermarkets?
SELECT Country FROM table WHERE Supermarkets = 50
Translate the following into a SQL query
What country has 370 supermarkets?
SELECT Country FROM table WHERE Supermarkets = 370
Translate the following into a SQL query
What country has a fire store of 1991 and a hard discounter of 397?
SELECT Country FROM table WHERE First store = 1991 AND Hard Discounters = 397
Translate the following into a SQL query
Which engine is in all rounds with Tsugio Matsuda driving?
SELECT Engine FROM table WHERE Rounds = all AND Driver = tsugio matsuda
Translate the following into a SQL query
Which engine is used by Team Lemans with Hiroaki Ishiura driving?
SELECT Engine FROM table WHERE Team = team lemans AND Driver = hiroaki ishiura
Translate the following into a SQL query
What is the least rank with more than 3 losses and less than 25 sets lost?
SELECT MIN Rank FROM table WHERE Loss > 3 AND Sets Lost < 25
Translate the following into a SQL query
What is the least rank with more than 16 sets won and less than 1 loss?
SELECT MIN Rank FROM table WHERE Sets Won > 16 AND Loss < 1
Translate the following into a SQL query
Who was the home team when the away team was Telford United?
SELECT Home team FROM table WHERE Away team = telford united
Translate the following into a SQL query
What was the score when the away team was West Ham United?
SELECT Score FROM table WHERE Away team = west ham united
Translate the following into a SQL query
What is the Tie Number when the home team was West Ham United?
SELECT Tie no FROM table WHERE Home team = west ham united
Translate the following into a SQL query
Name the Model Number which has a FSB Speed of 400 mhz?
SELECT Model Number FROM table WHERE FSB Speed = 400 mhz
Translate the following into a SQL query
Name the Voltage Range which has a FSB Speed of 400 mhz, and a Clock Speed of 1 ghz?
SELECT Voltage Range FROM table WHERE FSB Speed = 400 mhz AND Clock Speed = 1 ghz
Translate the following into a SQL query
Name the L2 Cache which has a Clock Speed of 1.5 ghz?
SELECT L2 Cache FROM table WHERE Clock Speed = 1.5 ghz
Translate the following into a SQL query
What is the earliest game against Orlando?
SELECT MIN Game FROM table WHERE Team = orlando
Translate the following into a SQL query
Which Week has an Attendance of 72,855?
SELECT MAX Week FROM table WHERE Attendance = 72,855
Translate the following into a SQL query
Which Week has a Date of december 8, 1991?
SELECT AVG Week FROM table WHERE Date = december 8, 1991
Translate the following into a SQL query
Which Opponent has a Date of november 24, 1991?
SELECT Opponent FROM table WHERE Date = november 24, 1991
Translate the following into a SQL query
Which location has a rank of 147?
SELECT Location FROM table WHERE Rank = 147
Translate the following into a SQL query
Which mountain range contains Sierra Blanca Peak?
SELECT Mountain Range FROM table WHERE Mountain Peak = sierra blanca peak
Translate the following into a SQL query
Which location is in Oregon, ranked under 121, and contains Mount McLoughlin?
SELECT Location FROM table WHERE State = oregon AND Rank < 121 AND Mountain Peak = mount mcloughlin
Translate the following into a SQL query
What is the film, television series, or miniseries with a nomination in 2001?
SELECT Film or Television Series or Miniseries FROM table WHERE Year = 2001
Translate the following into a SQL query
In what year was Martin Sheen nominated?
SELECT Year FROM table WHERE Nominee = martin sheen
Translate the following into a SQL query
Who was the president in 1999?
SELECT President FROM table WHERE Year = 1999
Translate the following into a SQL query
Which Date has a Status of second test?
SELECT Date FROM table WHERE Status = second test
Translate the following into a SQL query
Which Venue has an Against of 25?
SELECT Venue FROM table WHERE Against = 25
Translate the following into a SQL query
Which Status has a Date of 19/05/1981?
SELECT Status FROM table WHERE Date = 19/05/1981
Translate the following into a SQL query
Which Against has a Date of 30/05/1981?
SELECT COUNT Against FROM table WHERE Date = 30/05/1981
Translate the following into a SQL query
Which Date has an Against smaller than 21, and a Status of second test?
SELECT Date FROM table WHERE Against < 21 AND Status = second test
Translate the following into a SQL query
What is Rochester, when Syracuse is Cardiff Dark Gray Shale, and when Albany is (Mt. Marion Fm.)?
SELECT Rochester FROM table WHERE Syracuse = cardiff dark gray shale AND Albany = (mt. marion fm.)
Translate the following into a SQL query
What is Albany, when Buffalo is Oatka Creek Shale, and when Syracuse is Cardiff Dark Gray Shale?
SELECT Albany FROM table WHERE Buffalo = oatka creek shale AND Syracuse = cardiff dark gray shale
Translate the following into a SQL query
What is Syracuse, when Utica is Union Springs Shale And Limestone, and when Rochester is Union Springs Shale And Limestone?
SELECT Syracuse FROM table WHERE Utica = union springs shale and limestone AND Rochester = union springs shale and limestone
Translate the following into a SQL query
What is Syracuse, when Utica is Solsville Shale And Sandstone?
SELECT Syracuse FROM table WHERE Utica = solsville shale and sandstone
Translate the following into a SQL query
What is Syracuse, when Buffalo is Oatka Creek Shale, and when Albany is Berne?
SELECT Syracuse FROM table WHERE Buffalo = oatka creek shale AND Albany = berne
Translate the following into a SQL query
What is the Name of the Players with a Rank of 18?
SELECT Name FROM table WHERE Rank = 18
Translate the following into a SQL query
How many Points for the couple ranking 17 with Placings larger than 100?
SELECT Points FROM table WHERE Placings > 100 AND Rank = 17
Translate the following into a SQL query
What is the Rank of the couple with less than 408.8 Points and Placings of 160?
SELECT Rank FROM table WHERE Points < 408.8 AND Placings = 160
Translate the following into a SQL query
What is the Place of the couple with a Rank smaller than 7 and 514.55 Points?
SELECT SUM Placings FROM table WHERE Rank < 7 AND Points = 514.55
Translate the following into a SQL query
What is the total Lane with a Mark of 47.02, and a Heat higher than 5?
SELECT SUM Lane FROM table WHERE Mark = 47.02 AND Heat > 5
Translate the following into a SQL query
With a Mark of 46.47, What is the lowest Heat?
SELECT MIN Heat FROM table WHERE Mark = 46.47
Translate the following into a SQL query
What is the Country that has Richard Buck Lane higher than 3?
SELECT Country FROM table WHERE Lane > 3 AND Name = richard buck
Translate the following into a SQL query
When did Louise, Princess royal get married?
SELECT Date married FROM table WHERE Name dates = louise, princess royal
Translate the following into a SQL query
What are the Djurgården scorers that have a Score of 2-1?
SELECT Djurgården scorers FROM table WHERE Score = 2-1
Translate the following into a SQL query
What are the Opponents that have Djurgården scorers of sjölund (2)?
SELECT Opponents FROM table WHERE Djurgården scorers = sjölund (2)
Translate the following into a SQL query
What is the Score that has a Date of 2005-10-29?
SELECT Score FROM table WHERE Date = 2005-10-29
Translate the following into a SQL query
What is the Score that has an Attendance of 4 679?
SELECT Score FROM table WHERE Attendance = 4 679
Translate the following into a SQL query
What is the Date that has a Round of semifinal?
SELECT Date FROM table WHERE Round = semifinal
Translate the following into a SQL query
Which Round is the highest one that has a College of arizona, and an Overall larger than 120?
SELECT MAX Round FROM table WHERE College = arizona AND Overall > 120
Translate the following into a SQL query
Which Pick has a Name of ed hickerson, and a Round smaller than 10?
SELECT SUM Pick FROM table WHERE Name = ed hickerson AND Round < 10
Translate the following into a SQL query
How much Overall has a Pick of 10, and a Round smaller than 8, and a Position of e, and a College of tennessee?
SELECT COUNT Overall FROM table WHERE Pick = 10 AND Round < 8 AND Position = e AND College = tennessee
Translate the following into a SQL query
What date was the away team Morecambe?
SELECT Date FROM table WHERE Away team = morecambe
Translate the following into a SQL query
What team was the away team when the home team was Grimsby Town?
SELECT Away team FROM table WHERE Home team = grimsby town