摘要:
在网站中想实现根据参与会议的人员来搜索会议记录现在表是这样的,表名Meetings:UserIDMinuteID121221321123323222然后语句是select*fromMeetingswhereUserIDin(1,2,3)groupbyMinuteIDhavingcount(*)=3;可以出来结果是UserIDMinuteID121改成select*fromMeetingswhereUserIDin(1,2,3)groupbyMinuteIDhavingcount(*)=2;可以出来结果是UserIDMinuteID123改成select*fromMeetingswhereUse
阅读全文