现在的位置: 首页 > 综合 > 正文

查看公司和公司产品数的sql语句

2012年09月28日 ⁄ 综合 ⁄ 共 280字 ⁄ 字号 评论关闭

查看公司和公司产品数的sql语句

select * from (select C_ID,(select count(1) from product where C_ID=companyinfo.C_ID) c from companyinfo where C_ID in(select C_ID from EnterpriseLibrary where FirstSort in('32d670','6a726a','0796ce','74f0cb','9671cf','70b5bd','b2130b','6f70b0','916dc2','67235c'))) tableCompany where c>0

抱歉!评论已关闭.