Professional Documents
Culture Documents
Student Requirements
Review Requirements
Tutoring Admin Requirements
Access and Security
● User Access - It refers to what objects and
data in a database a user has permission to
use.
● Security involves determining who has access
to database objects and data and what kind of
access they should have.
Types of Access
Types of Access
Types of Access
Business Rules
● Business rules - are rules about how the data are
captured and used and what limits or constraints
are placed on the data.
● Business rules describe the rules that govern the
way data are acquired, stored, and used by the
business.
● Some of these rules can be enforced in the
database, and some will need to be built into the
client application that is built on the database.
Sample: Business Rules
Sample: Business Rules
So far...
List of nouns
So far...
List of nouns
So far...
List of nouns
So far...
List of nouns
Entities and Attributes
● Entities are things that a database is concerned
with, such as students, inventory, orders, or
courses, and so on.
● Attributes are aspects of entities. They are things
that describe an entity or belong to it.
● Entities are a part of the logical design of a
database.
● The logical design is independent of any database
management system.
Keys
● Ideally, every entity should have a key attribute—
one attribute that uniquely identifies an instance
of that entity.
● Candidate keys are attributes that could possibly
be used as identifying attributes.
● A good candidate key must be unique.
● If there is no good candidate key singly, attributes
can be combined to form a “composite key.”
Keys
● Keys that are based on attributes that
belong naturally to the entity are
sometimes called “natural keys.”
● Surrogate Key - An artificially created
key, often just auto-incremented
numbers.
Primary Key Guidelines
● Keys that are based on attributes that
belong naturally to the entity are
sometimes called “natural keys.”
● Surrogate Key - An artificially created
key, often just auto-incremented
numbers.
Any questions?