I have 3 tables, each consisting of a column called username. On the registration part, I need to check that the requested username is new and unique.
I need that si
No. Two processes could run your test at the same time and both would report no user and then both could insert the same user.
It sounds like you need a single table to hold ALL the users with a unique index to prevent duplicates. This master table could link to 'sub-tables' using a user ID, not user name.