Kod
SELECT *,
CASE
WHEN paksrno>0 and spaksrno=0 THEN 'paket'
WHEN spaksrno>0 and paksrno=0 THEN 'spaket'
END
 FROM REZER