Can somebody tell me how I can convert the following Oracle SQL Statement in Postgres SQL? I don't get it...
SELECT MIN(t2.id) KEEP (DENSE_RANK FIRST ORDER BY t2.edit_date) AS id
FROM temp t2
GROUP BY t2.sku
Can somebody tell me how I can convert the following Oracle SQL Statement in Postgres SQL? I don't get it...
SELECT MIN(t2.id) KEEP (DENSE_RANK FIRST ORDER BY t2.edit_date) AS id
FROM temp t2
GROUP BY t2.sku
EDIT:
Even though above did what OP asked, the equivalent for the given query can be: