You are on page 1of 1

1.

1 SQL Overview
Oracle Lite uses the SQL (Structured Query Language) database language to store and retrieve data. It includes the following categories of SQL statements: y DDL (Data Definition Language) Used to create, alter, or drop database objects, such as schemas, tables, columns, views, and sequences. For example, statements that use the commands, ALTER, CREATE, DROP, GRANT, and REVOKE. y DML (Data Manipulation Language) Used to query and manipulate data in existing schema objects. For example, statements that use the commands, SELECT, INSERT, UPDATE, and DELETE. y TCL (Transaction Control Language) These statements manage changes made in DML statements. For example, statements that use the commands, COMMIT, ROLLBACK, and SAVEPOINT. y Clause Subsets of commands that modify commands. Oracle Lite supports CONSTRAINT and DROP clauses. y Pseudocolumns Values generated from commands that behave like columns of a table but are not actually stored in the table. Oracle Lite supports the LEVEL and ROWNUM pseudocolumns. y Functions Operate on data to transform or aggregate it. For example, TO_DATE to transform a date column into a particular format, and SUM to total all values for a column.

You might also like