filmov
tv
Advanced guide to database constraints
Показать описание
Last month we covered the five fundamental database constraints: primary keys, unique constraints, foreign keys, not null, and check constraints.
In this session we looked at more advanced use cases for database constraints, including how to
Ensure there's always a child row in parent-child relationships
Use foreign keys to ensure there are no gaps or overlaps in start/end dates
Check the total across child rows equal the total on a parent column
Highlights include:
04:50 - Deferrable constraints
08:10 - Cyclic foreign keys
11:50 - Deferrable foreign keys demo
23:00 - Constraints with materialized views
28:10 - Materialized view constraint demo
39:10 - Enforce consecutive start/end dates
43:40 - Supertype/subtype relationships
46:50 - Advanced foreign key rules demo
59:30 - Recap of advanced constraint uses
In this session we looked at more advanced use cases for database constraints, including how to
Ensure there's always a child row in parent-child relationships
Use foreign keys to ensure there are no gaps or overlaps in start/end dates
Check the total across child rows equal the total on a parent column
Highlights include:
04:50 - Deferrable constraints
08:10 - Cyclic foreign keys
11:50 - Deferrable foreign keys demo
23:00 - Constraints with materialized views
28:10 - Materialized view constraint demo
39:10 - Enforce consecutive start/end dates
43:40 - Supertype/subtype relationships
46:50 - Advanced foreign key rules demo
59:30 - Recap of advanced constraint uses
Advanced guide to database constraints
Beginner's guide to database constraints
Secret To Optimizing SQL Queries - Understand The SQL Execution Order
Advanced Databases - Intro to Constraints & ALTER Statement (SQL)
SQL Views In 4 Minutes: Super Useful! Wow! Crazy! Amazing! I'm Crying Tears Of SQL Joy.
SQL Tutorial - Full Database Course for Beginners
How do SQL Indexes Work
MySQL Full Course for free 🐬
Advanced Aggregate Functions in SQL (GROUP BY, HAVING vs. WHERE)
Advanced SQL Tutorial | Stored Procedures + Use Cases
Learn PostgreSQL Tutorial - Full Course for Beginners
SQL Query Optimization - Tips for More Efficient Queries
Learn Database Normalization - 1NF, 2NF, 3NF, 4NF, 5NF
What is Prompt Tuning?
Database Design Course - Learn how to design and plan a database for beginners
Tips for dealing with SQL Server constraints
MySQL Constraints Part 2: Unlock Advanced Techniques!
MySQL: SUBQUERIES
MySQL Table Constraints Tutorial with Example | MySQL Complete Tutorial
FULL SQL DATABASE COURSE | Learn SQL in 70 minutes
MySQL - The Basics // Learn SQL in 23 Easy Steps
C# Programming (Intermediate) - Lecture 9: Unique Constraints in Databases, Entity Framework Sorting
5 Basic SELECT Statement Queries in SQL
HOW TO JOIN 3 OR MORE TABLES IN SQL | TWO WAYS
Комментарии