Différence entre deux valeur qui proviennent de la même colonne comme ALIAS
EBIM20
Messages postés
45
Statut
Membre
-
yg_be Messages postés 23437 Date d'inscription Statut Contributeur Dernière intervention -
yg_be Messages postés 23437 Date d'inscription Statut Contributeur Dernière intervention -
ELECT Employee.RegistrationNumber AS Matricule, PaycheckLine.OLCodeItem AS [Code de l'élément exonéré], PaycheckLine.Label AS Description, PaycheckLine.EmployeeAmount AS Montant FROM ((PaycheckLine LEFT OUTER JOIN Item ON ((PaycheckLine.UCodeItem = Item.UCode)) LEFT OUTER JOIN Paycheck ON ((PaycheckLine.PaycheckId = Paycheck.Id))) LEFT OUTER JOIN Employee ON ((Paycheck.UCodeEmployee = Employee.UCode))) WHERE (((Employee.VersionStatus = 1) OR (Employee.VersionStatus IS NULL)))
Merci de m'aider