SyntaxFix
Write A Post
Hire A Developer
Questions
Data for last month-
select count(distinct switch_id) from [email protected] where dealer_name = 'XXXX' and to_char(CREATION_DATE,'MMYYYY') = to_char(add_months(trunc(sysdate),-1),'MMYYYY');