The table has composite primary key, and the fields are a date (ID_DEPURACAO) and a number (SEQ_DEPURACAO).
What I want to do is a sub-select that takes only data that is larger than a certain date and has sequences from a certain number.
Here's how I'm trying to do it:
SELECT count (*) from OBJECTEXEMPLO.TABLEEXEMPLO where (id_depuracao> to_date ('26 / 03/2016 ',' dd / mm / yyyy ') and id_depuracao