Name: - Date
Name: - Date
SELECT *
FROM ______ ______
WHERE city=’London’ ____________
SELECT staff_No
FROM Staff
WHERE ___________________________________
SELECT _____________
FROM Viewing
WHERE viewDate BETWEEN ‘1-Apr-04’ AND ’30-Apr-04’
SELECT _____________________________________
FROM Staff
6. For each branch office with more than one member of staff, find the number of staff working in
each branch and the sum of their salaries.
SELECT branchNo, ____________________
FROM Staff
GROUP BY branchNo
HAVING _______________
7. List the staff who work in the branch whose stree adress is ‘163 Main Street’
8. Find the list of all cities where there is both a branch office and a property
(SELECT city
FROM Branch)
________________
(SELECT city
FROM ______________)