Contains SQL practise problems and solutions.
- Single statement SQL were solved focusing on oracle database whereas PL/pgSQL were written focusing on postgreSQL.
- Most of the files use sample hr database of oracle sql. So before running them, your system must be connected to sample hr database.
This repository contain my solutions to the practise problems and sql written by me. Your solution may differ.
- Open the oracle handbook from assets
- Read the topics and try to solve the practise problems
- If you are stuck you can see the solution from this repository. Use the index section.
Single Statement SQL
- Chapter 2: Retrieve Data From Database Tables
- Chapter 3: Use of Oracle Single Row Functions
- Chapter 4: Aggregate Functions
- Chapter 5: Query Multiple Tables - Joins
- Chapter 6: Query Multiple Tables - Sub-query
- Chapter 7: Set Operations
- Chapter 8: Data Manipulation Language(DML)
- Chapter 9: Data Definition Language(DDL)
PL/pgSQL