# Git Achievements using SQL

**URL:** <https://www.starburst.io/community/forum/t/git-achievements-using-sql/170>\
**Category:** Showcase\
**Created:** [May 2, 2022, 5:15pm UTC](https://www.starburst.io/community/forum/t/git-achievements-using-sql/170 "2022-05-02T17:15:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nineinchnick](https://www.starburst.io/community/forum/user_avatar/www.starburst.io/nineinchnick/32/202_2.png) [@nineinchnick](https://www.starburst.io/community/forum/u/nineinchnick)\
**Post date:** [May 2, 2022, 5:15pm UTC](https://www.starburst.io/community/forum/t/git-achievements-using-sql/170/1 "2022-05-02T17:15:33Z")

</div>

A long time ago I stumbled upon [Acha acha](https://github.com/someteam/acha) - a project to assign achievements to contributors based on the commit history in a Git repository. I figured it’ll be fun to reimplement it using only SQL. I wrote a custom Trino connector to read commits from a repository and then wrote a bunch of queries.

Check out the achievements in the Trino project: [Trino Git Achievements | trino-git-achievements](https://miguelweezardo.github.io/trino-git-achievements/reports/git/)

Queries are available at [GitHub - MiguelWeezardo/trino-git-achievements: GIT achievements for the Trino project](https://github.com/MiguelWeezardo/trino-git-achievements)
