Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

List all the items that have not been part of any purchase order. sql

SELECT DISTINCT I.*, ITO,itemID AS [NULL if never ordered]
FROM Items As I
LEFT JOIN
ItemsInOrder AS ITO
ON I.itemID=ITO.itemID
WHERE ITO,itemID IS NULL
 
PREVIOUS NEXT
Tagged: #List #items #part #purchase #sql
ADD COMMENT
Topic
Name
8+7 =