Implementing Type 2 SCD in Oracle
问题 First I would like to say that I am new to the stackoverflow community and relatively new to SQL itself and so please pardon me If I didn't format my question right or didn't state my requirements clearly. I am trying to implement a type 2 SCD in Oracle. The structure of the source table ( customer_records ) is given below. CREATE TABLE customer_records( day date, snapshot_day number, vendor_id number, customer_id number, rank number ); INSERT INTO customer_records (day,snapshot_day,vendor_id