Mid Term study Flashcards
What is the Range of Database applications?
-Personal Databases
-Multitier Client/Server Databases
-Enterprise Applications(
* Enterprise Resource Planning
* Data Warehousing)
What are the THREE development stage models?
Conceptual model
Logical Model
Physical Model
Problems with Data Dependency?
Each application programmer must maintain his/her own data
Lack of Coordination and Central Control
Non-standard file formats
Costs and Risks of Database Approach?
New, specialized personnel
Installation and management cost and
complexity
Conversion costs
Need for explicit backup and recovery
Organizational conflict
What is the Database Approach?
Central repository of shared data
Data is managed by a controlling agent
Stored in a standardized, convenient
form
Requires a Database Management System (DBMS)
What are CASE Tools
computer-aided software engineering Tools
What is a Repository?
centralized storehouse of metadata
What are End Users?
people who use the applications and
databases
Define Metadata?
Data about data(information about data)
Provides context to the data.
Example: if ‘Salary’ for an employee is 65000.
65000 is the data and ‘Salary’ is the context or metadata.
Define Conceptual Data Modelling
- Define detailed inventory of data attributes
- Lists all the data categories
- Establishes relations between data categories
Results in conceptual schema that is usually
displayed graphically
(known as the Entity-Relationship Diagram)
Define Logical Data Modelling
Transform The conceptual schema to logical schema
Describe data in terms of data management
technology that will be used (i.e relational database)
Transform data to atomic elements through the process of normalization (tune the conceptual model)
Define Physical Data Modelling
Describe how data will be stored and managed by the technology (i.e RDBMS)
Responsible for specifications for memory
management, storage layout, data indexing, etc
Results in a physical schema
Select Query syntax
SELECT [column name] from [table name]
WHERE [Condition]
Selecting null or not null syntax
SELECT * FROM [TABLE] WHERE Column name IS NULL
IS NOT NULL
BETWEEN and IN clause examples
BETWEEN:
SELECT * FROM [TABLE]
WHERE [Column name] BETWEEN VAL-1 AND VAL-2
IN:
SELECT * FROM [TABLE]
WHERE [Column name] IN (VAL-1,VAL-2, ETC)