I have an SQL table consisting of:
[title]
ElementA
ElementA
ElementB
ElementC
ElementA
ElementA
I am trying to find a way to count the element that is most found; in this example, it will be
4because it ElementAhappened 4 times. The problem is that this table is dynamic, so I can’t just saySELECT COUNT(*) WHERE title = 'ElementA';
Does anyone know how to write instructions SELECTfor this? Conceptually, this seems pretty simple, but I just can't get it to work.
Thanks a lot, Brett
source
share