Select rows where date exist in list. If not found, get next closest date
Select rows where date exist in list. If not found, get next closest date
I hope you found a solution that worked for you :)
The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA |
Thanks to all those great people for their contributions!
(dba.stackexchange.com/users/265339/1024-kb)1024 KB |
(dba.stackexchange.com/users/1822/a-horse-with-no-name)a_horse_with_no_name |
(dba.stackexchange.com/users/234725/dwhitemv)dwhitemv |
(dba.stackexchange.com/users/72070/sahap-asci)Sahap Asci |
A special thanks goes out to the (https://dba.stackexchange.com/questions/320699/select-rows-where-date-exist-in-list-if-not-found-get-next-closest-date)Stackexchange community |
I wish you all a wonderful day! Stay safe :)
select query syntax postgresql