Overview Relational Database and SQL Session 2 Matakuliah: Web Database Tahun: 2008.

Slides:



Advertisements
Similar presentations
Introduction to Databases
Advertisements

Introduction to Database Management  Department of Computer Science Northern Illinois University January 2001.
Introduction to Databases
POKOK BAHASAN Pertemuan 10 Matakuliah: Sistem Informasi Manajemen Tahun: 2008.
1 Pertemuan 01 Pengantar tentang database Matakuliah: >/ > Tahun: > Versi: >
1 Minggu 1, Pertemuan 1 Introduction to Database Matakuliah: T0206-Sistem Basisdata Tahun: 2005 Versi: 1.0/0.0.
Introduction to Databases Transparencies
Chapter 1 INTRODUCTION TO DATABASE.
INTRODUCTION TO DATABASES
Chapter 1 Introduction to Databases
Introduction to Databases
Introduction to Database Systems 1.  Assignments – 3 – 9%  Marked Lab – 5 – 10% + 2% (Bonus)  Marked Quiz – 3 – 6%  Mid term exams – 2 – (30%) 15%
Introduction to Database
Database Environment 1.  Purpose of three-level database architecture.  Contents of external, conceptual, and internal levels.  Purpose of external/conceptual.
Introduction Chapter 1. Reference Book  Database Systems Thomas Connolly, Carolyn Begg, Anne Strachan Addison-Wesley 1999 ISBN:
Fundamental of Database (FCT 1083) Chapter 1: Concept of Databases.
CS370 Spring 2007 CS 370 Database Systems Lecture 2 Overview of Database Systems.
Sistem Basis Data (DATABASE) Siauw Yohanes Darmawan
Chapter 1 Introduction to Databases Pearson Education ©
Database Architecture Introduction to Databases. The Nature of Data Un-structured Semi-structured Structured.
Database Technical Session By: Prof. Adarsh Patel.
Database System Concepts and Architecture
Lecture # 3 & 4 Chapter # 2 Database System Concepts and Architecture Muhammad Emran Database Systems 1.
Chapter 1 Introduction to Databases © Pearson Education Limited 1995, 2005.
Module 1: Database System
Database Systems DBMS Environment Data Abstraction.
Introduction to Database AIT632 Chapter 1 Sungchul Hong.
1 Introduction to Databases. 2 Examples of Database Applications u Purchases from the supermarket u Purchases using your credit card u Booking a holiday.
1 Chapter 1 Introduction to Databases Transparencies.
Introduction to Databases
Introduction to Databases Transparencies © Pearson Education Limited 1995, 2005.
Introduction to Databases Dr. Osama AL Rababah. Objectives In this capture you will learn: Some common uses of database systems. The characteristics of.
IIS 645 Database Management Systems DDr. Khorsheed Today’s Topics 1. Course Overview 22. Introduction to Database management 33. Components of Database.
Introduction to Databases Transparencies
Introduction to Databases
Introduction to Databases Transparencies
Introduction to Databases
國立臺北科技大學 課程:資料庫系統 Chapter 2 Database Environment.
REV 00 Chapter 2 Database Environment DDC DATABASE SYSTEM.
Introduction to Databases
REV 00 Chapter 2 Database Environment DDC DATABASE SYSTEM.
Database Management.
Datab ase Systems Week 1 by Zohaib Jan.
Chapter 2 Database Environment.
Introduction to Databases
Introduction to Databases Transparencies
Introduction to Databases
Introduction to Databases Connolly and Begg
Tahun : <<2005>> Versi : <<1/1>>
Introduction to Databases
Chapter 4 Relational Databases
Introduction to Databases
Introduction to Databases
Chapter 2 Database Environment.
Chapter 2 Database Environment Pearson Education © 2009.
Introduction to Database Management System
Chapter 2 Database Environment Pearson Education © 2009.
Data Base System Lecture 2: Introduction to Database
Introduction to Databases
Database System Architecture
Database Environment Transparencies
Data Model.
Introduction to Databases
Introduction to Databases
Introduction to Databases
Introduction to Databases Transparencies
Chapter 2 Database Environment Pearson Education © 2014.
Chapter 2 Database Environment Pearson Education © 2009.
Introduction to Databases
MIS 385/MBA 664 Systems Implementation with DBMS/ Database Management
Presentation transcript:

Overview Relational Database and SQL Session 2 Matakuliah: Web Database Tahun: 2008

2 Last Session Review:Web Database DefinitionWeb Application ExampleInfluence of Web Database to OrganizationWeb Enhanced DatabaseDatabase Enhanced WebWhen To Use Web Database

3 Agenda:Overview Database and DBMSAdvantages of DBMSDisadvantages of DBMSOverview Relational Database Overview SQL Data Definition Language Data Manipulation Language

4 Objective: Student understand about Database, DBMS, Relational Database, SQL, DDL and DMLStudents could demonstrate their ability in SQL, DDL and DML

5 Overview Database and DBMS What is a Database? – Shared collection of logically related data (and a description of the data) design to meet the information needs of an organization – Usually refer specially to the data that is stored on computers – System catalog (metadata) provides description of data to enable program-data independance – Logically related data comprises entities, attributes, and relationships of an organization’s information – History of Database System: First Generation – Hierarchical and Network Second Generation – Relational Third Generation – Object Relational – Object-Oriented

6 Overview Database and DBMS (cont.) What is a Database Management System (DBMS)? – A software system that enables users to define, create, and maintain the database and that provides controlled access to this database DBMS Facilities: – Define Database, usually throught Data Definition Language – Insert, update, delete and retrieve data, usually throught Data Manipulation Language – Control Access to Database – Recovery Control System – User-accesible Catalog

7 Advantages of DBMS Control of data redudancy Data consistency More information from the same amount of data Sharing of Data Improved data Integrity Improved Security Enforcement of Standard Economy of Scale Balanced conflicting requirements Improved data accessibility and responsiveness Increased productivity Improved maintenance through data independence Increased concurrency Improved backup and recovery services

8 Disadvantages of DBMS Complexity Size Cost of DBMS Additional Hardware cost Cost of conversion Performance Higher Impact of failure

9 Overview Relational Database What is a Relational Database? – It is a body of persistent information stored in two-dimensional tables (by a computer program), where the data survives the terminations of a program or user session that created it. – First published in 1970, mostly used this days – A collection of normalized relations with discinct relation name Relational Database Advantages: – Logical – Simplicity – Mathematical rigour – Set-Oriented

10 Overview Relational Database (cont.) Relational Data Structure – Table – Attribute – Relationship – Domain – Keys: Superkey Primary Key Foreign Key – Integrity: Entity Integrity Referential Integrity

11 Overview SQL SQL is a language oriented specifically around relational databases. Forms of SQL: – Interactive SQL – Static SQL – Dynamic SQL The Subdivisions of SQL: – DDL (Data Definition Language) – DML (Data Manipulation Language) – DCL (Data Control Language) Various Types of Data (datatype) can be divided into the following categories: – Text – Numeric – Datetime – Binary, etc

12 Data Definition Language (DDL) Allow DBA or User to describe and name database, tables, attibutes, and relationships required (plus any assosiated integrity and security constraints) Example: – Creating Database – Modifiying Database – Creating, Changing and Dropping Table and Constraints

13 Data Manipulation Language (DML) Provide basic data manipulation operations on data held in the database Example: – Retrieve (Select) data – Insert Data – Update Data – Delete Data

14 Data Manipulation Language (DML) Provide basic data manipulation operations on data held in the database Example: – Retrieve (Select) data – Insert Data – Update Data – Delete Data

15 Summary DBMS is software system that enable user to create, maintain and control Database. DBMS has advatages and disadvantages. Relational Database is mostly and commonly used today. SQL is used to create and maintain DBMS

16 Next Session:Web Basic ConceptHow to put information on WebDynamic Web pagesNew Development of Web

17 End of Overview Relational Database and SQL Thank you