I'm trying to get the MSSQL acceptable syntax:
SELECT COUNT(fd_Date) as DateCount, MAX(fd_date) as maxdate from Products
WHERE Products.fd_Date IN(select MAX(fd_Date) AS maxdate FROM Products)
to work. It was my understanding that subselects were supported in the production version of MySQL...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.