1 Welcome to the World of Databases! Database technology: crucial to the operation and management of modern organisations Major transformation in computing.

Slides:



Advertisements
Similar presentations
Query Formulation with SQL
Advertisements

McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 9 Advanced Query Formulation with SQL.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 1 Introduction to Database Management.
Dr. Mohamed Osman Hegazi
Attribute databases. GIS Definition Diagram Output Query Results.
Chapter 9 Advanced Query Formulation with SQL. Outline Outer join problems Type I nested queries Type II nested queries and difference problems Nested.
The Relational Model Codd (1970): based on set theory Relational model: represents the database as a collection of relations (a table of values --> file)
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 3 The Relational Data Model.
DAT702.  Standard Query Language  Ability to access and manipulate databases ◦ Retrieve data ◦ Insert, delete, update records ◦ Create and set permissions.
Chapter 1 Introduction to Database Management. McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. Welcome! Database technology:
Chapter 5 Database Processing.
Database Lecture # 1 By Ubaid Ullah.
© Pearson Education Limited, Chapter 2 The Relational Model Transparencies.
Chapter 9 SQL and RDBMS Part C. SQL Copyright 2005 Radian Publishing Co.
CSC2012 Database Technology & CSC2513 Database Systems.
Relational Model Session 6 Course Name: Database System Year : 2012.
DATABASE. A database is collection of information that is organized so that it can easily be accessed, managed and updated. It is also the collection.
Database A collection of related data. Database Applications Banking: all transactions Airlines: reservations, schedules Universities: registration, grades.
Introduction to SQL Steve Perry
1 INTRODUCTION TO DATABASE MANAGEMENT SYSTEM L E C T U R E
Simple Database.
CIS 103 — Applied Computer Technology Last Edited: September 17, 2010 by C.Herbert Using Database Management Systems.
Organizing Data and Information AD660 – Databases, Security, and Web Technologies Marcus Goncalves Spring 2013.
Introduction to Database Management. 1-2 Outline  Database characteristics  DBMS features  Architectures  Organizational roles.
FEN  Concepts and terminology  Operations (relational algebra)  Integrity constraints The relational model.
Databases and Statistical Databases Session 4 Mark Viney Australian Bureau of Statistics 5 June 2007.
Database Fred Durao What is a database? A database is any organized collection of data. Some examples of databases you may encounter in.
Copyright © 2011 by Michael V. Mannino All rights reserved. Database Design, Application Development, and Administration, 5 th Edition Chapter 3 The Relational.
Chapter 2 The Relational Data Model. McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. Outline Relational model basics Integrity.
Database A database is a collection of data organized to meet users’ needs. In this section: Database Structure Database Tools Industrial Databases Concepts.
Oleh Munawar Asikin. Principles of Information Systems, Seventh Edition 2  Database management system (DBMS): group of programs that manipulate database.
9/7/2012ISC329 Isabelle Bichindaritz1 The Relational Database Model.
Chapter 10 Application Development with Views. McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. Outline Background Creating.
Chapter 3 Query Formulation with SQL. McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. Outline Background Getting started.
Relational Database. Database Management System (DBMS)
FEN Introduction to the database field:  The Relational Model Seminar: Introduction to relational databases.
Advanced Query Formulation with SQL. 9-2 Outline  Outer join problems  Type I nested queries  Type II nested queries and difference problems  Nested.
Chapter 9 Advanced Query Formulation with SQL. McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. Outline Outer join problems.
9 Advanced Query Formulation with SQL (Chapter 9).
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 Why Learn About Database Systems? Database systems process and organize large amounts of data Examples –Marketing manager can access customer data –Corporate.
1 Introduction to Oracle Chapter 1. 2 Before Databases Information was kept in files: Each field describes one piece of information about student Fields.
Dr. Mohamed Osman Hegazi
By Stephanie Wood And Nedziba Bubregovic.  A very large collection of data  A database management system is a software package designed to store and.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 4 Query Formulation with SQL.
Course FAQ’s I do not have any knowledge on SQL concepts or Database Testing. Will this course helps me to get through all the concepts? What kind of.
Visual Programing SQL Overview Section 1.
SQL – Simple Queries and JOIN MGMT 360 Database Management.
McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. What is a View? Derived table Behaves like a base table (virtual) Stored.
CS453: Databases and State in Web Applications (Part 2) Prof. Tom Horton.
Introduction to Databases Three File Processing Systems DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 1-2.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 10 Application Development with Views.
Instructor: Pavlos Pavlikas1 How Data is Stored Chapter 8.
Chapter 3 The Relational Model. Objectives u Terminology of relational model. u How tables are used to represent data. u Connection between mathematical.
Chapter 3 Query Formulation with SQL. Outline Background Getting started Joining tables Summarizing tables Reasoning tools Advanced problems Data manipulation.
Introduction to Core Database Concepts Getting started with Databases and Structure Query Language (SQL)
Slide 1Chapter 9: Advanced Query Formulation with SQL Database Design, Application Development, and Administration, 5 th Edition Copyright © 2011 by Michael.
uses of DB systems DB environment DB structure Codd’s rules current common RDBMs implementations.
LECTURE TWO Introduction to Databases: Data models Relational database concepts Introduction to DDL & DML.
1 Section 1 - Introduction to SQL u SQL is an abbreviation for Structured Query Language. u It is generally pronounced “Sequel” u SQL is a unified language.
Chapter 2 The Relational Data Model. Outline Relational model basics Integrity rules Rules about referenced rows Relational Algebra.
Introduction to Database Management
Fundamentals & Ethics of Information Systems IS 201
Database Management  .
Query Formulation with SQL
Database.
সৈয়দ মাহবুব হাসান আমিরী ঢাকা রেসিডেনসিয়াল মডেল কলেজ
Chapter 3 Supplemental Slides
Database SQL.
Presentation transcript:

1 Welcome to the World of Databases! Database technology: crucial to the operation and management of modern organisations Major transformation in computing skills Significant time commitment Exciting journey ahead

2 Subject Goals First course in database management Practical  Query formulation for application development  Data modeling and normalisation  Background about database administration No theoretical proofs or axioms

3 University Database

4 Water Utility Database

5 DBMS Marketplace Enterprise DBMS  Oracle: dominates in Unix; strong in NT  SQL Server: strong in NT  Informix: significant Unix market share  DB2: strong in mainframe environment Desktop DBMS  Access: dominates  FoxPro, Paradox, Approach, FileMaker Pro Open-source DBMS  MySQL  PostgreSQL

6 Tables Relational database is a collection of tables Heading: table name and column names Body: rows, occurrences of data Student

7 Entity Integrity: primary keys  Each table has column(s) with unique values … the primary key  No two rows with the same primary key value  No null values in a primary key

8 The “Faculty” Table

9 What is SQL? Structured Query Language Language for database definition, manipulation, and control International standard Standalone and embedded usage “Intergalactic database-speak”

10 First “SELECT” Examples See slide 8 for the “faculty” table … Example 1 SELECT * FROM Faculty; … will list everything in the “Faculty” table. Example 2 SELECT FacFirstName, FacLastName, FacSalary FROM Faculty; … will just list those three columns.

11 First SELECT Examples Example 3 SELECT FacFirstName, FacLastName, FacSalary FROM Faculty WHERE FacSalary > 65000; … will just list those with a salary greater than $65000.

12 Other Single Table Examples Example 4 SELECT FacFirstName, FacLastName, FacSalary FROM Faculty WHERE FacSalary > AND FacRank = 'PROF‘; Example 5: Testing for null values SELECT OfferNo, CourseNo FROM Offering WHERE FacSSN IS NULL; … NULL is not the same thing as zero!