0% found this document useful (0 votes)
29 views

SQL Guide PDF

SQl Report

Uploaded by

ecbdm
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views

SQL Guide PDF

SQl Report

Uploaded by

ecbdm
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Roadmap:

🔥🔥
LEARN SQL IN 28 DAYS WITH FREE RESOURCES! SQL IS A MUST FOR ALL DATA
CAREERS

➡️Week 1: BASIC SQL


- Introduction to databases and SQL
- Understanding relational databases and tables
- Basic SQL syntax
- SELECT,WHERE, ORDER BY,GROUP BY, COUNT, SUM, AVG, MIN, MAX etc commands


Resources:


SQLZoo (https://sqlzoo.net/):
W3Schools SQL Tutorial (https://www.w3schools.com/sql/)

➡️Week 2: Working with Data


- Joining tables: INNER JOIN, LEFT JOIN, RIGHT JOIN
- Combining multiple conditions: AND, OR, NOT
- Subqueries: using queries inside queries
- Working with strings and dates in SQL
- Updating and deleting data: UPDATE and DELETE statements
- Inserting data into tables: INSERT statement
- Set operations: UNION, INTERSECT, EXCEPT


Resources:


- Mode Analytics SQL Tutorial (https://mode.com/sql-tutorial/):
SQLCourse (https://www.sqlcourse.com/)

➡️Week 3: Database Design and Management


- Database design principles and normalization
- Creating tables: defining columns and data types
- Primary keys, foreign keys, and constraints
- Indexes: improving query performance
- Views: virtual tables for querying
- Transactions: maintaining data integrity
- Database administration tasks: backups, restores, and security


Resources:
SQLBolt (https://sqlbolt.com/):

➡️Week 4: Advanced SQL Concepts


- Common table expressions (CTEs)
- Advanced joins: self-joins, cross joins, natural joins
- Stored procedures and functions
- Triggers: automating actions in the database
- Advanced functions: CASE, COALESCE, NULLIF
- Query optimization and performance tuning
- Advanced data manipulation techniques: pivoting, unpivoting


Resources:
Geeks for Geeks:
https://www.geeksforgeeks.org/30-days-of-sql-from-basic-to-advanced-level/amp/

Keep doing projects after this! Very very IMP✅✅


Projects:

➡️➡️Start with guided projects to get practice:


1) SQL Data Exploration

https://youtu.be/qfyynHBFOsM

2) SQL Data Cleaning

https://youtu.be/8rO7ztF4NtU

✅✅Here are the links to main projects:


1) E-commerce Project (Very Popular)

https://github.com/aaronzguan/Online-Shopping-Cart-Database-Project.git

2) Railway management system

https://github.com/aaryanrr/RailwayMGMT.git

3)Road Safety Dataset

https://github.com/ptyadana/SQL-Data-Analysis-and-Visualization-Projects/

4) European Soccer Game Analysis

https://www.kaggle.com/dimarudov/data-analysis-using-sql/data
5) World Population Dataset

https://github.com/LoicChamplong/Data-Analysis-SQL/tree/master/Analysis_of_the_2015_World
_population

Step 1: Use the datasets shared above

Step 2: Take time to understand the content and structure. Identify key variables and columns.

Step 3: Set up the database: Choose a relational database management system (RDBMS) such
as MySQL, PostgreSQL, or SQLite.

Step 4: Import the data: Load the dataset into your database. Make sure to create appropriate
tables that match the structure of the dataset.

Step 5: Decide the questions: Brainstorm a list of questions you’d like to answer. For example,
you could ask about trends, comparisons, aggregations, or correlations in the data.

Step 6: Write SQL queries: Convert your questions into SQL queries, then test and refine.

Step 7: Upload your project on Github. Also create documentation and powerpoints to explain
your project.

➡️➡️ This will be your portfolio


Leetcode Questions:

Leetcode questions are good to prep for those technical interviews.

Here are 20 for SQL:

1. Combine two tables: https://lnkd.in/dumdCXC7


2. Employees earning > managers: https://Inkd.in/dKqcFmzY
3. Duplicate emails: https://lnkd.in/dJSYfs89
4. Customers who never order : https://lnkd.in/dPZPAKFf
5. Delete duplicate emails: https://lnkd.in/dEKnD9s3
6. Rising temperature: https://lnkd.in/dyZvVYvP
7. Employee bonus: https://Inkd.in/d9iTXt-V
8. Find customer referee : https://lnkd.in/d5cXjXdb
10. Big countries: https://lnkd.in/dAnS54qK
11. Classes more than 5 students : https://lnkd.in/dfrUiutd
12. Sales person: https://lnkd.in/dwRnf5Df
13. Triangle judgement: https://lnkd.in/dwzD-hFn
14. Biggest single number: https://lnkd.in/d4F5zHDs
15. Not boring movies: https://lnkd.in/d5w8_z65
16. Swap salary: https://lnkd.in/dnbCtecM
18. Product sales analysis 1: https://lnkd.in/dRj3EBuK
19. Project employees 1: https://lnkd.in/dvGHsbKQ
20. Sales analysis III : https://lnkd.in/d_y_rxPh

Interview Questions:

https://datalemur.com/

https://www.hackerrank.com/domains/sql

https://gist.github.com/krishnadey30/88c4e2f601e96597974c00185e479532

https://leetcode.com/

https://www.stratascratch.com/

https://www.interviewquery.com/

You might also like