数据库QQ管理查询他的所有的好友的ID,应该怎么写语句?如何运行成功?
怎么建表的?select 好友Id from 关联好友列表 where 我的Id=我的Id
select 好友id子段 from 表名 where 本人id = 参数id and 好友id in(好友id值,...,...)