select
id,
code,
name,
classification,
contract_model_label,
periodicity
from ourpension.eps
where service_type = 'NPO'
and periodicity in (1, 2)
and (
classification is not null
or contract_model_label is not null
)
order by classification, contract_model_label, id;