โ
Useful Platform to Practice SQL Programming ๐ง ๐ฅ๏ธ
Learning SQL is just the first step โ practice is what builds real skill. Here are the best platforms for hands-on SQL:
1๏ธโฃ LeetCode โ For Interview-Oriented SQL Practice
โข Focus: Real interview-style problems
โข Levels: Easy to Hard
โข Schema + Sample Data Provided
โข Great for: Data Analyst, Data Engineer, FAANG roles
โ Tip: Start with Easy โ filter by โDatabaseโ tag
โ Popular Section: Database โ Top 50 SQL Questions
Example Problem: โFind duplicate emails in a user tableโ โ Practice filtering, GROUP BY, HAVING
2๏ธโฃ HackerRank โ Structured & Beginner-Friendly
โข Focus: Step-by-step SQL track
โข Has certification tests (SQL Basic, Intermediate)
โข Problem sets by topic: SELECT, JOINs, Aggregations, etc.
โ Tip: Follow the full SQL track
โ Bonus: Company-specific challenges
Try: โRevising Aggregations โ The Count Functionโ โ Build confidence with small wins
3๏ธโฃ Mode Analytics โ Real-World SQL in Business Context
โข Focus: Business intelligence + SQL
โข Uses real-world datasets (e.g., e-commerce, finance)
โข Has an in-browser SQL editor with live data
โ Best for: Practicing dashboard-level queries
โ Tip: Try the SQL case studies & tutorials
4๏ธโฃ StrataScratch โ Interview Questions from Real Companies
โข 500+ problems from companies like Uber, Netflix, Google
โข Split by company, difficulty, and topic
โ Best for: Intermediate to advanced level
โ Tip: Try โHardโ questions after doing 30โ50 easy/medium
5๏ธโฃ DataLemur โ Short, Practical SQL Problems
โข Crisp and to the point
โข Good UI, fast learning
โข Real interview-style logic
โ Use when: You want fast, smart SQL drills
๐ How to Practice Effectively:
โข Spend 20โ30 mins/day
โข Focus on JOINs, GROUP BY, HAVING, Subqueries
โข Analyze problem โ write โ debug โ re-write
โข After solving, explain your logic out loud
๐งช Practice Task:
Try solving 5 SQL questions from LeetCode or HackerRank this week. Start with SELECT, WHERE, and GROUP BY.
๐ฌ Tap โค๏ธ for more!
Learning SQL is just the first step โ practice is what builds real skill. Here are the best platforms for hands-on SQL:
1๏ธโฃ LeetCode โ For Interview-Oriented SQL Practice
โข Focus: Real interview-style problems
โข Levels: Easy to Hard
โข Schema + Sample Data Provided
โข Great for: Data Analyst, Data Engineer, FAANG roles
โ Tip: Start with Easy โ filter by โDatabaseโ tag
โ Popular Section: Database โ Top 50 SQL Questions
Example Problem: โFind duplicate emails in a user tableโ โ Practice filtering, GROUP BY, HAVING
2๏ธโฃ HackerRank โ Structured & Beginner-Friendly
โข Focus: Step-by-step SQL track
โข Has certification tests (SQL Basic, Intermediate)
โข Problem sets by topic: SELECT, JOINs, Aggregations, etc.
โ Tip: Follow the full SQL track
โ Bonus: Company-specific challenges
Try: โRevising Aggregations โ The Count Functionโ โ Build confidence with small wins
3๏ธโฃ Mode Analytics โ Real-World SQL in Business Context
โข Focus: Business intelligence + SQL
โข Uses real-world datasets (e.g., e-commerce, finance)
โข Has an in-browser SQL editor with live data
โ Best for: Practicing dashboard-level queries
โ Tip: Try the SQL case studies & tutorials
4๏ธโฃ StrataScratch โ Interview Questions from Real Companies
โข 500+ problems from companies like Uber, Netflix, Google
โข Split by company, difficulty, and topic
โ Best for: Intermediate to advanced level
โ Tip: Try โHardโ questions after doing 30โ50 easy/medium
5๏ธโฃ DataLemur โ Short, Practical SQL Problems
โข Crisp and to the point
โข Good UI, fast learning
โข Real interview-style logic
โ Use when: You want fast, smart SQL drills
๐ How to Practice Effectively:
โข Spend 20โ30 mins/day
โข Focus on JOINs, GROUP BY, HAVING, Subqueries
โข Analyze problem โ write โ debug โ re-write
โข After solving, explain your logic out loud
๐งช Practice Task:
Try solving 5 SQL questions from LeetCode or HackerRank this week. Start with SELECT, WHERE, and GROUP BY.
๐ฌ Tap โค๏ธ for more!
โค15
โ๏ธ SQL Developer Roadmap
๐ SQL Basics (CREATE, DROP, USE Database)
โ๐ Data Types & DDL (Tables, Constraints - PK/FK)
โ๐ DML (INSERT, UPDATE, DELETE)
โ๐ SELECT Queries (DISTINCT, LIMIT/TOP)
โ๐ WHERE Clause (Operators, LIKE, IN, BETWEEN)
โ๐ ORDER BY & Sorting (ASC/DESC)
โ๐ Aggregate Functions (COUNT, SUM, AVG, MIN/MAX)
โ๐ GROUP BY & HAVING
โ๐ JOINs (INNER, LEFT, RIGHT, FULL)
โ๐ Subqueries
โ๐ String Functions (CONCAT, SUBSTRING, UPPER/LOWER)
โ๐ Date Functions (NOW, DATEADD, DATEDIFF)
โ๐ Window Functions (ROW_NUMBER, RANK, PARTITION BY)
โ๐ CTEs (Common Table Expressions)
โ๐ Indexes & Performance
โ๐ Transactions (BEGIN, COMMIT, ROLLBACK)
โ๐ Views & Stored Procedures
โ๐ Practice (LeetCode SQL, HackerRank)
โโ Apply for Data Analyst / Backend Roles
๐ฌ Tap โค๏ธ for more!
๐ SQL Basics (CREATE, DROP, USE Database)
โ๐ Data Types & DDL (Tables, Constraints - PK/FK)
โ๐ DML (INSERT, UPDATE, DELETE)
โ๐ SELECT Queries (DISTINCT, LIMIT/TOP)
โ๐ WHERE Clause (Operators, LIKE, IN, BETWEEN)
โ๐ ORDER BY & Sorting (ASC/DESC)
โ๐ Aggregate Functions (COUNT, SUM, AVG, MIN/MAX)
โ๐ GROUP BY & HAVING
โ๐ JOINs (INNER, LEFT, RIGHT, FULL)
โ๐ Subqueries
โ๐ String Functions (CONCAT, SUBSTRING, UPPER/LOWER)
โ๐ Date Functions (NOW, DATEADD, DATEDIFF)
โ๐ Window Functions (ROW_NUMBER, RANK, PARTITION BY)
โ๐ CTEs (Common Table Expressions)
โ๐ Indexes & Performance
โ๐ Transactions (BEGIN, COMMIT, ROLLBACK)
โ๐ Views & Stored Procedures
โ๐ Practice (LeetCode SQL, HackerRank)
โโ Apply for Data Analyst / Backend Roles
๐ฌ Tap โค๏ธ for more!
โค16
๐ฅ Top SQL Interview Questions with Answers
๐ฏ 1๏ธโฃ Find 2nd Highest Salary
๐ Table: employees
id | name | salary
1 | Rahul | 50000
2 | Priya | 70000
3 | Amit | 60000
4 | Neha | 70000
โ Problem Statement: Find the second highest distinct salary from the employees table.
โ Solution
SELECT MAX(salary) FROM employees WHERE salary < ( SELECT MAX(salary) FROM employees );
๐ฏ 2๏ธโฃ Find Nth Highest Salary
๐ Table: employees
id | name | salary
1 | A | 100
2 | B | 200
3 | C | 300
4 | D | 200
โ Problem Statement: Write a query to find the 3rd highest salary.
โ Solution
SELECT salary FROM ( SELECT salary, DENSE_RANK() OVER(ORDER BY salary DESC) r FROM employees ) t WHERE r = 3;
๐ฏ 3๏ธโฃ Find Duplicate Records
๐ Table: employees
id | name
1 | Rahul
2 | Amit
3 | Rahul
4 | Neha
โ Problem Statement: Find all duplicate names in the employees table.
โ Solution
SELECT name, COUNT(*) FROM employees GROUP BY name HAVING COUNT(*) > 1;
๐ฏ 4๏ธโฃ Customers with No Orders
๐ Table: customers
customer_id | name
1 | Rahul
2 | Priya
3 | Amit
๐ Table: orders
order_id | customer_id
101 | 1
102 | 2
โ Problem Statement: Find customers who have not placed any orders.
โ Solution
SELECT c.name FROM customers c LEFT JOIN orders o ON c.customer_id = o.customer_id WHERE o.customer_id IS NULL;
๐ฏ 5๏ธโฃ Top 3 Salaries per Department
๐ Table: employees
name | department | salary
A | IT | 100
B | IT | 200
C | IT | 150
D | HR | 120
E | HR | 180
โ Problem Statement: Find the top 3 highest salaries in each department.
โ Solution
SELECT * FROM ( SELECT name, department, salary, ROW_NUMBER() OVER( PARTITION BY department ORDER BY salary DESC ) r FROM employees ) t WHERE r <= 3;
๐ฏ 6๏ธโฃ Running Total of Sales
๐ Table: sales
date | sales
2024-01-01 | 100
2024-01-02 | 200
2024-01-03 | 300
โ Problem Statement: Calculate the running total of sales by date.
โ Solution
SELECT date, sales, SUM(sales) OVER(ORDER BY date) AS running_total FROM sales;
๐ฏ 7๏ธโฃ Employees Above Average Salary
๐ Table: employees
name | salary
A | 100
B | 200
C | 300
โ Problem Statement: Find employees earning more than the average salary.
โ Solution
SELECT name, salary FROM employees WHERE salary > ( SELECT AVG(salary) FROM employees );
๐ฏ 8๏ธโฃ Department with Highest Total Salary
๐ Table: employees
name | department | salary
A | IT | 100
B | IT | 200
C | HR | 500
โ Problem Statement: Find the department with the highest total salary.
โ Solution
SELECT department, SUM(salary) AS total_salary FROM employees GROUP BY department ORDER BY total_salary DESC LIMIT 1;
๐ฏ 9๏ธโฃ Customers Who Placed Orders
๐ Tables: Same as Q4
โ Problem Statement: Find customers who have placed at least one order.
โ Solution
SELECT name FROM customers c WHERE EXISTS ( SELECT 1 FROM orders o WHERE c.customer_id = o.customer_id );
๐ฏ ๐ Remove Duplicate Records
๐ Table: employees
id | name
1 | Rahul
2 | Rahul
3 | Amit
โ Problem Statement: Delete duplicate records but keep one unique record.
โ Solution
DELETE FROM employees WHERE id NOT IN ( SELECT MIN(id) FROM employees GROUP BY name );
๐ Pro Tip:
๐ In interviews:
First explain logic
Then write query
Then optimize
Double Tap โฅ๏ธ For More
๐ฏ 1๏ธโฃ Find 2nd Highest Salary
๐ Table: employees
id | name | salary
1 | Rahul | 50000
2 | Priya | 70000
3 | Amit | 60000
4 | Neha | 70000
โ Problem Statement: Find the second highest distinct salary from the employees table.
โ Solution
SELECT MAX(salary) FROM employees WHERE salary < ( SELECT MAX(salary) FROM employees );
๐ฏ 2๏ธโฃ Find Nth Highest Salary
๐ Table: employees
id | name | salary
1 | A | 100
2 | B | 200
3 | C | 300
4 | D | 200
โ Problem Statement: Write a query to find the 3rd highest salary.
โ Solution
SELECT salary FROM ( SELECT salary, DENSE_RANK() OVER(ORDER BY salary DESC) r FROM employees ) t WHERE r = 3;
๐ฏ 3๏ธโฃ Find Duplicate Records
๐ Table: employees
id | name
1 | Rahul
2 | Amit
3 | Rahul
4 | Neha
โ Problem Statement: Find all duplicate names in the employees table.
โ Solution
SELECT name, COUNT(*) FROM employees GROUP BY name HAVING COUNT(*) > 1;
๐ฏ 4๏ธโฃ Customers with No Orders
๐ Table: customers
customer_id | name
1 | Rahul
2 | Priya
3 | Amit
๐ Table: orders
order_id | customer_id
101 | 1
102 | 2
โ Problem Statement: Find customers who have not placed any orders.
โ Solution
SELECT c.name FROM customers c LEFT JOIN orders o ON c.customer_id = o.customer_id WHERE o.customer_id IS NULL;
๐ฏ 5๏ธโฃ Top 3 Salaries per Department
๐ Table: employees
name | department | salary
A | IT | 100
B | IT | 200
C | IT | 150
D | HR | 120
E | HR | 180
โ Problem Statement: Find the top 3 highest salaries in each department.
โ Solution
SELECT * FROM ( SELECT name, department, salary, ROW_NUMBER() OVER( PARTITION BY department ORDER BY salary DESC ) r FROM employees ) t WHERE r <= 3;
๐ฏ 6๏ธโฃ Running Total of Sales
๐ Table: sales
date | sales
2024-01-01 | 100
2024-01-02 | 200
2024-01-03 | 300
โ Problem Statement: Calculate the running total of sales by date.
โ Solution
SELECT date, sales, SUM(sales) OVER(ORDER BY date) AS running_total FROM sales;
๐ฏ 7๏ธโฃ Employees Above Average Salary
๐ Table: employees
name | salary
A | 100
B | 200
C | 300
โ Problem Statement: Find employees earning more than the average salary.
โ Solution
SELECT name, salary FROM employees WHERE salary > ( SELECT AVG(salary) FROM employees );
๐ฏ 8๏ธโฃ Department with Highest Total Salary
๐ Table: employees
name | department | salary
A | IT | 100
B | IT | 200
C | HR | 500
โ Problem Statement: Find the department with the highest total salary.
โ Solution
SELECT department, SUM(salary) AS total_salary FROM employees GROUP BY department ORDER BY total_salary DESC LIMIT 1;
๐ฏ 9๏ธโฃ Customers Who Placed Orders
๐ Tables: Same as Q4
โ Problem Statement: Find customers who have placed at least one order.
โ Solution
SELECT name FROM customers c WHERE EXISTS ( SELECT 1 FROM orders o WHERE c.customer_id = o.customer_id );
๐ฏ ๐ Remove Duplicate Records
๐ Table: employees
id | name
1 | Rahul
2 | Rahul
3 | Amit
โ Problem Statement: Delete duplicate records but keep one unique record.
โ Solution
DELETE FROM employees WHERE id NOT IN ( SELECT MIN(id) FROM employees GROUP BY name );
๐ Pro Tip:
๐ In interviews:
First explain logic
Then write query
Then optimize
Double Tap โฅ๏ธ For More
โค15
๐ Complete SQL Syllabus Roadmap (Beginner to Expert) ๐๏ธ
๐ฐ Beginner Level:
1. Intro to Databases: What are databases, Relational vs. Non-Relational
2. SQL Basics: SELECT, FROM, WHERE
3. Data Types: INT, VARCHAR, DATE, BOOLEAN, etc.
4. Operators: Comparison, Logical (AND, OR, NOT)
5. Sorting & Filtering: ORDER BY, LIMIT, DISTINCT
6. Aggregate Functions: COUNT, SUM, AVG, MIN, MAX
7. GROUP BY and HAVING: Grouping Data and Filtering Groups
8. Basic Projects: Creating and querying a simple database (e.g., a student database)
โ๏ธ Intermediate Level:
1. Joins: INNER, LEFT, RIGHT, FULL OUTER JOIN
2. Subqueries: Using queries within queries
3. Indexes: Improving Query Performance
4. Data Modification: INSERT, UPDATE, DELETE
5. Transactions: ACID Properties, COMMIT, ROLLBACK
6. Constraints: PRIMARY KEY, FOREIGN KEY, UNIQUE, NOT NULL, CHECK, DEFAULT
7. Views: Creating Virtual Tables
8. Stored Procedures & Functions: Reusable SQL Code
9. Date and Time Functions: Working with Date and Time Data
10. Intermediate Projects: Designing and querying a more complex database (e.g., an e-commerce database)
๐ Expert Level:
1. Window Functions: RANK, ROW_NUMBER, LAG, LEAD
2. Common Table Expressions (CTEs): Recursive and Non-Recursive
3. Performance Tuning: Query Optimization Techniques
4. Database Design & Normalization: Understanding Database Schemas (Star, Snowflake)
5. Advanced Indexing: Clustered, Non-Clustered, Filtered Indexes
6. Database Administration: Backup and Recovery, Security, User Management
7. Working with Large Datasets: Partitioning, Data Warehousing Concepts
8. NoSQL Databases: Introduction to MongoDB, Cassandra, etc. (optional)
9. SQL Injection Prevention: Secure Coding Practices
10. Expert Projects: Designing, optimizing, and managing a large-scale database (e.g., a social media database)
๐ก Bonus: Learn about Database Security, Cloud Databases (AWS RDS, Azure SQL Database, Google Cloud SQL), and Data Modeling Tools.
๐ Tap โค๏ธ for more
๐ฐ Beginner Level:
1. Intro to Databases: What are databases, Relational vs. Non-Relational
2. SQL Basics: SELECT, FROM, WHERE
3. Data Types: INT, VARCHAR, DATE, BOOLEAN, etc.
4. Operators: Comparison, Logical (AND, OR, NOT)
5. Sorting & Filtering: ORDER BY, LIMIT, DISTINCT
6. Aggregate Functions: COUNT, SUM, AVG, MIN, MAX
7. GROUP BY and HAVING: Grouping Data and Filtering Groups
8. Basic Projects: Creating and querying a simple database (e.g., a student database)
โ๏ธ Intermediate Level:
1. Joins: INNER, LEFT, RIGHT, FULL OUTER JOIN
2. Subqueries: Using queries within queries
3. Indexes: Improving Query Performance
4. Data Modification: INSERT, UPDATE, DELETE
5. Transactions: ACID Properties, COMMIT, ROLLBACK
6. Constraints: PRIMARY KEY, FOREIGN KEY, UNIQUE, NOT NULL, CHECK, DEFAULT
7. Views: Creating Virtual Tables
8. Stored Procedures & Functions: Reusable SQL Code
9. Date and Time Functions: Working with Date and Time Data
10. Intermediate Projects: Designing and querying a more complex database (e.g., an e-commerce database)
๐ Expert Level:
1. Window Functions: RANK, ROW_NUMBER, LAG, LEAD
2. Common Table Expressions (CTEs): Recursive and Non-Recursive
3. Performance Tuning: Query Optimization Techniques
4. Database Design & Normalization: Understanding Database Schemas (Star, Snowflake)
5. Advanced Indexing: Clustered, Non-Clustered, Filtered Indexes
6. Database Administration: Backup and Recovery, Security, User Management
7. Working with Large Datasets: Partitioning, Data Warehousing Concepts
8. NoSQL Databases: Introduction to MongoDB, Cassandra, etc. (optional)
9. SQL Injection Prevention: Secure Coding Practices
10. Expert Projects: Designing, optimizing, and managing a large-scale database (e.g., a social media database)
๐ก Bonus: Learn about Database Security, Cloud Databases (AWS RDS, Azure SQL Database, Google Cloud SQL), and Data Modeling Tools.
๐ Tap โค๏ธ for more
โค8๐1
SQL Cheat Sheet for Data Analysts ๐๏ธ๐
1. SELECT
What it is: Used to choose columns from a table
What it does: Returns specific columns of data
Query: Fetch name and salary
2. FROM
What it is: Specifies the table
What it does: Tells SQL where to get data from
Query: Fetch all data from employees
3. WHERE
What it is: Filters rows based on condition
What it does: Returns only matching rows
Query: Employees with salary > 30000
4. ORDER BY
What it is: Sorts the data
What it does: Arranges rows in order
Query: Sort by salary (highest first)
5. COUNT()
What it is: Counts rows
What it does: Returns total records
Query: Count employees
6. AVG()
What it is: Calculates average
What it does: Returns mean value
Query: Average salary
7. GROUP BY
What it is: Groups rows by column
What it does: Applies aggregation per group
Query: Avg salary per department
8. HAVING
What it is: Filters grouped data
What it does: Returns filtered groups
Query: Departments with avg salary > 40000
9. INNER JOIN
What it is: Combines matching rows from tables
What it does: Returns common data
Query: Employees with department names
10. LEFT JOIN
What it is: Combines all left + matching right
What it does: Returns all left table data
Query: All employees with departments
11. CASE WHEN
What it is: Conditional logic
What it does: Creates values based on condition
Query: Categorize salary
12. SUBQUERY
What it is: Query inside another query
What it does: Uses result of inner query
Query: Salary above average
13. RANK()
What it is: Window function
What it does: Assigns rank without grouping
Query: Rank employees by salary
14. DISTINCT
What it is: Removes duplicates
What it does: Returns unique values
Query: Unique departments
15. LIKE
What it is: Pattern matching
What it does: Filters text patterns
Query: Names starting with A
Double Tap โฅ๏ธ For More
1. SELECT
What it is: Used to choose columns from a table
What it does: Returns specific columns of data
Query: Fetch name and salary
SELECT name, salary
FROM employees;
2. FROM
What it is: Specifies the table
What it does: Tells SQL where to get data from
Query: Fetch all data from employees
SELECT *
FROM employees;
3. WHERE
What it is: Filters rows based on condition
What it does: Returns only matching rows
Query: Employees with salary > 30000
SELECT *
FROM employees
WHERE salary > 30000;
4. ORDER BY
What it is: Sorts the data
What it does: Arranges rows in order
Query: Sort by salary (highest first)
SELECT *
FROM employees
ORDER BY salary DESC;
5. COUNT()
What it is: Counts rows
What it does: Returns total records
Query: Count employees
SELECT COUNT(*)
FROM employees;
6. AVG()
What it is: Calculates average
What it does: Returns mean value
Query: Average salary
SELECT AVG(salary)
FROM employees;
7. GROUP BY
What it is: Groups rows by column
What it does: Applies aggregation per group
Query: Avg salary per department
SELECT department, AVG(salary)
FROM employees
GROUP BY department;
8. HAVING
What it is: Filters grouped data
What it does: Returns filtered groups
Query: Departments with avg salary > 40000
SELECT department, AVG(salary)
FROM employees
GROUP BY department
HAVING AVG(salary) > 40000;
9. INNER JOIN
What it is: Combines matching rows from tables
What it does: Returns common data
Query: Employees with department names
SELECT e.name, d.department_name
FROM employees e
INNER JOIN departments d
ON e.dept_id = d.dept_id;
10. LEFT JOIN
What it is: Combines all left + matching right
What it does: Returns all left table data
Query: All employees with departments
SELECT e.name, d.department_name
FROM employees e
LEFT JOIN departments d
ON e.dept_id = d.dept_id;
11. CASE WHEN
What it is: Conditional logic
What it does: Creates values based on condition
Query: Categorize salary
SELECT name,
CASE
WHEN salary > 40000 THEN 'High'
ELSE 'Low'
END AS category
FROM employees;
12. SUBQUERY
What it is: Query inside another query
What it does: Uses result of inner query
Query: Salary above average
SELECT name, salary
FROM employees
WHERE salary > (
SELECT AVG(salary)
FROM employees
);
13. RANK()
What it is: Window function
What it does: Assigns rank without grouping
Query: Rank employees by salary
SELECT name, salary,
RANK() OVER (ORDER BY salary DESC) AS rank
FROM employees;
14. DISTINCT
What it is: Removes duplicates
What it does: Returns unique values
Query: Unique departments
SELECT DISTINCT department
FROM employees;
15. LIKE
What it is: Pattern matching
What it does: Filters text patterns
Query: Names starting with A
SELECT *
FROM employees
WHERE name LIKE 'A%';
Double Tap โฅ๏ธ For More
โค20๐3
Last Chance to Join ๐
Donโt miss this power-packed masterclass by Tushar Jha, Lead Data Scientist at Google.
Learn how FinTech leaders use data analytics to drive real growth with PW Skills.
โณ 2 Hours | High-Impact Learning
Secure your spot now before itโs gone - https://tinyurl.com/3dzsw8my
Donโt miss this power-packed masterclass by Tushar Jha, Lead Data Scientist at Google.
Learn how FinTech leaders use data analytics to drive real growth with PW Skills.
โณ 2 Hours | High-Impact Learning
Secure your spot now before itโs gone - https://tinyurl.com/3dzsw8my
โค2๐1
Quick recap of essential SQL basics ๐๐
SQL is a domain-specific language used for managing and querying relational databases. It's crucial for interacting with databases, retrieving, storing, updating, and deleting data. Here are some fundamental SQL concepts:
1. Database
- A database is a structured collection of data. It's organized into tables, and SQL is used to manage these tables.
2. Table
- Tables are the core of a database. They consist of rows and columns, and each row represents a record, while each column represents a data attribute.
3. Query
- A query is a request for data from a database. SQL queries are used to retrieve information from tables. The SELECT statement is commonly used for this purpose.
4. Data Types
- SQL supports various data types (e.g., INTEGER, TEXT, DATE) to specify the kind of data that can be stored in a column.
5. Primary Key
- A primary key is a unique identifier for each row in a table. It ensures that each row is distinct and can be used to establish relationships between tables.
6. Foreign Key
- A foreign key is a column in one table that links to the primary key in another table. It creates relationships between tables in a database.
7. CRUD Operations
- SQL provides four primary operations for data manipulation:
- Create (INSERT) - Add new records to a table.
- Read (SELECT) - Retrieve data from one or more tables.
- Update (UPDATE) - Modify existing data.
- Delete (DELETE) - Remove records from a table.
8. WHERE Clause
- The WHERE clause is used in SELECT, UPDATE, and DELETE statements to filter and conditionally manipulate data.
9. JOIN
- JOIN operations are used to combine data from two or more tables based on a related column. Common types include INNER JOIN, LEFT JOIN, and RIGHT JOIN.
10. Index
- An index is a database structure that improves the speed of data retrieval operations. It's created on one or more columns in a table.
11. Aggregate Functions
- SQL provides functions like SUM, AVG, COUNT, MAX, and MIN for performing calculations on groups of data.
12. Transactions
- Transactions are sequences of one or more SQL statements treated as a single unit. They ensure data consistency by either applying all changes or none.
13. Normalization
- Normalization is the process of organizing data in a database to minimize data redundancy and improve data integrity.
14. Constraints
- Constraints (e.g., NOT NULL, UNIQUE, CHECK) are rules that define what data is allowed in a table, ensuring data quality and consistency.
Here is an amazing resources to learn & practice SQL: https://bit.ly/3FxxKPz
Share with credits: https://t.me/sqlspecialist
Hope it helps :)
SQL is a domain-specific language used for managing and querying relational databases. It's crucial for interacting with databases, retrieving, storing, updating, and deleting data. Here are some fundamental SQL concepts:
1. Database
- A database is a structured collection of data. It's organized into tables, and SQL is used to manage these tables.
2. Table
- Tables are the core of a database. They consist of rows and columns, and each row represents a record, while each column represents a data attribute.
3. Query
- A query is a request for data from a database. SQL queries are used to retrieve information from tables. The SELECT statement is commonly used for this purpose.
4. Data Types
- SQL supports various data types (e.g., INTEGER, TEXT, DATE) to specify the kind of data that can be stored in a column.
5. Primary Key
- A primary key is a unique identifier for each row in a table. It ensures that each row is distinct and can be used to establish relationships between tables.
6. Foreign Key
- A foreign key is a column in one table that links to the primary key in another table. It creates relationships between tables in a database.
7. CRUD Operations
- SQL provides four primary operations for data manipulation:
- Create (INSERT) - Add new records to a table.
- Read (SELECT) - Retrieve data from one or more tables.
- Update (UPDATE) - Modify existing data.
- Delete (DELETE) - Remove records from a table.
8. WHERE Clause
- The WHERE clause is used in SELECT, UPDATE, and DELETE statements to filter and conditionally manipulate data.
9. JOIN
- JOIN operations are used to combine data from two or more tables based on a related column. Common types include INNER JOIN, LEFT JOIN, and RIGHT JOIN.
10. Index
- An index is a database structure that improves the speed of data retrieval operations. It's created on one or more columns in a table.
11. Aggregate Functions
- SQL provides functions like SUM, AVG, COUNT, MAX, and MIN for performing calculations on groups of data.
12. Transactions
- Transactions are sequences of one or more SQL statements treated as a single unit. They ensure data consistency by either applying all changes or none.
13. Normalization
- Normalization is the process of organizing data in a database to minimize data redundancy and improve data integrity.
14. Constraints
- Constraints (e.g., NOT NULL, UNIQUE, CHECK) are rules that define what data is allowed in a table, ensuring data quality and consistency.
Here is an amazing resources to learn & practice SQL: https://bit.ly/3FxxKPz
Share with credits: https://t.me/sqlspecialist
Hope it helps :)
โค3
๐ฅ Top SQL Projects for Data Analytics ๐
If you're preparing for a Data Analyst role or looking to level up your SQL skills, working on real-world projects is the best way to learn!
Here are some must-do SQL projects to strengthen your portfolio. ๐
๐ข Beginner-Friendly SQL Projects (Great for Learning Basics)
โ Employee Database Management โ Build and query HR data ๐
โ Library Book Tracking โ Create a database for book loans and returns
โ Student Grading System โ Analyze student performance data
โ Retail Point-of-Sale System โ Work with sales and transactions ๐ฐ
โ Hotel Booking System โ Manage customer bookings and check-ins ๐จ
๐ก Intermediate SQL Projects (For Stronger Querying & Analysis)
โก E-commerce Order Management โ Analyze order trends & customer data ๐
โก Sales Performance Analysis โ Work with revenue, profit margins & KPIs ๐
โก Inventory Control System โ Optimize stock tracking ๐ฆ
โก Real Estate Listings โ Manage and analyze property data ๐ก
โก Movie Rating System โ Analyze user reviews & trends ๐ฌ
๐ต Advanced SQL Projects (For Business-Level Analytics)
๐น Social Media Analytics โ Track user engagement & content trends
๐น Insurance Claim Management โ Fraud detection & risk assessment
๐น Customer Feedback Analysis โ Perform sentiment analysis on reviews โญ
๐น Freelance Job Platform โ Match freelancers with project opportunities
๐น Pharmacy Inventory System โ Optimize stock levels & prescriptions
๐ด Expert-Level SQL Projects (For Data-Driven Decision Making)
๐ฅ Music Streaming Analysis โ Study user behavior & song trends ๐ถ
๐ฅ Healthcare Prescription Tracking โ Identify patterns in medicine usage
๐ฅ Employee Shift Scheduling โ Optimize workforce efficiency โณ
๐ฅ Warehouse Stock Control โ Manage supply chain data efficiently
๐ฅ Online Auction System โ Analyze bidding patterns & sales performance ๐๏ธ
๐ Pro Tip: If you're applying for Data Analyst roles, pick 3-4 projects, clean the data, and create interactive dashboards using Power BI/Tableau to showcase insights!
React with โฅ๏ธ if you want detailed explanation of each project
Share with credits: ๐ https://t.me/sqlspecialist
Hope it helps :)
If you're preparing for a Data Analyst role or looking to level up your SQL skills, working on real-world projects is the best way to learn!
Here are some must-do SQL projects to strengthen your portfolio. ๐
๐ข Beginner-Friendly SQL Projects (Great for Learning Basics)
โ Employee Database Management โ Build and query HR data ๐
โ Library Book Tracking โ Create a database for book loans and returns
โ Student Grading System โ Analyze student performance data
โ Retail Point-of-Sale System โ Work with sales and transactions ๐ฐ
โ Hotel Booking System โ Manage customer bookings and check-ins ๐จ
๐ก Intermediate SQL Projects (For Stronger Querying & Analysis)
โก E-commerce Order Management โ Analyze order trends & customer data ๐
โก Sales Performance Analysis โ Work with revenue, profit margins & KPIs ๐
โก Inventory Control System โ Optimize stock tracking ๐ฆ
โก Real Estate Listings โ Manage and analyze property data ๐ก
โก Movie Rating System โ Analyze user reviews & trends ๐ฌ
๐ต Advanced SQL Projects (For Business-Level Analytics)
๐น Social Media Analytics โ Track user engagement & content trends
๐น Insurance Claim Management โ Fraud detection & risk assessment
๐น Customer Feedback Analysis โ Perform sentiment analysis on reviews โญ
๐น Freelance Job Platform โ Match freelancers with project opportunities
๐น Pharmacy Inventory System โ Optimize stock levels & prescriptions
๐ด Expert-Level SQL Projects (For Data-Driven Decision Making)
๐ฅ Music Streaming Analysis โ Study user behavior & song trends ๐ถ
๐ฅ Healthcare Prescription Tracking โ Identify patterns in medicine usage
๐ฅ Employee Shift Scheduling โ Optimize workforce efficiency โณ
๐ฅ Warehouse Stock Control โ Manage supply chain data efficiently
๐ฅ Online Auction System โ Analyze bidding patterns & sales performance ๐๏ธ
๐ Pro Tip: If you're applying for Data Analyst roles, pick 3-4 projects, clean the data, and create interactive dashboards using Power BI/Tableau to showcase insights!
React with โฅ๏ธ if you want detailed explanation of each project
Share with credits: ๐ https://t.me/sqlspecialist
Hope it helps :)
โค3
SQL From Basic to Advanced level
Basic SQL is ONLY 7 commands:
- SELECT
- FROM
- WHERE (also use SQL comparison operators such as =, <=, >=, <> etc.)
- ORDER BY
- Aggregate functions such as SUM, AVERAGE, COUNT etc.
- GROUP BY
- CREATE, INSERT, DELETE, etc.
You can do all this in just one morning.
Once you know these, take the next step and learn commands like:
- LEFT JOIN
- INNER JOIN
- LIKE
- IN
- CASE WHEN
- HAVING (undertstand how it's different from GROUP BY)
- UNION ALL
This should take another day.
Once both basic and intermediate are done, start learning more advanced SQL concepts such as:
- Subqueries (when to use subqueries vs CTE?)
- CTEs (WITH AS)
- Stored Procedures
- Triggers
- Window functions (LEAD, LAG, PARTITION BY, RANK, DENSE RANK)
These can be done in a couple of days.
Learning these concepts is NOT hard at all
- what takes time is practice and knowing what command to use when. How do you master that?
- First, create a basic SQL project
- Then, work on an intermediate SQL project (search online) -
Lastly, create something advanced on SQL with many CTEs, subqueries, stored procedures and triggers etc.
This is ALL you need to become a badass in SQL, and trust me when I say this, it is not rocket science. It's just logic.
Remember that practice is the key here. It will be more clear and perfect with the continous practice
Best telegram channel to learn SQL: https://t.me/sqlanalyst
Data Analyst Jobs๐
https://t.me/jobs_SQL
Join @free4unow_backup for more free resources.
Like this post if it helps ๐โค๏ธ
ENJOY LEARNING ๐๐
Basic SQL is ONLY 7 commands:
- SELECT
- FROM
- WHERE (also use SQL comparison operators such as =, <=, >=, <> etc.)
- ORDER BY
- Aggregate functions such as SUM, AVERAGE, COUNT etc.
- GROUP BY
- CREATE, INSERT, DELETE, etc.
You can do all this in just one morning.
Once you know these, take the next step and learn commands like:
- LEFT JOIN
- INNER JOIN
- LIKE
- IN
- CASE WHEN
- HAVING (undertstand how it's different from GROUP BY)
- UNION ALL
This should take another day.
Once both basic and intermediate are done, start learning more advanced SQL concepts such as:
- Subqueries (when to use subqueries vs CTE?)
- CTEs (WITH AS)
- Stored Procedures
- Triggers
- Window functions (LEAD, LAG, PARTITION BY, RANK, DENSE RANK)
These can be done in a couple of days.
Learning these concepts is NOT hard at all
- what takes time is practice and knowing what command to use when. How do you master that?
- First, create a basic SQL project
- Then, work on an intermediate SQL project (search online) -
Lastly, create something advanced on SQL with many CTEs, subqueries, stored procedures and triggers etc.
This is ALL you need to become a badass in SQL, and trust me when I say this, it is not rocket science. It's just logic.
Remember that practice is the key here. It will be more clear and perfect with the continous practice
Best telegram channel to learn SQL: https://t.me/sqlanalyst
Data Analyst Jobs๐
https://t.me/jobs_SQL
Join @free4unow_backup for more free resources.
Like this post if it helps ๐โค๏ธ
ENJOY LEARNING ๐๐
โค9
Data Analyst INTERVIEW QUESTIONS AND ANSWERS
๐๐
1.Can you name the wildcards in Excel?
Ans: There are 3 wildcards in Excel that can ve used in formulas.
Asterisk (*) โ 0 or more characters. For example, Ex* could mean Excel, Extra, Expertise, etc.
Question mark (?) โ Represents any 1 character. For example, R?ain may mean Rain or Ruin.
Tilde (~) โ Used to identify a wildcard character (~, *, ?). For example, If you need to find the exact phrase India* in a list. If you use India* as the search string, you may get any word with India at the beginning followed by different characters (such as Indian, Indiana). If you have to look for Indiaโ exclusively, use ~.
Hence, the search string will be india~*. ~ is used to ensure that the spreadsheet reads the following character as is, and not as a wildcard.
2.What is cascading filter in tableau?
Ans: Cascading filters can also be understood as giving preference to a particular filter and then applying other filters on previously filtered data source. Right-click on the filter you want to use as a main filter and make sure it is set as all values in dashboard then select the subsequent filter and select only relevant values to cascade the filters. This will improve the performance of the dashboard as you have decreased the time wasted in running all the filters over complete data source.
3.What is the difference between .twb and .twbx extension?
Ans:
A .twb file contains information on all the sheets, dashboards and stories, but it wonโt contain any information regarding data source. Whereas .twbx file contains all the sheets, dashboards, stories and also compressed data sources. For saving a .twbx extract needs to be performed on the data source. If we forward .twb file to someone else than they will be able to see the worksheets and dashboards but wonโt be able to look into the dataset.
4.What are the various Power BI versions?
Power BI Premium capacity-based license, for example, allows users with a free license to act on content in workspaces with Premium capacity. A user with a free license can only use the Power BI service to connect to data and produce reports and dashboards in My Workspace outside of Premium capacity. They are unable to exchange material or publish it in other workspaces. To process material, a Power BI license with a free or Pro per-user license only uses a shared and restricted capacity. Users with a Power BI Pro license can only work with other Power BI Pro users if the material is stored in that shared capacity. They may consume user-generated information, post material to app workspaces, share dashboards, and subscribe to dashboards and reports. Pro users can share material with users who donโt have a Power BI Pro subscription while workspaces are at Premium capacity.
ENJOY LEARNING ๐๐
๐๐
1.Can you name the wildcards in Excel?
Ans: There are 3 wildcards in Excel that can ve used in formulas.
Asterisk (*) โ 0 or more characters. For example, Ex* could mean Excel, Extra, Expertise, etc.
Question mark (?) โ Represents any 1 character. For example, R?ain may mean Rain or Ruin.
Tilde (~) โ Used to identify a wildcard character (~, *, ?). For example, If you need to find the exact phrase India* in a list. If you use India* as the search string, you may get any word with India at the beginning followed by different characters (such as Indian, Indiana). If you have to look for Indiaโ exclusively, use ~.
Hence, the search string will be india~*. ~ is used to ensure that the spreadsheet reads the following character as is, and not as a wildcard.
2.What is cascading filter in tableau?
Ans: Cascading filters can also be understood as giving preference to a particular filter and then applying other filters on previously filtered data source. Right-click on the filter you want to use as a main filter and make sure it is set as all values in dashboard then select the subsequent filter and select only relevant values to cascade the filters. This will improve the performance of the dashboard as you have decreased the time wasted in running all the filters over complete data source.
3.What is the difference between .twb and .twbx extension?
Ans:
A .twb file contains information on all the sheets, dashboards and stories, but it wonโt contain any information regarding data source. Whereas .twbx file contains all the sheets, dashboards, stories and also compressed data sources. For saving a .twbx extract needs to be performed on the data source. If we forward .twb file to someone else than they will be able to see the worksheets and dashboards but wonโt be able to look into the dataset.
4.What are the various Power BI versions?
Power BI Premium capacity-based license, for example, allows users with a free license to act on content in workspaces with Premium capacity. A user with a free license can only use the Power BI service to connect to data and produce reports and dashboards in My Workspace outside of Premium capacity. They are unable to exchange material or publish it in other workspaces. To process material, a Power BI license with a free or Pro per-user license only uses a shared and restricted capacity. Users with a Power BI Pro license can only work with other Power BI Pro users if the material is stored in that shared capacity. They may consume user-generated information, post material to app workspaces, share dashboards, and subscribe to dashboards and reports. Pro users can share material with users who donโt have a Power BI Pro subscription while workspaces are at Premium capacity.
ENJOY LEARNING ๐๐
โค4
โ
Basic SQL Queries Interview Questions With Answers ๐ฅ๏ธ
1. What does SELECT do
โ SELECT fetches data from a table
โ You choose columns you want to see
Example: SELECT name, salary FROM employees;
2. What does FROM do
โ FROM tells SQL where data lives
โ It specifies the table name
Example: SELECT * FROM customers;
3. What is WHERE clause
โ WHERE filters rows
โ It runs before aggregation
Example: SELECT * FROM orders WHERE status = 'Delivered';
4. Difference between WHERE and HAVING
โ WHERE filters rows before GROUP BY
โ HAVING filters groups after aggregation
Example: WHERE filters orders, HAVING filters total_sales
5. How do you sort data
โ Use ORDER BY
โ Default order is ASC
Example: SELECT * FROM employees ORDER BY salary DESC;
6. How do you sort by multiple columns
โ SQL sorts left to right
Example: SELECT * FROM students ORDER BY class ASC, marks DESC;
7. What is LIMIT
โ LIMIT restricts number of rows returned
โ Useful for top N queries
Example: SELECT * FROM products LIMIT 5;
8. What is OFFSET
โ OFFSET skips rows
โ Used with LIMIT for pagination
Example: SELECT * FROM products LIMIT 5 OFFSET 10;
9. How do you filter on multiple conditions
โ Use AND, OR
Example: SELECT * FROM users WHERE city = 'Delhi' AND age > 25;
10. Difference between AND and OR
โ AND needs all conditions true
โ OR needs one condition true
Quick interview advice
โข Always say execution order: FROM โ WHERE โ SELECT โ ORDER BY โ LIMIT
โข Write clean examples
โข Speak logic first, syntax nextยน
Double Tap โค๏ธ For More
1. What does SELECT do
โ SELECT fetches data from a table
โ You choose columns you want to see
Example: SELECT name, salary FROM employees;
2. What does FROM do
โ FROM tells SQL where data lives
โ It specifies the table name
Example: SELECT * FROM customers;
3. What is WHERE clause
โ WHERE filters rows
โ It runs before aggregation
Example: SELECT * FROM orders WHERE status = 'Delivered';
4. Difference between WHERE and HAVING
โ WHERE filters rows before GROUP BY
โ HAVING filters groups after aggregation
Example: WHERE filters orders, HAVING filters total_sales
5. How do you sort data
โ Use ORDER BY
โ Default order is ASC
Example: SELECT * FROM employees ORDER BY salary DESC;
6. How do you sort by multiple columns
โ SQL sorts left to right
Example: SELECT * FROM students ORDER BY class ASC, marks DESC;
7. What is LIMIT
โ LIMIT restricts number of rows returned
โ Useful for top N queries
Example: SELECT * FROM products LIMIT 5;
8. What is OFFSET
โ OFFSET skips rows
โ Used with LIMIT for pagination
Example: SELECT * FROM products LIMIT 5 OFFSET 10;
9. How do you filter on multiple conditions
โ Use AND, OR
Example: SELECT * FROM users WHERE city = 'Delhi' AND age > 25;
10. Difference between AND and OR
โ AND needs all conditions true
โ OR needs one condition true
Quick interview advice
โข Always say execution order: FROM โ WHERE โ SELECT โ ORDER BY โ LIMIT
โข Write clean examples
โข Speak logic first, syntax nextยน
Double Tap โค๏ธ For More
โค6
๐ง SQL Interview Question (Top-N per Group + Tie Handling - Tricky)
๐
scores(student_id, subject, marks)
โ Ques :
๐ Find students who scored the highest marks in each subject.
๐ If multiple students have the same top score, include all of them (handle ties).
๐งฉ How Interviewers Expect You to Think
โข Group data by subject ๐
โข Identify highest marks within each group
โข Handle ties correctly (donโt lose rows)
โข Use window functions (RANK vs ROW_NUMBER)
๐ก SQL Solution
SELECT
student_id,
subject,
marks
FROM (
SELECT
scores.student_id,
scores.subject,
scores.marks,
RANK() OVER (
PARTITION BY scores.subject
ORDER BY scores.marks DESC
) AS rnk
FROM scores
) ranked_scores
WHERE ranked_scores.rnk = 1;
๐ฅ Why This Question Is Powerful
โข Tests Top-N per group (very common pattern) ๐ง
โข Checks understanding of RANK vs ROW_NUMBER
โค๏ธ React if you want more real interview-level SQL questions ๐
๐
scores(student_id, subject, marks)
โ Ques :
๐ Find students who scored the highest marks in each subject.
๐ If multiple students have the same top score, include all of them (handle ties).
๐งฉ How Interviewers Expect You to Think
โข Group data by subject ๐
โข Identify highest marks within each group
โข Handle ties correctly (donโt lose rows)
โข Use window functions (RANK vs ROW_NUMBER)
๐ก SQL Solution
SELECT
student_id,
subject,
marks
FROM (
SELECT
scores.student_id,
scores.subject,
scores.marks,
RANK() OVER (
PARTITION BY scores.subject
ORDER BY scores.marks DESC
) AS rnk
FROM scores
) ranked_scores
WHERE ranked_scores.rnk = 1;
๐ฅ Why This Question Is Powerful
โข Tests Top-N per group (very common pattern) ๐ง
โข Checks understanding of RANK vs ROW_NUMBER
โค๏ธ React if you want more real interview-level SQL questions ๐
โค14
Learn Ai in 2026 โAbsolutely FREE!๐
๐ธ Cost: ~โน10,000~ โน0 (FREE!)
What youโll learn:
โ 25+ Powerful AI Tools
โ Crack Interviews with Ai
โ Build Websites in seconds
โ Make Videos PPT
Enroll Now (free): https://tinyurl.com/Free-Ai-Course-a
โ ๏ธ Register Get Ai Certificate for resume
๐ธ Cost: ~โน10,000~ โน0 (FREE!)
What youโll learn:
โ 25+ Powerful AI Tools
โ Crack Interviews with Ai
โ Build Websites in seconds
โ Make Videos PPT
Enroll Now (free): https://tinyurl.com/Free-Ai-Course-a
โ ๏ธ Register Get Ai Certificate for resume
โค3
โ
Core SQL Interview Questions With Answers ๐ฅ๏ธ
1 What is SQL
โข SQL stands for Structured Query Language
โข You use it to read and manage data in relational databases
โข Used in MySQL, PostgreSQL, SQL Server, Oracle
2 What is an RDBMS
โข Relational Database Management System
โข Stores data in tables with rows and columns
โข Uses keys to link tables
โข Example. Customer table linked to Orders table using customer_id
3 What is a table
โข Structured storage for data
โข Rows are records
โข Columns are attributes
โข Example. One row equals one customer
4 What is a primary key
โข Uniquely identifies each row
โข Cannot be NULL
โข No duplicate values
โข Example. user_id in users table
5 What is a foreign key
โข Links one table to another
โข Refers to a primary key in another table
โข Allows duplicate values
โข Example. user_id in orders table
6 Difference between primary key and foreign key
โข Primary key ensures uniqueness
โข Foreign key ensures relationship
โข One table can have one primary key
โข One table can have multiple foreign keys
7 What is NULL
โข Represents missing or unknown value
โข Not equal to zero or empty string
โข Use IS NULL or IS NOT NULL to check
8 What are constraints
โข Rules applied on columns
โข Maintain data quality
โข Common constraints
โ NOT NULL
โ UNIQUE
โ PRIMARY KEY
โ FOREIGN KEY
โ CHECK
9 What are data types
โข Define type of data stored
โข Common types
โ INT for numbers
โ VARCHAR for text
โ DATE for dates
โ FLOAT or DECIMAL for decimals
10 Interview tip you must remember
โข Always explain with a small example
โข Speak logic before syntax
โข Keep answers short and direct
Double Tap โค๏ธ For More
1 What is SQL
โข SQL stands for Structured Query Language
โข You use it to read and manage data in relational databases
โข Used in MySQL, PostgreSQL, SQL Server, Oracle
2 What is an RDBMS
โข Relational Database Management System
โข Stores data in tables with rows and columns
โข Uses keys to link tables
โข Example. Customer table linked to Orders table using customer_id
3 What is a table
โข Structured storage for data
โข Rows are records
โข Columns are attributes
โข Example. One row equals one customer
4 What is a primary key
โข Uniquely identifies each row
โข Cannot be NULL
โข No duplicate values
โข Example. user_id in users table
5 What is a foreign key
โข Links one table to another
โข Refers to a primary key in another table
โข Allows duplicate values
โข Example. user_id in orders table
6 Difference between primary key and foreign key
โข Primary key ensures uniqueness
โข Foreign key ensures relationship
โข One table can have one primary key
โข One table can have multiple foreign keys
7 What is NULL
โข Represents missing or unknown value
โข Not equal to zero or empty string
โข Use IS NULL or IS NOT NULL to check
8 What are constraints
โข Rules applied on columns
โข Maintain data quality
โข Common constraints
โ NOT NULL
โ UNIQUE
โ PRIMARY KEY
โ FOREIGN KEY
โ CHECK
9 What are data types
โข Define type of data stored
โข Common types
โ INT for numbers
โ VARCHAR for text
โ DATE for dates
โ FLOAT or DECIMAL for decimals
10 Interview tip you must remember
โข Always explain with a small example
โข Speak logic before syntax
โข Keep answers short and direct
Double Tap โค๏ธ For More
โค13
Hey guys,
Here is the list of best curated Telegram Channels for free education ๐๐
Free Courses with Certificate
Web Development Free Resources
Data Science & Machine Learning
Programming Free Books
Python Free Courses
Python Interview Resources
Ethical Hacking & Cyber Security
English Speaking & Communication
Stock Marketing & Investment Banking
Coding Projects
Jobs & Internship Opportunities
Learn Digital Marketing
Crack your coding Interviews
Udemy Free Courses with Certificate
Earn $10000 with ChatGPT
Google Jobs
Java Programming Free Resources
Learn Blockchain & Crypto
Data Analyst Jobs
Artificial Intelligence
Free access to all the Paid Channels
๐๐
https://t.me/addlist/4q2PYC0pH_VjZDk5
Do react with โฅ๏ธ if you need more content free resources
ENJOY LEARNING ๐๐
Here is the list of best curated Telegram Channels for free education ๐๐
Free Courses with Certificate
Web Development Free Resources
Data Science & Machine Learning
Programming Free Books
Python Free Courses
Python Interview Resources
Ethical Hacking & Cyber Security
English Speaking & Communication
Stock Marketing & Investment Banking
Coding Projects
Jobs & Internship Opportunities
Learn Digital Marketing
Crack your coding Interviews
Udemy Free Courses with Certificate
Earn $10000 with ChatGPT
Google Jobs
Java Programming Free Resources
Learn Blockchain & Crypto
Data Analyst Jobs
Artificial Intelligence
Free access to all the Paid Channels
๐๐
https://t.me/addlist/4q2PYC0pH_VjZDk5
Do react with โฅ๏ธ if you need more content free resources
ENJOY LEARNING ๐๐
โค8
๐Greetings from PVR Cloud Tech!! ๐
๐ฅ Do you want to become a Master in Azure Cloud Data Engineering?
(DataFactory + Databricks with PySpark + Microsoft Fabric)
If you're ready to build in-demand skills and unlock exciting career opportunities,
this is the perfect place to start!
๐ Start Date: 6th April 2026
โฐ Time: 08 PM โ 09 PM IST | Monday
๐ ๐๐ง๐ญ๐๐ซ๐๐ฌ๐ญ๐๐ ๐ข๐ง ๐๐ณ๐ฎ๐ซ๐ ๐๐๐ญ๐ ๐๐ง๐ ๐ข๐ง๐๐๐ซ๐ข๐ง๐ ๐ฅ๐ข๐ฏ๐ ๐ฌ๐๐ฌ๐ฌ๐ข๐จ๐ง๐ฌ?
๐ Message us on WhatsApp:
https://wa.me/917032678595?text=Interested_to_join_Azure_Data_Engineering_live_sessions
๐น Course Content:
https://drive.google.com/file/d/1QKqhRMHx2SDNDTmPAf3_54fA6LljKHm6/view
๐ฑ Join WhatsApp Group:
https://chat.whatsapp.com/GCdcWr7v5JI1taguJrgU9j
๐ฅ Register Now:
https://forms.gle/UZJoAojmiqyVDfe2A
๐บ WhatsApp Channel:
https://www.whatsapp.com/channel/0029Vb60rGU8V0thkpbFFW2n
Team
PVR Cloud Tech :)
+91-9346060794
๐ฅ Do you want to become a Master in Azure Cloud Data Engineering?
(DataFactory + Databricks with PySpark + Microsoft Fabric)
If you're ready to build in-demand skills and unlock exciting career opportunities,
this is the perfect place to start!
๐ Start Date: 6th April 2026
โฐ Time: 08 PM โ 09 PM IST | Monday
๐ ๐๐ง๐ญ๐๐ซ๐๐ฌ๐ญ๐๐ ๐ข๐ง ๐๐ณ๐ฎ๐ซ๐ ๐๐๐ญ๐ ๐๐ง๐ ๐ข๐ง๐๐๐ซ๐ข๐ง๐ ๐ฅ๐ข๐ฏ๐ ๐ฌ๐๐ฌ๐ฌ๐ข๐จ๐ง๐ฌ?
๐ Message us on WhatsApp:
https://wa.me/917032678595?text=Interested_to_join_Azure_Data_Engineering_live_sessions
๐น Course Content:
https://drive.google.com/file/d/1QKqhRMHx2SDNDTmPAf3_54fA6LljKHm6/view
๐ฑ Join WhatsApp Group:
https://chat.whatsapp.com/GCdcWr7v5JI1taguJrgU9j
๐ฅ Register Now:
https://forms.gle/UZJoAojmiqyVDfe2A
๐บ WhatsApp Channel:
https://www.whatsapp.com/channel/0029Vb60rGU8V0thkpbFFW2n
Team
PVR Cloud Tech :)
+91-9346060794
โค1