Write the following in relational algebra 1 list the ssn


Write the following in relational algebra (the database sheet is attached

1. List the ssn, fname, lname of employees who do not work in the Administration or Headquarters department (do not use a set operation).

2. Retrieve the average salary and number of of employees who were are male.

3. Same as 4. but list the results for each department by dname, dnumber

4. For each employee, list the employee's firstname, last name and bdate of the employee's dependents (renamed as Dep_Bday) . If an employee does not have a dependent, the employee should still be listed.

5. List the dnumber of departments that have locations in all the same locations as department 5.

1232_Table.jpg

Solution Preview :

Prepared by a verified Expert
Computer Engineering: Write the following in relational algebra 1 list the ssn
Reference No:- TGS01119566

Now Priced at $30 (50% Discount)

Recommended (94%)

Rated (4.6/5)