首先新建表: --创建示例表 CREATE TABLE t ( id ,) PRIMARY KEY, a ), b ) ) --插入数据 INSERT INTO t SELECT 'aa','bb' UNION ALL SELECT 'a1','bgb' UNION ALL SELECT 'aa','bb' UNION ALL SELECT 'a2','bb' UNION ALL SELECT 'aa3','beeb' UNION ALL SELECT 'aa','bb' UNION ALL S…