SELECT a.StandardID,a.ProductName_e,b.icount FROM t_standard a left join (select count(id) as iCount,max(StandardID) as StandardID from Tproduct where userid=48169 and msg='3' group by StandardID) b on a.StandardID=b.StandardID where b.icount is not NULL
We are a manufacturer in China, producing all kinds of aquarium products, as well as bird products, supporting customization, welcome to contact me at sale1@huayi18.com