摘要:
-- 设置 show variables like '%sche%'; set global event_scheduler =1; -- Start存储过程 drop PROCEDURE if exists test; CREATE PROCEDURE test() BEGIN insert into `user` values (1,2,3,4); END -- End存储... 阅读全文
摘要:
一,看原表 select * from `user`; 二,查询同组年级最大的 select username ,SUBSTRING_INDEX( GROUP_CONCAT(age order by age desc) ,',',1) uuid from ( select uuid ,usernam 阅读全文