Class 8 Dbms
Class 8 Dbms
3. What is DBMS?
Ans. A Database Management System (DBMS) is a software application that is
designed to create, manage, update, organize and access data stored in a
database in a structured manner. It allows users to create, modify, and query a
database, as well as manage the security and access controls for that database.
8.What is SQL?
Ans. Structured Query language is a standard database programming language,
which is used for accessing and manipulating data in a database. SQL was the
first commercial language introduced for RDBMS. Within SQL, there are two
forms of language: DDL and DML.
1. DDL: It stands for Data Definition Language: It is used to define the
structure (or schema) of a database. This includes attributes within each table,
name of each table, name of database etc. Following commands are part of
DDL: CREATE, ALTER, DROP, TRUNCATE, COMMENT, RENAME etc. 2.
DML: It stands for Data Manipulation Language. It is used to work with the
actual data in the database. It is used to store, modify, retrieve, delete and update
data in a database. Following commands are part of DML:
SELECT: It retrieves data from a database.
INSERT: It inserts data in the database.
UPDATE: It updates existing data within a table.
DELETE: It deletes all records from a database table.