Information System Design and Development What is an Information System? An information system involves the hardware, software used to collect, filter,

Slides:



Advertisements
Similar presentations
Chapter 1: The Database Environment
Advertisements

BASIC SKILLS AND TOOLS USING ACCESS
Organisation Of Data (1) Database Theory
Benchmark Series Microsoft Excel 2013 Level 2
DATABASE RC D DD CMA C M R B PK E I S H S RC H L I V FK.
WHAT D IS RAW, UNPROCESSED FACTS AND FIGURES COLLECTED, STORED AND PROCESSED BY COMPUTERS.
Chapter 15 A Table with a View: Database Queries.
Computer Concepts BASICS 4th Edition
UNIVERSITY OF PALESTINE business computer application College of Business Instructor: Mr. Ahmed Abumosameh.
GCSE Computing#BristolMet Session Objectives# 21 MUST describe methods of validating data as it is input. SHOULD explain the use of key fields to connect.
M.S. Access Module CAS 133 Russ Erdman. M.S. Access Module Assignment Overview Two options for the unit: All students complete Units A, B and C In class.
Introduction to Databases CIS 5.2. Where would you find info about yourself stored in a computer? College Physician’s office Library Grocery Store Dentist’s.
Relational Databases What is a relational database? What would we use one for? What do they look like? How can we describe them? How can you create one?
Basic Concept of Data Coding Codes, Variables, and File Structures.
Database Software Application
MS Access 2007 IT User Services - University of Delaware.
Databases. Objectives Define what a database is. Understand the difference between a flat and relational database Design and create a relational database.
MICROSOFT ACCESS Pn. Jamilah Binti Yusof. DEFINITION A database is the computer equivalent of an organized list of information. Typically, this information.
1 DATABASE TECHNOLOGIES BUS Abdou Illia, Fall 2007 (Week 3, Tuesday 9/4/2007)
2.3 Organising Data for Effective Retrieval
MICROSOFT ACCESS 2007 BTA – Spring What is Access?  Microsoft Access is a database management system…this means that it contains database information.
BUS1MIS Management Information Systems Semester 1, 2012 Access: Creating a Database Week 6 Lecture 2.
Step 1:Introduction to a Database Definition: A database is a collection of information held together in an organised manner. For example: A library could.
Microsoft Access Lesson 1 Lexington Technology Center February 11, 2003 Bob Herring On the Web at
Database Basics   Describe the basic organization of a database.   Summarize advantage to using database software.   Define GIGO, and explain how.
Database Normalization Lynne Weldon July 17, 2000.
Database A database program is a piece of software to organize and sort information. It creates an electronic list of information that can be sorted very.
Relational Databases (MS Access)
Introduction to Databases Trisha Cummings. What is a database? A database is a tool for collecting and organizing information. Databases can store information.
Key Applications Module Lesson 21 — Access Essentials
ATADESAB. BATLE CORDER DLEIF Lesson objectives In this lesson you will learn some basic database terms and learn how a database is created.
Microsoft Access Database Software.
Grade 11 Computer Science. Relational Databases  Using the link below, answer questions in your notebooks  Look at Kites.accdb database to refresh your.
DATABASE What exactly is a database How do databases work? What's the difference between a spreadsheet database and a "real" database?
DATABASE MANAGEMENT SYSTEMS CMAM301. Introduction to database management systems  What is Database?  What is Database Systems?  Types of Database.
Databases.
ITGS Databases.
Database revision.
Database Fundamentals CSC105 Furman University Peggy Batchelor.
Quiz questions. 1 A data structure that is made up of fields and records? Table.
Unit 5 Advanced Databases The Purpose and features of a relational database.
Databases and Speadsheets
Lesson 2: Designing a Database and Creating Tables.
Introduction to a Database Definition: A database is a collection of information held together in an organised manner. For example: A library could be.
INTRODUCTION TO ACCESS. OBJECTIVES  Define the terms field, record, table, relational database, primary key, and foreign key  Create a blank database.
A table is a set of data elements (values) that is organized using a model of vertical columns (which are identified by their name) and horizontal rows.
Instructor: Pavlos Pavlikas1 How Data is Stored Chapter 8.
DATABASES COLLECTION OF INFORMATION FIELDS & CALCULATED FIELD DATA TYPES LINKED TABLES & FOREIGN KEY.
Sample Table Standard Notation Entity name in uppercase
Databases Flat Files & Relational Databases. Learning Objectives Describe flat files and databases. Explain the advantages that using a relational database.
Software. Because databases can get very big, it is important to decide exactly what is going to be stored in each field. Fields can be text, number,
CSCI-235 Micro-Computers in Science Databases. Database Concepts Data is any unorganized text, graphics, sounds, or videos A database is a collection.
Copyright © it’sLearning 365. All rights reserved. DATABASE CONCEPTS Understanding Databases Start …
Database Presentation BIM, Mrs. Bailey. **Database Notes** Use new sheet of paper! Microsoft Access - known as a database management system or DBMS Database.
N5 Databases Notes Information Systems Design & Development: Structures and links.
Our world depends on databases
Prepared By: Bobby Wan Microsoft Access Prepared By: Bobby Wan
Databases Key Revision Points.
GO! with Microsoft Office 2016
Creating a Database Microsoft Access.
GO! with Microsoft Access 2016
Database Relationships
CSCI-100 Introduction to Computing
Database Management  .
Databases A brief introduction….
What is a Database? A collection of data organized in a manner that allows access, retrieval, and use of that data.
Databases.
Spreadsheets, Modelling & Databases
Microsoft Office Access is the best –selling personal computer database management system. What is Access?
Presentation transcript:

Information System Design and Development What is an Information System? An information system involves the hardware, software used to collect, filter, process, create and distribute data. A key component in any information is a database. What is a database? A database is a collection of similar information which can be sorted and searched. Database Structure All the information in a database is known as the database file. Information on one particular thing in the database is a database record. Each of the individual pieces of information that make up a record are called fields. In many representations of a database, a file can be viewed as a table, where records are identifiable in the table rows and fields are the table columns. E.g. the school contains a file of all pupils attending. Each pupil has their own individual record. Within this record information such as their name, address and previous school are stored as records.

Field Types Each field in a database should be defined with a particular type, depending on the data to be stored in a field. The most common field types are: Text Number Date Time Graphics Calculated Link Boolean Choosing the wrong field type can provide problems at a later stage when performing sorts and searches in the database. Information System Design and Development

Field Types Each field in a database should be defined with a particular type, depending on the data to be stored in a field. The most common field types are: Text Number Date Time Graphics Calculated Link Boolean Choosing the wrong field type can provide problems at a later stage when performing sorts and searches in the database.

Flat File Databases A flat file database is where all the information in the database is stored in a single file (table). These are the types of databases you have used in the past. There are a number of problems in this approach. Consider the flat file database below: Puppy IDPuppy NameSexCostLitter IDDate of BirthSireDame 12RexM£500114/09/2013RoverSusie 15PrettyF£250114/09/2013RoverSusie 16PunchF£170223/10/2014SaulJudy 17JamieM£270223/10/2014SaulJudy Information, such as date of birth, sire and dame are needlessly stored many times. This is known as redundant or duplicate data. The more you write the same date, sire et. then the more possibility there is of making a spelling mistake, leading to data inconsistencies. Redundant data increases the storage space in a database (which can be significant if you have millions of records) and can lead to other problems in storing data efficiently. 114/09/2013RoverSusie 114/09/2013RoverSusie Information System Design and Development

To improve the efficiency of a flat file database, it is often a good idea to split the table into 2 (or more) related tables. This is called a relational database. In any relational database, (or even a flat file database) each table should have its own primary key. A primary key is a field (or fields) which acts as a unique identifier for each record in the database. Once a value appears in the primary key field in a record, then this value can never be used again in another record. Which field would act as the primary key in the database below? Information System Design and Development In the table, the litter ID is unique to a particular row (there are 3 rows in this table). Litter IDDate of BirthSireDamePuppy IDPuppy NameSexCost 114/09/2013RoverSusie Rex Pretty MFMF £500 £ /10/2014SaulJudy Punch Jamie FMFM £170 £ /10/2014PatchSasha20RexM£420 There may be 2 litters with the same date of birth, but they will not be confused because they cannot have the same litter ID.

To create a relational database, split the single table into 2 separate tables. What should the table below be split into? (Notice Litter ID is underlined to show that it is the primary key). Information System Design and Development Each litter contains details of one or more puppies. Relational Databases Litter IDDate of BirthSireDamePuppy IDPuppy NameSexCost 114/09/2013RoverSusie Rex Pretty MFMF £500 £ /10/2014SaulJudy Punch Jamie FMFM £170 £ /10/2014PatchSasha20RexM£ /09/2013RoverSusie Rex Pretty MFMF £500 £250 The 2 new tables will be about litters and puppies.

Information System Design and Development Relational Databases Litter IDDate of BirthSireDamePuppy IDPuppy NameSexCost 114/09/2013RoverSusie Rex Pretty MFMF £500 £ /10/2014SaulJudy Punch Jamie FMFM £170 £ /10/2014PatchSasha20RexM£420 Lets look at just the field names (and ignore the data): Splitting the litter data from the puppy data would leave the 2 tables as shown: (Puppy ID Puppy Name Sex Cost) (Litter ID Date of Birth Sire Dame) (Litter ID Date of Birth Sire Dame Puppy ID Puppy Name Sex Cost)

Information System Design and Development Relational Databases Litter IDDate of BirthSireDame 114/09/2013RoverSusie 223/10/2014SaulJudy 323/10/2014PatchSasha Problem: How do we now know which puppies are in which litter? When splitting the table, a copy of the primary key should be placed in the new table. (Puppy ID Puppy Name Sex Cost) (Litter ID Date of Birth Sire Dame) Puppy IDPuppy NameSexCost 12RexM£500 15PrettyF£250 16PunchF£170 17JamieF£270 20RexM£420

Information System Design and Development Relational Databases Litter IDDate of BirthSireDame 114/09/2013RoverSusie 223/10/2014SaulJudy 323/10/2014PatchSasha Problem: How do we now know which puppies are in which litter? When splitting the table, a copy of the primary key should be placed in the new table. (Puppy ID Puppy Name Sex Cost Litter ID) (Litter ID Date of Birth Sire Dame) Puppy IDPuppy NameSexCostLitter ID 12RexM£ PrettyF£ PunchF£ JamieF£ RexM£4203 Litter ID in the 2nd table is called a foreign key. A foreign key is a primary key in one table which appears in another table, to link the tables together.

Information System Design and Development Relational Databases Finally, the new table also needs a primary key. In this key, puppy ID is unique to each row in the table and so becomes the new primary key. Litter IDDate of BirthSireDame 114/09/2013RoverSusie 223/10/2014SaulJudy 323/10/2014PatchSasha (Puppy ID Puppy Name Sex Cost Litter ID) (Litter ID Date of Birth Sire Dame) Puppy IDPuppy NameSexCostLitter ID 12RexM£ PrettyF£ PunchF£ JamieF£ RexM£4203

Information System Design and Development Relational Databases Finally, the new table also needs a primary key. In this key, puppy ID is unique to each row in the table and so becomes the new primary key. Litter IDDate of BirthSireDame 114/09/2013RoverSusie 223/10/2014SaulJudy 323/10/2014PatchSasha (Litter ID Date of Birth Sire Dame) (Puppy ID Puppy Name Sex Cost Litter ID*) Puppy IDPuppy NameSexCostLitter ID 12RexM£ PrettyF£ PunchF£ JamieF£ RexM£4203 (Notice that Litter ID has an * to show that it is a foreign key in the 2nd table).

Information System Design and Development Relational Databases Review: What is an information system? What is a database? What are files, records and fields? What other terms are used to describe these parts of a database? What data types can fields take? What is a flat file database? What problems can occur in a flat file database? What is a relational database? What is the purpose of a primary key? What is the purpose of a foreign key? Lets put our relational database model on the computer.