instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query
|
Who is the third alternate for Germany?
|
SELECT Third FROM table WHERE Nation = germany
|
Translate the following into a SQL query
|
Which translation was published in 1986?
|
SELECT Translation FROM table WHERE Date = 1986
|
Translate the following into a SQL query
|
Which title has content including mysticism, spiritualism, and a translation of the minaret of light?
|
SELECT Title FROM table WHERE Content = mysticism, spiritualism AND Translation = the minaret of light
|
Translate the following into a SQL query
|
What is hte nuumber of employees that has a revenue of 104.000?
|
SELECT Employees (World) FROM table WHERE Revenue (Mil.€) = 104.000
|
Translate the following into a SQL query
|
Which HQ is associated with a number of employees of 100?
|
SELECT Headquarters FROM table WHERE Employees (World) = 100
|
Translate the following into a SQL query
|
What is the low silver medal total for nations with over 1 bronze ranked above 11?
|
SELECT MIN Silver FROM table WHERE Bronze > 1 AND Rank < 11
|
Translate the following into a SQL query
|
What is the high total for nations with 1 gold and over 1 bronze?
|
SELECT MAX Total FROM table WHERE Gold = 1 AND Bronze > 1
|
Translate the following into a SQL query
|
What was the home team with a 4-6-0 record?
|
SELECT Home FROM table WHERE Record = 4-6-0
|
Translate the following into a SQL query
|
What was the decision of the game with Washington as the visitor team on October 13?
|
SELECT Decision FROM table WHERE Visitor = washington AND Date = october 13
|
Translate the following into a SQL query
|
What is the average NGC number of everything with a Right ascension (J2000) of 05h33m30s?
|
SELECT AVG NGC number FROM table WHERE Right ascension ( J2000 ) = 05h33m30s
|
Translate the following into a SQL query
|
What is the right ascension (J2000) with a Declination (J2000) of °12′43″, is a constellation of dorado, and has an NGC number larger than 2068?
|
SELECT Right ascension ( J2000 ) FROM table WHERE NGC number > 2068 AND Constellation = dorado AND Declination ( J2000 ) = °12′43″
|
Translate the following into a SQL query
|
What type of object has an NGC number higher than 2090 and has a right ascension (J2000) of 05h52m19s?
|
SELECT Object type FROM table WHERE NGC number > 2090 AND Right ascension ( J2000 ) = 05h52m19s
|
Translate the following into a SQL query
|
How is the crowd of the team Geelong?
|
SELECT AVG Crowd FROM table WHERE Away team = geelong
|
Translate the following into a SQL query
|
Who has the smallest crowd in the Venue of Arden Street Oval?
|
SELECT MIN Crowd FROM table WHERE Venue = arden street oval
|
Translate the following into a SQL query
|
What team has a Venue at Lake Oval?
|
SELECT Away team FROM table WHERE Venue = lake oval
|
Translate the following into a SQL query
|
What day is the grand prix de trois-rivières?
|
SELECT Date FROM table WHERE Race Title = grand prix de trois-rivières
|
Translate the following into a SQL query
|
What race is on aug 4 with ron fellows?
|
SELECT Race Title FROM table WHERE Drivers = ron fellows AND Date = aug 4
|
Translate the following into a SQL query
|
What is the distance/duration on sept 5 of le grand prix de trois-rivières?
|
SELECT Distance/Duration FROM table WHERE Date = sept 5 AND Race Title = le grand prix de trois-rivières
|
Translate the following into a SQL query
|
What is terry's record when he fights julio paulino?
|
SELECT Record FROM table WHERE Opponent = julio paulino
|
Translate the following into a SQL query
|
How long is the ko (punch) fight against scott smith?
|
SELECT Time FROM table WHERE Method = ko (punch) AND Opponent = scott smith
|
Translate the following into a SQL query
|
What is the average feet that has a Latitude (N) of 35°48′35″, and under 8,047m?
|
SELECT AVG feet FROM table WHERE Latitude (N) = 35°48′35″ AND metres < 8,047
|
Translate the following into a SQL query
|
What is the lowest feet total with a Longitude (E) of 76°34′06″, and a Prominence (m) under 1,701?
|
SELECT MIN feet FROM table WHERE Longitude (E) = 76°34′06″ AND Prominence (m) < 1,701
|
Translate the following into a SQL query
|
What Player comes from the Hometown of Wichita, KS?
|
SELECT Player FROM table WHERE Hometown = wichita, ks
|
Translate the following into a SQL query
|
For the Player from Brampton, ON what is their NBA Draft status?
|
SELECT NBA Draft FROM table WHERE Hometown = brampton, on
|
Translate the following into a SQL query
|
What was the College of Player Perry Ellis?
|
SELECT College FROM table WHERE Player = perry ellis
|
Translate the following into a SQL query
|
What is the lowest figure score when the free is 556?
|
SELECT MIN Figures FROM table WHERE Free = 556
|
Translate the following into a SQL query
|
On what date did the home team score 5.8 (38)?
|
SELECT Date FROM table WHERE Home team score = 5.8 (38)
|
Translate the following into a SQL query
|
What is the size of the crowd for the game where the away team South Melbourne played?
|
SELECT AVG Crowd FROM table WHERE Away team = south melbourne
|
Translate the following into a SQL query
|
What is the home team score when the crowd was larger than 30,100?
|
SELECT Home team score FROM table WHERE Crowd > 30,100
|
Translate the following into a SQL query
|
What was the size of the crowd when the away team scored 6.15 (51)?
|
SELECT Crowd FROM table WHERE Away team score = 6.15 (51)
|
Translate the following into a SQL query
|
How much did the home team Hawthorn score?
|
SELECT Home team score FROM table WHERE Home team = hawthorn
|
Translate the following into a SQL query
|
Who was the away team at South Melbourne with a crowd size larger than 10,000.
|
SELECT Home team FROM table WHERE Crowd > 10,000 AND Away team = south melbourne
|
Translate the following into a SQL query
|
Where did the away team score 10.11 (71)?
|
SELECT Venue FROM table WHERE Away team score = 10.11 (71)
|
Translate the following into a SQL query
|
What was the crowd size for the game at Footscray?
|
SELECT COUNT Crowd FROM table WHERE Away team = footscray
|
Translate the following into a SQL query
|
Who was the visitor when phoenix was at home?
|
SELECT Visitor FROM table WHERE Home = phoenix
|
Translate the following into a SQL query
|
What day did philadelphia visit?
|
SELECT Date FROM table WHERE Visitor = philadelphia
|
Translate the following into a SQL query
|
Which song has a Picturization of Vijay?
|
SELECT Song FROM table WHERE Picturization = vijay
|
Translate the following into a SQL query
|
How long is the song "Maduraikku Pogathadee"?
|
SELECT Length FROM table WHERE Song = "maduraikku pogathadee"
|
Translate the following into a SQL query
|
What is the air date for the episode with production code ad1c13?
|
SELECT Original air date FROM table WHERE Production code = ad1c13
|
Translate the following into a SQL query
|
Who wrote the episode that has the production code ad1c05?
|
SELECT Written by FROM table WHERE Production code = ad1c05
|
Translate the following into a SQL query
|
What is the title of the episode with production code ad1c07?
|
SELECT Title FROM table WHERE Production code = ad1c07
|
Translate the following into a SQL query
|
What is the low draw total for yarragon teams with over 3 wins, and under 966 against?
|
SELECT MIN Draws FROM table WHERE Wins > 3 AND Mid Gippsland FL = yarragon AND Against < 966
|
Translate the following into a SQL query
|
What is the General classification for a points classification leader of Bradley Wiggins?
|
SELECT General classification FROM table WHERE Points classification = bradley wiggins
|
Translate the following into a SQL query
|
What is the general classification for a mountains value of Christophe Moreau and a Team winner of Team CSC?
|
SELECT General classification FROM table WHERE Mountains classification = christophe moreau AND Team Classification = team csc
|
Translate the following into a SQL query
|
What is the frequency of KQLX?
|
SELECT Frequency FROM table WHERE Call sign = kqlx
|
Translate the following into a SQL query
|
What is the call sign of 1200 am?
|
SELECT Call sign FROM table WHERE Frequency = 1200 am
|
Translate the following into a SQL query
|
What is the frequency of the talk station?
|
SELECT Frequency FROM table WHERE Format = talk
|
Translate the following into a SQL query
|
What is the frequency of KFNW?
|
SELECT Frequency FROM table WHERE Call sign = kfnw
|
Translate the following into a SQL query
|
What is the constructor for the VII Race of Champions?
|
SELECT Constructor FROM table WHERE Race Name = vii race of champions
|
Translate the following into a SQL query
|
What is the name of the race won by driver Carlos Reutemann?
|
SELECT Race Name FROM table WHERE Winning driver = carlos reutemann
|
Translate the following into a SQL query
|
What is the average rebounds for the player who started in 1986 and who plays SG?
|
SELECT AVG Rebs FROM table WHERE From = 1986 AND Pos. = sg
|
Translate the following into a SQL query
|
What is the school for player who began in 1986, has fewer rebounds than 711 and plays F?
|
SELECT School/Country FROM table WHERE From < 1986 AND Rebs < 711 AND Pos. = f
|
Translate the following into a SQL query
|
What is the highest of a player with asts fewer than 0?
|
SELECT MAX From FROM table WHERE Asts < 0
|
Translate the following into a SQL query
|
what is the date when the home is st. louis?
|
SELECT Date FROM table WHERE Home = st. louis
|
Translate the following into a SQL query
|
Where is the home on march 12?
|
SELECT Home FROM table WHERE Date = march 12
|
Translate the following into a SQL query
|
what is the decision on the date march 18?
|
SELECT Decision FROM table WHERE Date = march 18
|
Translate the following into a SQL query
|
What is the total of TCKL in 2000 with a P/KO RET less than 14?
|
SELECT COUNT TCKL FROM table WHERE Year = 2000 AND P/KO RET < 14
|
Translate the following into a SQL query
|
What is the highest YARDS with a TCKL more than 51 and less than 2 SACK?
|
SELECT MAX YARDS FROM table WHERE TCKL > 51 AND SACK < 2
|
Translate the following into a SQL query
|
What is the total of all YARDS with 0 SACK and less than 14 P/KO RET?
|
SELECT COUNT YARDS FROM table WHERE SACK = 0 AND P/KO RET < 14
|
Translate the following into a SQL query
|
Tell me the name for 2008 club of voléro zürich
|
SELECT Name FROM table WHERE 2008 club = voléro zürich
|
Translate the following into a SQL query
|
What is the pick for West Virginia college?
|
SELECT Pick FROM table WHERE College = west virginia
|
Translate the following into a SQL query
|
What round has a position of F/C from Iowa College?
|
SELECT Round FROM table WHERE Position = f/c AND College = iowa
|
Translate the following into a SQL query
|
What nationality has a pick of 1?
|
SELECT Nationality FROM table WHERE Pick = 1
|
Translate the following into a SQL query
|
Which nationality has a round of 1, and F position from Louisville?
|
SELECT Nationality FROM table WHERE Round = 1 AND Position = f AND College = louisville
|
Translate the following into a SQL query
|
Which team plays at the Arden Street Oval?
|
SELECT Away team FROM table WHERE Venue = arden street oval
|
Translate the following into a SQL query
|
Where does Carlton play?
|
SELECT Venue FROM table WHERE Home team = carlton
|
Translate the following into a SQL query
|
What was the date of the game in which the home team was the Grizzlies and the visiting team was the Timberwolves?
|
SELECT Date FROM table WHERE Home = grizzlies AND Visitor = timberwolves
|
Translate the following into a SQL query
|
What is the airing date for costume comedy that has 20 episodes?
|
SELECT Airing date FROM table WHERE Number of episodes = 20 AND Genre = costume comedy
|
Translate the following into a SQL query
|
What year was 7th heaven made?
|
SELECT Year FROM table WHERE Film = 7th heaven
|
Translate the following into a SQL query
|
What film was made in 1999?
|
SELECT Film FROM table WHERE Year = 1999
|
Translate the following into a SQL query
|
what is the city with the height (ft) more than 328.1, rank higher than 56, a height (m) of 103 and floors less than 28?
|
SELECT City FROM table WHERE Height (ft) > 328.1 AND Rank > 56 AND Height (m) = 103 AND Floors < 28
|
Translate the following into a SQL query
|
what is the total of floors when the name is kölntriangle and rank is less thank 63?
|
SELECT SUM Floors FROM table WHERE Name = kölntriangle AND Rank < 63
|
Translate the following into a SQL query
|
what is the lowest height (ft) for messeturm and more than 55 floors?
|
SELECT MIN Height (ft) FROM table WHERE Name = messeturm AND Floors > 55
|
Translate the following into a SQL query
|
what is the rank for the city of cologne, floors is 34 and height (ft) is more than 452.8?
|
SELECT COUNT Rank FROM table WHERE City = cologne AND Floors = 34 AND Height (ft) > 452.8
|
Translate the following into a SQL query
|
Which opponents have an Attendance larger than 61,000, and a Result F–A of 3–2?
|
SELECT Opponents FROM table WHERE Attendance > 61,000 AND Result F–A = 3–2
|
Translate the following into a SQL query
|
Which Group position has Result F–A of 0–1 on 1 november 2006?
|
SELECT Group position FROM table WHERE Result F–A = 0–1 AND Date = 1 november 2006
|
Translate the following into a SQL query
|
What club is R. H. C. Human who has a right arm medium pace bowling style a member of?
|
SELECT Club FROM table WHERE Bowling style = right arm medium pace AND Name = r. h. c. human
|
Translate the following into a SQL query
|
What is the birth date of A. J. Holmes who has a right-handed batting style?
|
SELECT Birth date FROM table WHERE Batting style = right-handed AND Name = a. j. holmes
|
Translate the following into a SQL query
|
What is the batting style of the person who has a right arm medium pace bowling style and a birth date of 10 February 1910 (aged 29)?
|
SELECT Batting style FROM table WHERE Bowling style = right arm medium pace AND Birth date = 10 february 1910 (aged 29)
|
Translate the following into a SQL query
|
What is the weight for the v t e of živko gocić category:articles with hcards?
|
SELECT Weight FROM table WHERE Name v t e = živko gocić category:articles with hcards
|
Translate the following into a SQL query
|
What is the weight of the v t e of duško pijetlović category:articles with hcards?
|
SELECT Weight FROM table WHERE Name v t e = duško pijetlović category:articles with hcards
|
Translate the following into a SQL query
|
What was the total for David O'Callaghan, and a Tally of 1-9?
|
SELECT SUM Total FROM table WHERE Player = david o'callaghan AND Tally = 1-9
|
Translate the following into a SQL query
|
What is the opposition when the tally was 0-11?
|
SELECT Opposition FROM table WHERE Tally = 0-11
|
Translate the following into a SQL query
|
What is the tally in Kilkenny county with 10 as the total and opposition of Waterford?
|
SELECT Tally FROM table WHERE County = kilkenny AND Total = 10 AND Opposition = waterford
|
Translate the following into a SQL query
|
What is the average weeks of a song with a larger than 3 position after 1977?
|
SELECT AVG Weeks on chart FROM table WHERE Position > 3 AND Year > 1977
|
Translate the following into a SQL query
|
What is the sum of the weeks on a chart a song with a position less than 1 haas?
|
SELECT SUM Weeks on chart FROM table WHERE Position < 1
|
Translate the following into a SQL query
|
What is the earliest year a song with a position less than 1 has?
|
SELECT MIN Year FROM table WHERE Position < 1
|
Translate the following into a SQL query
|
what is the tyre when the entrant is scuderia milano?
|
SELECT Tyre FROM table WHERE Entrant = scuderia milano
|
Translate the following into a SQL query
|
who is the driver with the engine era 1.5 l6 s and the chassis is era b?
|
SELECT Driver FROM table WHERE Engine = era 1.5 l6 s AND Chassis = era b
|
Translate the following into a SQL query
|
who is the driver when the constructor is maserati, the chassis is maserati 4clt-48 and the tyre is d?
|
SELECT Driver FROM table WHERE Constructor = maserati AND Chassis = maserati 4clt-48 AND Tyre = d
|
Translate the following into a SQL query
|
who is the constructor when the tyre is d, the engine is talbot 23cv 4.5 l6, the chassis is talbot-lago t26c and the entrant is ecurie belge?
|
SELECT Constructor FROM table WHERE Tyre = d AND Engine = talbot 23cv 4.5 l6 AND Chassis = talbot-lago t26c AND Entrant = ecurie belge
|
Translate the following into a SQL query
|
What is KK -1 if KK -3 is 1,100?
|
SELECT KK - 1 FROM table WHERE KK - 3 = 1,100
|
Translate the following into a SQL query
|
What is KK -5 if KK - 3 is 310?
|
SELECT KK - 5 FROM table WHERE KK - 3 = 310
|
Translate the following into a SQL query
|
What is KK - 5 if KK - 1 is 1,067?
|
SELECT KK - 5 FROM table WHERE KK - 1 = 1,067
|
Translate the following into a SQL query
|
Who is the Winner with a Time of 1:12.00 and Melvin A. Holland as the Jockey?
|
SELECT Winner FROM table WHERE Time = 1:12.00 AND Jockey = melvin a. holland
|
Translate the following into a SQL query
|
Which Year has a Purse of $83,925?
|
SELECT Year FROM table WHERE Purse = $83,925
|
Translate the following into a SQL query
|
What is the Purse listed for the Year of 1998?
|
SELECT Purse FROM table WHERE Year = 1998
|
Translate the following into a SQL query
|
What's the Winner in the Year of 2000?
|
SELECT Winner FROM table WHERE Year = 2000
|
Translate the following into a SQL query
|
What's the WInner with a TIme of 1:10.60, and Owner of Leslie Combs II?
|
SELECT Winner FROM table WHERE Time = 1:10.60 AND Owner = leslie combs ii
|
Translate the following into a SQL query
|
Who is the Trainer with the Year of 2013?
|
SELECT Trainer FROM table WHERE Year = 2013
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.