DATABASE What exactly is a database How do databases work? What's the difference between a spreadsheet database and a "real" database?

Slides:



Advertisements
Similar presentations
Database vocabulary. Data Information entered in a database.
Advertisements

Build a database I: Design tables for a new Access database
Organisation Of Data (1) Database Theory
Access 2007 ® Use Databases How can Microsoft Access 2007 help you structure your database?
INFORMATION TECHNOLOGY Software Applications. WORD PROCESSING WP is the most commonly used package in business. A large number of documents are produced.
CHAPTER 1 – INTRODUCTION TO ACCESS Aliya Farheen Feb 26, 2015.
MICROSOFT OFFICE ACCESS 2007.
Database PowerPoint Guy Wade Comm 165 Guy Wade Comm 165.
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.
Databases and Database Management Systems
Database Design Concepts Info 1408 Lecture 2 An Introduction to Data Storage.
Database Software Application
Get to know Access 2007 Access does data Access does data. All kinds of data. From customer contacts, billing hours and inventory to diet and exercise.
What do you know? In your own words briefly describe what you know about databases? – Where are they used? – What are they used for? – How do they look?
Copyright © 2016 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill Education.
Database Fundamentals
Objective 5.01: Understand database tables used in business Database Fundamentals.
1 DATABASE TECHNOLOGIES BUS Abdou Illia, Fall 2007 (Week 3, Tuesday 9/4/2007)
Introduction to Databases. Overview  What is a Database?  What is a Database Management System?  How is information organized in a database?  What.
GCSE Computing: A451 Computer Systems & Programming Relational Databases Databases.
MICROSOFT ACCESS 2007 BTA – Spring What is Access?  Microsoft Access is a database management system…this means that it contains database information.
Introduction to database systems
1 INTRODUCTION TO DATABASE MANAGEMENT SYSTEM L E C T U R E
BUS1MIS Management Information Systems Semester 1, 2012 Access: Creating a Database Week 6 Lecture 2.
 A database is a collection of data that is organized so that its contents can easily be accessed, managed, and updated. What is Database?
Sundara Ram Matta Mar 02 nd, Sundara Ram Matta Mar 02 nd, 2015
Microsoft ® Office Access ® 2007 Training Build a database I: Design tables for a new Access database ICT Staff Development presents:
CSC 240 (Blum)1 Introduction to Database. CSC 240 (Blum)2 Data versus Information When people distinguish between data and information, –Data is simply.
Access 2013 Microsoft Access 2013 is a database application that is ideal for gathering and understanding data that’s been collected on just about anything.
Chapter 17 Creating a Database.
Microsoft Access Database Software.
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.
Access 2007 ® Use Databases How can Microsoft Access 2007 help you structure your database?
Database revision.
GIS Data Models GEOG 370 Christine Erlien, Instructor.
Database Management Systems (DBMS)
Introduction to Databases. What is a database?  A database program is nothing more than an electronic version of a 3x5 card file  A database is defined.
Use of ICT in Data Management AS Applied ICT. Back to Contents Back to Contents.
Planning & Creating a Database By Ms. Naira Microsoft Access.
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.
Microsoft Access Database Creation and Management.
Database Fundamentals Objective 5.01: Understand database tables used in business.
Sample Table Standard Notation Entity name in uppercase
3.1 CSC 102 Introduction to Information Systems Databases.
Course Contents Overview: Database basics Lesson 1: Benefits of using a database Lesson 2: Table that data Lesson 3: Analyzing, viewing, and reporting.
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.
Database (Microsoft Access). Database A database is an organized collection of related data about a specific topic or purpose. Examples of databases include:
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.
Edexcel OnCourse Databases Unit 9. Edexcel OnCourse Database Structure Presentation Unit 9Slide 2 What is a Database? Databases are everywhere! Student.
Prepared By: Bobby Wan Microsoft Access Prepared By: Bobby Wan
Databases Key Revision Points.
Database Fundamentals
Creating a Database Microsoft Access.
BASIC INFORMATION ABOUT DATABASE MANAGEMENT SOFTWARE
Database Management  .
Database Fundamentals
Access Busn 216.
Database Fundamentals
What is a Database? A collection of data organized in a manner that allows access, retrieval, and use of that data.
INTRODUCING DATABASES
Introduction to Database Programs
Spreadsheets, Modelling & Databases
Introduction to Database Programs
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.
Database Fundamentals
Presentation transcript:

DATABASE What exactly is a database How do databases work? What's the difference between a spreadsheet database and a "real" database?

What is a database? "A database is an organized collection of information".

Database Basics You use databases all the time, although you might not realize it! For example: – Telephone directories – The list of contacts on your phone – Online product catalogues and shops

Database Basic The important thing about databases is the way that the information is organized. Let's look at a simple telephone directory as an example. It has entries like this: – [Tupou] [Sione][Hala Hekoni][Ma’ufanga Tt ][21333] You could simply enter all the information as shown above and then print your directory.

Problem The problem is that if you wanted to do something else with the data - for example, – organise it in a different way – find all the people in the Maufanga area – or publish a different version of the directory, you would have a lot of work to do

Database Basic The listing consists of five different pieces of information: [Last name] [First name] [Address (Road)][Area [(Village)] [Phone number ] – We refer to each of these bits of data as a field. – Each group of fields belonging to the same item is called a record. – And each collection of records of the same type of data is called a table.

Flat File Database Information above can be stored in a spreadsheet: One worksheet is a table Each row in the worksheet is a record Each column is a field – The structure described above is what we refer to as a "flat-file" database: it's a one-dimensional collection of data about one topic. – fine for many purposes

Relational Database That's why we have relational databases. So that information such as discussed in slide #5 would be very easy to used

Relational Database In a RD, we need to maintain more complex structures in which data from two or more tables is linked together. examples are: – Families (parents and children) – Products and parts – Manufacturers and Products – Classes and Students – Customers and Invoices

You might be tempted to think? "Why can't I just add more fields if I need more information?" – For example, if your database contains information about products and you want to add a list of the components that make up each product, why not just add fields for "component 1", "component 2" and so on? Well, yes, you can, but you'll run into limitations such as: – Some products might have only one component; another might have 20. How do you know how many fields to add?

You might be tempted to think? What if the same component is used in a number of different products? What if you wanted to find a particular component? – You would have to search all those additional component fields, because you wouldn't know which one it might be in!

You might be tempted to think? What if you wanted to produce a report listing all your components and their prices? – That would be extremely difficult.

That's why we have relational databases In the parts and components example, we would have two tables: Parts and Components. The basic product details would go into fields in the Products table, and all the details about each component would go into a record in the Components table.

Important thing needed One more important thing is needed: something to tell the database how the records are linked together - in other words, which components belong to which products. For this purpose, each record must have a unique identifier of some sort. It can be simply a sequential number, or an alphanumeric code of some sort that you devise. The import things are that it must be UNIQUE for each record and it must never change.

Simple Relationship between products and components tables This illustrates a "many-to-one" relationship: many components can be related to one product via the product id. So, to find all the components that comprise the product whose ID number is 1234, you would search the components table for all records whose product id is There might be just one, or there might be dozens.

But what if the same component can be used in a number of different products? That's what we call a many-to-many relationship: many components can be related to many products. To facilitate this, we need to introduce an additional table just to keep track of those relationships.

Relations The relations table would contain one record for each link between a product and a component. With this sort of structure, you can easily produce reports showing all the components belonging to a product, or all the products in which a particular component is used.

A way forward DB Guide 10/DB%20Guide.pdf 10/DB%20Guide.pdf Start with “ first step with Access” m m Database Design ase-design-101.aspx ase-design-101.aspx OR ANY RESOURCES YOU LIKE …..

Activities You should have done practical 1 – 3 DB Designing Designing