From the course: Learning Relational Databases
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Maintain a consistent structure
From the course: Learning Relational Databases
Maintain a consistent structure
- [Instructor] One of the habits that sometimes come over from the world of spreadsheets is the tendency to try and store multiple pieces of information of the same type in a single field. This typically shows up as a comma separated list of values where one record has several corresponding data items. Here's an example of what this might look like. Let's suppose that we wanted to keep track of the names of our employees' children, as part of the health benefits that we provide. An initial thought would be to simply create a new column in our employees table and place the names there. When we do that, however, you can quickly see what happens. Any employees that have more than one child will have that information stored as a list of multiple names. Once again, we have a structure that'll work well for us personally, but doesn't help the database organize your information in the most efficient manner. This is why it's…
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)
Relational database advantages1m 14s
-
Remove duplicate information4m 10s
-
(Locked)
Eliminate inconsistent data4m 57s
-
(Locked)
Break data down into its components4m 18s
-
(Locked)
Prevent data conflicts3m 4s
-
(Locked)
Require complete information4m 14s
-
(Locked)
Maintain a consistent structure4m 50s
-
(Locked)
-
-
-
-
-
-