【发布时间】:2025-12-02 19:55:02
【问题描述】:
我想把这个表分组
column1| date
A |2016-07-01
A |2016-07-01
A |2016-07-02
C |2016-07-01
C |2016-07-02
我需要得到类似这样的结果
column1 | date
A |2016-07-01
A |2016-07-02
C |2016-07-01
C |2016-07-02
这就是我对表格进行排序以获得如上表所示的结果
SELECT * FROM table1 GROUP BY column1 and date
但不工作。我该怎么做?
【问题讨论】:
-
你看过关于这个主题的其他主题吗? *.com/questions/2421388/…