instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query
|
What is the average number of goals conceded where more than 19 goals were scored, the team had 31 points, and more than 7 draws?
|
SELECT AVG Goals Conceded (GC) FROM table WHERE Goals Scored (GF) > 19 AND Points (Pts.) = 31 AND Draw (PE) > 7
|
Translate the following into a SQL query
|
How many goals were conceded against the Chepo F.C. team where they lost 7 games?
|
SELECT Goals Conceded (GC) FROM table WHERE Lost (PP) = 7 AND Team (Equipo) = chepo f.c.
|
Translate the following into a SQL query
|
What was the smallest crowd at junction oval?
|
SELECT MIN Crowd FROM table WHERE Venue = junction oval
|
Translate the following into a SQL query
|
What state has Richard Foster as a member?
|
SELECT State FROM table WHERE Member = richard foster
|
Translate the following into a SQL query
|
Which member has Cook as the electorate?
|
SELECT Member FROM table WHERE Electorate = cook
|
Translate the following into a SQL query
|
Who was the driver with chassis 625 553 500?
|
SELECT Driver FROM table WHERE Chassis = 625 553 500
|
Translate the following into a SQL query
|
What was tyre that was made by cooper - bristol that was driven by bob gerard?
|
SELECT Tyre FROM table WHERE Constructor = cooper - bristol AND Driver = bob gerard
|
Translate the following into a SQL query
|
Who was the constructor of the officine alfieri maserati that was driven by Sergio Mantovani?
|
SELECT Constructor FROM table WHERE Entrant = officine alfieri maserati AND Driver = sergio mantovani
|
Translate the following into a SQL query
|
What tyre had Sergio Mantovani as a driver?
|
SELECT Tyre FROM table WHERE Driver = sergio mantovani
|
Translate the following into a SQL query
|
Can you say what was the entrant of maserati built item with a Tyre of p with a chassis of 250f a6gcm that was driven by Luigi Villoresi?
|
SELECT Entrant FROM table WHERE Constructor = maserati AND Tyre = p AND Chassis = 250f a6gcm AND Driver = luigi villoresi
|
Translate the following into a SQL query
|
What is the dutch word for one?
|
SELECT Dutch FROM table WHERE English = one
|
Translate the following into a SQL query
|
What is the Middle German (Luxemburgish) word for ein?
|
SELECT Middle German ( Luxemburgish ) FROM table WHERE Dutch ( Limburgish ) = ein
|
Translate the following into a SQL query
|
What is the Middle German (Luxemburgish) word for stone?
|
SELECT Middle German ( Luxemburgish ) FROM table WHERE English = stone
|
Translate the following into a SQL query
|
What is the Dutch waord for høvd / høvur?
|
SELECT Dutch FROM table WHERE Low German ( Groningen ) = høvd / høvur
|
Translate the following into a SQL query
|
What is the English word for twie?
|
SELECT English FROM table WHERE Dutch ( Limburgish ) = twie
|
Translate the following into a SQL query
|
What is the constructor on the team with 8 rounds and a chassis of 156 158 1512?
|
SELECT Constructor FROM table WHERE Rounds = 8 AND Chassis = 156 158 1512
|
Translate the following into a SQL query
|
Who is the driver of the team with tyre d, bt11 chassis, and 8 rounds?
|
SELECT Driver FROM table WHERE Tyre = d AND Chassis = bt11 AND Rounds = 8
|
Translate the following into a SQL query
|
What is the number of bronze that silver is smaller than 1 and gold bigger than 0?
|
SELECT AVG Bronze FROM table WHERE Silver < 1 AND Gold > 0
|
Translate the following into a SQL query
|
what is the name when the nation is France, the pts/game is more than 3 and points is less than 33?
|
SELECT Name FROM table WHERE Nation = france AND Pts/game > 3 AND Points < 33
|
Translate the following into a SQL query
|
what is the pts/game for Charlotte barras and the games is 5?
|
SELECT Pts/game FROM table WHERE Games = 5 AND Name = charlotte barras
|
Translate the following into a SQL query
|
what is the average points when the nation is wales and the pts/game is more than 5?
|
SELECT AVG Points FROM table WHERE Nation = wales AND Pts/game > 5
|
Translate the following into a SQL query
|
When is the earliest year for it is in barcelona, spain?
|
SELECT MIN Year FROM table WHERE Venue = barcelona, spain
|
Translate the following into a SQL query
|
What is the average year they finished 5th in santiago, chile?
|
SELECT AVG Year FROM table WHERE Position = 5th AND Venue = santiago, chile
|
Translate the following into a SQL query
|
Which pick was MIchael Holper?
|
SELECT MIN Pick FROM table WHERE Player = michael holper
|
Translate the following into a SQL query
|
Which country is Leo Najorda from?
|
SELECT Country of origin* FROM table WHERE Player = leo najorda
|
Translate the following into a SQL query
|
Which United States player from Hawaii-Hilo had the lowest pick?
|
SELECT MIN Pick FROM table WHERE Country of origin* = united states AND College = hawaii-hilo
|
Translate the following into a SQL query
|
Which United States player for Air21 Express had a pick smaller than 9?
|
SELECT Player FROM table WHERE Pick < 9 AND Country of origin* = united states AND PBA team = air21 express
|
Translate the following into a SQL query
|
What is the average Gold where the Nation is Russia (rus) and the number of silver is less than 2?
|
SELECT AVG Gold FROM table WHERE Nation = russia (rus) AND Silver < 2
|
Translate the following into a SQL query
|
What is the total where the nation is South Africa (rsa) and bronze is less than 1?
|
SELECT SUM Total FROM table WHERE Nation = south africa (rsa) AND Bronze < 1
|
Translate the following into a SQL query
|
Which nation has 0 gold, a rank greater than 14, a total of 1, and silver less than 1?
|
SELECT Nation FROM table WHERE Gold = 0 AND Rank > 14 AND Total = 1 AND Silver < 1
|
Translate the following into a SQL query
|
Tell me the home team for vfl park venue
|
SELECT Home team FROM table WHERE Venue = vfl park
|
Translate the following into a SQL query
|
Tell me the home team for venue of mcg
|
SELECT Home team FROM table WHERE Venue = mcg
|
Translate the following into a SQL query
|
Tell me the most crowd for arden street oval venue
|
SELECT MAX Crowd FROM table WHERE Venue = arden street oval
|
Translate the following into a SQL query
|
What was the away team's score when South Melbourne was the home team?
|
SELECT Away team score FROM table WHERE Home team = south melbourne
|
Translate the following into a SQL query
|
Who was the home team that scored 19.18 (132)?
|
SELECT Home team FROM table WHERE Home team score = 19.18 (132)
|
Translate the following into a SQL query
|
What was the placing of the nation of East Germany?
|
SELECT COUNT Placings FROM table WHERE Nation = east germany
|
Translate the following into a SQL query
|
What's the highest level of team Astana since 2007?
|
SELECT MAX Level FROM table WHERE Team = astana AND Season > 2007
|
Translate the following into a SQL query
|
What is the average amount of goals that has a points smaller of 882, less than 5 field goals, and less than 85 tries all by Ty Williams.
|
SELECT AVG Goals FROM table WHERE Points < 882 AND Field Goals < 5 AND Player = ty williams AND Tries < 85
|
Translate the following into a SQL query
|
Who was the away team at Western Oval?
|
SELECT Away team FROM table WHERE Venue = western oval
|
Translate the following into a SQL query
|
Who was the home team that played against Collingwood?
|
SELECT Home team FROM table WHERE Away team = collingwood
|
Translate the following into a SQL query
|
What is the average crowd size for Richmond home games?
|
SELECT AVG Crowd FROM table WHERE Home team = richmond
|
Translate the following into a SQL query
|
What is the largest crowd for North Melbourne home games?
|
SELECT MAX Crowd FROM table WHERE Home team = north melbourne
|
Translate the following into a SQL query
|
In which venue does Melbourne play as the home team?
|
SELECT Venue FROM table WHERE Home team = melbourne
|
Translate the following into a SQL query
|
When did the home team score 20.16 (136)?
|
SELECT Date FROM table WHERE Home team score = 20.16 (136)
|
Translate the following into a SQL query
|
Which Grid has a Driver of johnny dumfries?
|
SELECT Grid FROM table WHERE Driver = johnny dumfries
|
Translate the following into a SQL query
|
What is the score on 22 September 1972?
|
SELECT Score FROM table WHERE Date = 22 september 1972
|
Translate the following into a SQL query
|
What is the venue on 3 September 1972?
|
SELECT Venue FROM table WHERE Date = 3 september 1972
|
Translate the following into a SQL query
|
Name the series for april 30
|
SELECT Series FROM table WHERE Date = april 30
|
Translate the following into a SQL query
|
Name the highest game for west (8) high assists
|
SELECT MAX Game FROM table WHERE High assists = west (8)
|
Translate the following into a SQL query
|
Which Year has a Date of 14 February?
|
SELECT MIN Year FROM table WHERE Date = 14 february
|
Translate the following into a SQL query
|
Which Label has a Date of 20 July?
|
SELECT Label FROM table WHERE Date = 20 july
|
Translate the following into a SQL query
|
Which Label has a Date of 14 February?
|
SELECT Label FROM table WHERE Date = 14 february
|
Translate the following into a SQL query
|
Who choreographed the smooth waltz with lacey schwimmer?
|
SELECT Choreographer(s) FROM table WHERE Style = smooth waltz AND Partner = lacey schwimmer
|
Translate the following into a SQL query
|
Who was the partner for the jazz piece in the bottom three?
|
SELECT Partner FROM table WHERE Style = jazz AND Results = bottom three
|
Translate the following into a SQL query
|
In which venue did a home team score 15.5 (95)?
|
SELECT Venue FROM table WHERE Home team score = 15.5 (95)
|
Translate the following into a SQL query
|
For Venue vfl park, what was the home team score?
|
SELECT Home team score FROM table WHERE Venue = vfl park
|
Translate the following into a SQL query
|
On which date was the venue of vfl park used?
|
SELECT Date FROM table WHERE Venue = vfl park
|
Translate the following into a SQL query
|
What was the Average crowd when the away team was north melbourne?
|
SELECT AVG Crowd FROM table WHERE Away team = north melbourne
|
Translate the following into a SQL query
|
What is the maximum torque at rpm for the engine coded BJB/BKC/BXE/BLS?
|
SELECT max. torque at rpm FROM table WHERE engine code(s) = bjb/bkc/bxe/bls
|
Translate the following into a SQL query
|
What is the maximum power at rpm for the engine named 2.0 TDI that has a 1968cc displacement?
|
SELECT max. power at rpm FROM table WHERE displacement = 1968cc AND engine name = 2.0 tdi
|
Translate the following into a SQL query
|
What is the maximum torque at rpm for the engine with code BMM?
|
SELECT max. torque at rpm FROM table WHERE engine code(s) = bmm
|
Translate the following into a SQL query
|
What is the maximum torque at rpm for the engine with code BMM?
|
SELECT max. torque at rpm FROM table WHERE engine code(s) = bmm
|
Translate the following into a SQL query
|
What is the engine name that has a maximum torque at rpm of n·m ( lbf·ft ) @ 3,800?
|
SELECT engine name FROM table WHERE max. torque at rpm = n·m ( lbf·ft ) @ 3,800
|
Translate the following into a SQL query
|
What was the result of t.u.f.f. puppy?
|
SELECT Result FROM table WHERE Work = t.u.f.f. puppy
|
Translate the following into a SQL query
|
what is the score for the 2010 world cup qualifying?
|
SELECT Score FROM table WHERE Competition = 2010 world cup qualifying
|
Translate the following into a SQL query
|
Which home has a Date of november 7?
|
SELECT Home FROM table WHERE Date = november 7
|
Translate the following into a SQL query
|
What is the lowest attendance on November 18?
|
SELECT MIN Attendance FROM table WHERE Date = november 18
|
Translate the following into a SQL query
|
What is the date of the game where Dipietro earned a decision and Carolina was the visiting team?
|
SELECT Date FROM table WHERE Decision = dipietro AND Visitor = carolina
|
Translate the following into a SQL query
|
Who is the visiting team when Dipietro received a decision on October 27?
|
SELECT Visitor FROM table WHERE Decision = dipietro AND Date = october 27
|
Translate the following into a SQL query
|
What was the record when the home team is Washington?
|
SELECT Record FROM table WHERE Home = washington
|
Translate the following into a SQL query
|
What was the score of the game on October 20 when the home team is the NY Islanders?
|
SELECT Score FROM table WHERE Home = ny islanders AND Date = october 20
|
Translate the following into a SQL query
|
In the Endangered Wildlife Series from the Royal Canadian Mint numismatic coins printed in the 2000s, what theme had a mintage of 700?
|
SELECT Theme FROM table WHERE Mintage = 700
|
Translate the following into a SQL query
|
What year had an issue price of $2,995.95, and a theme of grizzly bear?
|
SELECT MAX Year FROM table WHERE Issue Price = $2,995.95 AND Theme = grizzly bear
|
Translate the following into a SQL query
|
Tell me the total for silver more than 0 for italy with gold less than 29
|
SELECT MIN Total FROM table WHERE Silver > 0 AND Nation = italy AND Gold < 29
|
Translate the following into a SQL query
|
Tell me the average bronze for total less than 4 and silver more than 0
|
SELECT AVG Bronze FROM table WHERE Total < 4 AND Silver > 0
|
Translate the following into a SQL query
|
I want to know the total for silver more than 0 with bronze more than 21 and gold more than 29
|
SELECT COUNT Total FROM table WHERE Silver > 0 AND Bronze > 21 AND Gold > 29
|
Translate the following into a SQL query
|
How many carries for jeff smoker?
|
SELECT SUM Car. FROM table WHERE Player = jeff smoker
|
Translate the following into a SQL query
|
How many average carries for the player with 3 as a long?
|
SELECT AVG Car. FROM table WHERE Long = 3
|
Translate the following into a SQL query
|
who is the home team when tie no is less than 7 and the away team is havant & waterlooville?
|
SELECT Home team FROM table WHERE Tie no < 7 AND Away team = havant & waterlooville
|
Translate the following into a SQL query
|
What is the Score in the final with an Outcome with runner-up, and a Date with 1970?
|
SELECT Score in the final FROM table WHERE Outcome = runner-up AND Date = 1970
|
Translate the following into a SQL query
|
What is the Tournament with a Opponents in the final with rod laver fred stolle?
|
SELECT Tournament FROM table WHERE Opponents in the final = rod laver fred stolle
|
Translate the following into a SQL query
|
What is the Tournament with a Date larger than 1973, with Opponents in the final with hank pfister sherwood stewart?
|
SELECT Tournament FROM table WHERE Date > 1973 AND Opponents in the final = hank pfister sherwood stewart
|
Translate the following into a SQL query
|
What is the Partner with Opponents in the final with roy emerson rod laver, with Date smaller than 1975?
|
SELECT Partner FROM table WHERE Opponents in the final = roy emerson rod laver AND Date < 1975
|
Translate the following into a SQL query
|
Which driver has 45 laps?
|
SELECT Driver FROM table WHERE Laps = 45
|
Translate the following into a SQL query
|
Which Time/Retired has a grid smaller than 9, a Ferrari construct, and is driven by Rubens Barrichello?
|
SELECT Time/Retired FROM table WHERE Grid < 9 AND Constructor = ferrari AND Driver = rubens barrichello
|
Translate the following into a SQL query
|
What was the away team's score when the home team scored 11.9 (75)?
|
SELECT Away team score FROM table WHERE Home team score = 11.9 (75)
|
Translate the following into a SQL query
|
Who was the home team when the away team was Footscray?
|
SELECT Home team FROM table WHERE Away team = footscray
|
Translate the following into a SQL query
|
What was the date of the game when the home team scored 7.13 (55)?
|
SELECT Date FROM table WHERE Home team score = 7.13 (55)
|
Translate the following into a SQL query
|
Who was the home team at the game where the crowd was larger than 10,000 and the home team scored 7.13 (55)?
|
SELECT Home team FROM table WHERE Crowd > 10,000 AND Home team score = 7.13 (55)
|
Translate the following into a SQL query
|
What was the date of the game where North Melbourne was the home team?
|
SELECT Date FROM table WHERE Home team = north melbourne
|
Translate the following into a SQL query
|
Which away team played at Kardinia Park?
|
SELECT Away team FROM table WHERE Venue = kardinia park
|
Translate the following into a SQL query
|
Namem the number of cities that contains Voivodeship of elbląg voivodeship
|
SELECT No. of cities FROM table WHERE Voivodeship = elbląg voivodeship
|
Translate the following into a SQL query
|
How many people in 1991 have a Village (German) of rupertiberg?
|
SELECT COUNT Number of people 1991 FROM table WHERE Village (German) = rupertiberg
|
Translate the following into a SQL query
|
What was the score on October 30?
|
SELECT Score FROM table WHERE Date = october 30
|
Translate the following into a SQL query
|
What was the attendance on October 6?
|
SELECT Attendance FROM table WHERE Date = october 6
|
Translate the following into a SQL query
|
What was the record on October 24?
|
SELECT Record FROM table WHERE Date = october 24
|
Translate the following into a SQL query
|
Who was the visitor on October 20?
|
SELECT Visitor FROM table WHERE Date = october 20
|
Translate the following into a SQL query
|
Name the smoke point for monosaturated fat of 30g
|
SELECT Smoke point FROM table WHERE Monounsaturated fat = 30g
|
Translate the following into a SQL query
|
Name the polyunsaturated fat with total fat of 100g and monounsaturated fat of 20g (84g in high oleic variety)
|
SELECT Polyunsaturated fat FROM table WHERE Total fat = 100g AND Monounsaturated fat = 20g (84g in high oleic variety)
|
Translate the following into a SQL query
|
Name the polyunsaturated fat with total fat of 100g and saturated fat of 7g
|
SELECT Polyunsaturated fat FROM table WHERE Total fat = 100g AND Saturated fat = 7g
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.