winston1984
IS-IT--Management
I have the following query. i want to check that the two prices are either the same or with two pence of each other either side, any ideas?
SELECT Ison7.SystemLC, Stock.TotalLandedCost, Ison7.IDPartNumber, Stock.IDPartNumber AS Expr1
FROM Ison7 INNER JOIN
Stock ON Ison7.IDPartNumber = Stock.IDPartNumber AND Ison7.SystemLC <> Stock.TotalLandedCost
SELECT Ison7.SystemLC, Stock.TotalLandedCost, Ison7.IDPartNumber, Stock.IDPartNumber AS Expr1
FROM Ison7 INNER JOIN
Stock ON Ison7.IDPartNumber = Stock.IDPartNumber AND Ison7.SystemLC <> Stock.TotalLandedCost