Produce a report of the total hours worked by each employee, arranged in order of department number and within department, alphabetically by employee surname.

What will be an ideal response?

SELECT e.lName, e.fName, hoursWorked
FROM WorksOn w, Employee e, Department d
WHERE e.deptNo = d.deptNo AND e.empNo = w.empNo
ORDER BY d.deptNo, e.lName;

Computer Science & Information Technology

You might also like to view...

A _____________ is an example of convergence

a. smart home b. video game console c. smartphone

Computer Science & Information Technology

The series of values for the XNPV function must contain at least one positive and one negative value

Indicate whether the statement is true or false.

Computer Science & Information Technology