









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
A database is one of the essential components for many applications and is used for storing a series of data in a single set. In other words, it is a group/package of information that is put in order so that it can be easily accessed, manage, and update. There are different types of databases.
Typology: Lecture notes
1 / 17
This page cannot be seen from the preview
Don't miss anything!










LECTURE ONE
COMPUTER AIDED SOFTWARE ENGINEERING TOOLS- These are
automated tools used to design databases and application programs
REPOSITORY - This is a centralized knowledge base for all data
definitions, data relationships, screen and report formats and other
system components; it contains an extended set of metadata
important for managing databases as well as other components of an
information system
DATABASE MANAGEMENT SYSTEM- A software that interacts with the
users’ application programs and the database
APPLICATION PROGRAMS- These are computer programs that are
used to create and maintain the database and provide information to
users
REQUIREMENTS ANALYSIS
It involves coming up with the database requirements which are
determined by interviewing both the producers and the users of data and
using the information to produce a formal requirements specification
LOGICAL DESIGN
It involves coming up with the conceptual schema that shows all the data
and their relationship and it is developed using techniques such as ERD or
UML; the data model constructs must be transformed into tables; steps
include Conceptual data modelling (ERD or UML); View integration (which
requires the use of ER semantics such as aggregation and generalization);
Transformation of the conceptual data model to SQL tables and
normalization of tables
It involves the selection of indexes (access methods), partitioning and
clustering of data
This is the implementation of the formal schema using the Data Definition
Language of a DBMS then the Data Manipulation Language can be used to
query and update the database as well as set up indexes and establish
constraints such as referential integrity; as the database is being used its
performance is noted and if users are not satisfied modifications can be made
to improve performance.
Data Definition Language ( DDL )
Data Manipulation Language ( DML )
Structured Query Language ( SQL )
Let us discuss these languages ….
The DDL allows users to specify the data types and structures of the
constraints on the data to be stored in the database.
Create table Employees (empid INT UNIQUE NOT NULL, empname
varchar (15), empaddress varchar (25), primary key (empid))
Having a central repository for all data and data descriptions allows
the DML to provide a general inquiry facility to this data called a query
language; the most common query language is the Structured Query
Language (SQL)
SQL is a standard language for accessing and manipulating relational
databases
Is a relational database language which contains 3 kinds of statements:
i)Data definition statements that lets a user define and modify the schema of
the database
ii)Data manipulation statements that lets a user create, access and modify
data in the database
iii)Data control language statements such as the GRANT and REVOKE
The SQL standard
Executes queries to retrieve data
Insert, update and delete rows in a table
Create, modify and delete objects
Control access to the database and objects
Statement Description
SELECT Retrieves and displays one or more
rows from a table
INSERT INTO Adds news rows to a table
UPDATE Changes column values in one or more
rows of a table
DELETE FROM Deletes one or more rows from a table
UNION Combines two or more SELECT
statements to create a complex query
QUESTIONS????