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.

Slides:



Advertisements
Similar presentations
Convert ER to Relational Database Entity relation Entity relation Attributes attributes Attributes attributes Primary key primary key Primary key primary.
Advertisements

Access 2007 ® Use Databases How can Microsoft Access 2007 help you structure your database?
BUSINESS DRIVEN TECHNOLOGY Plug-In T4 Designing Database Applications.
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Extended Learning Module C Designing Databases and Entity-Relationship.
© McGraw-Hill Companies, Inc., McGraw-Hill/Irwin Extended Learning Module C Designing Databases and Entity-Relationship Diagramming.
Chapter 3 The Relational Model Transparencies © Pearson Education Limited 1995, 2005.
Chapter 3. 2 Chapter 3 - Objectives Terminology of relational model. Terminology of relational model. How tables are used to represent data. How tables.
Designing a Database Unleashing the Power of Relational Database Design.
Database Design Chapter 3.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 3 The Relational Database Model.
Introduction to Structured Query Language (SQL)
Keys Chapter 8 Database Design for Mere Mortals. Why Keys Are Important They ensure that each record in a table can be properly identified. They help.
Database – Part 2a Dr. V.T. Raja Oregon State University.
Thomas Connolly and Carolyn Begg’s
APPENDIX C DESIGNING DATABASES
Database Architecture The Relational Database Model.
Chapter 6 Physical Database Design. Introduction The purpose of physical database design is to translate the logical description of data into the technical.
Chapter 4 The Relational Model Pearson Education © 2014.
© Pearson Education Limited, Chapter 2 The Relational Model Transparencies.
Chapter 4 The Relational Model.
Chapter 6 Group Functions. Chapter Objectives  Differentiate between single-row and multiple-row functions  Use the SUM and AVG functions for numeric.
RAJIKA TANDON DATABASES CSE 781 – Database Management Systems Instructor: Dr. A. Goel.
MIS 301 Information Systems in Organizations Dave Salisbury ( )
RELATIONSHIPS Generally there are two main database types: flat-file and relational.
Chapter 3 The Relational Model. 2 Chapter 3 - Objectives u Terminology of relational model. u How tables are used to represent data. u Connection between.
Copyright 2008 McGraw-Hill Ryerson 1 TECHNOLOGY PLUG-IN T5 DESIGNING DATABASE APPLICATIONS.
1 The Relational Database Model. 2 Learning Objectives Terminology of relational model. How tables are used to represent data. Connection between mathematical.
9/7/2012ISC329 Isabelle Bichindaritz1 The Relational Database Model.
(Spring 2015) Instructor: Craig Duckett Lecture 10: Tuesday, May 12, 2015 Mere Mortals Chap. 7 Summary, Team Work Time 1.
Relational Database. Database Management System (DBMS)
System Design System Design - Mr. Ahmad Al-Ghoul System Analysis and Design.
3 & 4 1 Chapters 3 and 4 Drawing ERDs October 16, 2006 Week 3.
Access 2007 ® Use Databases How can Microsoft Access 2007 help you structure your database?
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.
Database Systems, 9th Edition 1.  In this chapter, students will learn: That the relational database model offers a logical view of data About the relational.
SQL LANGUAGE and Relational Data Model TUTORIAL Prof: Dr. Shu-Ching Chen TA: Hsin-Yu Ha.
Database Systems: Design, Implementation, and Management Tenth Edition Chapter 3 The Relational Database Model.
Database Systems: Design, Implementation, and Management Ninth Edition Chapter 3 The Relational Database Model.
Programming Logic and Design Fourth Edition, Comprehensive Chapter 16 Using Relational Databases.
Quiz questions. 1 A data structure that is made up of fields and records? Table.
Physical Database Design Purpose- translate the logical description of data into the technical specifications for storing and retrieving data Goal - create.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 3 The Relational Database Model.
The Relational Model. 2 Relational Model Terminology u A relation is a table with columns and rows. –Only applies to logical structure of the database,
Chapter 10 Designing Databases. Objectives:  Define key database design terms.  Explain the role of database design in the IS development process. 
Understand Primary, Foreign, and Composite Keys Database Administration Fundamentals LESSON 4.2.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 3 The Relational Database Model.
Chapter 3 The Relational Database Model. Database Systems, 10th Edition 2 * Relational model * View data logically rather than physically * Table * Structural.
Mapping ER to Relational Model Each strong entity set becomes a table. Each weak entity set also becomes a table by adding primary key of owner entity.
Chapter 3 The Relational Model. Objectives u Terminology of relational model. u How tables are used to represent data. u Connection between mathematical.
Chapter 4 The Relational Model Pearson Education © 2009.
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.
XP Chapter 1 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Level 2 Objectives: Understanding and Creating Table.
Converting ER/EER to logical schema; physical design issues 1.
Relational Databases Today we will look at: Different ways of searching a database Creating queries Aggregate Queries More complex queries involving different.
Microsoft Office Access 2010 Lab 1
(Winter 2017) Instructor: Craig Duckett
Database Systems: Design, Implementation, and Management Tenth Edition
Chapter 4 Relational Model Characteristics
CSCI-100 Introduction to Computing
Database Management  .
© 2011 Pearson Education, Inc. Publishing as Prentice Hall
Normalization Referential Integrity
Chapter 4 The Relational Model Pearson Education © 2009.
Relational Database Model
Chapter 4 The Relational Model Pearson Education © 2009.
Chapter 4 The Relational Model Pearson Education © 2009.
Chapter 4 The Relational Model Pearson Education © 2009.
Database Systems: Design, Implementation, and Management
Chapter 3 The Relational Model
Presentation transcript:

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 useful Information is processed data. It is data organized and returned in ways that give it meaning and significance

Null A null represents a missing value. It is not a 0 or an empty string “”. It is unknown. How a DBMS treats nulls can be significant. Do you count them when you are counting rows Do you include them somehow in an average by converting them to 0’s? (but this will give you a false average) Do you exclude them? (but this too may give a false average because the count could be wrong)

More on Nulls Nulls can result from error A field can be null because it is not know yet (for instance your quarter grade is null in my gradebook) A field can be null because the field does not apply to the particular record Most databases ignore nulls in aggregate functions such as sum or avg In other math functions a null +-*/ by any number is still a null

Table A two dimensional structure consisting of columns (fields) and rows (records) CustomerIDLastNameFirstNameCity 23478MartinGeorgeSeattle 34671JohnsonLarryKent 36709ThompsonChelseaSeattle

Types of Tables Data: a table that stores relevant data Lookup: a table that stores look up data, such as zip codes or state names. Helps insure data integrity and consistency Link tables: tables that link together two other tables that have a many to many relationship (Much more on this later)

Field The smallest structure in a database. A single datum. (also called an attribute or column.) In a properly designed database every field consists of one and only one value Common field problems in a poorly designed database Multipart fields (more than one distinct value) Multivalued field (multiple instances of the same type of value) Calculated fields

View A view is a virtual table composed of the fields of one or more tables A view is a way of looking at the data in the database In a good design, every database user will have an appropriate view You can use view to bring information together that is stored in separate tables You can also use views to hide information that particular users do not need to see

Keys Keys are special fields that are used to tie tables together, to relate them Primary Keys uniquely identify a row in a table (They must be unique, they cannot repeat in the table in which they are the key) Primary keys represent the table in relations A primary key can be composite (meaning it can consist of more than one field—but it is still a single key)

Foreign Keys A primary key repeated in another table to create a relationship is a foreign key. Unlike the primary key, a foreign key can repeat several times in the table. A foreign key is almost never also the primary key of a table

Relationships One to One—a single record in one table is related to one and only one record in a second table. (Each employee has one parking spot) One to Many—One record in a table can relate to many records in a second table. (One customer can make many orders) Many to Many—One student can register for many classes; each class contains many students

Integrity Table integrity (table relates only to one thing, no duplicate records) Field integrity (each field one thing, proper data type) Relational Integrity (Sound relationships, enforce things like no order without a customer) Business rules (limitations based on the business needs.)