我有这个查询:
SELECT
[QUERY1].[py],
[QUERY1].[al],
[QUERY1].[ga],
[QUERY1].[sy],
[QUERY1].[pl]
FROM [tab-Sample] as QUERY1, [tab-Sample]
WHERE [tab-Sample].[py] = [QUERY1].[py] AND
[tab-Sample].[al] <> [QUERY1].[al]
我想写一个查询,jsut 计算这个结果,我找不到在哪里插入 Count(*) 也尝试过 Over() 但我无法管理这个。