SQL自增序列

select row_number() over (order by PKID)as ID,PKID,TypeName,IsReward,Remark,createtime,Person,Reason,Content,Recorder from hr_rewardpunish

转载于:https://www.cnblogs.com/yinluhui0229/archive/2012/07/09/2583765.html

你可能感兴趣的:(SQL自增序列)