Short Notes DBMS
Short Notes DBMS
Short Notes DBMS
1. What is DBMS?
It is a collection of programs that enables user to
create and maintain a database. In other words it is
general-purpose software that provides the users with the
processes of defining, constructing and manipulating the
database for various applications.
3. Advantages of DBMS?
Redundancy is controlled.
Unauthorised access is restricted.
Providing multiple user interfaces.
Enforcing integrity constraints.
Providing backup and recovery.
75. Define SQL and state the differences between SQL and
other conventional programming Languages
SQL is a nonprocedural language that is designed
specifically for data access operations on normalized
relational database structures. The primary difference
between SQL and other conventional programming
languages is that SQL statements specify what data
operations should be performed rather than how to
perform them.
81. How can you find the minimal key of relational schema?
Minimal key is one which can identify each tuple of
the given relation schema uniquely. For finding the
minimal key it is required to find the closure that is
the set of all attributes that are dependent on any
given set of attributes under the given set of
functional dependency.
Algo. I Determining X+, closure for X, given set of
FDs F
1. Set X+ = X
2. Set Old X+ =
X+
3. For each FD Y Z in F and if Y
belongs to X+ then add Z to X+
4. Repeat steps 2 and 3 until Old X+ = X+