Query: Delete user

Hi,

how i can delete user (and all user setting) from db with a query?