Ch 6: Relational Databases and Enterprise System

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/25

encourage image

There's no tags or description

Looks like no tags are added yet.

26 Terms

1
New cards

Database

  • Collection of related data for various uses in business setting often maintain information about various types of objects, events, people, and places

  • 3 types of data models used: hierarchical model, network model, and relational model


2
New cards

Database Management System (DBMS):

  • computer program that creates, modifies, and queries the database. Specifically, the DBMS is designed to manage a database’s storage and retrieval of information.


3
New cards

Data Dictionary

  • Describes the data fields in each database record such as field description, field length, and field type (e.g., alphanumeric, numeric).


4
New cards

Database Administrator:

  • The person responsible for the design, implementation, repair, and security of a firm’s database.


5
New cards

Hierarchical Data Models

Organizes data into a tree-like structure that allows repeating information using defined parent/child relationships widely uses in mainframe database management systems.

6
New cards

Network Data Models

  • Flexible model representing objects and their relationships; allows each record to have multiple parent and child records or M:N mapping, also known as many-to-many.

  • The structure connecting records in a database looks like a mesh.


7
New cards

Relational Data Models

  • Stores information in the form of related two-dimensional tables. Advantages:

    • Flexibility & Scalability: as business and informational requirements change, models are able to handle these changes quickly and and easily.

    • Simplicity: easy to communicate to both database users and database developers.

    • Reduced Information Redundancy: requires each piece of data to be recorded only in one place, eliminating the need for information to store in multiple places. 


8
New cards

Class in a relational database:

  • a person, place, thing, transaction, or event about which information is stored


9
New cards

Entities & Attributes

  • Classes grouped into REA: resources, events, and agents in data modeling


10
New cards

Table

  • represents either a class or a relationship among classes. Need to be properly linked to make a relational database. 


11
New cards

Attributes

  • Columns in a table are called fields and represent attributes or characteristics of a class or relationship.


12
New cards

Records

rows in a table are called records or tuples

13
New cards

Entity Integrity Rule:

  • primary key of a table must have data values (cannot be null).


14
New cards

Referential Integrity Rule:

  • data value for a foreign key must either be null or match one of the data values that already exist in the corresponding table.


15
New cards

Basic Table Requirements

  • Each attribute must have a unique name

  • Values of a specific attribute must be of the same type (ex. Alpha or numeric)

  • Each attribute (column) of a record (row) must be single-values -> many to many

  • All other monkey attributes in a table must describe a characteristic of the class (table) identified by the primary key


16
New cards

Structured Query Language (SQL)

  • A computer language designed to retrieve data from a relational database based on relational algebra and allows a user to query and update the database. 


17
New cards

Enterprise Systems (ESs)

  • A centralized database that collects data from throughout the firm. Commercialized information system that integrates and automates business processes across a firm’s value chain located within and across organizations.


18
New cards

Cloud Computing:

  • Using redundant servers in multiple locations to host virtual machines.


19
New cards

Challenges in Implementing Cloud Computing:

  1. Integrating various modules within the enterprise system

  2. Integrating with external systems such as information system of a supplier and/or customer

  3. Integrating with the firm’s own existing legacy systems

  4. Converting data from existing legacy systems to the enterprise system 

  5. Getting any big project implemented at a firm. 


20
New cards

FROM

  • clause added to the SELECT statement

  • indicates the name of table(s) from which to retrieve data

ex.) Given the attributes in the “Sales table”, how do you use a query to find the salesperson for each customer?


21
New cards

SELECT

  • used to begin a query

  • statement tells the query which columns (or attributes) of a table should be included in the query


22
New cards

WHERE

• states the criteria that must be met to be shown in the query result

  • ex.) How do you retrieve all cash receipt information for customer 1003 from the “Cash Receipt” table?


23
New cards

GROUP BY

• is used with aggregate functions on the query results based on one or more columns

  • ex.) Refer to the Cash Receipt table. What is the total cash receipt amount from each customer?


24
New cards

ORDER BY

• identifies which columns are used to sort the resulting data

• Without it, the order of rows returned by a SQL query will not be defined

ex.) What are the cash receipts for customer 1003, sorted from the

smallest payment to the largest payment?


25
New cards

SELECT DISTINCT

  • clause selects a column without showing repetitive values

  • ex.) You can retrieve each customer number once from the Cash Receipt table


26
New cards

BETWEEN

  • operator can be used to specify the end points of a range

  • ex.) Finding out cash receipt entries made in September and October