One of my number one favorite consulting jobs to get is to fix issues when people manually delete stuff.

Usually hours of billable time involved in straightening it out.
There's not many places in Threads where you can manually delete anything with just a SQL Command. The way everything is linked together, very often multiple tables need to be updated.
If you delete posts, the counts in the Boards table will have to be updated.
If you delete replies, you need to make sure that none of them are in the Boards table as the last post.
If you delete users you need to make sure the user number is not in use anywhere in any of the other tables.
If you delete a group you need to make sure no members are a part of it and no boards are using it.
Much too much interaction to just delete data from one of the tables.
Usually someone hires me because "something's wrong". Then after I hunt for an hour or so and try to figure out what's wrong, THEN they say "oh you know, the other day I tried to delete xxxx" and then that usually ends up being the reason for all.
Gregory - if you deleted posts, Omegatron's queries should get you back on track.
If you deleted replies to posts, then make sure you recaululate the B_replies field in the w3t_Posts table.
Just to make sure everything is back in sync.
