DBMS_Assignment_Answers
DBMS_Assignment_Answers
Answer:
A functional dependency (FD) is a relationship between two attributes, typically between the primary key and other
If A and B are attributes of relation R, B is functionally dependent on A (denoted A -> B), if each value of A is associated
Example:
Here, Roll_No -> Name, Dept (Roll_No uniquely determines Name and Dept)
Diagrammatic Representation:
---> Dept
Answer:
Syntax:
...
DBMS Assignment-I Answers
);
Example:
Name VARCHAR(50),
Age INT,
Dept VARCHAR(30)
);
3. Illustrate the informal design guidelines for relation schemas with example?
Answer:
Example:
Poor Design:
Improved Design:
Department(Dept_ID, Dept_Name)
Answer:
Syntax:
Examples:
Answer:
Ambiguous Attribute Name: Occurs when multiple tables have columns with the same name.
Example: