Files
doris/regression-test/suites/github_events_p2/sql/topRepositoriesByStars.sql

2 lines
134 B
SQL

SELECT repo_name, count() AS stars FROM github_events WHERE event_type = 'WatchEvent' GROUP BY repo_name ORDER BY stars DESC LIMIT 50