摘要: 备忘:var data = BoshccEntities.Current.TB_MB_1 .GroupJoin(BoshccEntities.Current.TB_MB_2, o => o.HospitalID, m => m.MemberID, (t, m) => n... 阅读全文
posted @ 2014-10-15 19:53 xachary 阅读(986) 评论(1) 推荐(0) 编辑
摘要: 备忘:USE `xxx`;SET SQL_SAFE_UPDATES = 0;UPDATE `TB_MB_1` TSET T.`MedicalCount` = ( SELECT S.Total-- ,S.`HospitalID` FROM( SELECT DISTIN... 阅读全文
posted @ 2014-10-15 19:49 xachary 阅读(282) 评论(0) 推荐(0) 编辑