skip to Main Content

get last value of the other partition in postgresql

I got this SCD table: start_date end_date partition 2022-03-08 15:35:09.856 2022-03-09 14:57:36.610 1 2022-03-09 14:57:36.610 2022-05-18 13:26:31.195 2 2022-05-18 13:26:31.195 2022-08-02 10:12:02.441 2 2022-08-02 10:12:02.441 2022-09-01 11:10:01.019 2 2022-09-01 11:10:01.019 2022-09-01 11:10:20.777 1 2022-09-01 11:10:20.777 2022-09-01 11:21:26.526 1 I would…

VIEW QUESTION

Transpose in Postgresql

I am trying to design a database of customer details. Where customers can have up to two different phone numbers. When I run the Select * command to bring out the customers that match criteria, I get this: Name |…

VIEW QUESTION
Back To Top
Search