0% found this document useful (0 votes)
38 views7 pages

Lecture No # 6: Computer Science Class XI

SQL is a standard language used to access and manipulate databases. There are three types of SQL languages: Data Definition Language (DDL) which defines data structures and creates/alters/deletes database objects; Data Manipulation Language (DML) which manages and manipulates data by retrieving, inserting, updating, and deleting records; and Data Control Language (DCL) which controls user access to data by granting and revoking permissions.

Uploaded by

Saghri Khattak
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
38 views7 pages

Lecture No # 6: Computer Science Class XI

SQL is a standard language used to access and manipulate databases. There are three types of SQL languages: Data Definition Language (DDL) which defines data structures and creates/alters/deletes database objects; Data Manipulation Language (DML) which manages and manipulates data by retrieving, inserting, updating, and deleting records; and Data Control Language (DCL) which controls user access to data by granting and revoking permissions.

Uploaded by

Saghri Khattak
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 7

Lecture No # 6

Computer Science
Class XI
Topic: Database Languages
Database Language
SQL (Structured Query Language) is a standard
language for accessing and manipulating databases.
There are three types of SQL languages for
relational databases. These are
1. Data Definition Language (DDL)
2. Data Manipulation Language (DML)
3. Data Control Language (DCL)
Data Definition Language
Data definition Language (DDL) is a computer
language for defining different data structures. DDL
statements create, modify and remove data objects
such as tables. Some important tasks of DDL are:
1. To create objects in a database model
2. To alter the structure of the database.
3. To delete objects from the database.
Data Manipulation Language
Data Manipulation Language (DML) statements
are used to manage or manipulate data. Some
examples of DML tasks are:-
1. To retrieve data from a database.
2. To insert data into a table.
3. To update existing data within a table.
4. To delete records from a table.
Data Control Language
Data Control Language (DCL) is used for
controlling the data. A user can access the data
based on the privileges given to him. Some
important tasks of DCL are:-
1. To allow specified users to perform specific
tasks.
2. To disallow specified users from performing
specified tasks.
3. To cancel previously granted or denied
persmissions.
Thank You

You might also like