SELECT 
 * 

FROM 
 `user` 

WHERE 
  `ID` = :ID 
 AND 
  NOT( `username` IS NULL )