To a large extent, as the name says, this was the easiest way to explain it. To develop ...
First I need to find the value of column c, which was duplicated in most cases (mostDuplicated), and then SELECT * FROM t WHERE c=mostDuplicated
Continue on ...
Here is my details:
SELECT * FROM t a, b, c - - - 1, 1, 1 2, 2, 1 3, 3, 1 4, 4, 2 5, 5, 3
So, completely ignore the values ββin columns a and b, just focus on column c. I need to find the most duplicated value in column c (which is 1), and then SELECT only those WHERE c = 1 entries. I want to do this in one query, if possible.
source share