订单表架构
我的 Access 数据库查询
Select * from
(
SELECT reseller.id, Max(orders.[order date]) as OrderDate
FROM Reseller INNER JOIN orders ON Reseller.ID = orders.ResellerID
group by reseller.id
)K
WHERE (((K.[OrderDate]) Not Between (Date()-1) And (Date()-18)))
找到那些 18 天没有订购的经销商。
但这给出了以下记录
我错过了什么吗?