select
ΚΩΔΠΕΛ
, sum(
ΚΩΔΠΑΡ
)as PLHTHOS
from
ΠΑΡΑΓΓΕΛΙΕΣ
group
by
ΚΩΔΠΕΛ
having
sum(
ΚΩΔΠΑΡ
) >10