Open this example in the interactive library
Source code
WITH tags(v) AS (VALUES('a'),('a'),('b')) SELECT v,count(*) FROM tags GROUP BY v HAVING count(*)>1;
Sample output
[
{
"v": "a",
"count(*)": 2
}
]
Open this example in the interactive library
WITH tags(v) AS (VALUES('a'),('a'),('b')) SELECT v,count(*) FROM tags GROUP BY v HAVING count(*)>1;
[
{
"v": "a",
"count(*)": 2
}
]