select 字段a,count(表1.字段b) as c from 表1 inner join 表2 on 表1.字段=表2.字段比如一个查询语句是这个格式,想要在count()查询出的数据上再加一个条件,where应该怎么写?或者要怎么改一下?where条件只针对count()出来的c那一列,不能影响到字段a那一列