Introduction
This chapter will cover two broad areas of Teradata: one will be advanced SQL and the other will be backup and recovery.
Structured query language (SQL) is the relational database language used to store, retrieve, and manipulate data in databases. Teradata also uses SQL to work with datasets stored in the database.
Teradata SQL is basically divided into three parts:
- Data definition language (DDL): These like
CREATE
 andÂDROP
- Data manipulation language (DML): These are like
SELECT
,INSERT
, andÂDELETE
- Data control language (DCL): These are like
GRANT
 andÂREVOKE
Other than these basic SQL functions, Teradata Database has advanced SQL at its disposal. Advanced SQL helps users to execute complex cases and run more advanced data analytic functions.
Some of the advanced Teradata SQL features are:
- Windows aggregate function
- Ordered analytic function
- Extended time and date function
- Advanced ranking function
- Advanced sampling and random function
- Extended grouping function
- Merge into function
- Large binary...