|
phelit
Starting Member
2 Posts |
Posted - 09/12/2011 : 10:43:59
|
I have found this query:
select NAME, count(NAME) from USER.TABLE where (to_char(DATE, 'dd/mm/yyyy') > to_char(sysdate - 7,'dd/mm/yyyy') and VALUE1<>VALUE2) group by NAME order by NAME;
It gives me a good result. But I need to get only the Count value that is > 7 and not all of them. So to pinpoint directly the tables with issues.
Any help on how to put a limitation in the query above so to see only the counts > of 7?
Thanks again!
Phelit Leafwise |
 |
|