📜  通过 group by 插入到 select - SQL 代码示例

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

代码示例1
INSERT INTO foo (col1name, col2name, col3name)
    SELECT '', bar, ''
    FROM baz
    GROUP BY bar