a guest Jun 15th, 2019 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- SELECT t.*,
- DENSE_RANK() OVER(PARTITION BY u_a_id, column_name ORDER BY line_num, e_id) AS new_seq_id
- FROM tab t;
RAW Paste Data