this is my BD on phpmyadmin
commercer_id | commerce_district|
1 abacay
2 abacay
3 ahuac
4 alto de la alianza
5 alto de la alianza
6 amarilis
This is my query, but I bring all the records repeated and with distinctly the same, I would like to ask you to bring me all the records but to group the repeated ones and just bring me only one of the repeated ones that are not repeated . I'm new to BD
SELECT
commerce_district, commerce_id FROM commerc
ORDER BY commerc.commerce_distric ASC