T
tsluu
tblTran
Empl# Date TranCode
1 02/08/2009 SICK
1 02/08/2009 AAL
1 05/08/2009 AAL
1 06/08/2009 WORK
1 06/08/2009 OT
1 08/08/2009 REST
1 08/08/2009 AAL
Result:
Empl# Date TranCode
1 02/08/2009 SICK
1 08/08/2009 REST
Can anyone help with the SQL query to give the above results.
I want only transactions with count more than 1 for days with "AAL" as the
combinations.
Empl# Date TranCode
1 02/08/2009 SICK
1 02/08/2009 AAL
1 05/08/2009 AAL
1 06/08/2009 WORK
1 06/08/2009 OT
1 08/08/2009 REST
1 08/08/2009 AAL
Result:
Empl# Date TranCode
1 02/08/2009 SICK
1 08/08/2009 REST
Can anyone help with the SQL query to give the above results.
I want only transactions with count more than 1 for days with "AAL" as the
combinations.