Skip to content
Advertisement

Group rows in Oracle using PARTITION BY

I have below 2 tables which i want to display like shown result

Data Table 1

Data Table 2

Expected result Want to display the id value in first row only for the common rows Result DataTable after Join of 2 tables on id column How can i achieve in Oracle

Advertisement

Answer

You can try below query –

Here is the fiddle.

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement