摘要:
create trigger triggerName after/before insert/update/delete on tableName for each row --这句话在mysql是固定的 begin sql语句; end; 如下在插入之前自动生成座位号 DROP TRIGGER I 阅读全文
摘要:
查询dj_pxlb表中zwh 空缺的值 select model2.zwh-1 as kqzwh from (select model1.zwh from dj_pxlb as model1 where model1.ccbh ='abc' order by model1.zwh desc) as 阅读全文