delete from message where id=11 and time in (select * from (SELECT time FROM message WHERE id=11 order by time desc limit 200) as tbl);