Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- https://pgexercises.com/questions/date/daysremaining.html
- -- solved for today, not for their date
- select
- (date_trunc('month', CURRENT_TIMESTAMP) + '1 month'::INTERVAL) - date_trunc('day', CURRENT_TIMESTAMP) as remaining
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement