首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > SQL Server >

简单逻辑求解,小弟我转不过弯来,求大神解救

2013-02-20 
简单逻辑求解,我转不过弯来,求大神解救,在线等表1:DP_MemberStore表2:DP_CommonSmsEntries求会员所挂靠的

简单逻辑求解,我转不过弯来,求大神解救,在线等
表1:DP_MemberStore
简单逻辑求解,小弟我转不过弯来,求大神解救
表2:DP_CommonSmsEntries
简单逻辑求解,小弟我转不过弯来,求大神解救
求会员所挂靠的全部门店都已经报了门店月销售XS任务的会员


备注:会员MemberId  门店StoreId  任务Instruction join
[解决办法]

select * from DP_MemberStore a where exists(select * from DP_CommonSmsEntries b where a.MemberId = b.MemberId  and b.Instruction = 'XS')

热点排行