Answered step by step
Verified Expert Solution
Question
1 Approved Answer
SQL Query HELP pls. SQL Query HELP pls. 1. Find the First and last names and addresses of employees who work on at least one
SQL Query HELP pls.
SQL Query HELP pls. 1. Find the First and last names and addresses of employees who work on at least one project that is not located in Stafford but works in the department that has location in Stafford 2. For each manager of the department who has a daughter and works on a project located in Houston. Retrieve the first and last name of the manager, department name that he/she manages, and the name of the daughter. The attribute showing dependent name should be labeled as Daughter Name Schema: 9 0 EMPLOYEE | FNAME | MINIT | LNAME BDATE 123456789 1965-01-09 333445555 1955-12-08 999887777 1968-07-19 Wallace 987654321 1941-06-20 666884444 1962-09-15 453453453 1972-07-31 987987987 1969-03-29 888665555 1937-11-10 SEX SALARY SUPERSSN DNO TX 638 Voss, Houston, TX 3321 Castle Bellaire, TX 975 Fire Oak, Humble, TX 5631 Rice, Houston, TX 980 Dallas, Houston, TX 450 Stone, Houston, TX Jabbar 987654321 DEPT LOCATIONS MGRSSN MGRSTARTDATE 198805-22 1995-01-01 1981-06-19 DEPARTMENT DNAME Research WORKS ON ESSN PNQHOURS 123456789 PNUMBER PLOCATIONDNUM 10.0 ProductY 10.0 999887777 987987987 987987987 987654321 DEPENDENT DEPENDENT NAMESEX BDATE RELATIONSHIP 1983-10-25 SON 123456789 123456789 Michael Alice 1988-01-04 1988-12-30 1967-05-05 SONStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started