FULL SQL DATABASE COURSE | Learn SQL in 70 minutes
Mo Chen
@mo-chenAbout
Portfolio, Projects, Courses & Certifications: https://mochen.info Sponsorships: https://mo-chen.notion.site/partnerships Hi, I'm Mo! I'm a Data & Analytics Manager. I'm all about turning complex, big data into insights and actions. I am not interested in building yet another dashboard that nobody looks at - I'm interested in solving the most challenging business problems using data.
Latest Posts
Video Description
How I Built 50+ Data Projects in 90 DAYS: https://mochen.info/50-projects-90-days/ Data Analysis Lab - Build Your Data Portfolio in 30 DAYS: https://www.skool.com/data-analysis-lab 1:1 Mentorship: https://tidycal.com/mochen/1-to-1-mentorship Sponsorships: [email protected] Hi! I'm Mo, and I help career switchers transitioning into Data Analytics. I'm a Data & Analytics Manager, and I've been working in the Financial and Banking Data space for 7 years now. COURSES & CERTIFICATES Get 25% OFF DataCamp's Courses & Certificates: https://datacamp.pxf.io/DataCampMoChen INDUSTRY RECOGNIZED CERTIFICATIONS Data Analyst Certification Program: https://datacamp.pxf.io/dataAnalystCertDataCamp PowerBI Data Analyst Certification Program: https://datacamp.pxf.io/PowerBIDataAnalyst Data Scientist Certification Program: https://datacamp.pxf.io/DataScientistCert SQL Associate Certification Program: https://datacamp.pxf.io/SQLAssociateCert TOP DATA ANALYST COURSES Data Analyst with Python: https://datacamp.pxf.io/dataAnalystWithPython Data Analyst with PowerBI: https://datacamp.pxf.io/dataAnalystPowerBIMoChen Associate Data Analyst in SQL: https://datacamp.pxf.io/AssociateDataAnalystSQL TOP DATA SCIENTIST COURSES Associate Data Scientist in Python: https://datacamp.pxf.io/AssociateDataScientistPython Associate Data Scientist in R: https://datacamp.pxf.io/AssociateDataScientistR TOP DATA ENGINEER COURSES Data Engineer in Python: https://datacamp.pxf.io/DataEngineerInPython TOP BUSINESS INTELLIGENCE COURSES PowerBI Fundamentals: https://datacamp.pxf.io/PowerBIFundamentals Tableau Fundamentals: https://datacamp.pxf.io/TableauFundamentals TOP PROGRAMMING LANGUAGE COURSES Python Fundamentals for Data Science: https://datacamp.pxf.io/PythonFundamentalsDataScience Python Fundamentals for Programming: https://datacamp.pxf.io/PythonFundamentalsProgramming SQL Fundamentals: https://datacamp.pxf.io/SQLFundamentals R Programming Fundamentals: https://datacamp.pxf.io/RFundamentals TOP AI COURSES AI Engineer for Developers Course: https://datacamp.pxf.io/AIEngineerDevelopers AI Engineer for Data Scientists Course: https://datacamp.pxf.io/AIEngineerDataScientists Developing AI Applications Course: https://datacamp.pxf.io/AIApplications 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 PROJECT FILES Github repo for code ➡︎ https://github.com/mochen862/full-sql-database-course Install pgAdmin (Windows & Mac) ➡︎ https://www.postgresql.org/download/
Upgrade Your Daily Pack
AI-recommended products based on this video

Beats Fit Pro - True Wireless Noise Cancelling Earbuds - Active Noise Cancelling - Sweat Resistant Earphones, Compatible with Apple & Android, Class 1 Bluetooth®, Built-in Microphone - Beats White

TOCOL for iPhone 12/iPhone 12 Pro Case, Slim Silicone Case for 12/12 Pro 6.1 Inch, Precise Fit, Anti-Slip, Drop Protection, Black

Pc Motherboard Fit for Gigabyte B560M AORUS PRO AX Motherboard 128GB LGA 1200 DDR4 Micro ATX Mainboard

Spigen Thin Fit MagFit Compatible with iPhone 17 Pro Case - Black ClimatePartner certified
![Spigen Spigen Tempered Glass Screen Protector [GlasTR EZ FIT] designed for Nintendo Switch 2 (2025) - 2 Pack](https://m.media-amazon.com/images/I/61L0hIGSbYL._AC_UL1500_FMwebp_QL65_.jpg)
Spigen Spigen Tempered Glass Screen Protector [GlasTR EZ FIT] designed for Nintendo Switch 2 (2025) - 2 Pack

GTOCE Portable Charger,40000mAh Power Bank with 22.5W Fast Charging LED Digital Display Battery Pack with 6 Outputs 2 Inputs, Type C Powerbank Portable Charger for iPhone 16 pro Samsung AirPods,Black

Wireless Power Bank 40800mAh,7-in-1 Portable Charger with 3 Built in Cables,15W Wireless Charging 25W PD QC 4.0 Fast Charging USB C LCD Display Battery Pack for iPhone 16/15/13/12,Samsung,Android etc

AsperX for Magsafe Power Bank, 10000mAh Wireless Magnetic Power Bank, 22.5W Wire Fast Charging Portable Charger with USB C Cable, LCD Display for Magsafe Battery Pack for iPhone 16/15/14/13/12

OYEAELX 3 in 1 with Built in Cable Portable Charger 15800mAh Cell Phone Battery Backup Ultra Slim Mini Power Bank with LCD Display Compatible with iPhone iPad Android Samsung Galaxy and More
![iPhone Charger Fast Charging [Apple MFi Certified] USB C to Lightning Cable 6FT USBC to Lightning Cable Nylon Braided Type C Cord for iPhone 14 13 12 11 Pro Max XR XS X 8 7 6 Plus SE, iPad](https://m.media-amazon.com/images/I/517jTqwo1nL._AC_UL960_FMwebp_QL65_.jpg)
iPhone Charger Fast Charging [Apple MFi Certified] USB C to Lightning Cable 6FT USBC to Lightning Cable Nylon Braided Type C Cord for iPhone 14 13 12 11 Pro Max XR XS X 8 7 6 Plus SE, iPad
![iPhone Charger [Apple MFi Certified] 3FT, 3Pack USB A to Lightning Cable Braided Fast Charging Apple Cord Compatible with iPhone 14 13 12 11 Pro Max XS XR X 8 7 6 5 Plus iPad/iPod/AirPods](https://m.media-amazon.com/images/I/71xZOlUELbL._AC_UL960_FMwebp_QL65_.jpg)
iPhone Charger [Apple MFi Certified] 3FT, 3Pack USB A to Lightning Cable Braided Fast Charging Apple Cord Compatible with iPhone 14 13 12 11 Pro Max XS XR X 8 7 6 5 Plus iPad/iPod/AirPods
![Aioneus iPhone Charger [Apple MFi Certified] 6FT USB Charger Cable Fast Charging USB to Lightning Cable Braided Cord Compatible with iPhone 14 13 12 11 Pro Max XR XS X 8 7 6 Plus SE, iPad](https://m.media-amazon.com/images/I/51ZEZjLgr2L._AC_UL1500_FMwebp_QL65_.jpg)
Aioneus iPhone Charger [Apple MFi Certified] 6FT USB Charger Cable Fast Charging USB to Lightning Cable Braided Cord Compatible with iPhone 14 13 12 11 Pro Max XR XS X 8 7 6 Plus SE, iPad
![iPhone Charger Apple Charger,[Apple MFi Certified]2 Pack Apple Type C Wall Charger Block with 2 Pack [6FT&10FT] Long USB C to Lightning Cable for iPhone 14/13/12/12 Pro Max/11/Xs Max/XR/X,AirPods Pro](https://m.media-amazon.com/images/I/61D9UFpTAEL._AC_UL960_FMwebp_QL65_.jpg)
iPhone Charger Apple Charger,[Apple MFi Certified]2 Pack Apple Type C Wall Charger Block with 2 Pack [6FT&10FT] Long USB C to Lightning Cable for iPhone 14/13/12/12 Pro Max/11/Xs Max/XR/X,AirPods Pro

Oraolo Open Ear Headphones, Bluetooth 5.4 Wireless Earbuds with Stereo Sound, ENC Clear Call, 21H Playtime, Type-C Charging, Touch Control, IPX6 Waterproof Open Ear Clip-On Earbuds for outdoor workout




















