select ΚΩΔΠΕΛ, count(ΚΩΔΠΑΡ)as PLHTHOS

from ΠΑΡΑΓΓΕΛΙΕΣ

group by ΚΩΔΠΕΛ

having count(ΚΩΔΠΑΡ) >10