mysql_query ( 'select campi from tabella where campo != NULL' );