Fundamentals of Databases

Slides:



Advertisements
Similar presentations
©Silberschatz, Korth and Sudarshan4.1Database System Concepts Lecture-1 Database system,CSE-313, P.B. Dr. M. A. Kashem Associate. Professor. CSE, DUET,
Advertisements

Databases Chapter Distinguish between the physical and logical view of data Describe how data is organized: characters, fields, records, tables,
Database Management System (DBMS)
Access A Relational Database Management System. Prof. Leighton2 Database ► A database is a collection of data that’s related to a particular topic ► A.
Databases and Processing Modes. Fundamental Data Storage Concepts and Definitions What is an entity? An entity is something about which information is.
Databases and Database Management Systems
Database Design Concepts Info1408
Database Design Concepts Info 1408 Lecture 2 An Introduction to Data Storage.
What is a database? An organized collection of data. This can be in an electronic, paper, or other format. Types of databases Operational -constantly changing.
DATABASE MANAGEMENT SYSTEMS BASIC CONCEPTS 1. What is a database? A database is a collection of data which can be used: alone, or alone, or combined /
1 Advanced Computer Programming Databases. Overview What is a database? Database Basics Database Components Data Models Normalization Database Design.
1 Session 3 Welcome: To session 3- the first learning sequence “ Introduction to Relational Model“ Recap : In the previous learning sequences, we discussed.
Information Systems & Databases 2.2) Organisation methods.
System Design System Design - Mr. Ahmad Al-Ghoul System Analysis and Design.
Database Fundamentals CSC105 Furman University Peggy Batchelor.
CISB113 Fundamentals of Information Systems Data Management.
Quiz questions. 1 A data structure that is made up of fields and records? Table.
Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin APPENDIX C DESIGNING DATABASES APPENDIX C DESIGNING DATABASES.
Databases Chapter Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved.
Dr. Andy Seddon Staffordshire UNIVERSITY School of Computing Information Modelling and the logical data structure.
1 Basic Definitions Fundamentals of Data Base Dr. Rashid Al_Zubaidy.
Lecture on Database Management System
Databases Salihu Ibrahim Dasuki (PhD) CSC102 INTRODUCTION TO COMPUTER SCIENCE.
©Silberschatz, Korth and Sudarshan 1.1 Database System Concepts قواعد البيانات Data Base قواعد البيانات CCS 402 Mr. Nedal hayajneh E- mail
DATA SCIENCE MIS0855 | Spring 2016 Designing Data
Database (Microsoft Access). Database A database is an organized collection of related data about a specific topic or purpose. Examples of databases include:
Lesson Objectives Aims You should know about: 1.3.2: (a) Relational database, flat file, primary key, foreign key, secondary key, entity relationship modelling,
Data Preliminaries CSC 600: Data Mining Class 1.
CS 325 Spring ‘09 Chapter 1 Goals:
Let try to identify the conectivity of these entity relationship
Introduction to Database Systems
“ Possible representation (3) “
Databases Chapter 9 Asfia Rahman.
A Guide to SQL, Eighth Edition
Entity Relationship Model
IS 130 Information systems 1
Creating a Database Microsoft Access.
Databases Chapter 16.
Database Systems Chapter 3 1.
© The McGraw-Hill Companies, All Rights Reserved APPENDIX C DESIGNING DATABASES APPENDIX C DESIGNING DATABASES.
Chapter 9 Database Systems
Chapter 1: Introduction
Entity-Relationship Model
Hierarchy of Data in a Database
CSCI-100 Introduction to Computing
بسم الله الرحمن الرحيم.
Introduction to Database Systems
Database Fundamentals
Session 3 Welcome: To session 3 - the 7th. learning sequence
Overview of Entity‐Relationship Model
What is a Database? A collection of data organized in a manner that allows access, retrieval, and use of that data.
Microsoft Applications
Session 2 Welcome: The seventh learning sequence
Database Modeling using Entity Relationship Model (E-R Model)
Relational Model.
Database Design Hacettepe University
Chapter 1: Introduction
Session 3 Welcome: To session 3-the 8th. learning sequence
Spreadsheets, Modelling & Databases
Basic Definitions.
Working With Databases
Chapter 1: Introduction
Chapter 1: Introduction
Data Preliminaries CSC 576: Data Mining.
Chapter 1: Introduction
Database Management system
Chapter 1: Introduction
G061 - Data Dictionary.
Information system analysis and design
Database Design Chapter 7.
Presentation transcript:

Fundamentals of Databases Basic Definitions Fundamentals of Databases Dr. Rashid Al_Zubaidy

Basic Definitions Welcome: The first learning sequence Present learning: We shall explore the following definitions: - Data-item name and value. - Key identifier. - Record and File.

A collection of incoming facts to the organization. Basic Definitions DATA A collection of incoming facts to the organization. Information Incoming facts Data processing data Output

A collection of incoming facts to the organization. Basic Definitions DATA A collection of incoming facts to the organization. DATA-ITEM NAME The context for a recorded data-item is often indicated by a name, such as date, name, age, etc. Information Incoming facts Data processing data Output

GROUP ITEMS AND ELEMENTRY ITEMS Basic Definitions GROUP ITEMS AND ELEMENTRY ITEMS A group item is a collection of closely related items of information. For example DATE usually have three parts, MONTH, DAY, YEAR, when any of there have no farther subdivision into meaning full parts they are called ELEMENTRY data-item else the called GROUP data-item or (Aggregate).

An ENTITY Basic Definitions Items about which we store information are referred to as Entities. An Entity may be Tangible object such as: A person (Employee), place (Amman), or thing (parts) An Entity may be Non Tangible, such as: An event (something happens at a particular time), customer-account, etc.

Basic Definitions AN ATTRIBUTE An Entity has various properties which we may wish to record, so that we can recognize, remember, and describe it. These properties are called Attributes. For example: Attributes of human being include items such as: (height, weight, name, age, eye color, etc.) Attributes of car accident include items such as: (driver-name, time, location, cause of accident, etc.)

Basic Definitions DATA-ITEM VALUE It is the specific quantative or qualitative values given to a specific data-item. For example: If ‘AGE’ is an attribute of some entity and it is equal to ’22’, then 22 is the related data value and it is quantative. And if ‘CITY’ is an attribute of some entity and it is ‘Baghdad’ then ‘Baghdad’ represent the data item value for data-item name CITY, and it’s qualitative.

Basic Definitions RECORD Is a collection of related data-item which share a common context about a particular entity.

Basic Definitions RECORD Is a collection of related data-item which share a common context about a particular entity. FILE A file may be defined as a set of (Logical) records all of which related to a particular area of interest.

Basic Definitions ENTITY IDENTIFIER It is necessary for the programmer or data administrator to be able to refer to a record relating to a given entity, and it is necessary for the computer to be able to identify it and have a means of finding it in the storage unit. For this purpose one of the attributes is usually designated an entity identifier.

Basic Definitions ENTITY IDENTIFIER It is necessary for the programmer or data administrator to be able to refer to a record relating to a given entity, and it is necessary for the computer to be able to identify it and have a means of finding it in the storage unit. For this purpose one of the attributes is usually designated an entity identifier. For example the entity identifier of an employee would be EMPLOYEE-NUMBER.

Basic Definitions ENTITY IDENTIFIER It is necessary for the programmer or data administrator to be able to refer to a record relating to a given entity, and it is necessary for the computer to be able to identify it and have a means of finding it in the storage unit. For this purpose one of the attributes is usually designated an entity identifier. For example the entity identifier of an employee would be EMPLOYEE-NUMBER. And the entity identifier of an account record would be the ACCOUNT-NUMBER.

Basic Definitions ENTITY IDENTIFIER It is necessary for the programmer or data administrator to be able to refer to a record relating to a given entity, and it is necessary for the computer to be able to identify it and have a means of finding it in the storage unit. For this purpose one of the attributes is usually designated an entity identifier. For example the entity identifier of an employee would be EMPLOYEE-NUMBER. And the entity identifier of an account record would be the ACCOUNT-NUMBER. Some time more than attribute is required in order to identify a record. For example, to identify an airline flight record the FLIGHT-NUMBER and FLIGHT-DATE are needed.

Basic Definitions KEY Is an attribute or a set of attributes which the computer uses to identify a record.

KEY PRIMARY KEY Basic Definitions Is an attribute or a set of attributes which the computer uses to identify a record. PRIMARY KEY Is defined as that key used to uniquely identify one record. Such as ‘STUDENT-NUMBER’, ‘EMPLOYEE-ID’, etc.

Basic Definitions CUSTOMER table Customer-id Customer-name Customer-street Customer-city 192-83 Ahmed 23 Alma St. Jbeha 182-74 Kasim 12 Main St. Sweleh 677-600 Rana 7 Park Ave. Marka 321-140 Susan 57 North St. Jabal 710-569 Tarik 33 Alma St. 210-872 Ali 88 East St. Gardens

Basic Definitions CUSTOMER table Customer-id Customer-name Customer-street Customer-city 192-83 Ahmed 23 Alma St. Jbeha 182-74 Kasim 12 Main St. Sweleh 677-600 Rana 7 Park Ave. Marka 321-140 Susan 57 North St. Jabal 710-569 Tarik 33 Alma St. 210-872 Ali 88 East St. Gardens Data-item name (Attributes) (Fields)

Basic Definitions CUSTOMER table Customer-id Customer-name Customer-street Customer-city 192-83 Ahmed 23 Alma St. Jbeha 182-74 Kasim 12 Main St. Sweleh 677-600 Rana 7 Park Ave. Marka 321-140 Susan 57 North St. Jabal 710-569 Tarik 33 Alma St. 210-872 Ali 88 East St. Gardens Data-item name Data-item value

Basic Definitions CUSTOMER table Customer-id Customer-name Customer-street Customer-city 192-83 Ahmed 23 Alma St. Jbeha 182-74 Kasim 12 Main St. Sweleh 677-600 Rana 7 Park Ave. Marka 321-140 Susan 57 North St. Jabal 710-569 Tarik 33 Alma St. 210-872 Ali 88 East St. Gardens Primary key

Basic Definitions CUSTOMER table Records . . Customer File Customer-id Customer-name Customer-street Customer-city 192-83 Ahmed 23 Alma St. Jbeha 182-74 Kasim 12 Main St. Sweleh 677-600 Rana 7 Park Ave. Marka 321-140 Susan 57 North St. Jabal 710-569 Tarik 33 Alma St. 210-872 Ali 88 East St. Gardens Records . . Customer File

Basic Definitions Summary: In this learning sequence, we discussed the basic definitions related the subject “database“.

Basic Definitions END