BUS 110A -Overview of the Class -Discussion of the Syllabus -Overview of Access.

Slides:



Advertisements
Similar presentations
BASIC SKILLS AND TOOLS USING ACCESS
Advertisements

Designing Tables in Microsoft Access By Ed Lance.
Copyright © 2008 Pearson Prentice Hall. All rights reserved.1 1 Committed to Shaping the Next Generation of IT Experts. Chapter 2.1: Relational Databases.
Intro to Access 2007 Lindsey Brewer CSSCR September 18, 2009.
Access 2007 ® Use Databases How can Microsoft Access 2007 help you structure your database?
Microsoft Access.
Database Basics. What is Access? Database management system Computer-based equivalent of a manual database Makes it easy to organize and update information.
Database Design Week 10.
MS-Access XP Lesson 1. Introduction to MS-Access Database Management System Software (DBMS) Store data in databases Database is a collection of table.
Computer Concepts BASICS 4th Edition
Create a new blank database First step SUBMITTry again.
Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1 1 Committed to Shaping the Next Generation of IT Experts. Chapter 2: Relational Databases.
Guide to Oracle10G1 Introduction To Forms Builder Chapter 5.
XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Analyzing Data For Effective Decision Making.
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
Creating a Blank Database 1. Open up Microsoft Access 2. Click on Blank document button 3. On the right panel, Specify the location for saving your database.
LSP 121 Week 2 Normalization and Queries. Normalization The Old Car Club database presented a problem – what if one person owns multiple cars? (One owner.
Access Lecture 1 Database Overview and Creating Tables Create an Employee Table.
Access Tutorial 3 Maintaining and Querying a Database
Database Software Application
Microsoft Access Database software. What is a database? … a database is an organized collection of data. A collection of data of similar information compiled.
MS Access: Database Concepts Instructor: Vicki Weidler.
DAY 21: MICROSOFT ACCESS – CHAPTER 5 MICROSOFT ACCESS – CHAPTER 6 MICROSOFT ACCESS – CHAPTER 7 Akhila Kondai October 30, 2013.
ACCESS CHAPTER 1. OBJECTIVES Tables Queries Forms Reports Primary and Foreign Keys Relationship.
Database Applications – Microsoft Access Lesson 2 Modifying a Table and Creating a Form 45 slides in presentation Accessibility check 9/14.
Microsoft Access Intro Class 1 Database Concepts.
CHAPTER 9 DATABASE MANAGEMENT © Prepared By: Razif Razali.
ASP.NET Programming with C# and SQL Server First Edition
DAY 15: ACCESS CHAPTER 2 Larry Reaves October 7,
Chapter 1 Overview of Database Concepts Oracle 10g: SQL
Microsoft Access 2003 Define some key Access terminology: Field – A single characteristic or attribute of a person, place, object, event, or idea. Record.
 A database is a collection of data that is organized so that its contents can easily be accessed, managed, and updated. What is Database?
10 May Microsoft Access 2010 Relational databases’ program Part of the Microsoft Office package Administer relational database Update database through.
Lecture 2 An Overview of Relational Database IST 318 – DB Admin.
Microsoft Access 2010 Building and Using Queries.
Analyzing Data For Effective Decision Making Chapter 3.
McGraw-Hill/Irwin ©2009 The McGraw-Hill Companies, All Rights Reserved Business Driven Information Systems 2e Plug-In T6: Basic Skills and Tools Using.
Lesson 2.  To help ensure accurate data, rules that check entries against specified values can be applied to a field. A validation rule is applied to.
Management Information Systems MS Access MS Access is an application software that facilitates us to create Database Management Systems (DBMS)
Lesson 17 Getting Started with Access Essentials
Relational Databases (MS Access)
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 2 1 Microsoft Office Access 2003 Tutorial 2 – Creating And Maintaining A.
Access 2013 Microsoft Access 2013 is a database application that is ideal for gathering and understanding data that’s been collected on just about anything.
Objectives Overview Define the term, database, and explain how a database interacts with data and information Describe the qualities of valuable information.
11 3 / 12 CHAPTER Databases MIS105 Lec15 Irfan Ahmed Ilyas.
Computer Literacy BASICS: A Comprehensive Guide to IC 3, 5 th Edition Lesson 23 Getting Started with Access Essentials 1 Morrison / Wells / Ruffolo.
MS Access 2007 Management Information Systems 1. Overview 2  What is MS Access?  Access Terminology  Access Window  Database Window  Create New Database.
1 Database Concepts 2 Definition of a Database An organized Collection Of related records.
Enhancing Forms with OLE Fields, Hyperlinks, and Subforms – Project 5.
® Microsoft Office 2013 Access Creating a Database.
6.1 © 2010 by Prentice Hall 6 Chapter Foundations of Business Intelligence: Databases and Information Management.
Access 2007 ® Use Databases How can Microsoft Access 2007 help you structure your database?
1 Database Systems Introduction to Microsoft Access Part 2.
1 CSE 2337 Introduction to Data Management Access Book – Ch 1.
CHAPTER 1 – INTRODUCTION TO ACCESS Aliya Farheen March 5, 2014.
Access Chapter 1: Intro to Access Objectives Navigate among objects in Access database Difference between working in storage and memory Good database file.
Lesson 13 Databases Unit 2—Using the Computer. Computer Concepts BASICS - 22 Objectives Define the purpose and function of database software. Identify.
Access Lessons 1, 2 and 3 ©2009 M and K Solutions, LLC – All Rights Reserved.
Lesson 4.  After a table has been created, you may need to modify it. You can make many changes to a table—or other database object—using its property.
INTRODUCTION TO ACCESS. OBJECTIVES  Define the terms field, record, table, relational database, primary key, and foreign key  Create a blank database.
MSOffice Access Microsoft® Office 2010: Illustrated Introductory 1 Part 1 ® Database & Table.
Exploring Microsoft Access Chapter 5 One-to-Many Relationships: Subforms and Multiple Table Queries.
PREPARED BY: PN. SITI HADIJAH BINTI NORSANI. LEARNING OUTCOMES: Upon completion of this course, students should be able to: 1. Understand the structure.
Creating a database - I clicked on blank database and am saving it as books10.mdb. For more information see the practice example under week #1. I am going.
Access Lessons 1, 2 and 3 ©2009 M and K Solutions, LLC – All Rights Reserved.
XP Chapter 1 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Level 2 Objectives: Understanding and Creating Table.
Copyright © 2014 Pearson Canada Inc. Ext. 5b-1 Copyright © 2014 Pearson Canada Inc. Application Extension 5b Using Microsoft Access Part 2: Using Information.
Microsoft Office Access 2010 Lab 1
Prepared By: Bobby Wan Microsoft Access Prepared By: Bobby Wan
Introduction to Database Systems
Presentation transcript:

BUS 110A -Overview of the Class -Discussion of the Syllabus -Overview of Access

Why database for 110A Because business are generating a lot of data Data is useful for the companies Most applications require this data to generate meaningful information or perform useful activities. So it is important to have working knowledge of databases.

Overview of Access What is a database and how is it different from database management system? –A collection of related tables. –MySJSU is a database which has tables all related to you. Your profile, your classes and schedule, and your grades. –Database Management System (DBMS) provides the means to store, maintain and gain access to the data.

Components of a Database Bits: 1 and 0 Bytes: 8 bits ( ) Field: Several Characters (e.g. Name) Record: Several Fields (e.g. your school record) Record key: Unique key (e.g. SSN) Table: Group of records e.g. (my class record). Database: Group of related tables

An example of data stored in a database table Records Fields Source Relations

Different DBMS available in market? Oracle, DB2, Microsoft Access, Microsoft SQL Server, Firebird, PostgreSQL, MySQL, SQLite, FileMaker and Sybase Adaptive Server Enterprise (From Wikipedia – Click on link to read more)OracleDB2Microsoft AccessMicrosoft SQL ServerFirebirdPostgreSQL MySQLSQLiteFileMakerSybase Adaptive Server Enterprise For this class we focus on MS Access and Microsoft SQL Server

Microsoft Access File operations. Open a database, close a database, tables, reports, queries. Remember, you have to first create a database to add files, relationships, queries, or reports Here are some database templates us/templates/CT aspx us/templates/CT aspx

Components of MS-Access window Try each of these at home

Navigating databases For a sample file download amilyid=C DBE-422B C632D66C529C&displaylang=enhttp:// amilyid=C DBE-422B C632D66C529C&displaylang=en Convert the file to 2000 format by following the instructions on the screen Notice the tables, queries, forms, and reports. Explore them further. Notice the different views and different ways you can navigate through the tables.

Steps in creating database Plan: Purpose of the database, its scope. Remember adding a bathroom after the house is build costs 10 times as much. Design: Build conceptual data models, report formats, data dictionary. Develop: Create tables, queries, reports Implement: Populate the database and test Review: Periodic checks to ensure compliance.

Creating your own databases Say you are hired by a company to automate their employee payroll system. What are some of the fields that you can think of? EmployeeID, Hire Date, first name, last name, address (why do we need to break this into multiple fields?), phone number, birth date, picture, pay scale, designation, pay, hours worked, qualification. You can get this information by analyzing the existing records of the company.

Creating your own database You may need several tables to create this database. Why? Creating several tables ensures easier access, faster processing, and removes redundancy You can join these tables logically to create one large table by using key field Main table will include core information about employee that does not change on day to day basis. Example?

Steps to create a new database Step 1: Create the database file. Step 2: Create tables. Step 3: Define the relationships between the tables. Step 4: Create input forms (maybe). Step 5: Populate the database. Step 6: Create Reports. Step 7: Query the database.

Creating your own database New database  blank database  select location where file needs to be saved. Name the database as employee. Create a new table using design view. Explore other views for enhanced learning. Notice different types of data types and associated properties. The first field is employeeID. Right click to make it primary key.

Creating tables Add the remaining fields –Hire date : Date/time –Last/FirstName: Text –Street/City/State/Zip: Text (e.g. State 2chars) –Phone: Text –Birth Date: Text –Photo: OLE Object Save the table as EmpMain

Populating Tables Double click to enter the data You don’t need to save as access automatically updates the table. You can delete, modify, add records now. You can delete, modify, and add fields too. However before you do this, you have to take into account the data integrity issues. You can play around with format, custom properties, and other options to enhance the experience.

Adding another table and defining relationships Add another table called payRate which contains PayID, EmployeeID (foreign field), payrate, and payHours. Now define the relationship between the two tables. –Relationship can be one to one (e.g. marriage), one to many (e.g. lectures), and many to many (e.g. debates). To define relationship: Tools  Relationship.

Relationship This relationship will be one to many because employees get paid several times. You can enforce referential integrity. RI ensures consistency of data. For example, you can not delete a record in the Employee table if it has related records in the pay rate table. Because of the relationship, you can view the two tables logically as one big table or you can view parts of the table.

Forms A form is a database tool used to display, navigate, enter, delete, and edit records. The best way to design a form is to use a form wizard. Since the relationship is defined, you can add multiple tables to the forms. Select the fields that you want to be included in the form. This also forms the basis of visual basic. The concept of forms remain the same.

Querying a database. A query is a question that you ask to the database. Ex: Give me the names of all employess who got bonus > $5, in 2007 Or give me the name of students with an average GPA of 3.9 Queries results in a logical table which can be used with other tables and queries.

Queries Create a new query, starting with the query wizard. Now in the design view you can specify conditions by defining criteria expression. You can specify formulas and new fields. The AND/OR operators can be used to further develop the expressions. A new query can be developed using design view too.

Query Formulas For some very good examples of formulas and expressions visit us/access/HA aspx?pid=CH

Querying two tables Join is an association between two tables. Joining tables brings information together from different tables. This capability to join tables is what makes relational databases so powerful and popular. To be joined, the tables must have at least one common field. Common fields are of same data type and contain same type of information. Usually the primary key of one table is introduced as a foreign key in the other table. Rest of the querying process is the same.

Reports Report writing is very similar to developing a query or a form. Again working with multiple tables is similar with reports as it is with forms and queries. The design mode of report allows you to rearrange the components of the report to improve its look and feel.

Access Database Limitations 2 gigabytes in size Maximum of 32,768 objects 64 character maximum in an object name 14 character maximum for passwords Support up to 255 concurrent users

Access Table Limitations have up to 64 characters in each field name have up to 255 fields be one of 2048 concurrent open tables be up to 1 gigabyte have 32 indexes be sorted by up to 255 characters in one or more fields