Introduction Flashcards
What is RDBMS?
RDBMS: Relational Database Management System
We use RDBMS to make changes to database that store information in the form of tables.
Give examples of RDBMS.
MySQL, SQL Server, Oracle
What is ACID?
ACID - Atomicity, Consistency, Integrity, Durability
Atomicity: The property by which the transaction either completes or fails in entirety.
Consistency: The property by which the database is consistent before and after a transaction.
Isolation: Multiple transaction can take place simultaneously.
Durability: The changes made to the database are saved, even if the system fails.
What are the types of command in MySQL?
Types of commands:
- DML (Data Manipulation Language)
- DDL (Data Definition Language)
- DCL (Data Control Language)
What’s DDL?
DDL commands are used to deal with the structure of tables/database objects.
Ex - CREATE, ALTER
What’s DML?
DML are used to change the information stored inside tables.
Ex - INSERT, UPDATE
What’s DCL?
DCL are used to control the access to the database.
Ex - GRANT, REVOKE