Question title is senseles ,I know it. But my problem seems to diffucult to explain.
I have a one table on phpmyadmin like this
+-----+-----+----
| id |tag |item|
+=====+=====+===
| 1 | 1 | 132|
+-----+-----+---
| 2 | 2 | 132|
+-----+-----+---
| 3 | 2 | 134|
+-----+-----+---
| 4 | 1 | 135|
+-----+-----+---
I want to find count of RELATED items.
For instance item-132 has 1,2 tag values and item-134 has 2 tag values. item-132 and item-134 has same 2 tag value. SO item-132 and item-134 has one related tag.
I want to get relation tags count like this ...
How can I set SQL query that get relation tag count in MySQL.