What is the need for normalization? Explain 2nd and 3rd normal form with example.
Consider the following relation:
EMP_PROJ { SSn, Pnumber, Hours, Ename, Pname, Plocation}
Assume { SSn, Pnumber} as primary key.
The dependencies are {SSn, Pnumber}→ Hours; SSn →Ename; Pnumber → {Pname, Plocation}.
Normalize the above relation into 2NF.
23 January, 2022Consider the following relations and write down expressions for the following queries:
EMP (eid, ename, age, address, salary)
Works (eid, did, hours)
Dept (did, dname, managerid)
Explain how to reduce a relationship set of an E-R diagram into relational schema.
23 January, 2022State the steps involved in query processing. Why is the query optimization needed?
23 January, 2022What is attribute inheritance? Describe the concept of specialization and generalization in the context of ER-data model.
21 November, 2024State the advantages of using database system over file-based information system.
21 November, 2024