Pranjal Jalan - DBMS - Assignment 3

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

Pranjal Jalan

ECE – B
1709700076
--------------------------------------------------------------------------------------------------------
Assignment-3

1. State the Primary, Secondary and Foreign Keys.


Ans. It refers to the field in a table which is the primary key of another table. Only one
primary key is allowed in a table. Whereas more than one foreign key are allowed in a
table. It is a combination of UNIQUE and Not Null.

2. What is the soft box in ER Modelling Conventions?


Ans. These include querying, inserting data, updating data, deleting data, and
reversing transactions. DML commands include SELECT, INSERT, UPDATE, and
DELETE.

3. Define data dictionary in RDBMS.


Ans. A data dictionary is a file or a set of files that contains a database's metadata. The
data dictionary contains records about other objects in the database, such as data
ownership, data relationships to other objects, and other data. The data dictionary is a
crucial component of any relational database.

4. Write the name of the commands used in Data Manipulation Language


(DML).
Ans. These include querying, inserting data, updating data, deleting data, and
reversing transactions. DML commands include SELECT, INSERT, UPDATE, and D
5. Write the name of the commands used in Data Definition Language (DDL).
Ans. This lesson has identified data definition language (DDL), a term used to cover
SQL statements that update and/or manipulate a database structure. These commands
include CREATE, DROP, and ALTER, and are used to add/drop tables, views,
indexes, and triggers.

6. Write the name of the commands used in Data Control Language (DCL).
Ans. Examples of DCL commands include: GRANT to allow specified users to
perform specified tasks. REVOKE to remove the user accessibility to database object.

You might also like