How to construct query for the following expected outpit:- Source table:- Cust_id. P_cust_id 111. . 222. 111 333. 222 444. 333 555. 444 Expected result:- Cust_id. Expected_cust_id 111. 555 222. 555 333. 555 444. 555 111. 444 222. 444 333. 444 111. 333 222. 333 111. 222
... View more