Introduction to MySQL NELINET October 28th, 2005.

Slides:



Advertisements
Similar presentations
Query Manager. QM is a collection of tools you can use to obtain information from the AS/400 database Used to –select, arrange, and analyze information.
Advertisements

3-1 Chapter 3 Data and Knowledge Management
Designing a Database Unleashing the Power of Relational Database Design.
Microsoft Access 2007 Microsoft Access 2007 Introduction to Database Programs.
LESSON 17 PREPARED BY MANJU. database A database is a collection of related information Access is the Microsoft Office database program that enables you.
© Pearson Education Limited, Chapter 2 The Relational Model Transparencies.
5.1 © 2007 by Prentice Hall 5 Chapter Foundations of Business Intelligence: Databases and Information Management.
Introduction –All information systems create, read, update and delete data. This data is stored in files and databases. Files are collections of similar.
SQL Normalization Database Design Lecture 5. Copyright 2006Page 2 SQL Normalization Database Design 1 st Normal Form 1 st Normal Form 2 nd Normal Form.
CIS 103 — Applied Computer Technology Last Edited: September 17, 2010 by C.Herbert Using Database Management Systems.
2005 SPRING CSMUIntroduction to Information Management1 Organizing Data John Sum Institute of Technology Management National Chung Hsing University.
CHAPTER 8: MANAGING DATA RESOURCES. File Organization Terms Field: group of characters that represent something Record: group of related fields File:
Prof. Sujata Rao Introduction to Computers & MIS Data Base Concepts Lesson 8.
Database System Concepts, 6 th Ed. ©Silberschatz, Korth and Sudarshan See for conditions on re-usewww.db-book.com Chapter 2: Intro to Relational.
Database Normalization Lynne Weldon July 17, 2000.
PLUG IT IN 3 Fundamentals of Relational Database Operations.
DAY 12: DATABASE CONCEPT Tazin Afrin September 26,
Microsoft Access Database Software.
Chapter 2 Introduction to Relational Model. Example of a Relation attributes (or columns) tuples (or rows) Introduction to Relational Model 2.
Database Management Supplement 1. 2 I. The Hierarchy of Data Database File (Entity, Table) Record (info for a specific entity, Row) Field (Attribute,
Database and Information Management Chapter 9 – Computers: Understanding Technology, 3 rd edition.
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 Handout - 4 DBMS. What is Normalization? The process of grouping data elements into tables in a way that simplifies retrieval, reduces data.
Introduction to Core Database Concepts Getting started with Databases and Structure Query Language (SQL)
1 SQL SERVER 2005 Express CE-105 SPRING 2007 Engr. Faisal ur Rehman.
Fundamental of Database Systems
©2005 The McGraw-Hill Companies, All rights reserved McGraw-Hill/Irwin
INTRODUCTION TO DATABASES (MICROSOFT ACCESS)
Databases.
Introduction to Databases
Relational Model.
Databases Key Revision Points.
Learn about relations and their basic properties
Introduction to Relational Model
© The McGraw-Hill Companies, All Rights Reserved APPENDIX C DESIGNING DATABASES APPENDIX C DESIGNING DATABASES.
Database Normalization
Chapter 2: Intro to Relational Model
Relational Databases.
Database Systems Unit 16.
Chapter 4 Relational Databases
Chapter 3: Intro to Relational Model
Database Management  .
Databases A brief introduction….
Chapter 2: Intro to Relational Model
RELATIONAL DATABASE MODEL
Databases and Information Management
CTFS Asia Region Workshop 2014
What is a Database and Why Use One?
Database Processing: David M. Kroenke’s Chapter One: Introduction
Database Processing: David M. Kroenke’s Chapter One: Introduction
Database.
Relational Databases The Relational Model.
Relational Databases The Relational Model.
INFS 3220 Systems Analysis & Design
PHP and MySQL.
What is a Database? A collection of data organized in a manner that allows access, retrieval, and use of that data.
مقدمة في قواعد البيانات
Database Management Concepts
Databases & Consistency
Databases and Information Management
Lecture 2 Database & SQL Continued
1st, 2nd, and 3rd Normal Forms
Logical Data Modeling – Normalization
Chapter 2: Intro to Relational Model
A Very Brief Introduction to Relational Databases
Database SQL.
Microsoft Access Date.
Database Management Systems and Enterprise Software
INTRODUCTION A Database system is basically a computer based record keeping system. The collection of data, usually referred to as the database, contains.
Information system analysis and design
Presentation transcript:

Introduction to MySQL NELINET October 28th, 2005

Preliminary Definitions MySQL: An Open Source, Enterprise-level, multi-threaded, relational database management system that stores and retrieves data using the Structured Query Language Structured Query Language (SQL): A standardized query language for getting information from a relational database. Relational Database: A database that stores data in the form of relational tables as 0pposed to flat files. Database Management System (DBMS): A system that manages relational databases; A collection of programs that enabling the storage, modification, and extraction of information from a database.

Cells, Rows, Tables and Databases Cell -- a single (scalar) value.

Cells, Rows, Tables and Databases Row -- a group of scalar values representing a single instance of an object or event.

Cells, Rows, Tables and Databases Table -- a series of rows describing separate objects or events.

Cells, Rows, Tables and Databases Database -- a collection of related tables describing various facets of a group of objects or events.

Relations -- One to One

Relations -- One to Many

Relations -- Many to Many

Database Design Sketch out your data and how the different pieces of data should be grouped and how they relate to one another. In fact, you can save yourself a great deal of frustration down the road if you take the time to think things through before you get started actually building the database. Literally draw it out in a diagram before you start!

Database Design - 1st Normal Form Each table should have a column that identifies a row (primary key). No two rows can be identical. Groups of cells should never repeat. Each column must have a unique name. Each column must contain scalar values.

Database Design - 2nd Normal Form Each cell in a row must depend on the primary key.

Database Design - 3rd Normal Form No cell that is dependent on the primary key can be used to control another non-primary key cell.

A Bad Data Model... Do we have a primary key? Do we have normality problems?

A Better Data Model...

Work Break!! Lets think about pizza...