Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想知道这个 SQL 查询是否正确:
Select t from S having sum(S.r) between 0 AND 10000
我的问题是关于 X 和 Y 之间的 Sum() 是否正确?
你缺少GROUP BY条款
GROUP BY
Select t from S GROUP BY t having sum(S.r) between 0 AND 10000