28,390
社区成员
发帖
与我相关
我的任务
分享
sql="Select id,sort,meno from user_sort where id in (select sortID from users where username='"&UserName&"')"
Select id,sort,meno
From user_sort
WHERE EXISTS
(SELECT *
users
Where users.username='"&UserName&"'"
And user_sort.id = convert(users.sortID as int)
)