CIS 103 — Applied Computer Technology Last Edited: September 17, 2010 by C.Herbert Using Database Management Systems.

Slides:



Advertisements
Similar presentations
A database is a collection of data that is stored in a computer system. Databases allow their users to enter, access, and analyze their data quickly and.
Advertisements

Post Exam Study Database Design
Lecture-7/ T. Nouf Almujally
Lecture Microsoft Access and Relational Database Basics.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
Data Base Management System
Information systems and databases Database information systems Read the textbook: Chapter 2: Information systems and databases FOR MORE INFO...
RIZWAN REHMAN, CCS, DU. Advantages of ORDBMSs  The main advantages of extending the relational data model come from reuse and sharing.  Reuse comes.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
Chapter 5 Database Processing.
Database Lecture # 1 By Ubaid Ullah.
Chapter 9 SQL and RDBMS Part C. SQL Copyright 2005 Radian Publishing Co.
CSC2012 Database Technology & CSC2513 Database Systems.
Chapter 5 Lecture 2. Principles of Information Systems2 Objectives Understand Data definition language (DDL) and data dictionary Learn about popular DBMSs.
MICROSOFT ACCESS 2007 BTA – Spring What is Access?  Microsoft Access is a database management system…this means that it contains database information.
Chapter 1Oracle9i: SQL1 Chapter 1 Overview of Database Concepts.
Introduction to Accounting Information Systems
Chapter 1 Overview of Database Concepts Oracle 10g: SQL
Database Technical Session By: Prof. Adarsh Patel.
Introduction to SQL Steve Perry
Data-mining & Data As we used Excel that has capability to analyze data to find important information, the data-mining helps us to extract information.
1 INTRODUCTION TO DATABASE MANAGEMENT SYSTEM L E C T U R E
Databases. Database A database is an organized collection of related data.
CHAPTER 8: MANAGING DATA RESOURCES. File Organization Terms Field: group of characters that represent something Record: group of related fields File:
Computer Science 101 Database Concepts. Database Collection of related data Models real world “universe” Reflects changes Specific purposes and audience.
Database Fred Durao What is a database? A database is any organized collection of data. Some examples of databases you may encounter in.
Relational Databases (MS Access)
DAY 12: DATABASE CONCEPT Tazin Afrin September 26,
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.
5-1 McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved.
Chapter 5 Data Resource Management. 2 I. Why do organizations store data?  Data resources must be structured and organized in some logical manner so.
DAY 14: MICROSOFT ACCESS – CHAPTER 1 Madhuri Siddula October 1, 2015.
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.
Prepared by The Smartpath Information Systems
Database revision.
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.
Database Fundamental & Design by A.Surasit Samaisut Copyrights : All Rights Reserved.
CISB113 Fundamentals of Information Systems Data Management.
The Relational Model for Database Management Systems CIS 205, Fall 2004 Last edited September 17, 2004 By C. Herbert ©2004, all rights reserved.
Management Information Systems, 4 th Edition 1 Chapter 8 Data and Knowledge Management.
SQL Jan 20,2014. DBMS Stores data as records, tables etc. Accepts data and stores that data for later use Uses query languages for searching, sorting,
Database and Information Management Chapter 9 – Computers: Understanding Technology, 3 rd edition.
Principles of Database Design, Part I AIMS 2710 R. Nakatsu.
Instructor: Pavlos Pavlikas1 How Data is Stored Chapter 8.
Chapter 13.3: Databases Invitation to Computer Science, Java Version, Second Edition.
Distribution of Marks For Second Semester Internal Sessional Evaluation External Evaluation Assignment /Project QuizzesClass Attendance Mid-Term Test Total.
SQL Introduction to database and SQL. Chapter 1: Databases and Database Users 6 Introduction to Databases Databases touch all aspects of our lives. Examples:
Introduction to Core Database Concepts Getting started with Databases and Structure Query Language (SQL)
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.
Fundamental of Database Systems
Data Resource Management
Chapter 4 Relational Databases
Database Management  .
Databases and Information Management
Database Processing: David M. Kroenke’s Chapter One: Introduction
Big Data The huge amount of data being collected and stored about individuals, items, and activities and to the process of drawing useful information from.
Chapter 2 Database Environment Pearson Education © 2009.
Chapter 2 Database Environment.
Database Processing: David M. Kroenke’s Chapter One: Introduction
Database.
Structured Query Language
MANAGING DATA RESOURCES
Databases.
Databases and Information Management
The ultimate in data organization
A Very Brief Introduction to Relational Databases
Chapter 2 Database Environment Pearson Education © 2009.
INTRODUCTION A Database system is basically a computer based record keeping system. The collection of data, usually referred to as the database, contains.
Presentation transcript:

CIS 103 — Applied Computer Technology Last Edited: September 17, 2010 by C.Herbert Using Database Management Systems

A student who successfully completes this chapter should be able to: define the database terms used in the chapter. describe what relational database management systems are. construct SQL queries to extract specified data from a database table. create database queries for a Microsoft Access database. export the results of Microsoft Access queries into Microsoft Excel for formatting, presentation, and analysis. CIS 103 Applied Computer TechnologyDBMS part 1, slide 2

Using Database Management Systems A database is an organized collection of data, usually one that that can be stored and processed using a computer system. It can be thought of as an electronic filing system. A database management system is a collection of software that enables users to store, organize, analyze, and extract information using a database. A relational database is a database with data organized as a set of tables. Almost all modern databases are relational databases. CIS 103 Applied Computer TechnologyDBMS part 1, slide 3

Using Database Management Systems The things we wish to keep track of in a database are called entities. In a relational database, there is a table for each entity. The word entity refers to the general object that each table describes. Each specific object is called an instance of the entity. Student is the entity. John Smith is an instance of the entity. CIS 103 Applied Computer TechnologyDBMS part 1, slide 4 Student snumlastfirststreetcitystatezipphonemajorgpa S00188SmithJohn111 Oak Ave.PrincetonNJ CIS3.43 S03154JonesMary212 Maple St.HanoverNH Computer Science 3.62 S10843JarvisFred123 Spruce St.ProvidenceRI English3.07

Using Database Management Systems Modern databases have many tables, not just one. A university records and registration system might have tables for students, courses, sections of courses, teachers, classrooms, student registration records, teaching assignments, and so on. CIS 103 Applied Computer TechnologyDBMS part 1, slide 5

Using Database Management Systems Many modern databases are enterprise-wide databases. An enterprise-wide database is a single database with all of the data for an enterprise, such as a business, a government agency, or some other kind of organization. CIS 103 Applied Computer TechnologyDBMS part 1, slide 6

Student snumlastfirststreetcitystatezipphonemajorgpa S00188SmithJohn111 Oak Ave.PrincetonNJ CIS3.43 S03154JonesMary212 Maple St.HanoverNH Computer Science 3.62 S10843JarvisFred123 Spruce St.ProvidenceRI English3.07 S36912WilliamsCathy231 Ash TerraceNew HavenCT Biology2.64 Student snumlastfirststreetcitystatezipphonemajorgpa S00188SmithJohn111 Oak Ave.PrincetonNJ CIS3.43 S03154JonesMary212 Maple St.HanoverNH Computer Science 3.62 S10843JarvisFred123 Spruce St.ProvidenceRI English3.07 S36912WilliamsCathy231 Ash TerraceNew HavenCT Biology2.64 Using Database Management Systems There is a row in a database table for each instance of the entity. In our student table, there is a row for each student. CIS 103 Applied Computer TechnologyDBMS part 1, slide 7

Student snumlastfirststreetcitystatezipphonemajorgpa S00188SmithJohn111 Oak Ave.PrincetonNJ CIS3.43 S03154JonesMary212 Maple St.HanoverNH Computer Science 3.62 S10843JarvisFred123 Spruce St.ProvidenceRI English3.07 S36912WilliamsCathy231 Ash TerraceNew HavenCT Biology2.64 Student snumlastfirststreetcitystatezipphonemajorgpa S00188SmithJohn111 Oak Ave.PrincetonNJ CIS3.43 S03154JonesMary212 Maple St.HanoverNH Computer Science 3.62 S10843JarvisFred123 Spruce St.ProvidenceRI English3.07 S36912WilliamsCathy231 Ash TerraceNew HavenCT Biology2.64 Our student table has a column for last name, a column for first name, and so on. Using Database Management Systems An attribute is something that describes an entity. There is a column in a database table for each attribute of an entity. CIS 103 Applied Computer TechnologyDBMS part 1, slide 8

Student snumlastfirststreetcitystatezipphonemajorgpa S00188SmithJohn111 Oak Ave.PrincetonNJ CIS3.43 S03154Jones Mary 212 Maple St.HanoverNH Computer Science 3.62 S10843JarvisFred123 Spruce St.ProvidenceRI English3.07 S36912WilliamsCathy231 Ash TerraceNew HavenCT Biology2.64 Using Database Management Systems The intersection of a row and a column in a database table is called a field. Each field holds the value of one attribute for one instance of the entity. CIS 103 Applied Computer TechnologyDBMS part 1, slide 9

Student snumlastfirststreetcitystatezipphonemajorgpa S00188SmithJohn111 Oak Ave.PrincetonNJ CIS3.43 S03154JonesMary212 Maple St.HanoverNH Computer Science 3.62 S10843JarvisFred123 Spruce St.ProvidenceRI English3.07 S36912WilliamsCathy231 Ash TerraceNew HavenCT Biology2.64 Student snumlastfirststreetcitystatezipphonemajorgpa S00188SmithJohn111 Oak Ave.PrincetonNJ CIS3.43 S03154JonesMary212 Maple St.HanoverNH Computer Science 3.62 S10843JarvisFred123 Spruce St.ProvidenceRI English3.07 S36912WilliamsCathy231 Ash TerraceNew HavenCT Biology2.64 In our example, student number is the primary key for the student table. Using Database Management Systems A primary key is an attribute that has a different value for each instance of an entity, so we can identify that instance. CIS 103 Applied Computer TechnologyDBMS part 1, slide 10 Each student has a different student number.

Using Database Management Systems The full database name for a column includes the table name and the column name, separated by a comma. student.snum, student.last, student.gpa, etc. CIS 103 Applied Computer TechnologyDBMS part 1, slide 11 Classroom

Using Database Management Systems Information about how a database is organized – in other words, data about the data – is called metadata. We will see more about metadata later. CIS 103 Applied Computer TechnologyDBMS part 1, slide 12 Classroom

Relational Database Software Structured Query Language – SQL – is a language used to query a relational database. SQL is both a data definition language (DDL) used is to define the structure of a database and a data manipulation language, (DML) used to manipulate data in a database, including extracting data from a database. Technically, any SQL statement is a query, but people generally use the word query to specifically mean statements that extract data from a database. CIS 103 Applied Computer TechnologyDBMS part 1, slide 13

Relational Database Software Structured Query Language – SQL – is a language used to query a relational database. A standard definition of the SQL language is maintained by the American National Standards Institute (ANSI) and the International Organization for Standardization (ISO). CIS 103 Applied Computer TechnologyDBMS part 1, slide 14

Relational Database Software Most of the major relational database management systems in use today, such as The Oracle Database, MySQL, Microsoft SQL Server, Ingres, and Microsoft Access, use SQL. CIS 103 Applied Computer TechnologyDBMS part 1, slide 15

Relational Database Software In the following sections we will learn about SQL queries to extract data from a database, how to use them in Access, and how to use the Access Query Wizard and Design View to extract data without using SQL. — § — CIS 103 Applied Computer TechnologyDBMS part 1, slide 16