SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 SQL to list technicians and traffic controllers
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

hussainzim
Starting Member

21 Posts

Posted - 09/26/2007 :  09:29:08  Show Profile  Reply with Quote

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.

Kristen
Test

United Kingdom
22415 Posts

Posted - 09/26/2007 :  09:38:11  Show Profile  Reply with Quote
See: http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=55210&SearchTerms=Homework
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000