0% found this document useful (0 votes)
19 views1 page

pm1 006

This document outlines the scoring allocation for a question involving database queries and views. It breaks the question into 4 subquestions and assigns point values to different parts of each subquestion based on correctly identifying database entities, relations, and query clauses. The total points possible are 24, with most points going to accurately writing the SELECT statement to define a view in subquestion 2.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views1 page

pm1 006

This document outlines the scoring allocation for a question involving database queries and views. It breaks the question into 4 subquestions and assigns point values to different parts of each subquestion based on correctly identifying database entities, relations, and query clauses. The total points possible are 24, with most points going to accurately writing the SELECT statement to define a view in subquestion 2.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

[Standard Answer] SW PMI Q6

SQ 1 (1)

WO RK W O R K _CATE G O R Y

WOR K_LOAD_E ST IM AT E WO RKE R

WOR K_D AILY_RE P OR T

(2) a: WORK_CATEGORY_CODE b: WORK_CATEGORY_CODE

c: WORK_CATEGORY_NAME

SQ 2 d: CREATE VIEW
e: AS SELECT
f: SUM (WORK_HOURS) SUM(B. WORK_HOURS) is also correct.
g: WHERE D. WORK_CATEGORY_CODE = 1
AND A.WORKER_CODE = B.WORKER_CODE
AND D.WORK_CODE = B.WORK_CODE
AND A.WORKER_CODE = C.WORKER_CODE
AND D.WORK_CODE = C.WORK_CODE
h: D.WORK_CODE, A.WORKER_CODE

SQ 3 i: SELECT
j: FROM WORK_ACTUAL_TBL
k: ORDER BY
l: ASC
SQ 4 m: view table n: implementation o: function

[Score Allocation] Total 24 points


SQ 1 (1) 4 points (Relation (arrow): 2 points, Entity (boxes): 2 points)
(2) 1 point x 3 = 3 points
(Even if the item name is correct, score will not be given when the underline representing
key item is wrong.)
SQ 2 7 points (1 point each, with the exception of 3 points for g)
SQ 3 1 points x 4 = 4 points
SQ 4 2 points x 3 = 6 points

You might also like