回複:回複:there is no "last record"

回答: there is no "last record"f642004-06-30 19:07:30

Assuming you want the 'Last record' of user_id,here is the statment:

select top 1
max(user_ID),name,address,phone
from table1
group by name,address,phone
order by user_ID desc

Good luck

請您先登陸,再發跟帖!