1、登入SQL Server Management Studio,新建查询。

3、取后五查询,输入查询代码,筛选后五记录代码“top 5”,反排序代码“order by 字段 desc”,如示例中排序字段为“FInterID”,及在“FInterID”后加“desc”代码反排序。

时间:2024-10-24 00:01:45
1、登入SQL Server Management Studio,新建查询。
3、取后五查询,输入查询代码,筛选后五记录代码“top 5”,反排序代码“order by 字段 desc”,如示例中排序字段为“FInterID”,及在“FInterID”后加“desc”代码反排序。