SELECT 
 * 

FROM 
 `form` 

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