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 type ,SUM(amount) FROM CustomerPayment GROUP BY type
これを休止状態でどのように書くことができますか?
hqlでも同じです:
select c.type, sum(c.amount) from CustomerPayment c group by c.type