DBMS Flashcards

1
Q

What is DBMS?

A

A Database Management System (DBMS) is software designed to store, retrieve, define, and manage data in a database.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is RDBMS?

A

Relational DBMS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

6 Steps of Database Design process

A
  1. Requirements Analysis
    • —What does the user want?
  2. Conceptual Database Design
    —- Model Data requirements using a Conceptual Data
    Model –> ER model
  3. Logical Database Design
    • — Model Data requirements using a Logical Data Model –> Relational Data Model
  4. Schema Refinement
    - —Fine tune the result
  5. Physical Database Design
    - —Implementation of the design using a Database Management System
  6. Security Design
    • —Implement Controls to ensure security and integrity
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

SQL?

A

– SQL stands for Structured Query Language.

– It is the language for storing, manipulating snd retrieving data in databases.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Types of SQL Statements

A
  1. Data Definition Language (DDL)
    CREATE, DROP, ALTER,…………………
  2. Data Manipulation Language (DML)
    SELECT, INSERT, UPDATE, DELETE
  3. Data Control Language (DCL)
    GRANT, REVOKE
  4. Transaction Control Language (TCL)
    COMMIT, ROLLBACK,…………………..
How well did you know this?
1
Not at all
2
3
4
5
Perfectly