8. Relational Dbs (SQL Dbs) - ER
Rectangles represent entity sets.
Diamonds represent relationship sets.
Lines link attributes to entity sets and entity sets to relationship sets.
Ellipses represent attributes
Double ellipses represent multivalued attributes.
Dashed ellipses denote derived attributes.
Underline indicates primary key attributes (will study later)
9. Relational Dbs (SQL Dbs) - Tables
customer-
name
Customer-id
customer-
street
customer-
city
account-
number
Johnson
Smith
Johnson
Jones
Smith
192-83-7465
019-28-3746
192-83-7465
321-12-3123
019-28-3746
Alma
North
Alma
Main
North
Palo Alto
Rye
Palo Alto
Harrison
Rye
A-101
A-215
A-201
A-217
A-201
Example of tabular data in the relational model
11. OLAP
OLAP (Online Analytical Processing) is the technology behind
many Business Intelligence (BI) applications.
OLAP is a powerful technology for data discovery, including
capabilities for limitless report viewing, complex analytical
calculations, and predictive “what if” scenario (budget, forecast)
planning.
12. No SQL Samples - MongoDB
● MongoDB is based on BSON document types.
{
field1: value1,
field2: value2,
field3: value3,
...
fieldN: valueN
}