SELECT
 (T_SAL.MatriculeSalarie || ' ' || NVL(T_SAL.Nom, ' ') || ' '  || NVL(T_SAL.Prenom, ' ') ) as Col1,
 'Fin de période d''essai : ' ||  TO_CHAR(T_HST_CONTRAT.FinPeriodeEssai) as Col2
FROM
  T_PAI,
  T_SAL
  LEFT OUTER JOIN T_HST_CONTRAT ON T_HST_CONTRAT.NumSalarie=T_SAL.SA_CompteurNumero
                  AND T_HST_CONTRAT.InfoEnCours=1
Where  (     (CURRENT_TIMESTAMP >= NVL(-%NbJoursAvant%,0) + T_HST_CONTRAT.FinPeriodeEssai)
		 and (CURRENT_TIMESTAMP <= NVL(%NbJoursApres%,0) + T_HST_CONTRAT.FinPeriodeEssai)
		)

Order by T_SAL.MatriculeSalarie