sql – 参数值

SELECT ID, AppID, Description, Min([Transaction Date]) AS TransactionDate
FROM AppProsHist
WHERE [Description]='Non-Final Rejection'
GROUP BY ID, AppID, Description
ORDER BY TransactionDate DESC 

我一直收到“TransactionDate”的参数值框.有谁知道我如何让它消失?

最佳答案 TransactionDate是字段表达式Min([Transaction Date])的别名

Access不接受ORDER BY中的别名.这两种选择中的任何一种都应该有效……

ORDER BY Min([Transaction Date]) DESC
ORDER BY 4 DESC
点赞