📜  GROUP BY postgres - SQL 代码示例

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

代码示例1
SELECT 
   column_1, 
   column_2,
   ...,
   aggregate_function(column_3)
FROM 
   table_name
GROUP BY 
   column_1,
   column_2,
   ...;
Code language: SQL (Structured Query Language) (sql)