I'm in my absolute infancy in learning PostgreSQL (I'm working my way through the postgresqltutorial SELECT tutorial right now) and saw DISTINCT ON mentioned. Based on my attempted research, this is actually a very complicated & powerful keyword that's a bit beyond where I'm at now, but I wanted a basic understanding.
From toying around in psql, it seems like it's a way to filter data based on values in one column regardless of whether or not the data in other columns also match. E.g. if you had a table of people and their grades, you could filter so that you'd only have one person per grade without also needing them to have the same name, etc.
Am I on the right track?