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=43987 and msg='3' group by StandardID) b on a.StandardID=b.StandardID where b.icount is not NULL
We are Pet Style, a company with the goal to set new standards in the production of scratching posts in terms of innovation, high quality and customer care.