add column f_not to select statement