Good luck, next ... I'm trying to get the last record from a table with an id
SELECT * FROM tabela WHERE id = ? ORDER BY id DESC LIMIT 1
Except that he is not returning the last record, he is traversing the whole table behind a record, can anyone tell me how do I do this? Thank you in advance!