September 26, 2007 at 7:28 am
Query(a report) to list the technicians/traffic controllers separately with following details.
EmployeeId,Name,Salary,Address,UnionId, and the most recent medical examination date for traffic controllers
Employee (EmployeeId(p),Name,Salary,Tpye).
MedicalExamination(MedicalNo(p),EmployeeId,MedicalDate)
EmployeeUnion(EmployeeId(p),UnionId(p))
"Type" field in Employee table tells whether its a technicians or a traffic controller.only traffic controllers has medical examination.
September 26, 2007 at 7:36 am
zim (9/26/2007)
Query(a report) to list the technicians/traffic controllers separately with following details.EmployeeId,Name,Salary,Address,UnionId, and the most recent medical examination date for traffic controllers
Employee (EmployeeId(p),Name,Salary,Tpye).
MedicalExamination(MedicalNo(p),EmployeeId,MedicalDate)
EmployeeUnion(EmployeeId(p),UnionId(p))
"Type" field in Employee table tells whether its a technicians or a traffic controller.only traffic controllers has medical examination.
Is this a homework assignment?
I'd suggest having a look at the Join statements (http://msdn2.microsoft.com/en-us/library/ms191517.aspx) and the MAX function (http://technet.microsoft.com/en-us/library/ms187751.aspx)
Regards,
Andras
September 26, 2007 at 8:13 am
show us the query you have done so far, so we can offer suggestions with your homework; you won't learn if someone just gives you the answer.
Lowell
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply