0% found this document useful (0 votes)
6 views6 pages

Database Bakwas

Uploaded by

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

Database Bakwas

Uploaded by

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

Flat File System

 Create simple file and store within file


 The database is made to maintain the drawbacks
from the flat file system.

Data Information
 Raw facts; building  Data processed to reveal
blocks of information meaning
 Unprocessed information  Processed Data

 Accurate, relevant, and timely information is the


key to good decision making.
 Good decision making is the key to survival in a
global environment.
Introducing the Database and DBMS

Database:
What we will study - Relational Database

DBMS (database management system):


 Collection of programs that manages database
structure and controls access to data
 Possible to share data among multiple applications
or users
 Makes data management more efficient and
effective

Merits: -
End users have better access to more and better-
managed data
 Promotes integrated view of organization’s operations
 Probability of data inconsistencies is greatly reduced
 Possible to produce quick answers to ad hoc queries
Types of Databases: -
 Single user
 Multiuser
 Workgroup
Multi-user database that supports a small group of
users or a single department
 Enterprise
Multi-user database that supports large group of
users or an entire department

Location:
o Centralized
o Distributed
Database Design
The process of designing the general structure of the database
includes: -
 Requirement Gathering
 Conceptual Design
 Logical Design
 Physical Design

Steps of Database Design:


 Requirement Gathering
 Conceptual Design
1. ER Diagram - Adapted through Chen’s Notation
Q# Explain “create”, “insert”, and “select” query
in SQL with syntax
CREATE Query
The CREATE statement is used to create a new
table in a database.
Syntax:
CREATE TABLE table_name(
column1 datatype constraint,
column2 datatype constraint,
...
columnN datatype constraint
);

INSERT Query
The INSERT INTO statement is used to insert new records
into a table.
Syntax:
INSERT INTO table_name (column1, column2, ..., columnN)
VALUES (value1, value2, ..., valueN);

The SELECT statement is used to select data from a database.


The data returned is stored in a result table, sometimes called
the result set.
Syntax:
SELECT column1, column2, ..., columnN
FROM table_name
WHERE condition;

You might also like