English
Tamil Nadu Board of Secondary EducationHSC Science Class 12

Explain the DDL command of their functions in SQL. - Computer Applications

Advertisements
Advertisements

Question

Explain the DDL command of their functions in SQL.

Long Answer

Solution

SQL- Structured Query Language is a standard language used for accessing and manipulating databases. It is declared as standard by American National Standards Institute (ANSI) and International Organization for Standardization (ISO) in 1986 and 1987 respectively.

Types of SQL Commands Different SQL commands are available to perform various functions. SQL commands are classified into five major categories depending on their functionality.

  • Data Definition Language (DDL)

The DDL commands are used to define the database schema (Structure). Also to create and modify the structure of the database object in the database. CREATE, ALTER, DROP, RENAME and TRUNCATE commands belongs to this category.

SQL DDL COMMANDS List

Commands Description
CREATE Used to create database or tables
ALTER Modifies the existing structure of database or table
DROP Deletes a database or table.
RENAME used to rename an existing object in the database
TRUNCATE Used to delete all table records
shaalaa.com
Introduction to SQL
  Is there an error in this question or solution?
Chapter 3: Introduction to Database Management System - Evaluation - PART – IV [Page 83]

APPEARS IN

Samacheer Kalvi Computer Applications [English] Class 12 TN Board
Chapter 3 Introduction to Database Management System
Evaluation - PART – IV | Q 5. | Page 83
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×