FULL SQL DATABASE COURSE | Beginner to Intermediate in 1 Hour
Вставка
- Опубліковано 30 тра 2024
- ┋Resources to take your data analytics skills to the next level┋
Ultimate Data Roadmap: Learn applicable data skills that you can actually use in your workplace in 30 days ➡ mochen.info/ultimate-data-roa...
Ultimate Data Portfolio: Learn how to create an outstanding data portfolio in 3 hours ➡ mochen.info/ultimate-data-por...
1:1 Mentorship: Learn how to advance your career ➡ mochen.info/1-1-mentorship-lp/
Analyst Fundamentals Test: Find out your score in 10 minutes ➡ mochen.info
CourseCareers: Start the FREE Data Analytics Introduction Course Now ➡ coursecareers.com/a/mochen?co...
Portfolio Projects Playlist: End-to-end, FREE guided portfolio projects covering Excel, SQL, Tableau and Python ➡ • Portfolio Projects
┋Community & Socials┋
/ discord ⬅ Join our Discord Data Community
/ mo_chen1 ⬅ My IG is personal -- only follow if you're interested in non-data stuff as well
/ mo-chen1 ⬅ Daily tips & advice on how to enhance your data analysis skills
/ mo_chen_1 ⬅ Figuring out what I want to do in this space...
┋Professional Certificates┋
CourseCareers ➡ coursecareers.com/a/mochen
Google Data Analytics Professional Certificate ➡ www.coursera.org/google-certi...
Google Advanced Data Analytics Professional Certificate ➡ www.coursera.org/google-certi...
Tableau Business Intelligence Professional Certificate ➡ imp.i384100.net/TableauBIAnalyst
Microsoft Power BI Data Analyst Professional Certificate ➡ www.coursera.org/professional...
IBM Data Science Professional Certificate ➡ imp.i384100.net/IBMdataScience
Google Project Management Professional Certificate ➡ imp.i384100.net/GoogleProject...
┋Timestamps┋
00:00 Course outline
03:11 Databases
06:27 Queries, tables and keys
09:39 Windows postgreSQL installation
11:48 MacOS postgreSQL installation
13:54 CREATE TABLE
20:58 INSERT INTO
24:37 SELECT, WHERE, AND & OR
28:49 IN, NOT IN, IS NULL, BETWEEN
32:32 ORDER BY, LIMIT, DISTINCT and Renaming columns
35:09 EXTRACT
36:21 UPPER, LOWER, LENGTH, TRIM
38:30 Concatenation, Boolean expressions and Wildcards
43:02 SUBSTRING, POSITION, COALESCE
46:11 MIN, MAX, AVG, SUM & COUNT
48:16 GROUP BY & HAVING
52:05 CASE (with GROUP BY and for transposing data)
56:18 JOIN & UNION
1:02:31 Subqueries
1:07:15 Bonus - 30 day moving total
1:09:34 Outro
┋Files┋
Github repo for code ➡︎ github.com/mochen862/full-sql...
Install pgAdmin (Windows & Mac) ➡︎ www.postgresql.org/download/
Thanks so much for taking a little time out of your day to watch this!
I love the video! It is a change of scenery after boring SQL classes at uni! Can't wait for the new one :)
Very goog lesson, Mo Chen!!!
I'm brazilian beginner in SQL.
i came from your excel tutorial playlist and now I'm here in sql! thank you so much for putting an effort to help us in this journey, it's very much appreciated 🙏
Thanks Mo. Watched this before I did a certification course in Coursera and it was a breeze. Thanks again!
Really appreciate the effort you put into this! It's hard to walk this journey alone but because of people like you things are easier to handle 🙏 Would love to see some advanced SQL as well!
Hey Larissa 👋 Thanks so much for watching! I will for sure make an advanced SQL course, hopefully soon rather than later 😃
Thank you for this great lesson. very well laid out and good pace. I'll be able to refer back to this for a very long time.
Great tutorial - thank you
This is very helpful! Thanks for putting this all out! ❤
I’m glad you liked it! Thanks for watching 😃
Thank you so much for your tutorial. You don't know hou much this helps me in my professional carreer. Best!
Thank you, Mo! This tutorial is awesome, you're an inspiration!
Thanks so much Marianne for the kind words 😃
Great video, it's almost everything a beginner to SQL hopes to find, thank you Mo
Glad it was helpful!
Very nice explanation.... Great 👍
thanks Mo, this is really good reminder about SQL basics that I used for my hiring test!
I'm glad you found it useful, thanks for watching 😁
Great one! Much appreciated!
Glad it helped! Thanks for watching 😁
What an amazing video!!! Thank you so much Mo! I couldn't wait for the next Intermediate to Advanced!
I’m glad you liked it! Hopefully I’ll get to make the intermediate and advanced soon 😃
Amazing work Mo! Thank you for all the hard work you put into this project. This is really quite helpful 🙏
Glad you enjoyed it!
Thank you very much fior a succinct and informative demonstration.
I’ve learnt more from Mo than attending actual classes… 👏🏾👏🏾
I'm so glad you found the video useful, thanks a lot for watching 😄
For real…
Isn’t it sad that UA-camrs can teach better than actual TEACHERS and they teach it for FREE!!!
@@Dennisaj yea, I just wish recruiters would value non-college learning as much as a degree
Really helpful! Previously took a sql course on coursera, and this video helps me consolidate what I learnt and clear some more complicated concepts. Thank you!
Thanks for watching, I'm glad you found the video useful 😃
Great work! Thats exactly what i needed
I'm glad you liked it Aidar 😁 Thanks a lot for watching!
What a great video !🔥🔥
I am just beginning my way to become a data analyst and your tutorial is absolutely amazing❤
I hope that this tutorial is just the beginning and you will upload tutorials for rest of the roadmap (Excel, tableau, Power BI,....etc)
Thank you so much for watching! I really hope so too that I’ll be able to make more tutorials like this 😃
yooo thanks 4 the work you put in this one! Cheers & keep it up 🤘😔🤘
No problem at all, thank you for watching 😃
I thank you very, very much. you guided me on my way to data analyst. my english is not very good, I hope you understand me. the video was great, I analyzed all the examples. 👍👍👍👍👍👍
Most of the things covered in an one hour video. Thank you!
I’m glad you found it useful! Thanks a lot for watching 😃
This is great! thank you Mo
Thank you for watching, I’m glad you liked the video!
Thank you for so many visuals! Thats' what I needed for sure
I'm glad you liked the video F K! Thanks a lot for watching 😃
thanks for this MO. thanks for taking the time to post this and help a lot of people.
Glad it was helpful!
@@mo-chen really grateful. 🙏😊you have simplimfied things that were quite vague to me in my other resources. Bless you more. :)
Thank you for this. I will watch this now. Keep on sharing my friend - Glenn
Thanks so much for watching 😃
Thank you so much! You are doing a great work.
Thank you so much for watching Emerson!
Great tutorial!!
Thank you!!!
I'm glad you liked it Francisco! Thanks for watching 😃
This is such a well made and helpful video...Thank you for taking the time to do this. You are such a talented teacher! I look forward to your future videos. THANK YOU!
Thanks so much for the kind words and for watching 😁
Great video to learn....Great work brother ....
Thanks a lot for watching Naresh 😃
I want to thank you for creating this amazing tutorial. I just finished my Google Data Analysis Course on Coursera and found this very useful and well-explained. Can't wait to start with a job hunt. Thank you again, you don't have an idea how helpful your tutorial was for me.
Great to see you actually put a course about this online! Thank you for your efforts. I'd like to do a suggestion: is it possible for you to make a course intermediate to advanced SQL for people like me? I have some issues finding a structured course on for this level on SQL online and I think you would be a great person for me to learn from! :)
Hi Wijnand, great suggestion! I will certainly release a 2nd course on advanced SQL queries, just don't exactly know when yet (hopefully within the next 2-3 months). Thank you so much for watching 😃
Thank you so much. You channel has been incredibly valuable to me as I begin my journey in analytics. I've learned from from you than I have in school. Your videos inspire to keep working hard and you make it easy to learn with you. May God bless you for sharing your knowledge.
Great to hear! Thanks so much for watching 😁
Thank you so much, absolutely wonderful
I'm glad you liked it, thanks so much for watching 😄
Thanks you very much for your work!
Thanks so much for watching, I'm glad you liked it 😁
Thank you for your effort in doing this SQL database course Mo. I'm already at the capstone module of Google's DA course and still a bit lost. I kinda understand how SQL works now, especially the primary, foreign and composite keys.
Hi Anj 👋 I’m glad you liked the video, thanks a lot for watching!
great video! thanks!
Thank you for watching 😃
Well done for such a great work. I think the speed was high so I suggest you break the video into topics such that you will take your time to explain very well. More grease to your elbow. Great video❤
I was literally about to ask you if you could do this!!! So far your videos have been so great. I love how you explain everything as we go along. 🎉 I'll let you know what I think! 😊
Thanks a lot Maricuz!
thank you so much. Applying to new job and have been studying all your videos!
Hi David 👋 I'm glad you find the content useful! Thanks for watching 😃
Thank you Mo, you are doing awesome
Thanks so much for sticking around on the channel 😃 I'm very glad you're still here!
Thank you so much! You helped me learn faster for my university exam
Glad I could help! Good luck with your exam 😁
great content Mo!
Thanks a lot for watching Leonardo!
Great Video. Very useful and easy to understand.
Glad it was helpful!
Awesomely Explained.
I'm glad you liked it Prashant 😁 Thanks a lot for watching!
Great content, so many topics covered in just 1 hour.
Thanks a lot for watching, I'm glad you liked it 😃
Thankyou ❤1 hour of clear information intead of 450 hours of unclear info on other platforms that only waste your time
thank you for your time and effort
amzing video , you will blow up soon !
Thanks so much for watching!
Very useful video, really liked how visual everything was
That’s great, thanks so much for watching!
thankyou sir for this
Thanks so much. You really help me finding a good roadmap to learn SQL. I will appreciate a lot other tutoriels like this one in Power BI and Excel if it's possible.
Glad it was helpful!
thanks MOCHEN 😄😁🥰!!
even though am not Data Analyst,
but as full-stack web dev,
this 70min saved weeks of my time,
so I will contribute to this repo,
by pulling request,
with improved readability commit,
and png screenshot of tables.
Thanks so much for improving the readability 🙏 I’ll quickly review it when I get the chance. I’m glad the video helped you learn faster 😃
I really like the video tutorial you saved in your channel, I will watch again the tutorial for the second time for me to master the basic concept. Thank you very much for these lectures. Have a great day and and keep on posting educational videos/lectures about Data science.
I'm very glad you like the content Johayber 😄Thanks so much for watching!
@@mo-chen You're welcome sir I want to become a Data Scientist as because I need this to my field as a chemistry student
I love your content friend, greetings from Perú.
Thanks a lot for watching Angelo 😁
Hello mr Chen thank you so much for your videos 🙏🏿..I am an aspiring Data analyst planning to explore
A secondary School student from Nigeria.. hoping to learn more things from your tutorials sir😊
I am not from IT, age 54 and Mechanical Engineer with 30 years experience in Plant Maintenance. I am learning with your instructions and the video step by step. Same way I have learnt Python, HTML5, CSS, JS, NodeJS, Docker, VSCode, C#, MySQL, PostgreSQL, MongoDB, Git and GitHub, NoSQL, etc. and I am still looking for new things to be learned ! Thank you from India, for the simple and easy to follow videos.
Great explanationn❤❤❤❤ , You are great teacher , i am learning so much from your channel , waiting for more videos
Thank you for the kind words!
New subscriber, thank you
I’m glad you liked it, thanks for the sub 😃
Hi there, nicely done with the tutorials. Bring it more, im seriously interesting in Data Science. Working with pandas and numpy at the moment Cheers :)
All the best with your data science journey! Thank you so much for watching 😄
Top stuff 🎉
Thank you 😃
Excellent tutorial even if the speed is so fast......
Please make more videos like this on other coding language like java.. I love this.. Thanks bro..
I would love to when my time allows it 😁 Thanks so much for watching!
thank you very much...
Thanks for watching!
great work
Thanks so much for watching Zaki 😄
Thankyou so much... Please also cover cte and window fxns too🎉🙌
I’m glad you liked it! I will try my best, there will be more sql videos coming for sure 😃 Thanks a lot for watching!
Thanku Sir
Great 🎉🎉
Thank you for watching Valeria 😁
16:55 When Mo turned into a Sigma!!!! and great tutorial by the.
I'm glad you liked it! Thanks a lot for watching 😁
Hi Mo!
Great! I'm learning a lot. Thanks for making database understanding very easy!
Question, do you have these data available for your audience in any separate file (like excel or any other format) ?
You guessed it, I'm thinking of copying those data and use... :)
Thanks a lot for watching! I don't have the data in Excel format, but you can easily export your tables to CSV format using postgres CLI (command line interface).
Hi Mo, great explanation. Thanks for this. Can you also do a comparation between Tableau vs Power BI and the one you would prefer? looking forward for more content!!!!! 🙌🏻
Thanks so much for watching! It's a great video idea 😁
Wow, i have not seen it yet, but thanks in advance for your contributions to this community. Cheers Mo
Thank you santilo76 😁
where do you i get the sql file to follow along?
Invested so much money into a Master program to only come out feeling lost and uneducated. You are amazing and make me feel like I can do it. Thank you for all of your knowledge, skills, and time putting this together. ❤New subscriber here!
Great to have you here on the channel!
good job....
Thank you for watching 😃
amazing
Glad you think so!
You are Amazing Although i am also learnign SQL from Coursera UC Davis
Thanks a lot for watching and good luck with your sql learning 😁
Thanks !!!!@@mo-chen
finally a hot SQL teacher
Thank you!
Hi Moe! Thanks for this but whe I copy that entire cope and press run but it doesnt show the table? that should easily show the table right?
Plz make video on Power Bi also
Hi Mo!
Great video!
I didn't quite catch how you imported the excel file to PostreSQL. Because you have to import a cvs file or something in advance to do the things you are doing in the video? Or did you make the dataset with the codes? There is something I don't understand about coding, and it's not the codes, but rather how you import your own specific data into these programs.
It's possible that I have expressed myself poorly, and I apologize for that.
But what I'm wondering is if you have already loaded the Excel sheet you're showing on the right side, or if you simply create the table and the data in the table.
Thank you in advance!
Hi there, I didn't import any Excel files in this video. All the code is available in the github repo (create tables, insert values, and all other queries). I left the link in the description box. Thanks a lot for watching 😁
@@mo-chen Ok! Thank you for your help , and quick response! Keep up the videos, they are really good :)
Thanks u
Thanks a lot for watching!
Completed kindly make another one a Advanced one please it would be helpful.
I will for sure make a course on advanced SQL queries just not exactly sure when yet 😅
tq
I'm at 57:48, and kinda stuck INNER JOIN as it's suddenly s.coffeeshop_name,.. (I don't full understand the "alias" and how it named like that "s.coffeeshop"). It took a while before I figured it out through w3school. As a beginner, I would suggest you to go through/add this part in the future tutorial, as it's fundamental before moving on to a more complex code.
It also could be that I have no previous coding experience so it was confusing at first try LOL
Thank you so much for all the amazing work! I cant access the git repo for code. Can you please help me with that?
Hi, Mo. I have a trouble. When I run the SELECT * FROM employees, why my all of my coffeeshop_id (FK) is still filled with null(s) in each employee?
question for length how can you then look at the max length of the email without having an error that says
column "email_length" does not exist
example
SELECT email, LENGTH(email) AS email_length, Max(email_length)
FROM employees
Hi mo l had done 3projects of Excel and your project that you shared in another video now how can get just the data and do it by my self
Do you think a person needs strong math skills to be a day analyst and eventually make it to 200K+? I am a fast learner but never really liked school so my math skills are really good when it comes to everyday computations. I almost never need a calculator but barely passed statistics in college mostly due to ADHD and not learning well in a structured setting.
Could someone tell me why he uses a 23:13 update instead of directly inserting all the data into the table through 'insert into'?
I have been using ssms, what's the difference with PostgreSQL? and will my knowledge of ssms apply to PostgreSQL?
Hi Mo, really grateful to find your training video 😊 I am brand new to SQL, had to ask how was data get transferred into SQL to create the table please? I have followed all the coding steps but no table was created. I must have missed an important step here…. Could you please help.xx
Hi there 😃 If you follow the code exactly sequentially, then you should definitely have your tables created. Could you please try again from the beginning?
5:34 this mail names are kinda sussy, i liked that lol
At 1:05:04, I want to use this subquery to find all the coffee shop in US, here is the code I wrote:
SELECT coffeeshop_name
FROM SHOPS
WHERE city_id IN (select city_id
from locations
where country = 'United States');
For some reason, this returned with coffeeshop_id 1,2,3,4 (including United Kingdom coffeeshop) and 5 is missing (5 also belong to US)
Just wondering where did I go wrong from here. I apprecited if you could look at the above code) :(
Where do you get your tshirts? Im looking for some oversized one like the one you’re wearing and it seems like a great fit!
Funny enough you’re not the first one to ask this 😃 The brand is called Uniqlo, and they’re really affordable and good quality.
Thank you Mo, luv 😊What do you think of 'Orange Data Mining'?
Thanks for watching Andy! I've never used orange data mining, but just googled it and it looks fun 😄
Where can I get this 24:26 data to put into the query..?
So I’m following along with the tutorial . When I insert the dates specifically I keep getting Error: date/time field value out of range: “29/08/2016”
Hint : perhaps you need a different “datastyle” setting.
Sql state: 22008
Character: 239
I’m using data type DATE for the hire_date definition so I don’t understand
My date style was ISO,MDY i formatted the hire dates this way and it worked.
Nice one Josh! Good job figuring it out 😁