I wanted to know the sql command to retrieve 5 latest row from my table? Below is my sql query. How am I going to do, in order it can select the 5 latest row base on row
just add:
ORDER BY datetime DESC LIMIT 5