Lesson Objectives Aims You should know about: 1.3.2: (a) Relational database, flat file, primary key, foreign key, secondary key, entity relationship modelling,

Slides:



Advertisements
Similar presentations
WHAT D IS RAW, UNPROCESSED FACTS AND FIGURES COLLECTED, STORED AND PROCESSED BY COMPUTERS.
Advertisements

 To provide you with an overview of the aspects that make up a relational database.  This includes: › Tables › Records › Fields › Data types › Keys.
Databases Chapter Distinguish between the physical and logical view of data Describe how data is organized: characters, fields, records, tables,
Access A Relational Database Management System. Prof. Leighton2 Database ► A database is a collection of data that’s related to a particular topic ► A.
Database PowerPoint Guy Wade Comm 165 Guy Wade Comm 165.
Databases and Processing Modes. Fundamental Data Storage Concepts and Definitions What is an entity? An entity is something about which information is.
Computer Science & Engineering 2111 Introduction to Database Management Systems Relationships and Database Creation 1 CSE 2111 Introduction to Database.
Databases. Objectives Define what a database is. Understand the difference between a flat and relational database Design and create a relational database.
Databases & Data Warehouses Chapter 3 Database Processing.
IST Databases and DBMSs Todd S. Bacastow January 2005.
1 DATABASE TECHNOLOGIES BUS Abdou Illia, Fall 2007 (Week 3, Tuesday 9/4/2007)
Unit 18: Database Modelling
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 /
Introduction –All information systems create, read, update and delete data. This data is stored in files and databases. Files are collections of similar.
CREATE THE DIFFERENCE Normalisation (special thanks to Janet Francis for this presentation)
1 Advanced Computer Programming Databases. Overview What is a database? Database Basics Database Components Data Models Normalization Database Design.
1 California State University, Fullerton Chapter 7 Information System Data Management.
I Information Systems Technology Ross Malaga 4 "Part I Understanding Information Systems Technology" Copyright © 2005 Prentice Hall, Inc. 4-1 DATABASE.
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 exactly is a database How do databases work? What's the difference between a spreadsheet database and a "real" database?
ITGS Databases.
+ Information Systems and Databases 2.2 Organisation.
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.
Database Management Systems (DBMS)
Lesson 2: Designing a Database and Creating Tables.
Use of ICT in Data Management AS Applied ICT. Back to Contents Back to Contents.
Flat Files Relational Databases
DATABASES COLLECTION OF INFORMATION FIELDS & CALCULATED FIELD DATA TYPES LINKED TABLES & FOREIGN KEY.
Databases Flat Files & Relational Databases. Learning Objectives Describe flat files and databases. Explain the advantages that using a relational database.
INFORMATION TECHNOLOGY DATABASE MANAGEMENT. A database is a collection of information organized to provide efficient retrieval. The collected information.
Flat file and relational databases Flat file database In a flat file database information is held in a single table. Student IDStudent name GenderDOBCourse.
© 2017 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner.
Management Information Systems by Prof. Park Kyung-Hye Chapter 7 (8th Week) Databases and Data Warehouses 07.
Databases and DBMSs Todd S. Bacastow January
Understanding Data Storage
Prepared By: Bobby Wan Microsoft Access Prepared By: Bobby Wan
Databases Chapter 9 Asfia Rahman.
Databases Key Revision Points.
Client/Server Databases and the Oracle 10g Relational Database
Fundamentals of Databases
IS 130 Information systems 1
Creating a Database Microsoft Access.
Databases Chapter 16.
Database Systems Chapter 3 1.
Information Systems Today: Managing in the Digital World
Relational Databases.
Database Concepts Relational Databases Start ….
Database Management Systems (DBMS)
Database Management  .
Databases A brief introduction….
What is a Database and Why Use One?
Basic Concepts in Data Management
More about Databases.
Normalization By Jason Park Fall 2005 CS157A.
Flat Files & Relational Databases
Lesson Objectives Aims You should know about: 1.3.2:
Databases.
Database Design Hacettepe University
Spreadsheets, Modelling & Databases
Basic Definitions.
Do it now – PAGE 3 You will find your do it now task in your workbook – look for the start button! Tuesday, 09 April 2019.
Chapter 17 Designing Databases
Lesson Objectives Aims You should know about: 1.3.2:
Databases This topic looks at the basic concept of a database, the key features and benefits of a Database Management System (DBMS) and the basic theory.
Normalization By Jason Park Fall 2005 CS157A.
Database management systems
Information system analysis and design
Database Design Chapter 7.
Presentation transcript:

Lesson Objectives Aims You should know about: 1.3.2: (a) Relational database, flat file, primary key, foreign key, secondary key, entity relationship modelling, normalisation and indexing.

Databases We have an important equation for you to learn: Socks + Sandals = Beard

First, a story Until the late 1970’s, business really failed to see the point in computers There were no: –Databases –Internet –Large scale networks There were: –Lots of people paid to create and shuffle large amounts of paper!

Fast forwards… Then a goldilocks condition came about: –Mass storage became large, abundant and cheap –Processing power increased exponentially –The internet connected the world together –Companies realised the power of mass data (warehousing and mining)

Data Capture OCR – Google books! OMR – Lottery tickets, tests, surveys Direct entry/web entry

Database Terms Field/Attribute – A single attribute of an item or object. E.g. Weight Record – All related attributes describing one single object Table – A collection of all related records

Flat file database Student IDStudent name GenderDOBCourse IDCourse nameTeacher IDTeacher name Teacher specialism 67678Jim Donaldson M30/01/2000GY51Mathematics4445Mr SurrallMathematics 67677Jane JonesF02/01/2000FU451Physics4445Mr SurrallMathematics 67678Jim Donaldson M30/01/2000F4IO52Computer Science 4433Mr SmithPhysics 67222Lucy KidF08/03/2000GY51Mathematics4445Mr SurrallMathematics All data held in one single table Small/Simple databases Problem with redundancy –Update issues –Potentially even legal issues

Relational Database Data split in to several tables Tables are linked through relationships These are called primary and foreign keys Removes the issue of redundancy (largely) More difficult to create and maintain

Relational example

Some more key terms Primary key - A piece of information in each record that is unique to that record - a ‘unique identifier’. Primary keys are usually ID numbers generated especially for that purpose. Enables/guarantees a record can be found / item can be reliably identified Customer numbers, account numbers are classic examples. The primary key is used to link two records together.

More terms… Foreign key - any field in a table which is the primary key in another table. Secondary key - an additional key (or alternate key ) which can be used to search for a record in a database. Unlike the primary key, it does not need to be unique to a particular record. May be used to create a “composite key”

Review/Success Criteria You should know: The two main types of database Key database terms Why databases are necessary