我的是在ADP中建立的联合查询,如果我要进行一段时间的筛选,可以吗应当怎样添加筛选语句,谢谢!
SELECT MInVoucherNo AS Voucher, MInDate AS Date, MaterialCode, MaterialName, MaterialDesc, MaterialSize, MInQuantity AS Quantity, UNITS
FROM FMaterialInRecord
UNION ALL
SELECT MOutVoucherNo AS Voucher, MOutDate AS Date, MaterialCode, MaterialName, MaterialDesc, MaterialSize, MOutQuantity AS Quantity, UNITS
FROM FMaterialOutRecord