From what you wrote (where x, y, and z are field names):
DELETE FROM `table` WHERE x >= 500 AND y>=(x * 0.95) AND z < x;
Might want to run a
SELECT * FROM `table` WHERE x >= 500 AND y>=(x * 0.95) AND z < x;
first to make sure you've got all the correct data in there... and I recommend backing up the table first too :P
__________________
ICQ: 258-202-811 | Email: eric{at}bestxxxporn.com
|