1.
SELECT top 10 IDENTITY(int, 1,1) AS 排名,'第'+bID+'名',bName,bReadTimes 浏览次数 into #temp FROM books ORDER BY bReadTimes DESC select * from #temp