MYSQL count()函数 计算字段去重

SELECT
	count( DISTINCT worker_man_id ) 
VALUE
	
FROM
	`bi_re_workman_and_teamproject` 
WHERE
	delFlag = 0 

你可能感兴趣的:(MySQL)