Group Sorting of data
Hi,
My Database version is Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production.
I have table data as below. Sample table scripts and sample insert data attached.
****Use only sql to get the below case****
select * from XXIFF_SNR_TEST where subcontr_agrt_no='5073-SCA-004' order by SUBCONTR_AGRT_NO,boq_line_id;
I need to generate extra one row above to the data of each main_desc and the sorting should not change.