Define Database Management System
Define Database Management System
11. Define data definition language (DDL) and data manipulation language (DML).
A data definition language (DDL) is a language for specifying the database schema
and other properties of the data.
Data manipulation language (DML) is a language that enables users to access or
manipulate data.
12. What is DML compiler?
DML compiler, which translates DML statements in a query language into an
evaluation plan consisting of low-level instructions that the query-evaluation engine
understands.
13. Describe three-tier architecture in modern database application?
Modern database applications use a three-tier architecture, where the client machine
acts as merely a front end and does not contain any direct database calls; web
browsers and mobile applications are the most commonly used application clients
today. The front end communicates with an application server. The application server,
in turn, communicates with a database system to access data.
20. Super Key: A super K is an attribute or a set of attributes, that identifies a unique tuple
in a relation .No two distinct tuples have the same values.
21. Candidate Key: A relation will have more than one attribute that can serve as a
primary key. Any key or minimum set of keys that could be a primary key is called a
candidate key.
22. Primary Key: A primary key is an attribute or a set of attributes, that uniquely
identifies any tuple in a relation .Prohibited for having same value on the key
attributes of any two tuples. Choose one of the candidate keys as primary key.
23. Foreign Key: Foreign key is an attribute or set of attributes, within an relation that
matches candidate key of some relation.
Foreign key constraint: Value in one relation must appear in another
-Referencing relation
-Referenced relation.
24. What is a transaction? Describe two SQL statement for end of transaction.
A transaction consists of a sequence of query and/or update statement. Two SQL
statements for end of transaction are: commit work and rollback work.