UPDATE Table set countdown = countdown + 1 where useragent = ?; DELETE FROM Table WHERE countdown > 10;