SELECT
 ASTRO_VIEW_CNT_O08.pickdate, -- picking day;
 ASTRO_VIEW_CNT_O08.linestat, -- picking line status;
 ASTRO_VIEW_CNT_O08.partno, -- product name
 ASTRO_VIEW_CNT_O08.reqquant, -- orderd quantity
 ASTRO_VIEW_CNT_O08.delquant,-- delivered quantity
 ASTRO_VIEW_CNT_O08.ordno,--- order number
 L16T3.fmha -- from material handling area
FROM ASTRO_VIEW_CNT_O08  - VIEW TABLE FROM ORDERS
LEFT JOIN L16T3 ON ASTRO_VIEW_CNT_O08.shorto08=L16T3.shorto08  --- L16T3 is Logg table with history data
 
WHERE linestat IN (0,7,25) AND delquant=0  
ORDER BY reqquant DESC
I get double results. For example:
<07.03.2022,    25, 31012 ,                     640 0,  SH1, 777011;>
<07.03.2022,    25, 31012 ,                     640 0,      , 777011;>
`07.03.2022,    25, 31012 ,                     640 0,  DP14, 777011;`
`07.03.2022,    25, 31012 ,                     640 0,  SH1OT,777011;`
`07.03.2022,    25, 31012,                      640 0,  UT121,777011;`
I want to take only one row from order number (777011).
 
    