Access Lecture 1 Database Overview and Creating Tables Create an Employee Table.

Slides:



Advertisements
Similar presentations
Designing Tables in Microsoft Access By Ed Lance.
Advertisements

Copyright © 2008 Pearson Prentice Hall. All rights reserved.1 1 Committed to Shaping the Next Generation of IT Experts. Chapter 2.1: Relational Databases.
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.
BUS 110A -Overview of the Class -Discussion of the Syllabus -Overview of Access.
1 Chapter 1 & 2 Relational Databases and Queries CS101 WVU.
UNIVERSITY OF PALESTINE business computer application College of Business Instructor: Mr. Ahmed Abumosameh.
Access Lesson 2 Creating a Database
Microsoft Access Manual 1 By Dhawala Kovuri Elham S.Khorasani Ismail Guneydas.
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.
COMPREHENSIVE Access Tutorial 2 Building a Database and Defining Table Relationships.
FIRST COURSE Access Tutorial 2 Building a Database and Defining Table Relationships.
Tables. Any database must contain one or more tables, because that’s where the data is stored. For any table there are two views provided: Datasheet view.
Database terms Mr. Brunton.
Microsoft Access Database software. What is a database? … a database is an organized collection of data. A collection of data of similar information compiled.
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.
MICROSOFT ACCESS Pn. Jamilah Binti Yusof. DEFINITION A database is the computer equivalent of an organized list of information. Typically, this information.
FIRST COURSE Access Tutorial 1 Creating a Database.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. ACCESS 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 4 – Creating New.
Database Concepts & Introduction to MS Access 1. Outline Database Overview  Database Management System Concepts  Database Structures Database, tables,
Access 2007 Database Application Managing Business Information Effectively BCIS 1 and 2.
DAY 15: ACCESS CHAPTER 2 Larry Reaves October 7,
Access Tutorial 2 Building a Database and Defining Table Relationships
CITY UNIVERSITY / Vysoká Škola Manažmentu.:IS Information Systems :. © Martina Cesalova, 2005 MS ACCESS 1 Start Microsoft Access – New - Blank Database.
® Microsoft Office 2013 Access Building a Database and Defining Table Relationships.
Created by: Tanya Morgan.  Access is the database software of the Microsoft Office suite.  A database is a collection of objects that work together.
 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.
DATABASE DESIGN USING MICROSOFT ACCESS. What is a Database?  DMS Database management system  Database Collection of data organized in a manner that.
Lecture 2 An Overview of Relational Database IST 318 – DB Admin.
® Microsoft Access 2010 Tutorial 1 Creating a Database.
Exploring Microsoft Access 2003 Chapter 2 Tables and Forms: Design, Properties, Views, and Wizards.
WEEK 11 Database Design. TABLE INSTANCE CHARTS Create Tables.
5 Aug Microsoft Access 2010 Relational databases’ program Part of the Microsoft Office package Administer relational database Update database through.
DAY 22: MICROSOFT ACCESS – REVIEW Akhila Kondai November 04, 2013.
® Microsoft Access 2010 Tutorial 2 Building a Database and Defining Table Relationships.
Access Chapter 2: Relational Database Objectives Design data Create tables Understand table relationships Understand data types, key, & field properties.
Chapter 17 Creating a Database.
Access Manual 2 By Dhawala Kovuri Elham S.Khorasani Ismail Guneydas.
11 3 / 12 CHAPTER Databases MIS105 Lec15 Irfan Ahmed Ilyas.
® Microsoft Office 2010 Building a Database and Defining Table Relationships.
Using Microsoft Access 56:150 Information System Design.
Enhancing Forms with OLE Fields, Hyperlinks, and Subforms – Project 5.
INFO1408 Database Design Concepts Week 15: Introduction to Database Management Systems.
DAY 14: MICROSOFT ACCESS – CHAPTER 1 Madhuri Siddula October 1, 2015.
Database collection of related information stored in an organized form Database program software tool for storage & retrieval of that information.
Access 2007 ® Use Databases How can Microsoft Access 2007 help you structure your database?
Databases,Tables and Forms Access Text by Grauer Chapters 1 & 2.
IE 423 – Design of Decision Support Systems Database development – Building Tables
1 CSE 2337 Introduction to Data Management Access Book – Ch 1.
Microsoft Office 2013: In Practice Chapter 2 Using Design View, Data Validation, and Relationships Copyright © 2014 by The McGraw-Hill Companies, Inc.
Planning & Creating a Database By Ms. Naira Microsoft Access.
Access Lessons 1, 2 and 3 ©2009 M and K Solutions, LLC – All Rights Reserved.
INTRODUCTION TO ACCESS. OBJECTIVES  Define the terms field, record, table, relational database, primary key, and foreign key  Create a blank database.
Database Management System Conducted By Provincial Computer Resource Centre Gurudeniya Jayaratna Alahakoon.
Pasewark & Pasewark 1 Access Lesson 2 Creating a Database Microsoft Office 2007: Introductory.
Mr C Johnston ICT Teacher
Database design Using Access 2007
MSOffice Access Microsoft® Office 2010: Illustrated Introductory 1 Part 1 ® Database & Table.
C REATING & D ESIGNING A D ATABASE 1. C REATING A D ATABASE 2 There are two different ways to create a new Access database: 1. Start from scratch with.
Getting Started in Access 1 Using an existing Database Database Window Table Design View Parts of a Table Views in Access Navigating in Access Entering.
MICROSOFT ACCESS – CHAPTER 5 MICROSOFT ACCESS – CHAPTER 6 MICROSOFT ACCESS – CHAPTER 7 Sravanthi Lakkimsety Mar 14,2016.
Access Lessons 1, 2 and 3 ©2009 M and K Solutions, LLC – All Rights Reserved.
To play, start slide show and click on circle Access 1 Access 2 Access 3 Access 4 Access Access
Prepared By: Bobby Wan Microsoft Access Prepared By: Bobby Wan
Microsoft Office Illustrated Introductory, Windows XP Edition
ICT Database Lesson 2 Designing a Database.
Lecture 2 Lecturer: awdang aziz MS access
Presentation transcript:

Access Lecture 1 Database Overview and Creating Tables Create an Employee Table

Why database for 110A Because businesses generate a lot of data What are some ways in which businesses use data they collect? Data is needed to generate meaningful information The bottom layer of a three tiered app You’ll be more prepared for BUS111 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 (aka column, attribute): Several Characters (e.g. Name) Record (aka row): Several Fields (e.g. your school record) Primary key: Unique identifier for the record (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

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 (2007) and Microsoft SQL Server (express 2005 version)

Let’s look at one… This is a student database…Called Our_students_in_class_exercise

Steps in creating database Plan: Purpose of the database, its scope. Remember adding a bathroom after a 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

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

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?

Creating your own databases Some potential fields –EmployeeID, –Hire Date –first name –last name –address phone number –birth date –Picture –pay scale –Hours worked 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 with relationships using primary and foreign keys

Creating your own employee 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 a table 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 –Save the table as EmpMain

Populating Tables This means to add records 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.

Let’s add some records Add 3 records, completing the following fields: –EmployeeID –HireDate –LastName –FirstName –Street/City/State/Zip –Phone –BirthDate

Relationships PRIMARY KEY: It is a field (or combination of fields) that makes each record in a table unique. Every table must have a primary key and each record must have a unique value as its primary key Tables and their relationships to each other are stored Tables are related in a one-to-many (or one-to-one) relationship A foreign key is required to establish the relationship – one table’s foreign key is another table’s primary key.

Primary Keys PRIMARY KEY: It is a field (or combination of fields) that makes each record in a table unique. Every table must have a primary key and each record must have a unique value as its primary key. Primary keys

Examples of Properties Properties of the CustomerID Field Properties of the Gender Field

Data Types DATA TYPE: Determines the type of data that can be entered and the operations that can be performed on that data Access recognizes the following data types: Number (can be used in calculations) Text (alphanumeric characters up to 255 per field) Memo (alphanumeric value of unlimited length) Date/Time AutoNumber (numeric value, automatically increases) Yes/No OLE Object Currency Hyperlink Data Type

Importing Data For your course project you’ll be importing data for your student table into your database. First click on the “External Data” Tab in Access Select the Excel as the file type that you’ll be getting the data from This starts a wizard

Importing Data There are 3 options…create a new table with the imported data, add the imported data to an existing table (this requires that the imported and existing data are similar), or link a table. Will do the first Browse to where the import file is and open Click open and OK

Importing Data You should be a preview of the data, Click Next Select the checkbox that says “first row contains column headings” and Next Now you can see the column headings as your field names and you can modify each fields datatype if you need to and Next Select the key if you wish

Importing Data Now name your table something helpful and your done. You can now go into the table in access and modify its design – you’ll probably need to…