Browsed by
Category: Blog

What is DML (Data Manipulation Language)?

What is DML (Data Manipulation Language)?

DData Manipulation Language (DML) is a language that enables the user to access or manipulate data as organized by the appropriate data model. For example- SELECT, UPDATE, INSERT, DELETE. There is two type of DML: Procedural DML or Low level DML: It requires a user to specify what data are needed and how to get those data. Non-Procedural DML or High level DML:It requires a user to specify what data are needed without specifying how to get those data.

What are the integrity rules in DBMS?

What are the integrity rules in DBMS?

Data integrity is one significant aspect while maintaining the database. So, data integrity is enforced in the database system by imposing a series of rules. Those set of integrity is known as the integrity rules. There are two integrity rules in DBMS: Entity Integrity : It specifies that “Primary key cannot have a NULL value.” Referential Integrity: It specifies that “Foreign Key can be either a NULL value or should be the Primary Key value of other relation

Describe the types of keys?

Describe the types of keys?

There are following types of keys: Primary key: The Primary key is an attribute in a table that can uniquely identify each record in a table. It is compulsory for every table. Candidate key: The Candidate key is an attribute or set of an attribute which can uniquely identify a tuple. The Primary key can be selected from these attributes. Super key: The Super key is a set of attributes which can uniquely identify a tuple. Super key is a…

Read More Read More

DBMS Interview Questions – Set 10

DBMS Interview Questions – Set 10

What is System R? How many of its two major subsystems? System R was designed and developed from 1974 to 1979 at IBM San Jose Research Centre. System R is the first implementation of SQL, which is the standard relational data query language, and it was also the first to demonstrate that RDBMS could provide better transaction processing performance. It is a prototype which is formed to show that it is possible to build a Relational System that can be…

Read More Read More

What are the advantages of DBMS?

What are the advantages of DBMS?

Redundancy control Restriction for unauthorized access Provides multiple user interfaces Provides backup and recovery Enforces integrity constraints Ensure data consistency Easy accessibility Easy data extraction and data processing due to the use of queries The advantages of a Database Management System (DBMS) include: Data Centralization: DBMS allows for centralized control and management of data, ensuring data consistency and integrity across the organization. Data Sharing: Multiple users and applications can access the same data simultaneously, promoting data sharing and collaboration. Data…

Read More Read More

Explain the functionality of DML Compiler.

Explain the functionality of DML Compiler.

The DML Compiler translates DML statements in a query language that the query evaluation engine can understand. DML Compiler is required because the DML is the family of syntax element which is very similar to the other programming language which requires compilation. So, it is essential to compile the code in the language which query evaluation engine can understand and then work on those queries with proper output.

What do you mean by extension and intension?

What do you mean by extension and intension?

Extension: The Extension is the number of tuples present in a table at any instance. It changes as the tuples are created, updated and destroyed. The actual data in the database change quite frequently. So, the data in the database at a particular moment in time is known as extension or database state or snapshot. It is time dependent. Intension: Intension is also known as Data Schema and defined as the description of the database, which is specified during database…

Read More Read More

DBMS Interview Questions

DBMS Interview Questions

DBMS Interview Questions – Set 11 DBMS Interview Questions – Set 10 DBMS Interview Questions – Set 09 DBMS Interview Questions – Set 08 DBMS Interview Questions – Set 07 DBMS Interview Questions – Set 06 DBMS Interview Questions – Set 05 DBMS Interview Questions – Set 04 DBMS Interview Questions – Set 03 DBMS Interview Questions – Set 02 DBMS Interview Questions – Set 01

What is database or DBMS? What’s the difference between file and database? Can files qualify as a database?

What is database or DBMS? What’s the difference between file and database? Can files qualify as a database?

Database provides a systematic and organized way of storing, managing and retrieving from collection of logically related information. Secondly the information has to be persistent, that means even after the application is closed the information should be persisted. Finally it should provide an independent way of accessing data and should not be dependent on the application to access the information. Main difference between a simple file and database that database has independent way (SQL) of accessing information while simple files…

Read More Read More

What is a checkpoint in DBMS?

What is a checkpoint in DBMS?

The Checkpoint is a type of mechanism where all the previous logs are removed from the system and permanently stored in the storage disk. There are two ways which can help the DBMS in recovering and maintaining the ACID properties, and they are- maintaining the log of each transaction and maintaining shadow pages. So, when it comes to log based recovery system, checkpoints come into existence. Checkpoints are those points to which the database engine can recover after a crash…

Read More Read More