You are viewing a free preview of this lesson.
Subscribe to unlock all 10 lessons in this course and every other course on LearningBro.
Structured Query Language (SQL) is the standard language for interacting with Oracle Database. Oracle's implementation of SQL follows the ANSI/ISO SQL standard with powerful extensions. This lesson covers the essential SQL statements for querying, inserting, updating, and deleting data.
| Category | Statements | Purpose |
|---|---|---|
| DML (Data Manipulation Language) | SELECT, INSERT, UPDATE, DELETE, MERGE | Query and modify data |
| DDL (Data Definition Language) | CREATE, ALTER, DROP, TRUNCATE | Define database objects |
| DCL (Data Control Language) | GRANT, REVOKE | Control access privileges |
| TCL (Transaction Control Language) | COMMIT, ROLLBACK, SAVEPOINT | Manage transactions |
SELECT column1, column2
FROM table_name
WHERE condition
ORDER BY column1;
SELECT * FROM employees;
SELECT first_name AS "First Name",
salary * 12 AS annual_salary
FROM employees;
SELECT DISTINCT department_id FROM employees;
Subscribe to continue reading
Get full access to this lesson and all 10 lessons in this course.