SELECT 
 `profile` 
 
FROM 
 `user` 
 
WHERE 
 NOT( ( `username` IS NULL ) OR ( `username` = '' ) );