时间格式化: select date_format('2008-08-08 22:23:01', '%Y%m%d%H%i%s'); 去重复: use iksdb3; select distinct `frequency` from iksdb3.channel; 变量: show variables like 'log'; 更新时间(加一年): year) where chipsn='8b73b8499b820000'; 锁定表与解锁: use iksdb3; flush tables with…