select * from user where posts = 0
select * from user where icq != ''
delete from user where posts = 0
delete from user where icq != ''
No that command says delete from user which means any user that has an ICQ address in that field will get deleted. Not the icq field.
"[COLOR=#000000][COLOR=#0000bb]delete from user where icq [/COLOR][COLOR=#007700]!= [/COLOR][COLOR=#dd0000]''[/COLOR][/COLOR]
[COLOR=#000000][COLOR=#0000bb]delete * from user where icq ![/COLOR][COLOR=#007700]= [/COLOR][COLOR=#dd0000]''[/COLOR][/COLOR]
also delete users that have 0 post count.
Nope.Shouldn't that be:Code:"[COLOR=#000000][COLOR=#0000bb]delete from user where icq [/COLOR][COLOR=#007700]!= [/COLOR][COLOR=#dd0000]''[/COLOR][/COLOR]
Code:[COLOR=#000000][COLOR=#0000bb]delete * from user where icq ![/COLOR][COLOR=#007700]= [/COLOR][COLOR=#dd0000]''[/COLOR][/COLOR]