FULL SQL DATABASE COURSE | Learn SQL in 70 minutes
Вставка
- Опубліковано 12 лип 2024
- GET YOUR DATA JOB ➡ mochen.info/
ULTIMATE DATA PORTFOLIO: Everything you need to get your data job ➡ mochen.info/ultimate-data-por...
AI JOB QUEST: Change the way you apply to jobs ➡ mochen.info/ai-job-quest-lp/
PATREON ➡ / mo_chen
1:1 MENTORSHIP PROGRAM: I put my heart and soul into this program. I'm here to help you succeed ➡ mochen.info/1-1-mentorship-lp/
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, Power BI 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
DataCamp Courses & Certifications ➡ datacamp.pxf.io/c/4216860/111...
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 :)
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 🙏
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 😃
Very goog lesson, Mo Chen!!!
I'm brazilian beginner in SQL.
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.
This is very helpful! Thanks for putting this all out! ❤
I’m glad you liked it! Thanks 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 😃
Thank you, Mo! This tutorial is awesome, you're an inspiration!
Thanks so much Marianne for the kind words 😃
Thank you so much for your tutorial. You don't know hou much this helps me in my professional carreer. Best!
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 video, it's almost everything a beginner to SQL hopes to find, thank you Mo
Glad it was helpful!
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 😃
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 😁
Most of the things covered in an one hour video. Thank you!
I’m glad you found it useful! Thanks a lot for watching 😃
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
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!
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 😃
Great one! Much appreciated!
Glad it helped! Thanks for watching 😁
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 work! Thats exactly what i needed
I'm glad you liked it Aidar 😁 Thanks a lot 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 😃
Thank you so much, absolutely wonderful
I'm glad you liked it, thanks so much for watching 😄
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.
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. 👍👍👍👍👍👍
Great tutorial - thank you
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 😃
This is great! thank you Mo
Thank you for watching, I’m glad you liked the video!
Thank you so much! You helped me learn faster for my university exam
Glad I could help! Good luck with your exam 😁
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 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 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 tutorial!!
Thank you!!!
I'm glad you liked it Francisco! Thanks for watching 😃
I am extremely grateful for this incredible tutorial. I can't recall who recommended your channel, but I deeply appreciate them as well. You have no idea how beneficial your tutorial has been for me. I will practice with your code to improve my SQL skills. Thanks again.
Glad it was helpful!
Thank you Mo, you are doing awesome
Thanks so much for sticking around on the channel 😃 I'm very glad you're still here!
Great content, so many topics covered in just 1 hour.
Thanks a lot for watching, I'm glad you liked it 😃
Thanks you very much for your work!
Thanks so much for watching, I'm glad you liked it 😁
thank you for your time and effort
amzing video , you will blow up soon !
Thanks so much for watching!
Thanks Mo. Watched this before I did a certification course in Coursera and it was a breeze. Thanks again!
hi! which certification course did u do
@@noorqaiser9353 SQL Basics for Data Science Specialization by UC Davies
Very useful video, really liked how visual everything was
That’s great, thanks so much for watching!
great video! thanks!
Thank you for watching 😃
great content Mo!
Thanks a lot for watching Leonardo!
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. :)
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!
Awesomely Explained.
I'm glad you liked it Prashant 😁 Thanks a lot for watching!
Very nice explanation.... Great 👍
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.
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
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 😃
Great Video. Very useful and easy to understand.
Glad it was helpful!
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❤
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 😄
I love your content friend, greetings from Perú.
Thanks a lot for watching Angelo 😁
Top stuff 🎉
Thank you 😃
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!
Thankyou ❤1 hour of clear information intead of 450 hours of unclear info on other platforms that only waste your time
New subscriber, thank you
I’m glad you liked it, thanks for the sub 😃
Great explanationn❤❤❤❤ , You are great teacher , i am learning so much from your channel , waiting for more videos
Thank you for the kind words!
The explanations could have been more detailed but I understand the time constraints, overall I loved the content.❤
I'm glad you liked it. It was not a time constraint, it was a choice. My channel is focused around data analysis and these are 90% of the queries you'll need for data analysis jobs. I want to give you only what you need, and nothing more to save you the time and hassle of learning random, cool, but unnecessary things.
@@mo-chen Gotcha!💯
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!
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!
thankyou sir for this
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 😁
Thanku 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 🎉🎉
Thank you for watching Valeria 😁
great work
Thanks so much for watching Zaki 😄
thank you very much...
Thanks for watching!
Excellent tutorial even if the speed is so fast......
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).
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😊
16:55 When Mo turned into a Sigma!!!! and great tutorial by the.
I'm glad you liked it! Thanks a lot for watching 😁
finally a hot SQL teacher
Thank you!
After watching just a minute i subscribed❤😅
good job....
Thank you 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 😅
Thanks u
Thanks a lot for watching!
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
amazing
Glad you think so!
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 :)
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?
Thank you so much for all the amazing work! I cant access the git repo for code. Can you please help me with that?
Wow, i have not seen it yet, but thanks in advance for your contributions to this community. Cheers Mo
Thank you santilo76 😁
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?
Plz make video on Power Bi also
tq
where do you i get the sql file to follow along?
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 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.
love the content by the way, my question is I have a data set that doesn't have a primary key or foreign key the rows repeat so when I try to link it to another data set it is impossible because i don't know how to create a primary key or foreign. Do you have anything like this?
My best bet would be to create a composite key that is unique
@@mo-chen i have been working on it for years and I can't do it...lol..I tried making a table with unique primary Id and when I link it to the other tables ..it doesn't work. I guess One day I will find a video on this. I am currently going to look at your playlist on SQL..I really like your voice and can sit through a video. There are other voices that are to high pitch and I just can't watch. I am so glad I found your channel.
5:34 this mail names are kinda sussy, i liked that lol
17:44, Dang, I hit F5 but refreshed your video instead 😆
🤣
@@mo-chen Great course really, thank you. The thing that worries me now is that I find SQL easier than expected so far. It worries me because there is probably something that I am missing. But after learning Python for a while, I feel like SQL is on the level of HTML and CSS almost. Suddenly that Data Analyst job seems much closer than I thought, however something tells me that my overconfidence right now will bring me some pain in the future.😀
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
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
Great content and off topic but where is your shirt from?
Lots of people have asked before haha, it's from Uniqlo 😁
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?
Pls upload a roadmap video for becoming a data analyst...
I already did 😃 Check it out here ua-cam.com/video/d_2fGS6QVDo/v-deo.html&ab_channel=DataWithMo or you can see the full roadmap on my website here datawithmo.com/. Thanks a lot for watching!