输入banner图图片脚本导航/分类

DB2的 部分SQL语句

场景2:清空表中的所有内容,

TRUNCATE TABLE T_GPS_UPLOAD IMMEDIATE;

场景3:查询分页

select * from (
select a.* , rownumber() over(order by id ) as rowid from (" +
select * from T_VERSION where VERSION_NO " +
like ‘%‘ || #{versionNo} ||‘%‘ AND VERSION_TYPE like ‘%‘ || #{versionType} ||‘%‘)" +
a) tmp where tmp.rowid <= #{pageOneParam} and tmp.rowid > #{pageTwoParam}

DB2的 部分SQL语句

标签:rest   tmp   查询   HERE   style   bsp   get   语句   ber