My query
SELECT order_id, order_item_id, product_id, date_due, ship_via
FROM order_shipment
WHERE (product_id LIKE 'PP80403396-502%%' AND ship_via != '');
OR
SELECT order_id, order_item_id, product_id, date_due, ship_via
FROM order_shipment
WHERE (product_id LIKE 'PP80403396-502%%' AND trim(ship_via) != '');
does not give me any results.
My expectation would be to display to display the results where ship_via field is NULL or is not empty.