天天看點

學習筆記(7):【資料分析實戰訓練營】Mysql資料庫-資料查詢操作

立即學習:https://edu.csdn.net/course/play/31333/468092?utm_source=blogtoedu

count(8)加在select和from之間,代表計算該行資料出現到次數;

例:select name,count(*) as count from....

having是對結果查詢,where是對from後面對值進行查詢