select b.DESCRIPTION 'Descr', b.PRINTSUBTYPE 'subType' , a.OPTIONALSTR1 'str1'
  from PALDC_OPC_PRINTQUEUE a
  join PALDC_OPC_PRINTTYPES b
  ON a.PRINTTYPE = b.RECID
  where b.PRINTTYPE = 4
  order by a.RECID asc