How in Mysql to select the last 10 records? I thought to do so (mysql_insert_id() - 10) , but in this interval there may already be previously deleted records, and the last 10 records will fail. Help, plz.

    1 answer 1

    request

     SELECT * FROM table ORDER BY id DESC LIMIT 10 

    .....

    • How simple it is, thanks. Sometimes you need to turn on the brain)) - Deus