In PL/SQL developer I want to write a query which gives merged rows value for a column? ex. if emp 1 and 2 has same salary like 200 and employee 3,4,5 has a salary of 1000 then the out put should be like for 1 and 2 emp the result should show single value 200 merging two rows. for emp 3,4 and 5 the salary column should show only single value 1000 merging 3 rows in salary column.
like shown in image