Meine Suche:Postgresql verschachtelt select max (sum())
select table.attribute, count(table.attribute) AS cnt from table
group by table.attribute
order by cnt desc;
Der Ausgang ist so etwas wie:
attribute | cnt
-----------+-----
A | 2
B | 2
G | 1
F | 1
Aber ich möchte nur die Max-Werte (A & B).
Prost auf dich und @klin alle Ressourcen, die ich gefunden habe, hat nicht für mich gearbeitet! – AnnoyedGuy
Froh, Ihnen zu helfen @AnnoyedGuy –