见贤思小齐,知足常乐呵

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2024年1月12日

摘要: 如何删除重复数据, 只保留一条 drop table if exists temp_dm_patientinfo_id; create table temp_dm_patientinfo_id as select record_id, -- 重复键 max(id) max_id from dm_pa 阅读全文
posted @ 2024-01-12 13:50 Suckseedeva 阅读(5) 评论(0) 推荐(0) 编辑

摘要: 1. show create procedure 2. 两个系统表 information_schema.routines 可查询出存储过程的内容,但是入参和出参没包含 information_schema.PARAMETERS 可查询入参和出参 select concat(p1,ifnull(p2 阅读全文
posted @ 2024-01-12 13:47 Suckseedeva 阅读(11) 评论(0) 推荐(0) 编辑