on 01-07-2015 7:41 AM
Hi Experts
i had created a query, in which i need to filter it via, year wise for example , FY2014 and dept wise, in which dept is already working
how is it possible
the below attached is the query
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
SELECT distinct T3.[Name] as 'Worker Category', max(T0.[U_Rate]) as 'Current Rate',
max(T1.[U_Rate]) as 'Revision Rate' ,T2.[Name]as 'Department'
FROM OHEM T0 INNER JOIN AHEM T1 ON T0.empID = T1.empid
INNER JOIN OUDP T2 ON T0.[dept]=T2.[Code]
INNER JOIN OHPS T3 ON T0.[position]=T3.posID
WHERE (T1.[U_IQId] <> T0.[U_IQId] OR T1.[U_IQId] is null ) and T0.[dept]='11'
group by T3.[NAME],T0.[U_Rate],T1.[U_Rate],T2.[Name]
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Regards
Hi,
You may try using AHEM.updatedate to filter.
Thanks,
Gordon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Do you have any UDF to capture employee creation date?
Thanks & Regards,
Nagarajan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.