यदि आप n का मान जानते हैं, तो आप कुछ ऐसा कर सकते हैं (n=3 के लिए):
Select *
FROM players
WHERE Left(name, 3) in (
SELECT Left(name, 3)
FROM players
GROUP BY Left(name, 3)
HAVING (Count(*) > 1)
);
यदि आप n का मान जानते हैं, तो आप कुछ ऐसा कर सकते हैं (n=3 के लिए):
Select *
FROM players
WHERE Left(name, 3) in (
SELECT Left(name, 3)
FROM players
GROUP BY Left(name, 3)
HAVING (Count(*) > 1)
);