I'm writing a query to get records from MySQL table as below.
SELECT * FROM alerts
i have this columns id is primary and auto increment
id,host,domain,alert_time
But i need to get records without last record of this table, anyone know how to write a MySQL query for that. Thank You