SELECT * FROM user WHERE  regdate=0 and type=0 and  username like 'ba%';