Designing a Database Unleashing the Power of Relational Database Design.

Slides:



Advertisements
Similar presentations
Access Lesson 2 Creating a Database
Advertisements

Athabasca University Under Development for COMP 200 Gary Novokowsky
Quick-and-dirty.  Commands end in a semi-colon ◦ If you forget, another prompt line shows up  Either continue the command or…  End it with a semi-colon.
Client/Server Databases and the Oracle 10g Relational Database
© 2005 by Prentice Hall Chapter 3a Database Design Modern Systems Analysis and Design Fourth Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich.
3-1 Chapter 3 Data and Knowledge Management
Normalization A337. A337 - Reed Smith2 Structure What is a database? ◦ Tables of information  Rows are referred to as records  Columns are referred.
System Analysis and Design
Attribute databases. GIS Definition Diagram Output Query Results.
1 Access Lesson 6 Integrating Access Microsoft Office 2010 Introductory Pasewark & Pasewark.
MS Access 2007 IT User Services - University of Delaware.
COMPUTING FOR BUSINESS AND ECONOMICS-III. Lecture no.6 COURSE INSTRUCTOR- Ms. Tehseen SEMESTER- Summer 2010.
UML Unified Modeling Language. What is UML? Unified Modeling Language (UML) is a standardized, general-purpose modeling language in the field of software.
Database Design Concepts
© Pearson Education Limited, Chapter 2 The Relational Model Transparencies.
1 C omputer information systems Design Instructor: Mr. Ahmed Al Astal IGGC1202 College Requirement University Of Palestine.
Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall 9.1.
Organizing Information Digitally Norm Friesen. Overview General properties of digital information Relational: tabular & linked Object-Oriented: inheritance.
Attribute Data in GIS Data in GIS are stored as features AND tabular info Tabular information can be associated with features OR Tabular data may NOT be.
 A databases is a collection of data organized to make it easy to search and easy to retrieve in a useful, usable form.
1 Overview of Databases. 2 Content Databases Example: Access Structure Query language (SQL)
Simple Database.
Relational databases and third normal form As always click on speaker notes under view when executing to get more information!
CHAPTER 8: MANAGING DATA RESOURCES. File Organization Terms Field: group of characters that represent something Record: group of related fields File:
RELATIONSHIPS Generally there are two main database types: flat-file and relational.
CTFS Workshop Shameema Esufali Suzanne Lao Data coordinators and technical resources for the network
Database Normalization Lynne Weldon July 17, 2000.
Object Persistence (Data Base) Design Chapter 13.
Chapter 17 Creating a Database.
CIS 210 Systems Analysis and Development Week 6 Part II Designing Databases,
MS Access. Access is a DBMS/RDMS DBMS = Database Management System RDMS = Relational Database Management System.
Copyright 2006 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Third Edition Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Chapter.
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.
Database Fundamentals CSC105 Furman University Peggy Batchelor.
Relational Theory and Design
Quiz questions. 1 A data structure that is made up of fields and records? Table.
Database Terms Hernandez, Chapter 3. Data/Information The values you store in the database are data. Pieces of Data in and of themselves is not particularly.
Database Management Supplement 1. 2 I. The Hierarchy of Data Database File (Entity, Table) Record (info for a specific entity, Row) Field (Attribute,
Lesson 2: Designing a Database and Creating Tables.
MySQL Importing and creating a database. CSV (Comma Separated Values) file CSV = Comma Separated Values – they are simple text files containing data which.
Database Basics BCIS 3680 Enterprise Programming.
Planning & Creating a Database By Ms. Naira Microsoft Access.
CTFS Workshop Shameema Esufali Asian data coordinator and technical resource for the network
A table is a set of data elements (values) that is organized using a model of vertical columns (which are identified by their name) and horizontal rows.
Introduction to Databases CISC Where would you find info about yourself stored in a computer? College Physician’s office Library Grocery Store Dentist’s.
NORMALIZATION. What is Normalization  The process of effectively organizing data in a database  Two goals  To eliminate redundant data  Ensure data.
Database Connectivity and Server-Side Scripting Chapter 12.
Instructor: Pavlos Pavlikas1 How Data is Stored Chapter 8.
McGraw-Hill Career Education© 2008 by the McGraw-Hill Companies, Inc. All Rights Reserved. Concept 1 Database – Organized collection of related information.
* 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.
6.1 © 2007 by Prentice Hall Chapter 6 (Laudon & Laudon) Foundations of Business Intelligence: Databases and Information Management.
Howard Paul. Sequential Access Index Files and Data File Random Access.
INFORMATION TECHNOLOGY DATABASE MANAGEMENT. A database is a collection of information organized to provide efficient retrieval. The collected information.
Database Essentials Lesson 1. Software Orientation.
Database (Microsoft Access). Database A database is an organized collection of related data about a specific topic or purpose. Examples of databases include:
IT 5433 LM3 Relational Data Model. Learning Objectives: List the 5 properties of relations List the properties of a candidate key, primary key and foreign.
Introduction to Database Programming with Python Gary Stewart
XP Chapter 1 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Level 2 Objectives: Understanding and Creating Table.
Revised: 2 April 2004 Fred Swartz
Databases Chapter 16.
Relational Databases.
CSCI-100 Introduction to Computing
PHP and MySQL.
Design tools and techniques for a relational database system
Databases and Information Management
Microsoft Access Date.
Databases WOW!! A database is a collection of related data.
Presentation transcript:

Designing a Database Unleashing the Power of Relational Database Design

Understanding Databases There are three basic kinds of databases called (1) flat file, (2) relational, and (3) object-oriented. A flat file database keeps all of the records in a single file, in which the data elements are separated by a break character such as a comma or a tab. The terms comma-delimited or tab- delimited refer to data stored in this manner.

Comma Delimited Data

What Is a Data Table? Flat file databases typically contain just one data table, which is a database structure that organizes the data into rows and columns. Each row contains one record, and the columns contain the data fields that the record comprises.

Visualizing a Data Table

What Is a Relational Database? A relational database is a data structure that comprises multiple tables containing primary key columns through which the records in one table can relate (i.e., key) to the data in another table. A data table’s primary key is a column in which every entry is unique. A foreign key is a data field that relates the record to the table in which that same column occurs as a primary key.

Visualizing Relational Data

What Is an Object-Oriented Database? The third and final kind of database is called object-oriented, in which programmers writing code in object- oriented languages can create complex data structures in which one data type can build upon, or inherit, properties from another. In this course, we deal with relational databases.

Database Design Principles Each table should have a column containing a unique row ID number to serve as the table’s primary key. A table should store data for a single type of entity. A table should avoid columns that are allowed to contain null values. If you must have empty values, use an empty string.

Database Design Principles (continued) A table should not have repeating values. A field should have the same meaning in each row of a table. Multiple instances of an entity should not be represented as multiple columns.

Three-Tier Web Application Model