Click here to Skip to main content
14,981,856 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i am not getting sufficient output on this query

What I have tried:

SQL
select name from whatsapp where timestamps=
(select max(timestamps) from whatsapp);
Posted
Updated 1-Mar-19 2:01am
v2
Comments
Maciej Los 1-Mar-19 7:59am
   
This is your 5. question about SQL (MySQL)!
I'd suggest to buy a book or start reading MySQL documentation.
MadMyche 1-Mar-19 9:47am
   
5th simple query, and to date has yet to say thank you, accept, or vote on any answers received
Maciej Los 1-Mar-19 11:21am
   
:thumbsup:

1 solution

Try:
SQL
SELECT Name FROM WhatsApp
ORDER BY Timestamps DESC
LIMIT 1
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900