ITI Database Notes (Rami)
Database notes related to ITI database course provided by Eng. Rami
Introduction
Welcome to my SQL repository! This repository aims to provide comprehensive notes and practical examples covering essential SQL querying techniques, database management concepts, and useful functions. Whether you're a beginner learning SQL or looking to expand your database skills, this repository offers insights and examples to help you understand and master these fundamental concepts.
Contents
Database Life cycle
ERD
Types of entities
Types of atrributes
Relation
Types of Keys
Categories of Microsoft Transact-SQL
DDL - Create queries
DML Queries
DQL
Type Of Joins
Cross Join
Inner Join
Outer Join
Self Join
Joins With More than Two Tables
Join With DML
Built In Functions
Is Null
Coalesce
Auto increment ID
Like Statement
Database Integrity
Constraints
Aggregate Functions
Group By
Having
Set Operators
Subquery
Subquery With DML
Execution Order
Batch, Script,Transaction
Drop, Delete ,Truncate
Identity
Built In Functions
Schema
Top
NEWID
Select Into
RankingFunctions
Row Number
Dense Rank
NTile
Rank
Partition By
Merge
Variables
Local Variables
Global Variables
Flow Control
IF
IF exists & IF not exists
While
Case When
IIF
Windowing Functions (LEAD & LAG)
Functions
Scalar Functions
Inline Functions
Mulit-Statement Functions
Index
Cursor
View
Pivot And Grouping
Stored Procedure
Triggers
Usage
This repository provides SQL code snippets and explanations to help you understand and apply these concepts effectively. Whether you're studying SQL, preparing for interviews, or working on database projects, these examples offer practical insights and guidance.
How to Use
Feel free to explore the repository:
Browse: Navigate through different files to find specific topics of interest.
Clone: Clone the repository to your local machine to experiment with SQL queries and examples.
Contribute: Contributions and improvements are welcome via pull requests.
Examples
Here are examples of what you'll find in this repository:
Joining tables to combine data from different sources.
Using aggregate functions to calculate statistics from data sets.
Combining and comparing data sets using set operators.
Using subqueries for complex data retrieval and manipulation.
Managing transactions to ensure database consistency and reliability.
Contact
For any questions, feedback, or inquiries, feel free to reach out:
Email: ahmed.elmaadawy03@gmail.com
GitHub: My GitHub Profile
Last updated