Databases ©www.teach-ict.com.

Slides:



Advertisements
Similar presentations
How data is stored. Data can be stored in paper-based systems including: Reference books Dictionaries Encyclopaedias Directories Index Files Filing systems.
Advertisements

Organisation Of Data (1) Database Theory
Chapter 2.7 Data management.
ICDL Software Applications - Database Concepts. Unit 6 Data and Data Representation Database Concepts –File Structure –Relationships Database Design –Data.
What is an Information System?. What is data?  DATA is raw facts and figures.  These have very little meaning until they are sorted or they are used.
Unit 7: Store and Retrieve it Database Management Systems (DBMS)
Database Design Concepts Info 1408 Lecture 2 An Introduction to Data Storage.
8/28/97Information Organization and Retrieval Files and Databases University of California, Berkeley School of Information Management and Systems SIMS.
Database Systems. What is a database? A database is an organised store of data items.
Databases and Database Management Systems
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?
Database Software Application
MS Access 2007 IT User Services - University of Delaware.
Software Development Unit 2 Databases What is a database? A collection of data organised in a manner that allows access, retrieval and use of that data.
Databases. Objectives Define what a database is. Understand the difference between a flat and relational database Design and create a relational database.
IGCSE ICT Data Handling Applications.
2.3 Organising Data for Effective Retrieval
Database Tables two order-entry scenarios: A customer wants to cancel an order that she's placed. If her address is in a separate table from her.
Information and Data What’s the difference between two? Information systems = hardware and software working together… It will take DATA that has been put.
Access 2007 Database Application Managing Business Information Effectively BCIS 1 and 2.
WJEC Applied ICT Databases – Terminology and Notation DEFINITION A database is a collection of data or information which is held together in an organised.
Databases. Database A database is an organized collection of related data.
To enhance learning, service, and research through an advanced information technology environment. Our Mission:To enhance learning, service,and research.
Database Basics   Describe the basic organization of a database.   Summarize advantage to using database software.   Define GIGO, and explain how.
Slide 1 Standard Grade Computing Databases. Slide 2 Standard Grade Computing Definitions DatabaseA database is a structured collection of similar information.
Complete theory from last lesson… Put today’s date in the front of your book Read pages 46 and 47 of the textbook…
1 n 1 n 1 1 n n Schema for part of a business application relational database.
Information Systems & Databases 2.2) Organisation methods.
Database What is a database? A database is a collection of information that is typically organized so that it can easily be storing, managing and retrieving.
Databases. What is a database?  A database is used to store data. The word DATA is actually Latin for FACTS. A database is, therefore, a place, or thing.
Database Management COP4540, SCS, FIU Physical Database Design (ch. 16 & ch. 3)
Databases.
3 / 12 Databases MIS105 Lec13 Irfan Ahmed Ilyas CHAPTER Prepared By:
ITGS Databases.
 So far in ICT we’ve covered how data is entered into computers (data capture) and how it’s checked (validation and verification).  In this section.
Computers in the Library A database application. Input and Output Devices Input Keyboard Mouse Scanner / light pen Output VDU / screen / monitor Printer.
Relational Databases. Relational database  data stored in tables  must put data into the correct tables  define relationship between tables  primary.
Database Design Normalisation. Last Session Looked at: –What databases were –Where they are used –How they are used.
© All Rights Reserved Module Information and the Organisation Well Designed Interfaces.
Database Management Systems (DBMS)
Spreadsheet vs Database What’s the difference and who cares?
Database Objective Demonstrate basic database concepts and functions.
Use of ICT in Data Management AS Applied ICT. Back to Contents Back to Contents.
Databases 101 © Dolinski What you will learn How relational databases work What are the components that make up a database How to create each component.
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.
Databases Cheyenne Ortega. Databases  A database is a collection of related data, stored in an organized manner so that it can be retrieved later. 
Sample Table Standard Notation Entity name in uppercase
FatMax Licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.5 LicenseCreative Commons Attribution-NonCommercial-ShareAlike 2.5.
Adapted from: FatMax Licensed under a Creative Commons Attribution-NonCommercial- ShareAlike 2.5 LicenseCreative Commons Attribution-NonCommercial-
PREPARED BY: PN. SITI HADIJAH BINTI NORSANI. LEARNING OUTCOMES: Upon completion of this course, students should be able to: 1. Understand the structure.
INFORMATION TECHNOLOGY DATABASE MANAGEMENT. A database is a collection of information organized to provide efficient retrieval. The collected information.
CSCI-235 Micro-Computers in Science Databases. Database Concepts Data is any unorganized text, graphics, sounds, or videos A database is a collection.
GCSE ICT How data is stored. How is data stored? Data can be stored in paper-based systems including: –Reference books –Dictionaries –Encyclopaedias –Directories.
Unit 5b Databases January 2011 Miss Collins. Unit Objectives Analysing data and asking questions: using complex searches You will learn –What is a database?
1 Files and databases Suppose a school stores information about its students on record cards. Each student has their own card; this is their record. Record.
IGCSE 4 Cambridge Designing a database table Computer Science
Transaction processing systems
Databases Key Revision Points.
Databases.
GO! with Microsoft Office 2016
BASIC INFORMATION ABOUT DATABASE MANAGEMENT SOFTWARE
Database Concepts Relational Databases Start ….
The Database Application
GO! with Microsoft Access 2016
Databases A brief introduction….
What is a Database and Why Use One?
INTRODUCING DATABASES
Databases.
Introduction to Databases
Presentation transcript:

Databases ©www.teach-ict.com

A database is a collection of data organised into a structured format. What is a database? Surname: James First name: Samantha Date of Birth: 20.12.89 Address: 16 Poppy Close Town: Southam County: Warwickshire Surname: Brown First name: David Date of Birth: 20.12.89 Address: 16 Poppy Close Town: Southam County: Warwickshire Surname: Lastler First name: David Date of Birth: 20.12.89 Address: 16 Poppy Close Town: Southam County: Warwickshire Surname: Whitefield First name: Nina Date of Birth: 21.02.76 Address: 16 Poppy Close Town: Southam County: Warwickshire A database is a collection of data organised into a structured format. ©www.teach-ict.com

The word ‘Database’ is often linked to data held on a computer. Paper based databases Examples: Telephone directory Address book Card index system Details of car repairs Customer returns book The word ‘Database’ is often linked to data held on a computer. ©www.teach-ict.com

Retrieving information Main difference between paper and computerised databases is speed the data can be accessed. Computerised databases make it possible to analyse data collected. Shops – customer purchases Health authorities – link illnesses to factors e.g. diet Police – build up profiles of crimes/criminals ©www.teach-ict.com

Flat files A flat file is a database held in a single file. A spreadsheet can be used as a flat file database. Video no. Title Country Date released Classification Rental price 1 Lord of the Rings US 2001 12 3.50 2 Attack of the Clones 2002 PG 2.99 3 About a boy UK U 4 Crocodile Dundee AUS 1986 15 1.50 5 Die another day 6 Shrek 1.99 Record Field File ©www.teach-ict.com

Flat files - Uses Flat files are useful for: Lists of contact names and addresses Lists of student grades Details of a video collection However data stored in one flat file cannot easily be linked to data stored in another flat file. ©www.teach-ict.com

Flat files - Problems There are several drawbacks to holding anything except very simple data in a single flat file. Have a look at the example and try to find some of the problems which exist with using a flat file as a database. ©www.teach-ict.com

Redundant data There is a vast amount of repeated data. This wastes disk space and slows the database down. Data entry is time consuming ©www.teach-ict.com

Errors on input Typographical errors occur when data is entered needlessly. This will affect the quality of the database and the results of queries and data analysis. ©www.teach-ict.com

Problems with updating data If Miss Smith gets married and changes her name, every record would have to be updated. If a lecturer left and a new one was employed, every record for students taking that course would have to be updated. ©www.teach-ict.com

Overcoming problems with Flat files Not all of the data needs to be entered every time. Some of it could be moved to other tables and accessed when required. Which data do you think could be moved to separate tables? ©www.teach-ict.com

Using multiple tables The student data could be moved into a separate table as follows: Student ID Student forename Student surname Date enrolled Course code 1 Philip Harris 30/08/2002 119 2 Michael Jenner 09/09/2002 115 3 Ian Bemrose 07/09/2002 4 Meena Akbar 12/09/2002 118 5 James Payne 6 Campbell Naeve 12/10/2002 114 ©www.teach-ict.com

Using multiple tables The course data could be moved into a separate table as follows Course Code Course title 114 Physics 115 Chemistry 118 Applied Science 119 ©www.teach-ict.com

Using multiple tables The subject information could be moved into a separate table as follows Subject ID Subject Name Day Period Lecturer ID 14 Physiology Tuesday 3 1 15 Atoms 5 2 16 Electrons Monday 4 17 Particles Wednesday ©www.teach-ict.com

Using multiple tables The lecturer information could be moved into a separate table as follows: Lecturer ID Lecturer Name Date employed 1 Meaner 03/11/1995 2 Maynard 01/02/2002 3 Noakes 09/10/1999 4 Smith 14/12/2002 A unique ID has been assigned to each lecturer, since if two people were hired with the same name, it would be impossible to distinguish between them. ©www.teach-ict.com

Using multiple tables Note that this structure does not currently allow students to take more than one subject. In order to do that, another table will be required. Student_subjectID Student ID Subject ID 001 1 14 002 15 003 2 004 3 005 16 006 4 007 ©www.teach-ict.com

Problems solved Redundant data has been reduced. Risk of errors reduced Modifying and updating data problems resolved ©www.teach-ict.com

Flat file information storage and retrieval systems Read page 95 of Heathcote and write a paragraph explaining the advantages of a ‘database system’ over the ‘traditional file approach’ ©www.teach-ict.com