-
Notifications
You must be signed in to change notification settings - Fork 0
/
query to be make.txt
31 lines (30 loc) · 1.29 KB
/
query to be make.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
SELECT
hrm_employee_monthlyleave_balance.OpeningCL,
hrm_employee_monthlyleave_balance.CreditedCL,
hrm_employee_monthlyleave_balance.AvailedCL,
hrm_employee_monthlyleave_balance.BalanceCL,
hrm_employee_monthlyleave_balance.OpeningSL,
hrm_employee_monthlyleave_balance.CreditedSL,
hrm_employee_monthlyleave_balance.AvailedSL,
hrm_employee_monthlyleave_balance.BalanceSL,
hrm_employee_monthlyleave_balance.OpeningPL,
hrm_employee_monthlyleave_balance.CreditedPL,
hrm_employee_monthlyleave_balance.AvailedPL,
hrm_employee_monthlyleave_balance.BalancePL,
hrm_employee_monthlyleave_balance.OpeningEL,
hrm_employee_monthlyleave_balance.CreditedEL,
hrm_employee_monthlyleave_balance.AvailedEL,
hrm_employee_monthlyleave_balance.BalanceEL,
hrm_employee_monthlyleave_balance.OpeningOL,
hrm_employee_monthlyleave_balance.CreditedOL,
hrm_employee_monthlyleave_balance.AvailedOL,
hrm_employee_monthlyleave_balance.BalanceOL
FROM
hrm_employee_monthlyleave_balance
JOIN
hrm_month ON hrm_employee_monthlyleave_balance.Month = hrm_month.MonthId
WHERE
hrm_employee_monthlyleave_balance.EmployeeID = 78
AND hrm_month.MonthName = 'October'
AND hrm_employee_monthlyleave_balance.Year = 2024;
for attendance My Leave Table