You are on page 1of 1

SQL Language

SQL (Structure Query Language) is the language of databases and it is split into 2
sub-languages: DML (Data Manipulation Language) and DDL (Data Definition
Language). It facilitates retrieving specific information, from databases, that are
used for analysis. This programming language has different uses for data analysts
and data science professionals. It is particularly helpful because it can:
(bold words are SQL commands)
1. execute queries against databases;
2. retrieve data from databases;
3. insert, delete and update records into the tables of databases;
4. create, alter and drop (delete) new tables and other objects in databases;
5. create, alter and delete new databases;
6. set permissions on tables, procedures and view.
SQL queries refer to statements used to request or retrieve data from a database.
A query usually contains the following three elements:
1. a verb that determines the type of operation (such as SELECT. It is one of
the most popular commands and every request begins with a select query);
2. a predicate object that specifies one or more field names of one or more
table objects;
3. a prepositional clause that determines the objects in the database.
The simplest SQL query that you can construct is: SELECT + fields + FROM *table
name*.

You might also like