[SQL]依傳入之條件, 找出最大值編號

摘要:依傳入之條件, 找出最大值編號

select  top 1 * from [資料表] where [xxx]  order by [xxx]  desc