10 May 20131 Microsoft Access 2010 Relational databases’ program Part of the Microsoft Office package Administer relational database Update database through.

Slides:



Advertisements
Similar presentations
Relational Database Systems Higher Information Systems Advanced Implementation in Microsoft Access.
Advertisements

Designing Tables in Microsoft Access By Ed Lance.
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.
Benchmark Series Microsoft Access 2010 Level 1
Start First step Create a new blank database Create a database using the option that will enable you to build your database using pre-set options. Save.
Northwind2003 database 11 Aug Sakila database 11 Aug
Create a new blank database First step SUBMITTry again.
Access Lesson 2 Creating a Database
Exploring Office Grauer and Barber 1 Tables and Forms: Properties, Views, and Wizards(Wk3)
COMPREHENSIVE Access Tutorial 2 Building a Database and Defining Table Relationships.
Database Basics. Definitions Database Relational database Table Record Field Primary key.
FIRST COURSE Access Tutorial 2 Building a Database and Defining Table Relationships.
Access Lecture 1 Database Overview and Creating Tables Create an Employee Table.
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.
Data Types and Field Properties 5.01 Understand database tables used in business.
Business Computer Information Systems Microsoft Office XP Access Review Lessons 1 through 5.
Chapter 3 Maintaining a Database
Microsoft Access 2000 Creating Tables and Relationships.
MICROSOFT ACCESS Pn. Jamilah Binti Yusof. DEFINITION A database is the computer equivalent of an organized list of information. Typically, this information.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 1 1. Chapter 2: Relational Databases and Multi-Table Queries Exploring Microsoft Office.
With Microsoft Office 2007 Intermediate© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Office 2007 Intermediate.
© 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.
With Microsoft Access 2007 Volume 1© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Access 2007 Volume 1 Chapter.
DAY 15: ACCESS CHAPTER 2 Larry Reaves October 7,
Access Tutorial 2 Building a Database and Defining Table Relationships
Press Esc to Exit ©2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in.
® Microsoft Office 2013 Access Building a Database and Defining Table Relationships.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 4 BACKNEXTEND 4-1 LINKS TO OBJECTIVES Query Design Query Criteria Modify a Query Using OR.
Exploring Microsoft Access Chapter 4 Relational Databases, External Data, Charts, and the Switchboard.
 A database is a collection of data that is organized so that its contents can easily be accessed, managed, and updated. What is Database?
Analyzing Data For Effective Decision Making Chapter 3.
Designing a Database (Part I) -Identify all fields needed to produce the required information -Group related fields into tables -Determine Each Table’s.
Exploring Microsoft Access 2003 Chapter 2 Tables and Forms: Design, Properties, Views, and Wizards.
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.
® Microsoft Office 2010 Access Tutorial 2 Building a Database and Defining Table Relationships.
1 Web-Enabled Decision Support Systems Access Tables: Building Data Foundation Prof. Name Position (123) University Name.
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.
More about Databases. Data Entry through Forms Table View (Data sheet view) is useful for data entry of new records But sometimes customization would.
Access Chapter 2: Relational Database Objectives Design data Create tables Understand table relationships Understand data types, key, & field properties.
Chapter 17 Creating a Database.
® Microsoft Office 2010 Building a Database and Defining Table Relationships.
Presented By: Gail Rose-Innes Camps Bay High School ICT & CAT Department Microsoft Access 2010.
Microsoft Office 2007 Access Chapter 3 Maintaining a Database.
Using Microsoft Access 56:150 Information System Design.
WHAT IS A DATABASE? A DATABASE IS A COLLECTION OF DATA RELATED TO A PARTICULAR TOPIC OR PURPOSE OR TO PUT IT SIMPLY A GENERAL PURPOSE CONTAINER FOR STORING.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 1 BACKNEXTEND 1-1 LINKS TO OBJECTIVES Create and Open a Database Create and Open a Database.
Database collection of related information stored in an organized form Database program software tool for storage & retrieval of that information.
Databases,Tables and Forms Access Text by Grauer Chapters 1 & 2.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 3 BACKNEXTEND 3-1 LINKS TO OBJECTIVES Modify a Table – Add, Delete, Move Fields Modify a Table.
INFORMATION TECHNOLOGY DATABASE MANAGEMENT. Adding a new field 1Right click the table name and select design view 2Type the field information at the end.
ACCESS (CHAPTER 2-3 continued) Naman Kohli October 16,
Introduction to a Database Defining a database Database window in Access The six items in window: Tables, Queries Forms, Reports, Macros, Modules.
Microsoft Office 2013: In Practice Chapter 2 Using Design View, Data Validation, and Relationships Copyright © 2014 by The McGraw-Hill Companies, Inc.
© 2001 ComputerPREP, Inc. All rights reserved. Access 2000: Module II.
CSCI-235 Micro-Computers in Science Microsoft Access 2002 Chapter 2 Tables and Forms: Design, Properties, Views, and Wizards.
Pasewark & Pasewark 1 Access Lesson 2 Creating a Database Microsoft Office 2007: Introductory.
Modify Tables and FieldsModify Tables and Fields Lesson 4 © 2014, John Wiley & Sons, Inc.Microsoft Official Academic Course, Microsoft Word Microsoft.
Notes: **A Row is considered one Record. **A Column is a Field. A Database is…  an organized set of stored information usually on one topic  a collection.
Access Tutorial 2 Building a Database and Defining Table Relationships
Practical Office 2007 Chapter 10
Exploring Microsoft Access 97
Access Tutorial 2 Building a Database and Defining Table Relationships
Access Tutorial 2 Building a Database and Defining Table Relationships
Nagendra Vemulapalli Exam2 Overview Nagendra Vemulapalli
Chapter 2 Design Table and Form.
Chapter 2 Design Table and Form.
Presentation transcript:

10 May Microsoft Access 2010 Relational databases’ program Part of the Microsoft Office package Administer relational database Update database through forms Build complex queries Create reports Competitors: Oracle, PostgreSQL, MySQL 1

Northwind database example 10 May Northwind 2003 database example Copy the file to your Desktop Enable Access saves automatically data modifications!!!  Undo is possible only for the last action  File  Save Saves only created objects inside the database file To duplicate the database  File  Save Database As 2

Table 10 May Northwind database overview  Home  View  Datasheet View  Home  View  Design View Fields types Text: max 255 alphanumeric characters Memo: max 65,535 characters Number and Currency and Autonumber Date/Time Yes/No OLE object: link or embed external objects Hyperlink Numerical codes are text and not number! Primary key 3

Select query 10 May a question which produces a virtual table called view  Create  Queries  Query Wizard  Home  View  Design View Show Sorting Criteria Other fields values The query asks for a value  Query  Show tables

Select query: virtual fields 10 May Expression builder Functions: DateDiff, DateAdd, Year, Date Operators: Between, Like * ? Expression builder for validation rules and in table validation rules: Like

Summary query 10 May Group By Count, Sum, Avg, Max, Min Condition Using where and not group by

Report 10 May from tables or queries  Create  Reports  Report Wizard Grouping levels  Home  View  Design View Esthetic changes  Design  Grouping  Group & Sort  Print Preview  Data  More  Word

Table 10 May  Home  View  Design View Fields properties Field Size (only text) Format Decimal Places Default Value Validation Rule Validation Text (if validation rule is not adhered to) Required Allow Zero Length (can empty strings be entered?) Indexed (speed up searches and restrict identical data) Table Validation Rule

Table and relationships 10 May Importing tables  External data  Import & Link   Excel  Database Tools  Relationships  Relationships Create, modify, delete Enforce referential integrity Drop-down menu Relation via Lookup Wizard Predetermined list via Lookup Wizard Predetermined list taken from another table

Form 10 May  Create  Form  Form Wizard view/modify/add/delete records Esthetic changes  Home  View  Design View  Tools  Property Sheet   Form  Data  Allow Additions/Deletions/Edits Subforms Locking the subform only

 Open a blank database ◦ Build the tables  Start from the tables on the “1” side  Put appropriate types  Put appropriate primary key  Build relations ◦ Check the structure ◦ Fill in the tables 11 Home exercise: Your library

 Queries ◦ Build a query to show book title, author surname, publishing year and author birth date  Modify it to hide the author surname ◦ Build a query to show book title, author surname and publishing date only for German and French authors.  Do not build a new one. Modify easily the previous one adding another field with a condition and hiding it ◦ Build a query to show book title, author surname and publishing date only for those book published before  Do not build a new one. Modify the first one. 12 Home exercise : Your library

 Exercises ◦ Is there the book TITLE? ◦ Is there a book TITLE published after 1/1/2000? ◦ Which books AUTHOR has published? 13 Home exercise : Your library

◦ Put "Required" for appropriate fields ◦ Build validation rules for appropriate fields ◦ Build predefined drop-down list where appropriate  Forms ◦ Build a form to insert/modify/delete new authors.  Then lock the form to prevent deletions ◦ Build a form to modify a new author with all the list of his/her books.  Then lock it to avoid insertions and deletion in authors and in books. 14 Home exercise : Your library

 Reports ◦ Build a report which shows the books' data ◦ Build a report which shows, author by author, the books' data  Remember to group! ◦ Build a report which shows, genre by genre, author by author, the books' data considering only the German and English authors.  Start from a query 15 Home exercise : Your library

 Advanced queries. Build a query which: ◦ asks for a date and shows book title, author surname and publishing year only for those authors born before the entered date.  How to ask for a field? ◦ shows book title, author surname and the age of the author when the book was published.  How to put expressions? ◦ counts the books for every author.  How to build a query which counts?  Pay attention to what you are grouping-by! ◦ calculates the average publishing year of each author  Pay attention not to put too many fields! ◦ calculates the average publishing year of each author considering only German and English authors.  Pay attention to what you are grouping-by and what is the attribute of the condition! 16 Home exercise : Your library

 Open a blank database ◦ Build the tables  Start from the tables on the “1” side  Put appropriate types  Put appropriate primary keys  Build relations ◦ Check the structure ◦ Fill in the tables 17 Home exercise : students and exams

 Queries ◦ Build a query which displays, for every student, the list of his passed exams. ◦ Build a query which displays the list of passed exams and students’ last names, considering only who got a laude. ◦ Build a query which displays the student number (ordered from lowest to highest) of students who passed computer science. 18 Home exercise : students and exams

◦ Expand the database inserting information about professors and their exams  Many to many relation  another extra table ◦ Put "Required" for appropriate fields ◦ Build validation rules for appropriate fields ◦ Build predefined drop-down list where appropriate 19 Home exercise : students and exams

 Forms ◦ Build a form to insert/modify a professor locked to prevent deletions ◦ Build a form to insert/modify/delete a student ◦ Build a form to insert/modify/delete a professor with all its list of courses  This form takes data from two tables ◦ Build a form to insert a new exam, locked to prevent modifications and deletions. 20 Home exercise : students and exams

 Advanced queries. Build a query which: ◦ asks for a professor and shows the list of his courses. ◦ asks for a professor and shows the list of his exams with the average grade that students obtain in the exam (considering, obviously, only the passed attempts)  Pay attention to what you are grouping-by ◦ asks for a professor and shows the list of his exams with the number of students who got more that 24  Reports ◦ Build a report which displays, for every student in alphabetical order, the list of his/her passed exams in chronological order. 21 Home exercise : students and exams