Download presentation
Presentation is loading. Please wait.
Published byEverett Melton Modified over 9 years ago
1
Foundation year Lec.5: Lec.5: Database Management System Lec.5: Lec.5: Database Management System Lecturer: Fatma El-Zahraa Mohamed Year: 2015/2016
2
What is a Database? A database is a collection of data that is stored in a computer system. Databases allow their users to enter, access, and analyze their data quickly and easily. 2
3
What is a Database Management System? A database management system (DBMS) is a collection of programs that enables users to create and maintain a database. Examples: – Proprietary: MS Access, MS SQL Server, DB2, Oracle, SybaseMS AccessMS SQL ServerDB2 OracleSybase – Open source: MySql, PostgreSQLMySqlPostgreSQL 3
4
The easiest way to understand a database is to think of it as a collection of lists, for example a patient information at a doctor office. 4
5
5
6
Any database stores its lists of data in tables. The table bellow shows the ID, First name, Last name and Age for a staff in a company. 6
7
Access is far stronger at handling non-numerical data, like names and descriptions. However, the thing that really sets databases apart from any other way of storing data is connectivity (Relational database). A relational database is able to understand how lists and the objects within them relate to one another. 7
8
To explore this idea lets have the following example: 8 Names of Friends Types of cookies
9
You decide to create a third list to keep track of the batches of cookies you make and who they’re for, this new list will get all its information from the lists you made earlier, as shown bellow: 9
10
The fact that relational databases can handle information this way allows you to enter, search, and analyze data in more than one table at a time. All of these things would be very difficult to do in Excel, but in Access, even complicated tasks can be simplified and made fairly user-friendly. 10
11
We are going to talk about Microsoft office access as an example of a database so we can easily understand what a database can do. 11
12
Access database - as any database – is composed of four main objects : Tables, Queries, Forms and Reports. 12
13
1) Tables A table is the database object that contains the basic information you wish to store. Tables are organized into vertical columns and horizontal rows. 13
14
Rows and columns are referred to as Records and Fields. 14
15
Every Field has a name 15
16
Every record has a unique ID 16
17
2) Forms Forms are an Access tool that users can create to make data entry in database tables easier. You have probably had to fill out forms on many occasions, like applying for a job,forms make entering data easier. 17
18
3) Queries Queries are a way for searching and compiling data from one or more tables. 18
19
4) Reports A report is an effective way to analyze and present data using a specific layout. If you've ever received a computer printout of a class schedule or a printed invoice of a purchase, you've seen a database report. Any database offers you the ability to create a report from any table or query. 19
20
Once you create a database, who can access it? Creator: As the database creator, you can make the database available to all members or to just a selected group of members. Each database you create comes with a full permission system that lets you specify which members have access to the database, and which have no access. You can also control the level of access each member has. For example, you can limit some members to only viewing information, while others can add or edit information. 20
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.