Questions/queries:
1. Write the SQL code that will list design name and only the distinct design numbers in the CLIENT table, sorted by design number.
DESIGN_NAME DESIGN_NUMBER
Evergreen 15
Amber Wave 18
Rolling Tide 22
Starflight 25
2. Write a query to produce the total number of client hours and charges for each of the designs represented in the CLIENT table, sorted by design number.
DESIGN_NUMBER Sum_of_CLIENT_HOURS Sum_of_CLIENT_CHARGES
15 20.5 1006.2
18 23.7 1544.8
22 27 2593.16
25 19.4 1668.16
3. Write the SQL code required to generate the total client hours and total charges in the CLIENT table, listed by job code and job description, sorted by job code.
JOB_CODE JOB_DESCRIPTION Sum_of_CLIENT_HOURS Sum_of_CLIENT_CHARGES
500 Programmer 19.7 1664.65
501 Systems Analyst 32.7 3335.6
502 Database Designer 15.6 1770
508 Applications Design 3.8 192.85
509 Bio Technician 18.8 649.54