-- 用户行为表样本数据查看
-- 使用: python fetch_daily.py tasks/00_表的洞察/loghubods.user_share_log/01_基本数据.sql --date 20260107

SELECT 
topic,
sum(1) as cnt
FROM loghubods.user_share_log
WHERE dt = '${dt}'
group by topic
ORDER BY cnt desc
LIMIT 100
