Archive for April 7th, 2009
Keeping rows
It's very simple to delete, say, 10 top rows in MySQL
:
DELETE FROM t_deleter ORDER BY id LIMIT 10
What if we want to delete all rows except the first 10?
Read the rest of this entry »
How to create fast database queries
It's very simple to delete, say, 10 top rows in MySQL
:
DELETE FROM t_deleter ORDER BY id LIMIT 10
What if we want to delete all rows except the first 10?
Read the rest of this entry »