Learn SQL for Data Analysis in one hour (with sample dataset + 50 queries)
SQL is one of the most important skills to have for data people. In this comprehensive video, learn how to use SQL to perform common data analysis tasks. You will learn:
◈ How to use SELECT statement to answer business questions
◈ Working with WHERE clause
◈ Using AND, OR, NOT and combining them to create complex queries.
◈ Sorting query results using ORDER BY
◈ Combining data from two or more tables using JOINS
◈ Creating reports with GROUP BY
◈ More than 50 example queries, tips and ideas
🚨 PRE-REQUISITES:
You need any SQL console (I am using the FREE MySQL Community Edition and you can download it from )
You also need the Awesome Chocolates Dataset.
See for the sample files, instructions on data import and other SQL resources for you.
😃 Basic intro:
If you want a simple introduction to SQL (for an interview or to brush up), see this video instead -
⏱ IN THE VIDEO:
0:00 - Introduction
0:43 - Data setup, explanation & basic queries
6:24 - Adding calculated columns in SELECT
8:39 - Our first WHERE clause
10:28 - Ordering query results with ORDER BY
13:24 - More Where clause examples
16:42 - Between conditions
19:06 - Working with Dates
21:50 - Using other tables
23:47 - IN clause
24:36 - Pattern matching in SQL
26:30 - CASE operator and branching logic
30:30 - JOINS
36:32 - LEFT Join vs. RIGHT Join ~ EXPLAINED
38:28 - More Join examples
42:10 - Adding conditions to Joins
47:30 - GROUP BY and creating reports with SQL
54:50 - Showing Top 10 Products by Amount
57:12 - Closing remarks & next steps for you
📚 RESOURCES TO LEARN MORE SQL:
1) Practice the problems and scenarios discussed in the video with the awesome chocolates dataset.
2) Solve homework problems listed here -
3) Get one or two SQL books. My recommendations are here -
4) Consider going for an SQL course. Check the same page for my course suggestions.
5) PRACTICE, PRACTICE, PRACTICE!
🙄SQL ALTERNATIVES:
If you don’t want to learn SQL but still wish to work with data, then consider learning POWER QUERY, which offers similar capabilities as SQL.
See this video 👉
😎WATCH NEXT:
Now that you know a bit of SQL, why not use it with Power BI to do visual data analysis?
If you are new to Power BI, see my Power BI video to get started with that.
👇
~
😍FOLLLOW ME
Apart from YouTube, I regularly share content on below places. Feel free to check them out and give a follow.
💻 WEBSITE -
📃 WEEKLY DATA TIPS NEWSLETTER -
📷 INSTAGRAM -
🐤 TWITTER -
~
Select “good day“ from days
where person = “you“ 😃
#sql #tutorial
10 views
800
226
2 months ago 00:21:49 1
Как стать Java Junior с нуля / Как стать программистом с нуля / Полный план
2 months ago 00:05:47 1
Как удалить шифрованный EFI раздел с USB флешки в Windows 10
2 months ago 00:09:01 1
Инструкция по установке Manjaro Linux 18 KDE
2 months ago 10:44:08 2
PHP For Beginners - Complete Course (2023) [Check Comment for HD version Link]
2 months ago 00:27:14 1
Context transition in DAX explained visually
3 months ago 04:26:52 1
Learn Python - Full Course for Beginners [Tutorial]
3 months ago 00:04:09 1
Artificial Intelligence In Digital Marketing Video Upgrade Pack ... Video 4
3 months ago 00:20:01 1
Полный гайд по собеседованию в IT — рабочий алгоритм
3 months ago 00:20:55 1
🚷Is RUSSIA Losing Culture due to Illegal Immigration?!🇺🇸AMERICAN tours MOSCOW Sq@Igorinrussia🇷🇺
3 months ago 00:14:15 1
Индексы в T-SQL.
3 months ago 00:08:28 7
Лучшие бесплатные курсы и книги по Python в 2024 год.
4 months ago 00:00:00 2
Machine Learning в PostgreSQL — Александр Календарёв, конференция PGConf.СПб 2023
4 months ago 06:42:29 1
Python App Development: Build Modern GUIs in 7 Hours (Beginners Course)
4 months ago 19:23:46 1
Data Analyst Bootcamp for Beginners (SQL, Tableau, Power BI, Python, Excel, Pandas, Projects, more)
4 months ago 04:22:13 1
Data Analysis with Python - Full Course for Beginners (Numpy, Pandas, Matplotlib, Seaborn)
4 months ago 04:03:27 1
SQL Server Performance Essentials – Full Course
4 months ago 01:06:45 1
Make Your Own SQL Server Queries Go Faster by John Sterrett
4 months ago 00:06:13 1
SQL for fun and profit
4 months ago 01:51:23 1
Harvard CS50 (2023) – Full Computer Science University Course
4 months ago 00:55:14 1
Python PANDAS - Полный Курс для Начинающих.
4 months ago 00:08:07 1
UNION в Microsoft SQL Server.
4 months ago 00:12:07 1
I Don’t Care How You Pronounce SQL
4 months ago 00:06:57 1
SQL - Wildlands | Sequel Album | Gem Records
4 months ago 02:01:29 1
Ultimate Mr. Robot Original TV-Series Score Music Mix for Hacking, Coding & Programming