This repository contains practice exercises and solutions for Oracle SQL and PL/SQL programming, covering fundamental to advanced database concepts.
- DDL (Data Definition Language) - CREATE, ALTER, DROP, TRUNCATE
- DML (Data Manipulation Language) - INSERT, UPDATE, DELETE, MERGE
- DQL (Data Query Language) - SELECT statements, JOINs, subqueries
- DCL (Data Control Language) - GRANT, REVOKE
- Basics - Variables, data types, control structures
- Functions - User-defined functions, built-in functions
- Procedures - Stored procedures, parameter handling
- Exceptions - Error handling, custom exceptions
- Triggers - DML triggers, DDL triggers, system triggers
- Packages - Package specification and body, encapsulation
oracle-PLSQL/
βββ solutions/ # Exercise solutions organized by series
β βββ serie1/ # Series 1 exercises
β β βββ EX1.sql
β β βββ EX2.sql
β βββ serie2/ # Series 2 exercises
β β βββ EX1.sql
β β βββ EX2.sql
β β βββ EX3.sql
β β βββ EX4.sql
β βββ serie3/ # Series 3 practical work (TP)
β β βββ TP1.sql
β β βββ TP2.sql
β βββ serie4/ # Series 4 exercises
β βββ EX.sql
βββ src/setup/ # Database setup scripts
β βββ serie1/
β β βββ setup_ex1.sql
β β βββ setup_ex2.sql
β βββ serie2/
β β βββ setup_ex1.sql
β βββ serie3/
β β βββ setup_TP2.sql
β βββ serie4/
β βββ setup_S4.sql
βββ series/ # Exercise descriptions (if applicable)
- Oracle Database (11g or higher recommended)
- SQL*Plus, SQLcl, or Oracle SQL Developer
- Basic understanding of SQL and PL/SQL