SQL Programming Resources
SELECT * FROM products LIMIT 10;
--This retrieves the first 10 rows from the "products" table.
π12β€4
Use the ORDER BY clause to sort the results in ascending or descending order.
π11β€4
The INSERT INTO statement adds new records to a table
β€8π2
INSERT INTO employees (first_name, last_name) VALUES ('John', 'Doe');
--This inserts a new employee named John Doe into the "employees" table.
--This inserts a new employee named John Doe into the "employees" table.
π6β€4
The UPDATE statement modifies existing records in a table.
π4
UPDATE customers SET email = 'new@email.com' WHERE customer_id = 123;
--This updates the email address for the customer with ID 123.
--This updates the email address for the customer with ID 123.
π6
Joins allow you to combine data from multiple tables based on related columns
π10
Forwarded from Data Analytics
SQL Notes Part-1
Like if you need more content on SQL πβ€οΈ
Like if you need more content on SQL πβ€οΈ
π51β€8π1
Forwarded from Data Analytics
SQL Notes Part-3
(Cascading actions and Normalisation concepts)
(Cascading actions and Normalisation concepts)
π8β€3
Forwarded from Data Analytics
SQL Notes PART-4
Data Wrangling functions on string data types ππ
Data Wrangling functions on string data types ππ
π9β€3
π6
Free resources to learn SQL
Udacity free course- https://imp.i115008.net/AoAg7K
For Practice- https://stratascratch.com/?via=free
Udacity free course- https://imp.i115008.net/AoAg7K
For Practice- https://stratascratch.com/?via=free
π13β€3
If you are trying to transition into the data analytics domain and getting started with SQL, focus on the most useful concept that will help you solve the majority of the problems, and then try to learn the rest of the topics:
ππ» Basic Aggregation function:
1οΈβ£ AVG
2οΈβ£ COUNT
3οΈβ£ SUM
4οΈβ£ MIN
5οΈβ£ MAX
ππ» JOINS
1οΈβ£ Left
2οΈβ£ Inner
3οΈβ£ Self (Important, Practice questions on self join)
ππ» Windows Function (Important)
1οΈβ£ Learn how partitioning works
2οΈβ£ Learn the different use cases where Ranking/Numbering Functions are used? ( ROW_NUMBER,RANK, DENSE_RANK, NTILE)
3οΈβ£ Use Cases of LEAD & LAG functions
4οΈβ£ Use cases of Aggregate window functions
ππ» GROUP BY
ππ» WHERE vs HAVING
ππ» CASE STATEMENT
ππ» UNION vs Union ALL
ππ» LOGICAL OPERATORS
Other Commonly used functions:
ππ» IFNULL
ππ» COALESCE
ππ» ROUND
ππ» Working with Date Functions
1οΈβ£ EXTRACTING YEAR/MONTH/WEEK/DAY
2οΈβ£ Calculating date differences
ππ»CTE
ππ»Views & Triggers (optional)
Here is an amazing resources to learn & practice SQL: https://bit.ly/3FxxKPz
Share with credits: https://t.me/sqlspecialist
Hope it helps :)
ππ» Basic Aggregation function:
1οΈβ£ AVG
2οΈβ£ COUNT
3οΈβ£ SUM
4οΈβ£ MIN
5οΈβ£ MAX
ππ» JOINS
1οΈβ£ Left
2οΈβ£ Inner
3οΈβ£ Self (Important, Practice questions on self join)
ππ» Windows Function (Important)
1οΈβ£ Learn how partitioning works
2οΈβ£ Learn the different use cases where Ranking/Numbering Functions are used? ( ROW_NUMBER,RANK, DENSE_RANK, NTILE)
3οΈβ£ Use Cases of LEAD & LAG functions
4οΈβ£ Use cases of Aggregate window functions
ππ» GROUP BY
ππ» WHERE vs HAVING
ππ» CASE STATEMENT
ππ» UNION vs Union ALL
ππ» LOGICAL OPERATORS
Other Commonly used functions:
ππ» IFNULL
ππ» COALESCE
ππ» ROUND
ππ» Working with Date Functions
1οΈβ£ EXTRACTING YEAR/MONTH/WEEK/DAY
2οΈβ£ Calculating date differences
ππ»CTE
ππ»Views & Triggers (optional)
Here is an amazing resources to learn & practice SQL: https://bit.ly/3FxxKPz
Share with credits: https://t.me/sqlspecialist
Hope it helps :)
π25β€3