DELETE FROM `alert_table` WHERE device_id = 0;