Question: ADVANCE DATABASE MANAGEMENT SYSTEMS Use the Address and the Position relations to answer the following questions Address bachstreetcity BOOS 22 Mantse St Accra B007 16
ADVANCE DATABASE MANAGEMENT SYSTEMS
Use the Address and the Position relations to answer the following questions Address bachstreetcity BOOS 22 Mantse St Accra B007 16 Otumfour St Kumasi B006 25 Nii St Acer 163 Togbe St Ho B004 32 Omanhene St Koforidus BOOZ 10 km Idiroko St Ota B001 17 Ayagitar St Navrongo B003 Greater Accra Ashanti Greater Accra Volta Eastern Lagos Upper East Position stato Name Name Position sex DOBES Branch SL15 Mutin Dark Manngar M 1-Oct-1977 3600 BOOS Eunice Fair Manager F 10-Nov-1978 3600 B007 SG14 Abigail Durk Supervisor F 24-Mar-1980 2400 B006 SG15 SA 19 SGS SLAS Valerie Muyiwa Charles Creme Coordinator Lala Manager Tall Assistant Manager Fair Supervisor F M M 19-Feb-1976 3-Jun-1985 13-Jun-1987 1200 3600 1200 B004 B002 B003 SA9 Pricilla F 15-May-1988 2400 B001 a. Assume that the column Salary in the Position relation represents monthly salary Write an SQL statement to produce a list of annual salaries all staff showing stuffNo. [3 marks) [6 marks) b. Write an SQL to produce the following output: D) Accra Kumasi Accra Ho Koforidus Ota Navrongo Accra Kumasi Ho Koforidun Oth Navrongo c. Write an SQL statement to list addresses of all branch offices in Kumasi or Ota [3 marks] [12 MARKS]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
