I am trying to make a select and and get the last inserted row, I am using the SYSTEM_CREATE_DATE column to track the last one.
So I execute the follow query:
SELECT * FROM tcp_message GROUP BY imei ORDER BY create_date DESC;
But I am not getting the last row but the first.
Am I missing something?