摘要:
-- 日期函数select CURRENT_DATE,CURRENT_TIME,CURRENT_TIMESTAMP,year(CURRENT_DATE),month(CURRENT_DATE);select * from sr_main where TIMESTAMPDIFF(DAY,SYS_CRE 阅读全文
摘要:
模板1: update 表1 set 表1.字段1 = ( select 表1字段或者表2字段 from 表2 where 表1主键 = 表2外键 及其他条件 ) where 表1.字段 = ? 样例1: 行政区划更新: update sjycpc_report a set qhmc_qx = (s 阅读全文