Nevermind.. I'm on Oracle 10g, which means none of the easy concat functions of newer Oracle versions or other SQL versions will work.
I'm looking through one table(payroll) that has duplicates in a column (process_date). The DB is an Oracle DB.
For example table Payroll:
Yr | Week | Process_date
15 53 12/19/2015
15 52 12/19/2015
15 51 12/7/2015
I would want the output to return the weeks that had the same processing date with the week numbers on the same line like this
Yr | Week 1| Week 2 | Process_date
15 53 52 12/19/2015
I've tried various sub-selects and joins, but can't get it right.
EDIT: Added detail EDIT2: Ended topic