Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- select t.id,
- coalesce(nullif(date, '01-01-1900'),
- lag(date) over (order by id)
- ) as date
- from t;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement