I have a table variable that holds orderID
, UnitID
and OrderServiceId
(it is already populated via a query with insert statement).
I then have a query under this that returns 15 columns which also include the OrderId
, UnitId
, OrderServiceId
I need to only return the rows from this query where the same combination of OrderId
, UnitId
, and OrderServiceId
are not in the table variable.