📜  postgreSQL 有 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:05.884000             🧑  作者: Mango

代码示例2
SELECT
    customer_id,
    SUM (amount)
FROM
    payment
GROUP BY
    customer_id
HAVING
    SUM (amount) > 200;Code language: SQL (Structured Query Language) (sql)