摘要:
数据表:要求:查询type为4001,以content分组,本计算不重复的pcInfoIdMySQL语句:SELECT COUNT(DISTINCT pcInfoId) AS COUNT,content,TIME FROM vrv_paw_reportlog WHERE TYPE='4001' GR... 阅读全文
摘要:
SELECT * FROM vrv_paw_reportlog WHERE TYPE IN(1001,1002) GROUP BY pcInfoId DESCSELECT * FROM vrv_paw_reportlog WHERE TYPE IN(1001,1002) GROUP BY pcI... 阅读全文