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,

Slides:



Advertisements
Similar presentations
Relational Database Systems Higher Information Systems Advanced Implementation in Microsoft Access.
Advertisements

Organisation Of Data (1) Database Theory
Access 2007 ® Use Databases How can Microsoft Access 2007 help you structure your database?
WHAT D IS RAW, UNPROCESSED FACTS AND FIGURES COLLECTED, STORED AND PROCESSED BY COMPUTERS.
Database management system (DBMS)  a DBMS allows users and other software to store and retrieve data in a structured way  controls the organization,
Start First step Create a new blank database Create a database using the option that will enable you to build your database using pre-set options. Save.
Create a new blank database First step SUBMITTry again.
ISP 121 Week 1 Introduction to Databases. ISP 121, Winter Why a database and not a spreadsheet? You have too many separate files or too much data.
Database Design Concepts Info 1408 Lecture 2 An Introduction to Data Storage.
Database Design Concepts Info 1408 Lecture 2 An Introduction to Data Storage.
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 Design IST 7-10 Presented by Miss Egan and Miss Richards.
Database Structure Basics National Center for Immunization & Respiratory Diseases Influenza Division Pam Kennedy Analyst, McKing Consulting Regional Training.
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.
Data type – determines the type of data and range of values that can be entered in a field.
Database terms Mr. Brunton.
Validation and Verification
Advanced Tables Lesson 9. Objectives Creating a Custom Table When a table template doesn’t suit your needs, you can create a custom table in Design view.
Microsoft Access 2000 Creating Tables and Relationships.
2.3 Organising Data for Effective Retrieval
LSP 121 Week 1 Intro to Databases. Welcome to LSP 121 Quantitative Reasoning and Technological Literacy II Continuation of quantitative data concepts.
School library systems 3.2 Education. Libraries often contain many thousands of books, magazines, CD- ROMs, etc. In fact, some of the largest libraries.
ICT IGCSE.  Understand a wide range of work-related ICT applications and their effects, including applications in libraries (such as records of books.
10 May Microsoft Access 2010 Relational databases’ program Part of the Microsoft Office package Administer relational database Update database through.
DATABASE. Computer-based filing systems Information in computer-based filing systems are stored in DATA FILES. A FILE is a collection of RELATED RECORDS.
Software. Records Fields Each record is made up of fields – categories of information. The fields here are Name, Surname, Address, Telephone and Date.
Slide 1 Standard Grade Computing Databases. Slide 2 Standard Grade Computing Definitions DatabaseA database is a structured collection of similar information.
Discovering Computers Fundamentals Fifth Edition Chapter 9 Database Management.
GCSE Computing#BristolMet Session Objectives# 20 MUST describe a database and discuss the legal implications of storing personal information SHOULD explain.
Database Evidence Eva O’Sullivan. Entering Field Names Once in design view, I entered the field names into the database according to the ‘Data Items List’
Collecting Data Types, coding, accuracy, file formats and the effect of data loss.
Presented By: Gail Rose-Innes Camps Bay High School ICT & CAT Department Microsoft Access 2010.
Systems Life Cycle. Know the elements of the system that are created Understand the need for thorough testing Be able to describe the different tests.
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.
Access 2007 ® Use Databases How can Microsoft Access 2007 help you structure your database?
1 CSE 2337 Introduction to Data Management Access Book – Ch 1.
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.
Unit 5 Advanced Databases The Purpose and features of a relational database.
Verification & Validation. Batch processing In a batch processing system, documents such as sales orders are collected into batches of typically 50 documents.
Database Management Systems (DBMS)
Microsoft Office 2013: In Practice Chapter 2 Using Design View, Data Validation, and Relationships Copyright © 2014 by The McGraw-Hill Companies, Inc.
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.
Access Lessons 1, 2 and 3 ©2009 M and K Solutions, LLC – All Rights Reserved.
Data Verification and Validation
1 AQA ICT AS Level © Nelson Thornes 2008 Good quality data and information Data terms.
Access Lessons 1, 2 and 3 ©2009 M and K Solutions, LLC – All Rights Reserved.
Year 12 > 13 Applied GCE ICT Unit 7 Using Database Software.
N5 Databases Notes Information Systems Design & Development: Structures and links.
DATA TYPES.
Creating a database table
Databases Chapter 9 Asfia Rahman.
GO! with Microsoft Office 2016
Microsoft Office Access 2010 Lab 2
GO! with Microsoft Access 2016
Chapter Ten Managing a Database.
Validation Bury College.
1. Look at the data in the files J13STUDENT. TXT, J13COURSE
MODULE 7 Microsoft Access 2010
Databases Software This icon indicates the slide contains activities created in Flash. These activities are not editable. For more detailed instructions,
Microsoft Official Academic Course, Access 2016
Database Theory.
Spreadsheets, Modelling & Databases
Guidelines for Microsoft® Office 2013
Introduction to Databases
IT Solutions for Administrators - Databases
Planning a Database © EIT, Author Gay Robertson, 2019.
Presentation transcript:

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, date, time, currency, logical (Yes/No) or look-up (choice from a selected list of words).

Some databases also allow the user to create an image field. This can be very useful, for example in the student file, as it would allow a photo of each student to be added to each record. Another type of field is a calculated field. This is usually the result of a calculation based on numbers in another field.

It is usually a good idea to have a primary key field – a field which is different for every record, such as a customer number. This helps to identify each record, because there can be no two records with an identical key field. The database can automatically give each new record a number by setting the field type to autonumber.

This database shows records of students joining a college. Can you match the data type to the field name?

Validation is where the database looks for mistakes in data being entered. The database checks the data against the validation rules, and if the data is not valid, it gives the user an error message. Validation cannot prevent all data entry mistakes, but it can find some.

In our database, one way we could validate the Date of Birth field is so that it only accepts dates after We could validate the Number of GCSE Passes field to be less than 20. That wouldn’t stop us entering Jerome’s passes as 1 instead of 7, because 1 and 7 would both be valid. To find that mistake, we would have to verify the data by checking it against the source.

Format check – e.g. 2 letters then 2 numbers – PR15 would be valid. Presence check – checking that the field contains data. Range check – data is between certain numbers or letters, e.g. A–E. Lookup check – only values from a set list can be entered, e.g. M or F. Size check – checking data is more or less than a minimum or maximum number of characters.

If data is entered which breaks the validation rules, the database can give an error message to explain what is wrong. It’s best if error messages are written in plain language to help the user understand what is wrong. For instance, if a field can only contain the data “M” or “F”, the message: Entry not valid is not nearly as helpful as: Please enter M or F Not telling!

The college database needs extra fields added. How would you validate them?

schools store information about pupils Databases are used in many organizations to store information, for example: banks store information about customers the police store information about criminals and cases shops store information about products they sell directory enquiries companies store telephone numbers.

Forms are designed to be viewed on screen. They make it easier for users to enter data into a database. Reports are designed to be printed.

data can quickly be sorted into order it is quick to search for information, and you can search on any field you can even use a wildcard search if you only know part of the record. For instance, if you are looking for a person’s name, and you know the name begins with with Black, a wildcard search for Black* would return Blackham and Blackstock as well as Black. Databases are used because:

The college library lends Books to Students. Book IDTitleAuthorPublisher 0001FishingJ P JonesBookit 0002SewingP R GreenMorebook 0003FootballG K SinghBookit Student IDLast nameFirst nameForm 0103SimonsMichael12H 0104ChanPeggy12N

In a simple flat file database system, when a student wanted to borrow a book, all the information about that book would need to be typed into the student’s record. That would take ages, and probably create lots of mistakes. Loan Instead, a relational database can be created. A new table called Loan is added and the tables are then linked together.

Student table Student ID* Last name First name Form Book table Book ID* Title Author Publisher * primary key field To make sure we don’t get two students with the same name muddled up, each student is given a unique ID number. This is called a primary key field. The same thing needs to happen to the book table, so each book is given a unique ID number.

The Loan table is linked to the Student table using the Student ID as the primary key field. Loan table Student ID Book ID Date issued Date due It is also linked to the loan table using Book ID as the primary key field. Now the information about the book and the student can be looked up from the other tables instead of being entered each time. Student table Student ID* Last name First name Form Book table Book ID* Title Author Publisher * primary key field

Book IDTitleAuthorPublisher 0002SewingP R GreenMorebook Student IDLast nameFirst nameForm 0104ChanPeggy12N Student IDBook IDDate loanedDate due /5/0415/5/04 Data entered Data looked up

Summary Databases are used to store data. A database file is made up of records. Records are made up of fields. Fields can be text, number, date, time, currency or logical. Validation checks data entered for mistakes. Databases can search and sort information. Forms are viewed on screen, reports are printed. Relational databases link two or more files using key fields to save having to enter duplicated data. Databases that don’t have relational links are called flat file databases.