Select a.NClassId,b.NClassName From p_MarketActionLimit as a left join p_NClass as b on a.NClassId = b.NClassID where a.MarketId = @MarketId and b.NClassName is not null group by a.NClassId,b.NClassName

列 is not  null 

相关文章: