Oracle business optimization ask for help, ask for repetition of this month and last month in the combined partition table
With cur_month as
(select *
From CUST_SFM_JYCRMEPC_LIST
Where mold = '302'
And create_time > =
To_date (to_char (sysdate, 'yyyy/mm') | |' / 01, 'yyyy-mm-dd')
And create_time =
To_date (to_char (ADD_MONTHS (sysdate,-1), 'yyyy/mm') |' / 01'
'yyyy-mm-dd')
And create_time