mysql的聚合函數(shù):select agent_id,COUNT(*)? from sgtb_agent_comment group by agent_id HAVING COUNT(*) =2;
1、關(guān)于條件的執(zhí)行流程--》from -where-group by - select-having -order by
2、group by 是分組
mysql的聚合函數(shù):select agent_id,COUNT(*)? from sgtb_agent_comment group by agent_id HAVING COUNT(*) =2;
1、關(guān)于條件的執(zhí)行流程--》from -where-group by - select-having -order by
2、group by 是分組