???? ? (???????? ? ???
???? ? (???????? ? ???
Advantages of Databases
● Data Integrity: Ensures data accuracy and consistency over its entire
life-cycle.
● Data Security: Protects data from unauthorized access and breaches.
● Data Redundancy Elimination: Minimizes data duplication, saving
storage space.
● Data Sharing: Allows multiple users to access data simultaneously.
● Data Backup and Recovery: Provides mechanisms to back up data and
restore it in case of data loss.
www.jkbosenotes.in
● Alternate Key: A candidate key that is not chosen as the primary key.
Advantages of SQL
● Easy to Learn and Use: SQL uses simple syntax which is easy to
understand.
● High Speed: SQL queries can retrieve large amounts of data quickly and
efficiently.
● Standardized Language: SQL is an ANSI and ISO standard, ensuring
consistent usage across different systems.
● Versatile: SQL can be used to query, insert, update, and delete data in a
database.
● Interactive Language: SQL can be used interactively to communicate
with the database.
DML (Data Manipulation Language) is used for managing data within schema
objects.
www.jkbosenotes.in
SQL Commands
DDL Commands
DML Commands
SQL Functions
● SUM(): Returns the sum of a numeric column.
● AVG(): Returns the average value of a numeric column.
● COUNT(): Returns the number of rows that match a specified criteria.
● MIN(): Returns the smallest value of a selected column.
● MAX(): Returns the largest value of a selected column.
www.jkbosenotes.in