Version: 2.0. Forenam e of parent Surname of parent Address 1 Address 2 Name of child Age of child School database example. Try adding a few rows for.

Slides:



Advertisements
Similar presentations
What is a database?. Two main uses: Two main uses: Storing information Storing information Sorting information Sorting information.
Advertisements

Organisation Of Data (1) Database Theory
Database management system (DBMS)  a DBMS allows users and other software to store and retrieve data in a structured way  controls the organization,
1004INT Information Systems Week 10 Databases as Business Tools.
Database Design Concepts INFO1408 Term 2 week 1 Data validation and Referential integrity.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
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?
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
Page 1 ISMT E-120 Introduction to Microsoft Access & Relational Databases The Influence of Software and Hardware Technologies on Business Productivity.
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.
What is a database?.  Two main uses:  Storing information  Sorting information.
 Database ◦ A place where data can be stored and retrieved.  Objects ◦ An option you can manipulate. Eg. Tables, forms, queries.  Tables ◦ Tables are.
Module 3: Table Selection
2.3 Organising Data for Effective Retrieval
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 /
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 /
Copyright © 2003 by Prentice Hall Module 4 Database Management Systems 1.What is a database? Data hierarchy and data organization Field, record, file,
Copyright © 2003 by Prentice Hall Computers: Tools for an Information Age Chapter 13 Database Management Systems: Getting Data Together.
DAY 15: ACCESS CHAPTER 2 Larry Reaves October 7,
MICROSOFT ACCESS 2007 BTA – Spring What is Access?  Microsoft Access is a database management system…this means that it contains database information.
Introduction to SQL Steve Perry
Driving School Database
Chapter 15: Using LINQ to Access Data in C# Programs.
1 Chapter 1 Overview of Database Concepts. 2 Chapter Objectives Identify the purpose of a database management system (DBMS) Distinguish a field from a.
RELATIONSHIPS Generally there are two main database types: flat-file and relational.
HNDComputing – DeMontfort University  DeMontfort University 2011 Database Fundamentals wk2 Database Design ConceptsDatabase Design Concepts Database Design.
CSC 240 (Blum)1 Introduction to Database. CSC 240 (Blum)2 Data versus Information When people distinguish between data and information, –Data is simply.
CTFS Workshop Shameema Esufali Suzanne Lao Data coordinators and technical resources for the network
Relational Databases (MS Access)
DAY 12: DATABASE CONCEPT Tazin Afrin September 26,
1 Outline  What is a Primary Key?  AutoNumber primary keys  Single-field primary keys  Composite-field primary key  About Foreign Keys  Database.
Datafaces Data Base Management Software (DBMS) is a tool used to transform Data into Information. What is Data…? What is Information…? What is a Database…?
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.
1 Database Concepts 2 Definition of a Database An organized Collection Of related records.
Chapter 1Introduction to Oracle9i: SQL1 Chapter 1 Overview of Database Concepts.
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.
® Microsoft Access 2010 Tutorial 9 Using Action Queries and Advanced Table Relationships.
® Microsoft Office 2013 Access Creating a Database.
DATABASE SYSTEMS. DATABASE u A filing system for holding data u Contains a set of similar files –Each file contains similar records Each record contains.
DAY 14: MICROSOFT ACCESS – CHAPTER 1 Madhuri Siddula October 1, 2015.
1 Database & DBMS The data that goes into transaction processing systems (TPS), also goes to a database to be stored and processed later by decision support.
1 Introduction to Oracle Chapter 1. 2 Before Databases Information was kept in files: Each field describes one piece of information about student Fields.
Databases.
What have we learned?. What is a database? An organized collection of related data.
Database revision.
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.
What is a database? thanks to
Lesson 2: Designing a Database and Creating Tables.
Database Objective Demonstrate basic database concepts and functions.
Use of ICT in Data Management AS Applied ICT. Back to Contents Back to Contents.
Information Systems Today: Managing in the Digital World TB3-1 3 Technology Briefing Database Management “Modern organizations are said to be drowning.
BSA206 Database Management Systems Lecture 2: Introduction to Oracle / Overview of Database Concepts.
CTFS Workshop Shameema Esufali Asian data coordinator and technical resource for the network
Instructor: Pavlos Pavlikas1 How Data is Stored Chapter 8.
* Database is a group of related objects * Objects can be Tables, Forms, Queries or Reports * All data reside in Tables * A Row in a Table is a record.
Understand Relational Database Management Systems Software Development Fundamentals LESSON 6.1.
UNIVERSITI TENAGA NASIONAL “Generates Professionals” MODULE 5 : Part 1 INTRODUCTION TO DATABASE.
Sample Table Standard Notation Entity name in uppercase
Howard Paul. Sequential Access Index Files and Data File Random Access.
PREPARED BY: PN. SITI HADIJAH BINTI NORSANI. LEARNING OUTCOMES: Upon completion of this course, students should be able to: 1. Understand the structure.
VOCAB REVIEW. A field that can be computed from other fields Calculated field Click for the answer Next Question.
Database Management  .
CTFS Asia Region Workshop 2014
What is a Database? A collection of data organized in a manner that allows access, retrieval, and use of that data.
Spreadsheets, Modelling & Databases
logical design for relational database
Presentation transcript:

Version: 2.0

Forenam e of parent Surname of parent Address 1 Address 2 Name of child Age of child School database example. Try adding a few rows for families. Can you spot any issues with this way of storing data?

The major advantage of a relational database over a flat-file database is that it eliminates duplication of data. This has several knock on effects: data only needs to be input once data only needs to be updated in one place

 Relational Databases have this concept of an entity  An entity is basically a real life thing about which you wish to hold some data  Eg car, person, train journey, dvd

 Typically its stored in tables, data about one entity is kept in one table, data about another entity is kept in another table  Eg data about cars might well be kept in one table while data about drivers would be kept in a different table

 The table has columns (sometimes called fields), each of which holds just one piece of data eg age, or height, or name  All the data about one thing is called a row (or a record) eg for a car this might be make, model, registration, colour. MakeModelRegistrationColour FordKaW345YTRBlue Citroen2CVD234 FRERed AustinMaxiR564 DSWBeige An example table

Each row in a table must be able to be uniquely identified, you can’t rely on the data itself to do this because there may be duplicates eg two people might have the same name So typically an unique ID number is created for each row. This unique ID forms what is called a PRIMARY KEY, a value that uniquely identifies one row in a table. The primary key value is what is used to link one table to another A primary key value used in another table forms a FOREIGN KEY IDUnique number Surnametext First nametext agenumber addresstext Towntext Post codetext IDUnique number Owner idnumber maketext modelnumber registrationtext Primary key Foreign key owner car relationship

In the relational database, the tables are related to one another For example, a table about cars will be related to a table about car owners. Of course a car owner may own more than one car but a car may only be owned by one owner. This is a MANY – ONE relationship There are ONE-ONE relationships, eg person and medical record And MANY- MANY relationships, eg tv show and actor

 This software allows the relational database to be managed  Tables created and deleted  Related tables to be linked to one another  Data to be entered and edited  Data to be retrieved and sorted  Queries to be performed (database interrogation)

 A DBMS allows the separation of data from applications. Why is this desirable?

AUser must enter a letter or a digit. aUser can enter a letter or a digit.