Hi CJ,
Below is the query. Focus is on column PAY_PAYROLL_ACTIONS.DATE_PAID.
Could you possibly provide a clearer example?
Thank you!
SELECT PAY_PAYROLL_ACTIONS.FULL_NAME, PAY_PAYROLL_ACTIONS.ASSIGNMENT_NUMBER, PAY_PAYROLL_ACTIONS.PAYROLL_NAME, PAY_PAYROLL_ACTIONS.PERIOD_NAME, PAY_PAYROLL_ACTIONS.DATE_PAID, PAY_PAYROLL_ACTIONS.RUN_TYPE_ID, PAY_PAYROLL_ACTIONS.ACTION_TYPE, PAY_PAYROLL_ACTIONS.TYPE, PAY_PAYROLL_ACTIONS.ACTION_SEQUENCE, PAY_PAYROLL_ACTIONS.GROSS_EARNINGS, PAY_PAYROLL_ACTIONS.INCENTIVEGROSSUP, PAY_PAYROLL_ACTIONS.ADMIN_BONUS, PAY_PAYROLL_ACTIONS.COBRAGROSSUP, PAY_PAYROLL_ACTIONS.GIFTCHECKGROSSUP, PAY_PAYROLL_ACTIONS.DEF_COMP_NO_FICA_MONTHLY, PAY_PAYROLL_ACTIONS.DEFERRED_COMP_NO_FICA_MONTHLY, PAY_PAYROLL_ACTIONS.CRITICAL_IIINESS_CHILD, PAY_PAYROLL_ACTIONS.HEALTHCARE_FLEX, PAY_PAYROLL_ACTIONS.DEPENDANT_FLEX, PAY_PAYROLL_ACTIONS.PRETAX_401K_CONTR, PAY_PAYROLL_ACTIONS.PRETAX_401K_CATCHUP, PAY_PAYROLL_ACTIONS.PRETAX_401K_CONTR_CATCHUP2, PAY_PAYROLL_ACTIONS.PRETAX_401K_CONTR_CATCHUP, PAY_PAYROLL_ACTIONS.ROTH_401K_CATCHUP, PAY_PAYROLL_ACTIONS.ROTH_401K_CONTR, PAY_PAYROLL_ACTIONS.HEALTH_SAVINGS_ACCT
FROM PAY_PAYROLL_ACTIONS INNER JOIN q_DATE_PAID_GRE_1 ON PAY_PAYROLL_ACTIONS.ASSIGNMENT_NUMBER = q_DATE_PAID_GRE_1.ASSIGNMENT_NUMBER
GROUP BY PAY_PAYROLL_ACTIONS.FULL_NAME, PAY_PAYROLL_ACTIONS.ASSIGNMENT_NUMBER, PAY_PAYROLL_ACTIONS.PAYROLL_NAME, PAY_PAYROLL_ACTIONS.PERIOD_NAME, PAY_PAYROLL_ACTIONS.DATE_PAID, PAY_PAYROLL_ACTIONS.RUN_TYPE_ID, PAY_PAYROLL_ACTIONS.ACTION_TYPE, PAY_PAYROLL_ACTIONS.TYPE, PAY_PAYROLL_ACTIONS.ACTION_SEQUENCE, PAY_PAYROLL_ACTIONS.GROSS_EARNINGS, PAY_PAYROLL_ACTIONS.INCENTIVEGROSSUP, PAY_PAYROLL_ACTIONS.ADMIN_BONUS, PAY_PAYROLL_ACTIONS.COBRAGROSSUP, PAY_PAYROLL_ACTIONS.GIFTCHECKGROSSUP, PAY_PAYROLL_ACTIONS.DEF_COMP_NO_FICA_MONTHLY, PAY_PAYROLL_ACTIONS.DEFERRED_COMP_NO_FICA_MONTHLY, PAY_PAYROLL_ACTIONS.CRITICAL_IIINESS_CHILD, PAY_PAYROLL_ACTIONS.HEALTHCARE_FLEX, PAY_PAYROLL_ACTIONS.DEPENDANT_FLEX, PAY_PAYROLL_ACTIONS.PRETAX_401K_CONTR, PAY_PAYROLL_ACTIONS.PRETAX_401K_CATCHUP, PAY_PAYROLL_ACTIONS.PRETAX_401K_CONTR_CATCHUP2, PAY_PAYROLL_ACTIONS.PRETAX_401K_CONTR_CATCHUP, PAY_PAYROLL_ACTIONS.ROTH_401K_CATCHUP, PAY_PAYROLL_ACTIONS.ROTH_401K_CONTR, PAY_PAYROLL_ACTIONS.HEALTH_SAVINGS_ACCT
HAVING (((PAY_PAYROLL_ACTIONS.ASSIGNMENT_NUMBER)="100014625"));