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