V
vijay
Hi,
I have 2 tables one Employee Other Vacation Design is as follows
tbl Emp
EmpID, FirstName, LastName
1 FN LN
tbl Vacation
EmpID, VacationDate, VacationTypeID
1 11/01/2004 1
1 11/02/2004 1
1 11/10/2004 5
1 11/11/2004 5
Note: VacationTypeID 1 = FullDay 5 = HalfDay 2HalfDays = 1 FullDay
How can I have output showing EmpID, FirstName, LastName and Count
VacationDate based on Both VacationTypeID
Result
EmpID FirstName LastName, FullDays, HalfDays TotalDays
1 FN LN 2 2 3
Thanks for your time and Energy
Vijay
I have 2 tables one Employee Other Vacation Design is as follows
tbl Emp
EmpID, FirstName, LastName
1 FN LN
tbl Vacation
EmpID, VacationDate, VacationTypeID
1 11/01/2004 1
1 11/02/2004 1
1 11/10/2004 5
1 11/11/2004 5
Note: VacationTypeID 1 = FullDay 5 = HalfDay 2HalfDays = 1 FullDay
How can I have output showing EmpID, FirstName, LastName and Count
VacationDate based on Both VacationTypeID
Result
EmpID FirstName LastName, FullDays, HalfDays TotalDays
1 FN LN 2 2 3
Thanks for your time and Energy
Vijay