|||
Contents:
You can use distinct clauses with the following queries:
distinct
Select
>>> await Band.select(Band.name).distinct() [{'title': 'Pythonistas'}]
This is equivalent to SELECT DISTINCT name FROM band in SQL.
SELECT DISTINCT name FROM band
Styled using the Piccolo Theme