Skip to content
Question

Q.Observe the following tables, EMPLOYEES and DEPARTMENT carefully and answer the questions that follow: TABLE : EMPLOYEES ENO ENAME DOJ DNO E1 NUSRAT 2001-11-21 D3 E2 KABIR 2005-10-25 D1 TABLE : DEPARTMENT DNO DNAME D1 ACCOUNTS D2 HR D3 ADMIN

(i) What is the Degree of the table EMPLOYEES? What is the cardinality of the table DEPARTMENT?
(ii) What is a Primary Key? Explain.
(OR)
Differentiate between Selection and Projection operations in context of a Relational Database. Also, illustrate the difference with one supporting example of each.
CBSECBSE Class XII Board 2020Subjective· 2mImportance★★★★★
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

Part (a): degree of EMPLOYEES = 4, cardinality of DEPARTMENT = 3; a primary key uniquely identifies each row. Part (b): Selection chooses rows by condition (horizontal), Projection chooses columns (vertical).

Part (a)

(i) In relational-database terms, the degree of a table is its number of columns (attributes). EMPLOYEES has four columns — ENO, ENAME, DOJ, DNO — so its degree is 4. The cardinality is the number of rows (tuples). DEPARTMENT has three rows (D1, D2, D3), so its cardinality is 3. …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.