I am new to ES and i would need to make a query
Select value
from table
group by value
having count(distinct(id)) > 1
I do not even have areas to start. referencing this SQL like GROUP BY AND HAVING didnt help much.
Example of Data
------------
Value | id |
------------
val1 | 2 |
val2 | 2 |
val3 | 2 |
val1 | 3 |
------------
Expected returns
----
val1
----
try this
Check this link