Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- WITH tmp_tabel AS (
- SELECT
- nilai1, test_id
- ROW_NUMBER() OVER (
- PARTITION BY
- test_id
- ORDER BY
- test_id
- ) row_num
- FROM
- test_null
- WHERE test_id ='1'
- )
- DELETE FROM tmp_tabel
- WHERE row_num > 1;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement