Select the columns. The SELECT clause lists the columns to select. Some column names are prefixed with a table alias because they are in both tables. LABEL= and FORMAT= are column modifiers.
select p.IdNumber, p.Jobcode, p.Salary, p2.jobcode label='New Jobcode', p2.salary label='New Salary' format=dollar8.