We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 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