go run main.go
sqlite3 foy2023.db
.headers on
.mode csv
.once './ranking.csv'
select
count(tweets.ticker) c,
tickers.name
from
tweets
inner join tickers
on tweets.ticker=tickers.ticker
group by
tweets.ticker
order by
c desc;
File ranking.csv
will be saved.