Skip to content

Repository files navigation

Beginner Friendly SQL Server Scripts🚀


📖 Overview


A collection of SQL Server scripts inspired by C programs and common interview questions.
Designed for beginners, SQL Developers, and Junior DBAs preparing for interviews.


✅ Basic Scripts

  • Addition, Subtraction, Multiplication, Division
  • Factorial Number
  • Palindrome (String/Number)
  • Power Calculation (x^y)
  • Armstrong Number
  • Perfect Number
  • Vowels and Consonants Count

🔢 Number-Based Scripts

  • Prime Number
  • Fibonacci Series
  • Reverse a Number
  • Sum of Digits
  • Count Digits
  • Even/Odd Number
  • Swap Two Numbers (with/without third variable)
  • Strong Number

✅ Star-Based Scripts

  • Right Half Pyramid Pattern
  • Left Half Pyramid Pattern
  • Full Pyramid Pattern
  • Rhombus Pattern
  • Diamond Pattern
  • Hourglass Pattern
  • Hollow Square Pattern
  • Hollow Full Pyramid Pattern
  • Hollow Diamond Pattern
  • Hollow Hourglass Pattern
  • Floyd's Triangle
  • Pascal's Triangle

📖 How to Use

  1. Clone the repository:
    git clone https://github.com/ChiFrontEnd/Beginner-Friendly-SQL-Server.git

📌 Tags


Beginner Friendly Interview Prep SQL Server T-SQL DBA Backup & Recovery Performance Tuning SQL Queries


🤝 Contributions

Pull requests are welcome! If you’d like to add more beginner-friendly SQL programs or DBA notes, please contribute.


👧 Author

Author Name:     Trupti Y. Sabale  
Created:         28-Jun-2026
Updated:         28-Jun-2026

All the best! 🥇

About

Beginner-friendly exercises, queries, and DBA notes for learning.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors