我想结合这两个查询我认为是自我加入但不确定
查询1
SELECT DISTINCT SalesHierachy.RegionCode, SalesHierachy.RegionName,
Left([RegionCode],5) AS Expr1
FROM SalesHierachy
GROUP BY SalesHierachy.RegionCode, SalesHierachy.RegionName, Left([RegionCode],5)
ORDER BY SalesHierachy.RegionCode;
查询2
SELECT Query1.Expr1
FROM Query1
GROUP BY Query1.Expr1
HAVING Count(Query1.Expr1)>=2;
答案 0 :(得分:0)
您可以在Query2
中使用Query1"A Stop job is running..."