InfoMan-Week 6-Creating-DBase2021
InfoMan-Week 6-Creating-DBase2021
INFORMATION
MANAGEMENT
Prepared By:
Rowena S. David
CCS Faculty
Creating a Database
Learning Outcomes
At the end of the topic session, the students should be able to:
The attribute "NOT NULL" specifies that the column cannot contain the
NULL value. NULL is a special value indicating "no value", "unknown
value" or "missing value". In our case, these columns shall have a proper
value. We also set the default value of the columns. The column will take
on its default value, if no value is specified during the record creation.
Explanations:
We set the column productID as the so-called primary key. Values of the
primary-key column must be unique. Every table shall contain a primary
key. This ensures that every row can be distinguished from other rows.