SELECT 
 * 

FROM 
 `text` 

WHERE 
  `ID` = :ID 
 AND 
  NOT( `name` IS NULL )
 AND 
  NOT( `name` = '' )	