I am not sure how to formulate this question, so I will give an example:
Suppose there is a table with a name taggedthat has two columns: taggerand taggee. What does an SQL query look like to return taggee(s) that are on multiple lines? That is, they were tagged 2 or more times by anyone tagger.
I need a "general" SQL query, not one that works only in a specific DBMS.
EDIT: Added "tagged 2 or more times with any tag ."
source
share