select mp.PermitNumber, mp.PermitName, max(mod.[CreatedOn])as [CreatedOn] from tblPermit mp Inner join dbo.[tblModification] mod on mod.PermitId = mp.PermitId Group by mp.PermitNumber, mp.PermitName order by 1
欢迎分享,转载请注明来源:内存溢出
select mp.PermitNumber, mp.PermitName, max(mod.[CreatedOn])as [CreatedOn] from tblPermit mp Inner join dbo.[tblModification] mod on mod.PermitId = mp.PermitId Group by mp.PermitNumber, mp.PermitName order by 1
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)