現在の複雑なクエリ内で相関サブクエリを使用して、次のように行うことができます。
SELECT
svn,
rvn,
eng,
(SELECT count(t2.svn)
FROM Tablename t2
WHERE t2.svn = t1.svn
) AS Count
FROM Tablename t1
....
SQLフィドルデモ
これにより、次のことが可能になります:
| 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 |