Sachin Kumar
Sachin Kumar

@Sachintukumar

8 Tweets 1 reads May 15, 2023
Are you completely new to SQL and do not know where to start?
Here is a simple concept roadmap for learning SQL as a complete beginner:
๐Ÿงต
1. ๐‹๐ž๐š๐ซ๐ง ๐ญ๐ก๐ž ๐›๐š๐ฌ๐ข๐œ๐ฌ:
- Primary Key vs Foreign Key
- Data Types
- Database diagrams
- Tables
- Records and Fields
- Naming standards for tables and fields
2. ๐‘๐ž๐ญ๐ซ๐ข๐ž๐ฏ๐ข๐ง๐  ๐ƒ๐š๐ญ๐š ๐ฐ๐ข๐ญ๐ก ๐’๐„๐‹๐„๐‚๐“:
- Learn how to write SELECT ๐˜ค๐˜ฐ๐˜ญ๐˜ถ๐˜ฎ๐˜ฏ(๐˜ด) FROM ๐˜ต๐˜ข๐˜ฃ๐˜ญ๐˜ฆ
- Combine with other keywords: WHERE, ORDER BY & LIMIT
- Learn how to use arithmetic operators in SELECT statement
- Retrieve unique values with DISTINCT keyword
3. ๐‹๐ž๐š๐ซ๐ง ๐ญ๐จ ๐‰๐Ž๐ˆ๐ ๐ญ๐š๐›๐ฅ๐ž๐ฌ
- Learn the four basic JOINS (INNER JOIN, FULL OUTER JOIN, LEFT JOIN, RIGHT JOIN)
- Study the Venn Diagrams behind each type of JOIN
- Understand relationship types (one-to-one, one-to-many, many-to-many)
- JOIN multiple tables
4. ๐‹๐ž๐š๐ซ๐ง ๐ƒ๐š๐ญ๐š ๐€๐ ๐ ๐ซ๐ž๐ ๐š๐ญ๐ข๐จ๐งย 
- GROUP BY statement
- SUM, AVG, COUNT, MAX, MIN, ect....
- Learn the difference between WHERE vs HAVING
5. ๐‹๐ž๐š๐ซ๐ง ๐ฆ๐จ๐ซ๐ž ๐š๐๐ฏ๐š๐ง๐œ๐ž๐ ๐œ๐จ๐ง๐œ๐ž๐ฉ๐ญ๐ฌ
- Learn how to use CASE-WHEN statement
- Common Table Expressions (CTEs)
- Write subqueries in SELECT, WHERE & FROM clauses to retrieve data based on condition or calculation
- Write subqueries in tandem with Aggregate Fn
The concepts in the above roadmap will be enough #SQL knowledge required for most entry-level data analyst reporting positions. More SQL knowledge would be required for an entry-level database developer or data engineer role
Source - Drew Zeimetz
#DataScience #MachineLearning
๐Ÿ”นIf this thread was helpful to you
1. Follow me @Sachintukumar
for daily content
2. Connect with me on Linkedin: linkedin.com
3. RT tweet below to share it with your friend

Loading suggestions...