We are moving our forum in GitHub Discussions. For questions about Phalcon v3/v4 you can visit here and for Phalcon v5 here.

Use DISTINCT for some columns

How to use DISTINCT on multiple columns for selecting from a database?

DISTINCT works on rows, not columns.

You can select columns with GROUP BY though