Professional Documents
Culture Documents
- Anything about w/c the organization wishes to store Database technology is everywhere.
data. Accountants work directly w/databases.
- Ex. Students
• Attributes and Fields Benefits:
- Information about the attributes of an entity is stored in
• Data Integration
fields
- Combining master files into larger pools of data
Entity Fields accessible by many programs.
• Data Sharing
STUDENTS - Easier to share data that’s integrated
Last First Phone • Reporting Flexibility
Student ID Birth Date - Reports can be revised easily and generated as
Name Name Number
needed.
333-33-3333 Simpsons Alice 333-3333 10/11/84
111-11-1111 Sanders Ned 444-4444 11/24/86 - Database can easily be browsed to research problems
or obtain detailed information.
123-45-6789 Moore Artie 555-5555 4/20/85
• Minimal data redundancy and data inconsistencies
- Data are usually stored only once; data redundancy
and data inconsistencies are minimized.
Attributes Record
• Data independence
• Record - Because data and the programs that use them are
- All fields containing data about one entity form a independent of each other, each can be changed
record. without changing the other. This facilitates
- Group of fields programming and simplifies data management.
• File • Central Management of Data
- A set of related records form a file. - Data management is more efficient because the
- Contains records database administrator is responsible for coordinating,
controlling, and managing data.
STUDENTS • Cross-functional analysis
Student ID Last First Phone Birth Date - In a database system, relationships, such as the
Name Name Number association between selling costs and promotional
333-33-3333 Simpsons Alice 333-3333 10/11/84 campaigns, can be explicitly defined and used in the
preparation of management reports.
111-11-1111 Sanders Ned 444-4444 11/24/86
Bad data leads to:
123-45-6789 Moore Artie 555-5555 4/20/85 Bad decisions, embarrassment, angry users
• Database system
3 levels of schema:
- Address problems associated w/proliferation of master
files
• Database approach 1. Conceptual level
- Treats data as an organizational resource, not just for - Org’s wide view of the entire database; the big picture
individual or particular department. - List all data elements and the relationships between
them
2. External level
- How each user sees the portion of the system
- Individual views = subschema
3. Internal level
- Low-level view of database
- How data are actually stored and accessed
Database system - Level we do not really see
Inputs: - Normalization
- Semantic data modeling
- Records of new or deleted data elements
- Changes in names, descriptions, or uses of existing 1. Database - an organized collection of structured information,
elements or data, typically stored electronically in a computer system.
The solution is to use set of tables in a relational database. - Multiple storages also create another problem when
one user failed to update the data. If user 1 was unable
to notify the users about the update he made to data 9. DDL is used when the user encodes the official receipts to the
B, the two users might not record the change. The data Database.
of user 2 and 3 is not the current data and will make
decisions based on outdated data 10. The number of characters allowed is an example of a data
element.
Task dependency
Activity 1. For the following statements, indicate whether TRUE or
- Another problem with the flat-file approach is the user's FALSE.
inability to obtain additional information as his or her
needs change. This problem is called task-data 1. In a data hierarchy, a collection of related characters
dependency. The user's information set is constrained constitutes a field.
by the data that he or she possesses and controls
2. A secondary key uniquely identifies any row within a relational
DATABASE SYSTEMS table.
The database environment can be broken down into four 3. The relational data model portrays data as being stored in
primary elements: users, the DBMS, the database administrator, table.
and the physical Database.
4. An attribute is equivalent to a field and may also be known as
Users a row.
- can access the Database in two different ways. The first 5. In a relational database model, data are logically organized
way is accessing the Database via user application into twodimensional tables.
programs. This software can be an ERP, spreadsheet, or
and accounting application. These programs send 6. The normalization process involves various steps that transform
data access requests (calls) to the data management an original
system (DBMS), which validates the requests and
retrieves the data for processing. The second method
database design into an equivalent design that is free of
of database access is via direct query, which requires
problems.
no formal user programs. This method is only for those
users who are knowledgeable in a query language
7. There should be primary key and foreign key to connect the
such as SQL.
two tables.