Skip to content

This repository contains the tasks we took at ITI Alexandria during the databases course along with my own answers to it, and the backups of the databases used in the tasks.

Notifications You must be signed in to change notification settings

MohabWafaie/SQL-ITI-Tasks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

ITI Alexandria – SQL Tasks & Solutions

This repository contains a complete collection of SQL labs and solutions completed during the Databases course at ITI Alexandria using Microsoft SQL Server.

πŸ“ Folder Structure

  • labs/: Contains 8 lab folders, each representing a separate lab session with SQL tasks and my own answers to each task.
  • databases/: Contains .bak backup files for the databases used in each lab, so you can restore them locally on Microsoft SQL Server.

🧠 Topics Covered

The labs cover a wide range of topics, progressing from beginner to advanced levels:

πŸ“Œ Database Fundamentals

  • Database Design
  • ERD (Entity-Relationship Diagram)
  • Database Mapping
  • Schema Design

πŸ› οΈ SQL Basics

  • CREATE, SELECT
  • WHERE, LIKE, TOP
  • CONSTRAINTS, RULES
  • Data Types

πŸ”— Joins & Queries

  • JOIN (INNER, LEFT, RIGHT, FULL)
  • GROUP BY, HAVING, Aggregation Functions
  • Subqueries
  • UNION

🧾 Advanced SQL Features

  • SELECT INTO
  • Ranking Functions (RANK, DENSE_RANK, ROW_NUMBER)
  • MERGE
  • Variables, Conditions, Loops

🧰 Database Programming

  • Functions (Scalar & Table-Valued)
  • Parameters
  • Indexes
  • Views
  • Cursors
  • Stored Procedures
  • Triggers

πŸ”„ How to Use

  1. Clone the repository.
  2. Restore the databases using the backup files in the databases/ folder.
  3. Browse through the labs/ folder to view the SQL tasks and corresponding answers.
  4. Run the SQL scripts in Microsoft SQL Server Management Studio (SSMS).

βš™οΈ Tools Used

  • Microsoft SQL Server
  • SSMS (SQL Server Management Studio)

πŸ“š Purpose

This project showcases my learning journey and practical experience with SQL through a structured series of labs at ITI Alexandria. It can serve as a helpful resource for anyone looking to understand SQL through progressively challenging tasks.

About

This repository contains the tasks we took at ITI Alexandria during the databases course along with my own answers to it, and the backups of the databases used in the tasks.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages