Can any help me to fix the below sql query
SELECT DISTINCT ORDER_NUMBER, FLAG
FROM TABLE
Below was the result
Order_number FLAG
LP-13288 false
LP-13288 true
LP-13292 false
LP-13290 true
LP-13293
LP-13291 true
LP-13289 false
Desired output
Order_number FLAG
LP-13290 true
LP-13291 true
how to not select the duplicate orders and only print the order which has flag true.
Any inputs are appreciated.
Thanks