I am trying to work out a way to display all the data on the same row for each document number.
I have attached a screenshot of the table output. Basically the database presents the components of each product on separate lines, and I want to put them all onto one line.
Can anyone suggest a solution ?
select DOC_NUMBER , PRODUCT_CODE , MATL_1 , MATL_2 , MATL_3 , MATL_4
from PRODUCT_STRUCTURE