Chapter 15 Flashcards
database software
is a well thought out collection of computer files
ERM entity relationship modeling
a database modeling method used to construct theoretical and conceptual representation of data to produce a schema
database schema
is a map of data tables and their relationships to one another
relational database
creates a relationship between the different tables, uses. primary key id
why use relational databases
keeps infor up to date and reduces redundancy, increases flexibility, its scalable, increases performances, increases integrity of information, reduces error and mistakes that could occur when entering information multiple times, security can lock the tables
Cardinality
the number of elements in a set.
high, which means it has a unique value like a bank account or UIN
1:M
low, means its repeated more often like a zipcode
SQL structured query language
the most widely used standard computer language for relational databases it allows a programmer to manipulate and query data
what are the 3 cardinality relationships
1:1 one to one meaning one person has one
M:M many to many (like many customers purchasing many products and can be purchase many products
1:M (1 to many ex: mays has many classrooms one building)
what is SQL used for?
extracting data, sorting data, manipulating data
whats one field that needs to be unique
primary key
what is chen model
rectangle is the table name and ovals are the build names (attributes)