Du kan bruge en korreleret underforespørgsel i din nuværende komplekse forespørgsel til at gøre dette sådan:
SELECT
svn,
rvn,
eng,
(SELECT count(t2.svn)
FROM Tablename t2
WHERE t2.svn = t1.svn
) AS Count
FROM Tablename t1
....
SQL Fiddle Demo
Dette vil give dig:
| SVN | RVN | ENG | COUNT |
-----------------------------------
| 1 | 1 | Boy | 1 |
| 2 | 1 | Teacher | 1 |
| 3 | 1 | Chair | 3 |
| 3 | 2 | Chairwoman | 3 |
| 3 | 3 | Chairperson | 3 |
| 4 | 1 | Without | 2 |
| 4 | 2 | Withoutfail | 2 |
| 5 | 1 | Anyone | 2 |
| 5 | 2 | Anyoneelse | 2 |
| 6 | 1 | Permission | 1 |