2022年11月18日

基于mysql实现group by 取分组第一条 最后一条

摘要: 测试数据 DROP TABLE IF EXISTS `tb_dept`; CREATE TABLE `tb_dept` ( `id` bigint(20) UNSIGNED NOT NULL, `parent_id` bigint(20) NULL DEFAULT NULL, `dept_code` 阅读全文

posted @ 2022-11-18 12:31 何苦-> 阅读(4428) 评论(0) 推荐(0)

导航