Use app×
QUIZARD
QUIZARD
JEE MAIN 2026 Crash Course
NEET 2026 Crash Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
0 votes
181 views
in Structured Query Language by (30.9k points)
closed by

Which are the components of SQL? How do they help to manage database?

1 Answer

+1 vote
by (31.4k points)
selected by
 
Best answer

The components of SQL are given below. 

a. DDL commands ( 3 commands): 

1. Create table – Used to create a table. 

2. Alter table – Used to modify existing column or add new column to an existing table. There are 2 keywords used ADD and MODIFY. 

3. Drop table – Used to remove a table from the memory. 

b. DML commands ( 4 commands): 

1. Select – Used to select rows from a table. The keyword From is used with this. Where clause is used to specify the condition. 

2. Insert – Used to insert new records into a table. So the keyword used is INTO.

3. Delete – Used to delete records in a table. 

4. Update – Used to modify the records in a table the keyword used is set.

c. DCL (Data Control Language) commands: 

1. Grant – It grants permission to the users to the database 

2. Revoke – It withdraws user’s rights given by using Grant command

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

...