我正在使用此查询
SELECT uid, name, pic_big FROM user WHERE uid IN (SELECT uid2 FROM friend WHERE uid1 = me() AND uid2=14xxxx42)
获取有关14xxxx42用户的信息并且有效。
如何获取有关3个特定用户的信息? (用户14xxxx42和用户X和用户Y)?
答案 0 :(得分:1)
要获取有关多个用户的信息,请运行此查询:
SELECT uid, name, pic_big FROM user WHERE uid in (14xxxx42, 14xxxx43, 14xxxx44)