Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Extract records which are present for two or more days in a row

rootsmanFeb 14 2020 — edited Feb 18 2020

Could you please help me. I have one huge table which has this two columns.

Screenshot_1.jpg

I do need to list same records (cols_id) which they are appear for two or more days in a row. So to be more clear if i have table which has records for last 5 years, and i need to list all same hr_coil_id records which are repeating for 2 or more days in a row.

Comments
Post Details
Added on Feb 14 2020
16 comments
1,232 views