0% found this document useful (0 votes)
472 views20 pages

dATABASE Presentation

This document provides an introduction to database systems. It defines what a database and database management system are. It describes advantages of using a DBMS like controlling data redundancy and improving data security. It also discusses business rules, database normalization, entity relationship modeling, database schemas and diagrams, table schemas, data dictionaries, SQL, and common SQL statements like DDL, DML, SELECT, INSERT, and UPDATE.

Uploaded by

Tirashana Singh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
472 views20 pages

dATABASE Presentation

This document provides an introduction to database systems. It defines what a database and database management system are. It describes advantages of using a DBMS like controlling data redundancy and improving data security. It also discusses business rules, database normalization, entity relationship modeling, database schemas and diagrams, table schemas, data dictionaries, SQL, and common SQL statements like DDL, DML, SELECT, INSERT, and UPDATE.

Uploaded by

Tirashana Singh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 20

INTRODUCTIO TO DATABASE

CT042-3-1-IDB
GROUP ASSIGNMENT

Presentation By:

Tirashana Singh (NP000344)

Sunita Gurau (NP000343)


Database System
• A database is a collection of related data and information on a database system that is the software
which manages and controls data access.

Database Management System


• A database management system combines several software packages designed together to manage
and produce data for further processing.
• The system DBMS allows users and programmers, using standard methods, to create, retrieve,
update and manage data collected from various sources.

Advantage of DBMS
• Control of data redundancy
• Data security
• Data Backup and Recovery
• Data Integrity
Business Rule

• The business rule is a set of company behavior requirements. When company rules are
developed independently of process applications, they provide a powerful and flexible
approach to help companies achieve their goals faster and better satisfy changing business
requirements.
Normalization

• Normalization is a database design.

• Its goals are to reduce redundancies and improve data integrity are to be achieved by
normalizing columns and tables in a database.

• The 3 main kinds of normalization are 1NF, 2NF, 3NF.


First Normal Form:
Second Normal Form
Third Normal Form
ER Modeling

ER Model is a high-level data model which plays a significant role in terms of system
requirements, design and assessment for the handling and tracking of a system database.
Data design is a graphical approach to database design.

• Component of ER Diagrams
• Entity
• Attributes
• Relationship
Database Schema and Diagram

• A schema for a database is a set of metadata that can be presented in a visual diagram
describing the relationships between the objects and the data in a database.

• It does not actually contain any data.


Table Schema

Branch Table
EMPLOYEE
Data Dictionary
A database is the set of the names, definitions and features of the data components used or
recorded in the database of the information system.
A database stores metadata that identifies, describes and enhances the knowledge of data for
anyone who wants to use or assess it in the future.
SQL

• SQL is a structured query language for describing and carrying out database operations.

• According to the ANSI (American National Standards Institute) it is the standard


language for relationship database management systems.

• SQL statements are used in activities such as updating the database or retrieving the
database.
DDL
• CREATE Statement

create table Employee_Login(E_Num int primary key not null foreign key references
Employee(E_Num), Username varchar(30) unique not null,Password varchar(30) not null);

• ALTER statement

ALTER TABLE employee alter COLUMN Emp_id varchar(30);

• DROP statement

ALTER TABLE Employee ALTER COLUMN Supervisor int;


DML
SELECT
• SELECT * FROM BranchOffice
• SELECT * FROM Employee WHERE name LIKE 'A%'
INSERT
• INSERT INTO BranchOffice Values (001,'Neapljung',44600,02,'banke','nepaljung',
• '05','980229334','9868293456','9848024587');
UPDATE
• UPDATE Employee SET EmpNum = 'Manisha', Province= '05' WHERE
E_Num = 1;

You might also like