Pruning the users table
Looks like this will do the trick

select * from craft_users
left join craft_entries on craft_users.id = craft_entries.authorId
where craft_entries.authorId is null and craft_users.id &lt;&gt; "1"