Сообщество IT-специалистов
Ответы на любые вопросы об IT
Профессиональное развитие в IT
Удаленная работа для IT-специалистов
DELETE FROM `records` WHERE `user_id` in (SELECT `user_id` FROM `records` WHERE `user_id` = ? ORDER BY `date` DESC LIMIT 1)
DELETE FROM `records` WHERE `id` in (SELECT `id` FROM `records` WHERE `user_id` = ? ORDER BY `date` DESC LIMIT 1)