SELECT histtemp COUNT TO tp1 <strong>FOR NOT DELETED()</strong> USE SELECT temptemp COUNT TO tp2 <strong>FOR NOT DELETED()</strong>