From the course: MySQL Database Administration
Unlock this course with a free trial
Join today to access over 24,500 courses taught by industry experts.
The EER diagram editor - MySQL Tutorial
From the course: MySQL Database Administration
The EER diagram editor
- [Instructor] Alright, the next concept we want to talk about within database design is building enhanced entity relationship models, or EER models. So as we're designing our databases, it can be really useful to create these EER diagrams so that we can visually model the relationship between tables and the constraints within those tables. We can use EER diagrams to help map out things like which tables we have in the database, which columns exist in each table, the data types of those various columns, primary and foreign keys within the table, relationship cardinality between tables, so whether it's a one-to-many relationship or a one-to-one relationship and in which direction, and then any constraints in the column. Often we're going to be using the non-NULL constraint, but there's others that we can place as well. So here on the right is an example from the Maven Movies Database, which is the database we used for our MySQL for Data Analysis, SQL for Beginners course. We've got…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
(Locked)
Primary keys and foreign keys9m 30s
-
(Locked)
Primary keys and foreign keys demo12m 46s
-
(Locked)
Challenge: Table relationships1m 28s
-
(Locked)
Solution: Table relationships9m 50s
-
(Locked)
Database normalization2m 40s
-
(Locked)
Database normalization demo14m 36s
-
(Locked)
Challenge: Normalization1m 44s
-
(Locked)
Solution: Normalization5m 50s
-
(Locked)
The EER diagram editor19m 13s
-
(Locked)
Challenge: EER diagram editor1m 23s
-
(Locked)
Solution: EER diagram editor11m 34s
-
(Locked)
-
-
-
-