answersLogoWhite

0


Best Answer

The Data Definition Language (DDL). This component of the SQL language is used to create and modify tables and other objects in the database. For tables there are three main commands:

CREATE TABLE tablename to create a table in the database

DROP TABLE tablename to remove a table from the database

ALTER TABLE tablename to add or remove columns from a table in the database.

The Data Manipulation Language (DML) component of the SQL language is used to manipulate data within a table. There are four main commands:

then,

SELECT to select rows of data from a table

INSERT to insert rows of data into a table

UPDATE to change rows of data in a table

DELETE to remove rows of data from a table

User Avatar

Wiki User

12y ago
This answer is:
User Avatar
More answers
User Avatar

Saad Latif

Lvl 2
2y ago

[object Object]

This answer is:
User Avatar
User Avatar

Marlon Klocko

Lvl 1
2y ago
nice

User Avatar

Anonymous

Lvl 1
4y ago

DDL And DML

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are the two major components of SQL and what function do they serve?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Information Science

Why do you need to study SQL?

If you want to learn to work with databases, then knowing SQL can be very important. It is a language that allows you to manipulate data. You will find variations of SQL in many database applications. You can work with databases without knowing SQL, but it is a major advantage to know it, as you will be able to do a lot more.If you want to learn to work with databases, then knowing SQL can be very important. It is a language that allows you to manipulate data. You will find variations of SQL in many database applications. You can work with databases without knowing SQL, but it is a major advantage to know it, as you will be able to do a lot more.If you want to learn to work with databases, then knowing SQL can be very important. It is a language that allows you to manipulate data. You will find variations of SQL in many database applications. You can work with databases without knowing SQL, but it is a major advantage to know it, as you will be able to do a lot more.If you want to learn to work with databases, then knowing SQL can be very important. It is a language that allows you to manipulate data. You will find variations of SQL in many database applications. You can work with databases without knowing SQL, but it is a major advantage to know it, as you will be able to do a lot more.If you want to learn to work with databases, then knowing SQL can be very important. It is a language that allows you to manipulate data. You will find variations of SQL in many database applications. You can work with databases without knowing SQL, but it is a major advantage to know it, as you will be able to do a lot more.If you want to learn to work with databases, then knowing SQL can be very important. It is a language that allows you to manipulate data. You will find variations of SQL in many database applications. You can work with databases without knowing SQL, but it is a major advantage to know it, as you will be able to do a lot more.If you want to learn to work with databases, then knowing SQL can be very important. It is a language that allows you to manipulate data. You will find variations of SQL in many database applications. You can work with databases without knowing SQL, but it is a major advantage to know it, as you will be able to do a lot more.If you want to learn to work with databases, then knowing SQL can be very important. It is a language that allows you to manipulate data. You will find variations of SQL in many database applications. You can work with databases without knowing SQL, but it is a major advantage to know it, as you will be able to do a lot more.If you want to learn to work with databases, then knowing SQL can be very important. It is a language that allows you to manipulate data. You will find variations of SQL in many database applications. You can work with databases without knowing SQL, but it is a major advantage to know it, as you will be able to do a lot more.If you want to learn to work with databases, then knowing SQL can be very important. It is a language that allows you to manipulate data. You will find variations of SQL in many database applications. You can work with databases without knowing SQL, but it is a major advantage to know it, as you will be able to do a lot more.If you want to learn to work with databases, then knowing SQL can be very important. It is a language that allows you to manipulate data. You will find variations of SQL in many database applications. You can work with databases without knowing SQL, but it is a major advantage to know it, as you will be able to do a lot more.


What is Resource-Intensive SQL?

Resourse-Intensive SQL is


What are the advantages of SQL?

what are some advantages in MS SQL


What is the difference between sql and an sql server?

SQL is an abbreviation for Structured Query Language. SQL is a means to request data from a database. SQL is a standards based langage that has many versions approved by the American National Standards Institute (ANSI). There are many versions of ANSI-SQL and most databases support specific versions of ANSI-SQL. SQL Server is a database management system that was originally created by Sybase. Microsoft bought the rights from Sybase to market their own version of SQL Server on the Microsoft Windows operating system. Sybase still has versions of SQL Server on other operating systems. When people refer to SQL Server, they typically mean "Microsoft SQL Server." Microsoft SQL Server is a database management system (DBMS) that utilizes SQL (or more specifically Transact-SQL, or T-SQL) as a means to extract data from it's database tables.


What are the SQL instances?

SQL stands for structured query language in short . SQL instances means data in a database at a particular instant of time.

Related questions

What are function bus system in the database?

What are the two major components of SQL What function do they serve


What is a character function in SQL?

Spongebob


In SQL what is the function of the union operator?

In SQL, the function of the union operator is to combine the result of two or more select-statements. The union operator is a very useful tool when coding SQL.


Which tool is available in sql server 2005 that lets you stop or disable unused components?

sql server management


How to define a user defined function in SQL?

Not possible in SQL, but possible in many vendor-specific SQL-based languages like Oracle PL/SQL.


What does the SQL Max function do?

The "SQL Max function" is a computer programming term, which can be used in spreadsheets to give the highest value from the currently selected column.


What is the function of a Foreign Key in SQL?

foreign key in the sql is to query on the related information aavailable in the table.


What is the function of SQL compare?

SQL compare is used to compare and synchronize data bases.It can be downloaded as a piece of software.Databases can be compared by SQL compare and synchronized.


What is the function of an SQL server replication?

The function of an SQL server replication is to restrict the control that a user has. Limiting these possibilities ensures safety on networks and with untrusted users.


What purpose does SQL inserts serve?

The purpose of a SQL inserts serve as allowing you to add data, for example a chart or a column afterwards. It works to hold the place for potential future data information.


What does the replace command perform in SQL?

The replace command function in SQL preforms comparisons on the collation of an input or inputs. It also replaces the text in a string of the SQL server.


What is the function of Microsoft SQL?

SQL is a relational database management system. The very first function of this software is to keep the data safe and retrieve it When it is asked by other software applications.