'试试,子查询后面加一个别名t:mesql = "select top 5 * from ( select top " & sqltop & " * from " & Ph & ") t where 用户名='1'"