Hi All,
I am writing a query where i can get the maximum Id and its name. So iam using this option Max. But this is giving me error.
SELECT Id,Name FROM `User` WHERE Id = Max(Id);
When i submit this query iam getting error
Invalid use of group function
After this i also want query for my second largest Id i am having. Anyone help me in this issue
