[SQL] By Date列出每個日期的資料數量

有時檢查資料是否異常
需要統計每個月分的資料數量是否有異常

Select
     count(created_date) as counted_leads,
     created_date as count_date
from
     table
group by
     created_date

footer See also :

留言

這個網誌中的熱門文章

Office 2021 離線安裝封裝與KMS啟動步驟

Ollama使用心得與模型導入教學

ARC下NSMutableDictionary 無法使用retainCount