Core/Playerbots: Fixing DB SQL query issues

Several issues fixed with TC Database. Random playerbots are spawning in world perfectly without any errors.