DBMS Flashcards
(7 cards)
1
Q
What is DBMS?
A
A Database Management System (DBMS) is software designed to store, retrieve, define, and manage data in a database.
2
Q
What is RDBMS?
A
Relational DBMS
3
Q
Three-Tier Architecture of a DBMS
DBMS schemas at 3 levels:
A
- Internal schema at the internal level to describe physical storage structures and access paths. Typically uses a physical data model.
- Conceptual schema at the conceptual level to describe the structure and constraints for the whole database for a community of users. Uses a conceptual or an implementation data model.
- External schemas at the external level to describe the various user views. Usually uses the same data model as the conceptual level.
4
Q
What is a Database?
A
A database is an organized collection of structured information, or data, typically stored electronically in a computer system.
5
Q
6 Steps of Database Design process
A
- Requirements Analysis
- —What does the user want?
- Conceptual Database Design
—- Model Data requirements using a Conceptual Data
Model –> ER model - Logical Database Design
- — Model Data requirements using a Logical Data Model –> Relational Data Model
- Schema Refinement
- —Fine tune the result - Physical Database Design
- —Implementation of the design using a Database Management System - Security Design
- —Implement Controls to ensure security and integrity
6
Q
SQL?
A
– SQL stands for Structured Query Language.
– It is the language for storing, manipulating snd retrieving data in databases.
7
Q
Types of SQL Statements
A
- Data Definition Language (DDL)
CREATE, DROP, ALTER,………………… - Data Manipulation Language (DML)
SELECT, INSERT, UPDATE, DELETE - Data Control Language (DCL)
GRANT, REVOKE - Transaction Control Language (TCL)
COMMIT, ROLLBACK,…………………..