Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

SQL Tutorial - All 38 Concepts You Need To Know

ByteGrad via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn all essential SQL concepts in this comprehensive 29-minute tutorial covering 38 fundamental database management topics. Master database creation, table design principles including normalization and naming conventions, and explore various data types and constraints. Understand relationship modeling through foreign keys for one-to-one, one-to-many, and many-to-many connections. Practice data manipulation with INSERT operations for database seeding, then dive into querying techniques using SELECT statements with column selection, aliases, and filtering with WHERE, BETWEEN, LIKE, IN, and logical operators. Explore data retrieval optimization through ORDER BY, LIMIT, and aggregate functions including COUNT, SUM, and AVG. Implement conditional logic with CASE statements and master table relationships through JOIN operations. Learn string manipulation functions like TRIM, SUBSTRING, and LENGTH, then progress to data modification with UPDATE and DELETE operations within the CRUD framework. Discover advanced database management concepts including transactions for data integrity, indexing strategies for performance optimization, and when to implement indexes effectively. Gain insights into business intelligence tools, database migrations for schema changes, and Object-Relational Mapping (ORM) using SqlAlchemy for seamless database integration in applications.

Syllabus

00:00 Why SQL is so valuable
01:23 4 Common Databases "DBMS"
01:41 Create database & use
01:51 Tables
02:26 Normalized vs Denormalized
02:39 Singular vs Plural table names
03:23 Data types
04:12 DataCamp
05:05 Constraints
06:38 Relationship with Foreign Key one-to-one, one-to-many, many-to-many
08:07 INSERT data seeding database
10:35 Relationship visualizer
11:07 SELECT
12:24 Select Columns
12:55 Alias
13:09 WHERE filter
13:47 BETWEEN
14:01 LIKE %
14:28 IN / NOT IN
14:40 AND / OR
15:23 EQUAL / NOT EQUAL
15:34 Dynamic date past week
16:25 ORDER BY ASC / DESC
16:43 LIMIT
16:52 COUNT
17:11 SUM
17:21 AVG
17:29 CASE if-else logic
18:02 JOIN
20:08 TRIM / LTRIM / RTRIM
20:40 SUBSTRING
20:59 LENGTH
21:16 UPDATE
21:47 DELETE
22:00 CRUD Create / Read / Update / Delete
22:12 DROP TABLE careful!
22:22 Transactions
24:05 INDEX
25:40 When to use index?
26:06 BI-tools
26:47 Migrations
27:50 ORM SqlAlchemy

Taught by

ByteGrad

Reviews

Start your review of SQL Tutorial - All 38 Concepts You Need To Know

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.