Hi there! This is my first post so go easy!
Where I work we have several tables which are run periodically (in this case monthly).
I'm attempting to select information which comes from both the most recent and the second most recent entries, which occur on the last WORKING day of the month.
The common practice seems to be essentially join tables and then use code such as
cus.period_dte/100 = add_months(appl_dte,-1)/100for example. I however decided today to try something different. Namely :
↧