27.10.2005, 10:00 | #25 |
Участник
|
ну например
Код: Select inventtable.itemid from inventtable where itemid not in (SELECT inventtable.itemid FROM inventtable inner join inventsum on inventtable.itemid = inventsum.itemid where InventSum.Inventdimid = ' АН00000031' AND InventSum.PostedQty + InventSum.Received - InventSum.Deducted + InventSum.Registered - InventSum.Picked - InventSum.ReservPhysical > 0 ) |
|