Mohamed Feddad

22%
Flag icon
all non-primary key columns must be dependent on the entire primary key. In the previous table, notice that Origin depends only on the superhero, that is, Name. It doesn't matter which Power we are talking about. So, Origin is not entirely dependent on the composite primary key — Name and Power. Let's extract just the origin information into a separate table called Origin, as shown here:
Django Design Patterns and Best Practices: Industry-standard web development techniques and solutions using Python, 2nd Edition
Rate this book
Clear rating
Open Preview