I have a table of commits from various repos. I want to select all the users, and get at most one repo that they are associated to.
My attempt:
SELECT distinct(author_id), repo_id FROM commits This returns more rows than expected though, with duplicates of author_id's.