instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
Which Season has Finals of out of playoffs.?
SELECT Season FROM table WHERE Finals = out of playoffs.
Translate the following into a SQL query
Which 3rd round has a 1st round of —?
SELECT 3rd round FROM table WHERE 1st round = —
Translate the following into a SQL query
Which Finals has a 1st round of —?
SELECT Finals FROM table WHERE 1st round = —
Translate the following into a SQL query
What's Albufeira's assist/pass?
SELECT Assist/pass FROM table WHERE Location = albufeira
Translate the following into a SQL query
What's the lineup when the assist/pass was Unassisted?
SELECT Lineup FROM table WHERE Assist/pass = unassisted
Translate the following into a SQL query
What date was the result 3-1 in Hague?
SELECT Date FROM table WHERE Result = 3-1 AND Location = hague
Translate the following into a SQL query
what is the total when the rank is total and the silver is less than 10?
SELECT SUM Total FROM table WHERE Rank = total AND Silver < 10
Translate the following into a SQL query
what is the least silver when gold is 0?
SELECT MIN Silver FROM table WHERE Gold < 0
Translate the following into a SQL query
what is the total silver when total is 30 and bronze is more than 10?
SELECT COUNT Silver FROM table WHERE Total = 30 AND Bronze > 10
Translate the following into a SQL query
what is the total when bronze is more than 1, nation is hong kong (hkg) and gold is less than 3?
SELECT SUM Total FROM table WHERE Bronze > 1 AND Nation = hong kong (hkg) AND Gold < 3
Translate the following into a SQL query
The driver in class A with 125 laps is in what position?
SELECT Position FROM table WHERE Class = a AND Laps = 125
Translate the following into a SQL query
Peter Hopwood has how many laps in all?
SELECT COUNT Laps FROM table WHERE Entrant = peter hopwood
Translate the following into a SQL query
For what class is the laps 66?
SELECT Class FROM table WHERE Laps = 66
Translate the following into a SQL query
What is the number of matches with an average larger than 6.33, with a rank of 1?
SELECT SUM Matches FROM table WHERE Average > 6.33 AND Rank = 1
Translate the following into a SQL query
What is the total when matches is less than 3, and rank is smaller than 2?
SELECT MIN Total FROM table WHERE Matches < 3 AND Rank < 2
Translate the following into a SQL query
What is the average when the tally is 3–11, with more than 4 matches??
SELECT COUNT Average FROM table WHERE Tally = 3–11 AND Matches > 4
Translate the following into a SQL query
What rank has an average of 6.33?
SELECT AVG Rank FROM table WHERE Average = 6.33
Translate the following into a SQL query
What is the average number of laps with a dnf pos.?
SELECT AVG Laps FROM table WHERE Pos. = dnf
Translate the following into a SQL query
What is the lowest Rank for a Guam Player?
SELECT MIN Rank FROM table WHERE Country = guam
Translate the following into a SQL query
What is the Rank of the Guam Player?
SELECT AVG Rank FROM table WHERE Country = guam
Translate the following into a SQL query
Which Week has a Result of l 20–13, and an Attendance larger than 49,598?
SELECT MAX Week FROM table WHERE Result = l 20–13 AND Attendance > 49,598
Translate the following into a SQL query
How many weeks have an Opponent of at san francisco 49ers, and an Attendance smaller than 34,354?
SELECT COUNT Week FROM table WHERE Opponent = at san francisco 49ers AND Attendance < 34,354
Translate the following into a SQL query
Which Result has an Opponent of washington redskins?
SELECT Result FROM table WHERE Opponent = washington redskins
Translate the following into a SQL query
What week did the dallas cowboys play?
SELECT SUM Week FROM table WHERE Opponent = dallas cowboys
Translate the following into a SQL query
Name the average React of the Time smaller than 20.05 in jamaica with a Lane larger than 5?
SELECT AVG React FROM table WHERE Time < 20.05 AND Nationality = jamaica AND Lane > 5
Translate the following into a SQL query
Which Fencing Victories (pts) has a Shooting Score (pts) of 187 (1180) and a Total smaller than 5640? Question 1
SELECT Fencing Victories (pts) FROM table WHERE Shooting Score (pts) = 187 (1180) AND Total < 5640
Translate the following into a SQL query
Which Equestrian Time (pts) has an Athlete of omnia fakhry ( egy )?
SELECT Equestrian Time (pts) FROM table WHERE Athlete = omnia fakhry ( egy )
Translate the following into a SQL query
Which Shooting Score (pts) has a Total larger than 5464 and a Athlete of heather fell ( gbr )?
SELECT Shooting Score (pts) FROM table WHERE Total > 5464 AND Athlete = heather fell ( gbr )
Translate the following into a SQL query
Which Fencing Victories (pts) that has a Equestrian Time (pts) of 67.88 (1144)?
SELECT Fencing Victories (pts) FROM table WHERE Equestrian Time (pts) = 67.88 (1144)
Translate the following into a SQL query
Which Fencing Victories (pts) has a Total of 5640?
SELECT Fencing Victories (pts) FROM table WHERE Total = 5640
Translate the following into a SQL query
What position did the player from Rice College play who was picked under 15?
SELECT Position FROM table WHERE Pick < 15 AND College = rice
Translate the following into a SQL query
What position did pick 14 play?
SELECT Position FROM table WHERE Pick = 14
Translate the following into a SQL query
What pick number did the linebacker from the denver broncos get?
SELECT Pick FROM table WHERE Position = linebacker AND Team = denver broncos
Translate the following into a SQL query
What college was the quarterback from?
SELECT College FROM table WHERE Position = quarterback
Translate the following into a SQL query
What is the lowest number pick from san diego chargers?
SELECT MIN Pick FROM table WHERE Team = san diego chargers
Translate the following into a SQL query
Which Type/code has a Torque@rpm of n·m (lb·ft) @1900–3500? Question 1
SELECT Type/code FROM table WHERE Torque@rpm = n·m (lb·ft) @1900–3500
Translate the following into a SQL query
Which Torque@rpm has a Power@rpm of ps (kw; hp)@6100?
SELECT Torque@rpm FROM table WHERE Power@rpm = ps (kw; hp)@6100
Translate the following into a SQL query
Name Model which has a Years of 2006–2008 and a Torque@rpm of n·m (lb·ft) @1900–3500?
SELECT Model FROM table WHERE Years = 2006–2008 AND Torque@rpm = n·m (lb·ft) @1900–3500
Translate the following into a SQL query
Which Torque@rpm has a Power@rpm of ps (kw; hp)@4800–5100?
SELECT Torque@rpm FROM table WHERE Power@rpm = ps (kw; hp)@4800–5100
Translate the following into a SQL query
Which Years has a Type/code of cubic centimetres (cuin) v8 ( m273 )?
SELECT Years FROM table WHERE Type/code = cubic centimetres (cuin) v8 ( m273 )
Translate the following into a SQL query
What is the total heat number of sun yang, who has a lane less than 2?
SELECT COUNT Heat FROM table WHERE Name = sun yang AND Lane < 2
Translate the following into a SQL query
Who has a time of 3:50.90?
SELECT Name FROM table WHERE Time = 3:50.90
Translate the following into a SQL query
What is the time of lane 3 in heat 5?
SELECT Time FROM table WHERE Heat = 5 AND Lane = 3
Translate the following into a SQL query
What is the heat with a time of 3:45.57 in lane 3?
SELECT Heat FROM table WHERE Lane = 3 AND Time = 3:45.57
Translate the following into a SQL query
Who are the Rowers with a Time of 6:39.49?
SELECT Rowers FROM table WHERE Time = 6:39.49
Translate the following into a SQL query
What is the Country of the rowers with a Rank of 4?
SELECT Country FROM table WHERE Rank = 4
Translate the following into a SQL query
What counties mascot are the Red Ramblers?
SELECT County FROM table WHERE Mascot = red ramblers
Translate the following into a SQL query
What is the IHSAA class when the county was 83 vermillion?
SELECT IHSAA Class FROM table WHERE County = 83 vermillion
Translate the following into a SQL query
What is the enrollment number for Rockville?
SELECT COUNT Enrollment FROM table WHERE Location = rockville
Translate the following into a SQL query
What is the Result of the game on October 20, 1963 with an Attendance of 60,671 or greater?
SELECT Result FROM table WHERE Attendance > 60,671 AND Date = october 20, 1963
Translate the following into a SQL query
What is the Attendance of the game against Minnesota Vikings?
SELECT COUNT Attendance FROM table WHERE Opponent = minnesota vikings
Translate the following into a SQL query
what is the average score for søren kjeldsen?
SELECT AVG Score FROM table WHERE Player = søren kjeldsen
Translate the following into a SQL query
What's the against of South Warrnambool when the draw is less than 0?
SELECT SUM Against FROM table WHERE Club = south warrnambool AND Draws < 0
Translate the following into a SQL query
What's the smallest draw of Warrnambool when the against was less than 1299, more than 7 wins, and less than 2 losses?
SELECT MIN Draws FROM table WHERE Against < 1299 AND Wins > 7 AND Club = warrnambool AND Losses < 2
Translate the following into a SQL query
What's the against when the draw was more than 0 and had 13 losses?
SELECT COUNT Against FROM table WHERE Losses = 13 AND Draws > 0
Translate the following into a SQL query
What's the against when there were more than 2 losses, more than 3 wins, and draws more than 0?
SELECT AVG Against FROM table WHERE Losses > 2 AND Wins > 3 AND Draws > 0
Translate the following into a SQL query
What's the highest amount of losses of Camperdown when the against was less than 945?
SELECT MAX Losses FROM table WHERE Club = camperdown AND Against < 945
Translate the following into a SQL query
What is the venue later than 1983 with Men's Open of NSW and Men's 35 of QLD?
SELECT Venue FROM table WHERE Men's Open = nsw AND Men's 35s = qld AND Year > 1983
Translate the following into a SQL query
What is the venue earlier than 1995 with Men's Open of QLD and Men's 35 of QLD and Woman's Open of QLD?
SELECT Venue FROM table WHERE Men's 35s = qld AND Men's Open = qld AND Year < 1995 AND Women's Open = qld
Translate the following into a SQL query
What is the Men's 35 in year before 1990 when Men's Open is NSW and the venue is Sydney?
SELECT Men's 35s FROM table WHERE Year < 1990 AND Men's Open = nsw AND Venue = sydney
Translate the following into a SQL query
In what year was the venue Gold Coast and the Men's 35s NSW?
SELECT SUM Year FROM table WHERE Venue = gold coast AND Men's 35s = nsw
Translate the following into a SQL query
What is the Men's Open when the venue is Perth?
SELECT Men's Open FROM table WHERE Venue = perth
Translate the following into a SQL query
What is the year that the Men's 35 is NSW, Women's Open is QLD and the venue is Sydney?
SELECT Year FROM table WHERE Men's 35s = nsw AND Venue = sydney AND Women's Open = qld
Translate the following into a SQL query
What is the average for the team with highest less than 13,500 and games played are fewer than 5?
SELECT MIN Average FROM table WHERE Highest < 13,500 AND Played < 5
Translate the following into a SQL query
what is the sum of league goals when the fa cup goals is more than 0?
SELECT SUM League Goals FROM table WHERE FA Cup Goals > 0
Translate the following into a SQL query
what is the average league cup goals when the league cup apps is 4, league goals is less than 4, fa cup apps is 1 and total apps is 35?
SELECT AVG League Cup Goals FROM table WHERE League Cup Apps = 4 AND League Goals < 4 AND FA Cup Apps = 1 AND Total Apps = 35
Translate the following into a SQL query
what is the average league cup goals when the position is df and total goals is more than 4?
SELECT AVG League Cup Goals FROM table WHERE Position = df AND Total Goals > 4
Translate the following into a SQL query
what is the average fa cup goals when the fa cup apps is 0, total goals is less than 1 and position is df?
SELECT AVG FA Cup Goals FROM table WHERE FA Cup Apps = 0 AND Total Goals < 1 AND Position = df
Translate the following into a SQL query
What year had a score of 0.586?
SELECT COUNT Year FROM table WHERE Score = 0.586
Translate the following into a SQL query
What's the n Africa in 2012 with an N/A as the CPLP?
SELECT n Africa rank FROM table WHERE Year = 2012 AND CPLP rank = n/a
Translate the following into a SQL query
What was the final venue for 82 delegates?
SELECT Finals Venue FROM table WHERE Number of Delegates = 82
Translate the following into a SQL query
Which Artist has a Record label of vertigo?
SELECT Artist FROM table WHERE Record label = vertigo
Translate the following into a SQL query
Where is the ceremonial county for motorwy junction 1 and a population larger than 118,229?
SELECT Ceremonial County FROM table WHERE Population > 118,229 AND Motorway junction = 1
Translate the following into a SQL query
What was the place that had a main railway station of banbury and a population bigger than 28,672?
SELECT Place FROM table WHERE Population > 28,672 AND Main Railway station = banbury
Translate the following into a SQL query
Who is the president when c-span 2009 is 21?
SELECT President FROM table WHERE C-SPAN 2009 = 21
Translate the following into a SQL query
what is c-span 2009 when times 2008** is 08?
SELECT C-SPAN 2009 FROM table WHERE Times 2008** = 08
Translate the following into a SQL query
what is siena 2002 when the president is andrew jackson?
SELECT Siena 2002 FROM table WHERE President = andrew jackson
Translate the following into a SQL query
Which Location has a Home Ground of Mong kok stadium?
SELECT Location FROM table WHERE Home Ground = mong kok stadium
Translate the following into a SQL query
Which club is in the First division?
SELECT Club FROM table WHERE League/Division = first division
Translate the following into a SQL query
What is the Home Ground with the Location n/a for the Club kcdrsc?
SELECT Home Ground FROM table WHERE Location = n/a AND Club = kcdrsc
Translate the following into a SQL query
What League/Division has a Location of n/a?
SELECT League/Division FROM table WHERE Location = n/a
Translate the following into a SQL query
What Location is in the second division and has 4th, third division (promoted) as its Position in 2012-13?
SELECT Location FROM table WHERE League/Division = second division AND Position in 2012-13 = 4th, third division (promoted)
Translate the following into a SQL query
What was the rank of the team who raced at a time of 7:16.13?
SELECT Rank FROM table WHERE Time = 7:16.13
Translate the following into a SQL query
What is the total number of rank for the country of greece?
SELECT COUNT Rank FROM table WHERE Country = greece
Translate the following into a SQL query
What country were the athletes where ranked smaller than 5 with notes listed as fb?
SELECT Country FROM table WHERE Rank < 5 AND Notes = fb
Translate the following into a SQL query
What is the time for the race with the United States?
SELECT Time FROM table WHERE Country = united states
Translate the following into a SQL query
What shirt No has a Birth Date of April 12, 1986 (age27)?
SELECT MIN Shirt No FROM table WHERE Birth Date = april 12, 1986 (age27)
Translate the following into a SQL query
What position that has a Height larger than 179, and Player is Ezgi Arslan?
SELECT Position FROM table WHERE Height > 179 AND Player = ezgi arslan
Translate the following into a SQL query
What is the shirt no with a position of setter, a nationality of Italy, and height larger than 172?
SELECT SUM Shirt No FROM table WHERE Position = setter AND Nationality = italy AND Height > 172
Translate the following into a SQL query
What player that has a position of middle blocker, a Nationality of Turkey, and shirt no is 8?
SELECT Player FROM table WHERE Position = middle blocker AND Nationality = turkey AND Shirt No = 8
Translate the following into a SQL query
What player that has a Nationality of Turkey, a Height smaller than 183, a shirt no smaller than 19, and a birth date of June 27, 1993 (age20)?
SELECT Player FROM table WHERE Nationality = turkey AND Height < 183 AND Shirt No < 19 AND Birth Date = june 27, 1993 (age20)
Translate the following into a SQL query
Which nation won 29 gold medals?
SELECT Nation FROM table WHERE Gold = 29
Translate the following into a SQL query
What is the fewest number of bronze medals won among the nations ranked 12 that won no gold medals and 1 medal overall?
SELECT MIN Bronze FROM table WHERE Total = 1 AND Rank = 12 AND Gold < 1
Translate the following into a SQL query
What is the FCC info for the translator with frequency over 89.3MHz and licensd in Portales, New Mexico?
SELECT FCC info FROM table WHERE Frequency MHz > 89.3 AND City of license = portales, new mexico
Translate the following into a SQL query
Which ship was launched from Devonport, Devon?
SELECT Ship FROM table WHERE Location = devonport, devon
Translate the following into a SQL query
What country was the Pegasus, build by Royal Dockyard, from?
SELECT Country FROM table WHERE Builder = royal dockyard AND Ship = pegasus
Translate the following into a SQL query
Who was the builder of Gannet from the United Kingdom?
SELECT Builder FROM table WHERE Country = united kingdom AND Ship = gannet
Translate the following into a SQL query
Who was the builder of Nor?
SELECT Builder FROM table WHERE Ship = nor
Translate the following into a SQL query
Who was the builder of Brage from Norway?
SELECT Builder FROM table WHERE Country = norway AND Ship = brage
Translate the following into a SQL query
What country was Brage, built by karljohansverns verft, from?
SELECT Country FROM table WHERE Builder = karljohansverns verft AND Ship = brage