SELECT COUNT(DISTINCT *) FROM tabella WHERE Punti < (SELECT Punti FROM tabella WHERE UserId = 'CCCC')

Non l'ho provata.