Postgresql – How to use recursive SQL to find the parent ID
I'm a noob in the recursive domain in that I understand the syntax but I'm unable to apply it to my current problem. I'm using Postgre SQL. I have a product_id 'ABC123' that has a parent category 'FG_ACC_CA', which itself…