一. 1.两个参数都是int类型() 例子: 1 < select id="searchClassAllNum" resultType="int"> select count(*) from parkclass pc join parkclasstag pct on(pc.classtaglevel=pct.id) join parent p on(pc.parentid=p.id) where pc.parkid=#{0} and pct.id=#{…
create or replace trigger t before update on test5 for each rowbegin insert into test55 values (:old.id,:old.name);end ; -------------------------------------------------------------------------------------- --表中插入数据时ID自动增长 create table ttt (id numbe…