0% found this document useful (0 votes)
44 views

Pranjal Jalan - DBMS - Assignment 3

This document contains Pranjal Jalan's answers to an assignment involving database concepts. It defines primary keys, secondary keys, and foreign keys. It states that a soft box in ER modeling conventions refers to optional attributes. It defines a data dictionary as a set of files containing a database's metadata. It lists the Data Manipulation Language commands as SELECT, INSERT, UPDATE, and DELETE and the Data Definition Language commands as CREATE, DROP, and ALTER. It provides GRANT and REVOKE as examples of Data Control Language commands.

Uploaded by

Pranjal Jalan
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
44 views

Pranjal Jalan - DBMS - Assignment 3

This document contains Pranjal Jalan's answers to an assignment involving database concepts. It defines primary keys, secondary keys, and foreign keys. It states that a soft box in ER modeling conventions refers to optional attributes. It defines a data dictionary as a set of files containing a database's metadata. It lists the Data Manipulation Language commands as SELECT, INSERT, UPDATE, and DELETE and the Data Definition Language commands as CREATE, DROP, and ALTER. It provides GRANT and REVOKE as examples of Data Control Language commands.

Uploaded by

Pranjal Jalan
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 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