SELECT tr.FirstName + ' ' + tr.LastName As FullName, tw.WishName, COUNT(cw.WishID), cw.UserIDFROM tbl_CommonWish cwLEFT JOIN tbl_registration tr ON tr.UserID = cw.UserIDLEFT JOIN tbl_VIP_WishList tw ON tw.WishID = cw.WishIDGROUP BY cw.UserID 问候,Regards, 这篇关于通过Inner Join& amp;获得3张桌子的数据。 group by子句。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
10-30 08:17