Odio ipsum maiores voluptate. Ex eaque eos officiis quod illum sequi qui. Consequatur est et quis sit et nostrum qui.
1. Introduction:
a. Database:
Database is a structured collection of data that is organized in a way that makes it easy to manage, access and update.
It is designed to efficiently store and retrieve information.
Types:
Relational Database
No SQL Database
Network Database
Hierarchical Database, etc..
b. DBMS (DATABASE MANAGEMENT SYSTEM)
It is a software that provides an interface for interacting with databases and managing the data stored in them.
Designed to manage large amount of data.
Why DBMS?
Consider a university that needs to manage information about students, courses, and grades.
The DBMS would allow the university to create a database with separate tables for students, courses, and grades.
c. RDBMS :
RDBMS stands for Relational Database Management System
It is a type of database management system that organizes data into tables with rows and columns, and establishes relationships between the tables.
In an RDBMS, data is stored in tables where each table consists of rows and columns. Each row in a table is a record, and each column represents a specific attribute of that record.
Components of RDBMS :
2. SQL :
SQL stands for Query Language.
SQL is used for various tasks related to database management, such as creating and modifying database schemas, inserting, updating, and deleting records, and querying and retrieving data from databases.
Types of commands in SQL :
There are 5 types of commands in SQL, they are
1.DDL :
Data Types: