I have two (basically similar) queries. The two return different results because of where I have placed the filter for a12.item_nbr = 'm015900706'. I don't understand why this changed the results. Can someone explain.
The first query is as follows:
select a12.ITEM_NBR ITEM_NBR...
I have been executing the following SQL expression to check for referential integrity. However, I am confused about the results I get back.
select count(*)
from
(
select b.shop_order,
b.so_time_stamp
from inventory_history b
where not exists
(select *
from shop_order s
where...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.