Probably pathetically simple. But you know, sometimes you're brain fails you.
Show me only the Order_no and Unit when Unit# has BOTH “null”
and not = to “Null”
In the below case only Order_No 574656 would return.
ORDER_NO UnitID UNIT#
574655 1373105 NULL
574655 1372866 NULL
574655 1373019 NULL
574656 1373873 0423940020000400195
574656 1373989 0423940020001100195
574656 1375072 NULL
574656 1375073 NULL
574656 1375080 NULL
574657 1372988 NULL
574657 1372993 NULL
574657 1372994 NULL
574657 1373000 NULL
THANK YOU!