Relational Database Need to Knows. What is a database? Data - is just a pile of numbers or stats. A business "organises" the data to be meaningful and.

Slides:



Advertisements
Similar presentations
Database Relationships in Access As you recall, the data in a database is stored in tables. In a relational database like Access, you can have multiple.
Advertisements

Access 2007 ® Use Databases How can Microsoft Access 2007 help you structure your database?
Relationships Relational Database. Identifying Entities… In the previous tutorial you learnt about identifying entities in a flat file database. Also.
Database Basics. What is Access? Database management system Computer-based equivalent of a manual database Makes it easy to organize and update information.
Microsoft Office 2013 ®® Access Tutorial 2 Building a Database and Defining Table Relationships.
MICROSOFT OFFICE ACCESS 2007.
Introduction to Access. What is Access? Database tool Creates a database Good data query (lookup and analysis) ability Good entry forms Good reports Multi-user.
Database Management System (DBMS)
Ch1: File Systems and Databases Hachim Haddouti
Database Design Chapter 2. Goal of all Information Systems  To add value –Reduce costs –Increase sales or revenue –Provide a competitive advantage.
Access Lecture 1 Database Overview and Creating Tables Create an Employee Table.
Database Software Application
Databases. Objectives Define what a database is. Understand the difference between a flat and relational database Design and create a relational database.
N. J. Taylor Database Management Systems (DBMS) 1.
Using MIS 4e Chapter 5 Database Processing
1 DATABASE TECHNOLOGIES BUS Abdou Illia, Fall 2007 (Week 3, Tuesday 9/4/2007)
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.
1 DATABASE TECHNOLOGIES BUS Abdou Illia, Fall 2012 (September 5, 2012)
Concepts of Database Management, Fifth Edition Chapter 1: Introduction to Database Management.
 You have been hired to create a Database for the new library in town.  We initially tried to use Excel to keep track of our data, but realized that.
XP Class Objectives – 9/10 and 9/12 Learn how to design a small database Understand the goals of a database Understand the terminology of database design.
MICROSOFT ACCESS 2007 BTA – Spring What is Access?  Microsoft Access is a database management system…this means that it contains database information.
1 Lesson 22 Getting Started with Access Essentials Computer Literacy BASICS: A Comprehensive Guide to IC 3, 3 rd Edition Morrison / Wells.
24 GOLDEN COINS, 1 IS FAKE ( WEIGHS LESS). DATABASE CONCEPTS Ahmad, Mohammad J. CS 101.
BUS1MIS Management Information Systems Semester 1, 2012 Access: Creating a Database Week 6 Lecture 2.
Concepts of Database Management, Fifth Edition Chapter 1: Introduction to Database Management.
MIS 301 Information Systems in Organizations Dave Salisbury ( )
Microsoft ® Office Access ® 2007 Training Build a database I: Design tables for a new Access database ICT Staff Development presents:
DAY 12: DATABASE CONCEPT Tazin Afrin September 26,
CS 101 – Access notes Databases (Microsoft Access) 4 parts of a database database design –Try to understand the ideas behind database design, not just.
Introduction to Databases Trisha Cummings. What is a database? A database is a tool for collecting and organizing information. Databases can store information.
DATABASES Southern Region CEO Wednesday 13 th October 2010.
ATADESAB. BATLE CORDER DLEIF Lesson objectives In this lesson you will learn some basic database terms and learn how a database is created.
MS Access. Access is a DBMS/RDMS DBMS = Database Management System RDMS = Relational Database Management System.
1 CSE 2337 Introduction to Data Management Textbook: Chapter 1.
Access 2007 ® Use Databases How can Microsoft Access 2007 help you structure your database?
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.
Database: Relational Vs Flat File. Databases - Structure Flat file database, contains only one table Relational database, contains more than one table.
Relational Database. I. Relational Database 1. Introduction 2. Database Models 3. Relational Database 4. Entity-Relationship Models 5. RDB Design Principles.
SQL Jan 20,2014. DBMS Stores data as records, tables etc. Accepts data and stores that data for later use Uses query languages for searching, sorting,
OBJECTIVES  Understand relational databases  Explore a database  Create a database  Create a table  Create primary keys  Relate two tables  Enter.
Intro to Databases Vocabulary Copyright © Texas Education Agency, All rights reserved.
Lesson 2: Designing a Database and Creating Tables.
Planning & Creating a Database By Ms. Naira Microsoft Access.
MIS 301 Information Systems in Organizations Dave Salisbury ( )
Databases. Revision tip: Focus on the things you find difficult first.
Connecting (relating) Data Tables to get Custom Records (Queries) Database Basics.
FatMax Licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.5 LicenseCreative Commons Attribution-NonCommercial-ShareAlike 2.5.
3.1 CSC 102 Introduction to Information Systems Databases.
Lecture on Database Management System
CSCI-235 Micro-Computers in Science Databases. Database Concepts Data is any unorganized text, graphics, sounds, or videos A database is a collection.
Database Presentation BIM, Mrs. Bailey. **Database Notes** Use new sheet of paper! Microsoft Access - known as a database management system or DBMS Database.
DAY 14: DATABASES RAHUL KAVI February 25,
2b. Create an Access Database Lingma Acheson Department of Computer and Information Science IUPUI CSCI N207 Data Analysis with Spreadsheets 1.
New Perspectives on Microsoft Access 2016
Lesson 10 Databases.
Prepared By: Bobby Wan Microsoft Access Prepared By: Bobby Wan
and Defining Table Relationships
Database Management Systems (DBMS)
RELATIONAL DATABASE MODEL
What is a Database? A collection of data organized in a manner that allows access, retrieval, and use of that data.
Test Your Tech Blogging is: Someone's online journal.
Spreadsheets, Modelling & Databases
DCT 2053 DATABASE CONCEPT Chapter 2.2 CONTINUE
Topic 12 Lesson 1 – Data and databases
DATABASE TECHNOLOGIES
Introducing a Database
Databases WOW!! A database is a collection of related data.
Presentation transcript:

Relational Database Need to Knows

What is a database? Data - is just a pile of numbers or stats. A business "organises" the data to be meaningful and help make decisions. Database (DB) – brings “order” to the data using relationships.

What’s a Flat File database? It is a DB with 1 table only An excel spreadsheet is an example of a flat file database. It stores information in columns and rows. Column – a field or entity e.g. customer name or date of birth; Row – a record e.g. a customer Table – a collection of columns and rows e.g. customers

Column vs Row

Flat File Example Typical spreadsheet that shows Sales Reps, their hourly rates and details. Note – Column e.g. Name; Row e.g. Ayla’s name, pay rate and address.

Flat File cont… What if you wanted to track the Sales Reps projects they were working on, and hours? We could add two more columns e.g. Job Description and Job Hours. If Carla does 3 different projects, we’d need to enter her 3 times in the spreadsheet.

Problems? Redundancy – the same data duplicated in multiple places e.g. Carla’s address. What if this flat file had 1000 records, and she changed her address? Inefficient way to keep track of data using a single table

Better solution? Use two tables to track the same information – Sales Rep table that stores all information about the Sales Reps. Then create a second Job Table to track all the jobs the sales reps do. Decreases redundancy because if her or pay rate change, just change it in the one place i.e. customer table.

Problem? Anomalies – what happens if I accidentally delete Carla from the Sales rep table? In a flat file DB like this spreadsheet, there is no “integrity” checks to make sure “orphan” entries don’t happen. To avoid Anomalies, Redundancy and to improve data efficiency, use a Relational Database.

From Flat File to Relational: Entity – A table should be a collection of data about a single “entity” or “theme” e.g. customer; employee; orders; Field – the column headings that describe the entity e.g. customer firstname; customer lastname; DOB; ; Phone; Data Type – specifies what type of data can be stored in a field e.g. Number or Text.

Identifying Entities… Look at this spreadsheet, what “entities” or tables could you pull from this data? Clue – look at fields/columns that duplicate information.

Possible Entities / Tables Genre RatingsStudioMovies

What Fields and Types? Now try and write what fields and their types you’d have under each table. When you have had these ticked off by Miss, look at the information in the assessment task on the wiki, and complete Database Design Task 1a) You can either use the sample data in the task, OR your own club/information.