MySQL子查询优化-子语句含有group by时

当我使用Mysql进行下列语句的查询时: select count(1) from jy_info_user  where user_card != ''  and id IN (select id from jy_erp.jy_info_user where ifnull(user_card,'')!='' group by user_card HAVING count(1)=1 ) 很简单的一
相关文章
相关标签/搜索