日期:2014-05-17 浏览次数:20412 次
select row_number() over (order by a_stick desc,a_id desc) as rowid,* from zt_article
select (select count(*)+1 from A where id < t.id) as AutoCode,* from A t