MICROSOFT ACCESS – CHAPTER 3 CONTD. Sravanthi Lakkimsetty Mar 14, 2016.

Slides:



Advertisements
Similar presentations
Exploring Microsoft Access 2003 Chapter 5 One-to-Many Relationships : Subforms and Multiple Table Queries.
Advertisements

Microsoft Office 2007 Access Chapter 3 Maintaining a Database.
Access Lesson 2 Creating a Database
Excel: Pivot Tables Computer Information Technology Section 6-18.
Exploring Microsoft Access 2003 Chapter 4 Proficiency: Relational Databases, External Data, Charts, Pivot, and the Switchboard.
Access Tutorial 1 Creating a Database
Microsoft Access 2010 Chapter 7 Using SQL.
© Paradigm Publishing, Inc Access 2010 Level 2 Unit 1Advanced Tables, Relationships, Queries, and Forms Chapter 3Advanced Query Techniques.
XP New Perspectives on Microsoft Access 2002 Tutorial 51 Microsoft Access 2002 Tutorial 5 – Enhancing a Table’s Design, and Creating Advanced Queries and.
DAY 20: MICROSOFT ACCESS – CHAPTER 3 CONTD. Aliya Farheen March 19, 2015.
Microsoft Access 2010 Chapter 7 Using SQL. Change the font or font size for SQL queries Create SQL queries Include fields in SQL queries Include simple.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 4 BACKNEXTEND 4-1 LINKS TO OBJECTIVES Query Design Query Criteria Modify a Query Using OR.
Lecture Access – Reports. What’s a Report? Way to analyze your data –Groups –Sum / Average Paper or HTML output (or screen preview) Based on live data.
PIVOT TABLES AND CHARTS CS1100 Computer Science and its Applications CS1100Pivot tables and charts1.
Reporting in Version 5 Application Reports AKA: In Context or Right Click AKA: In Context or Right Click Export to Excel from Listing pages Management.
Microsoft Office 2007 Access Chapter 2 Querying a Database.
Concepts of Database Management Seventh Edition
Database Systems Microsoft Access Practical #3 Queries Nos 215.
DAY 19: MICROSOFT ACCESS – CHAPTER 3 CONTD. Aliya Farheen March 17, 2015.
Microsoft Office 2007 Access Chapter 3 Maintaining a Database.
Damian Tamayo Tutorial DTM Data Generator Fall 2008 CIS 764.
Uploading documents to the site Сlick “Add document” on the home page To send several files enable Add-on “Microsoft Office”
INTRODUCTION TO ACCESS. OBJECTIVES  Define the terms field, record, table, relational database, primary key, and foreign key  Create a blank database.
DAY 18: MICROSOFT ACCESS – CHAPTER 3 CONTD. Akhila Kondai October 21, 2013.
MICROSOFT ACCESS – CHAPTER 5 MICROSOFT ACCESS – CHAPTER 6 MICROSOFT ACCESS – CHAPTER 7 Sravanthi Lakkimsety Mar 14,2016.
MICROSOFT ACCESS – CHAPTER 3 CONTD. Sravanthi Lakkimsetty Mar 09, 2016.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 5 BACKNEXTEND 5-1 LINKS TO OBJECTIVES Using the Form Button Using the Form Button Form Views.
Exploring Microsoft Access 2003
Access Tutorial 2 Building a Database and Defining Table Relationships
Microsoft Visual Basic 2010: Reloaded Fourth Edition
International Computer Driving Licence Syllabus version 5.0
Using Macros, Switchboards, PivotTables, and PivotCharts
Microsoft Access 2016 Build User-Friendly Database Systems
Maintaining a Database
Access Tutorial 1 Creating a Database
Queries.
Access Chapter 2 Querying a Database.
Exploring Microsoft Access 2003
Access Creating a Database
Chapter 4 MS ACCESS DATABASE.
T_C_N_L_G_ E D I D I E O Y O H I E B J I R E A A W.
Access Creating a Database
Access Maintaining and Querying a Database
Homework 6 Overview Fortune 500 Companies Problem
Access Tutorial 4 Creating Forms and Reports
Day 10: MICROSOFT EXCEL – CHAPTER 7 CONTD. MICROSOFT EXCEL – CHAPTER 6
Microsoft Office Access 2003
Build User-Friendly Database Systems Chapter 7
TUTORIAL 2: Creating Query for Bill Processing Using
Database Queries.
Microsoft Office Access 2003
Access Tutorial 1 Creating a Database
Navya Thum March 04, 2013 Microsoft ACCESS Navya Thum March 04, 2013.
MODULE 7 Microsoft Access 2010
Microsoft Office Access 2003
Exploring Microsoft Access 2003
Access Lesson 2 Creating a Database
Chapter 1 Creating a Worksheet and an Embedded Chart
Nagendra Vemulapalli Access chapters 3&5 Nagendra Vemulapalli 1/18/2019.
Chapter 1 Databases and Database Objects: An Introduction
Access: Queries I Participation Project
Nagendra Vemulapalli Access chapters 3&6 Nagendra Vemulapalli
Access Tutorial 1 Creating a Database
Exploring Microsoft Access 2003
Access Tutorial 1 Creating a Database
Pivot tables and charts
Shelly Cashman: Microsoft Access 2016
Chapter 3 Query and Report.
Nagendra Vemulapalli Access chapters 1&2 Nagendra Vemulapalli
Relationships While we are on the subject of Relationships, let’s take a quick look at them.
Presentation transcript:

MICROSOFT ACCESS – CHAPTER 3 CONTD. Sravanthi Lakkimsetty Mar 14, 2016.

REMINDER Homework # 4 on Microsoft Access is due on Friday, April 01 by P.M.

TOTAL QUERIES “Totals” in a query can group field values and also perform basic computational functions on them To make the Total row appear, you need to click the Sigma symbol “Totals” button in query design view !

EXERCISE Go to the lecture notes page and Download Total_example.accdb.

PREMISE We are running an investment firm and have some consultants working for us who have clients for which they manage investments. We want a query that will show us how many clients each consultant has and the total amount of investments each consultant is handling… Save locally and open Total_example.accdb

STRUCTURE OF TABLES & RELATIONSHIP This Database has not yet had a relationship created. We will do it in the query for this one. Sometimes under special circumstances you will create them here instead of in the relationships window. Generally it is done in the relationships window though…

BUILDING THE TOTAL QUERY Create ribbon > Queries group > Query Design Add both tables Create relationship inside query by dragging ConsultantID fields together

BUILDING THE TOTAL QUERY Add the field [Consultants]LastName Add the field [Clients]LastName Add the field [Clients]Assets Run it without Total options > back to design view Click the button on the Query Tools / Design ribbon to insert a “Total:” row Note that the default for each is “Group By”

BUILDING THE TOTAL QUERY We will Group By the last name of the consultants to show each of them singularly We will Count the last names of the clients as they are tied to the consultants to show how many clients each has ! We will Sum the assets of the clients to show how much all clients of each consultant have together

SETTING UP THE TOTAL ROW Have [Consultants] LastName as Group By Have [Clients] LastName as Count Have Assets as Sum Run the Query !

ALIASING THE FIELD NAMES Sometimes for a Field, a Calculated field, or a Total field, we like to make the display name more specific in the query results To do this, simply change the field name in design view by adding a new name and an “:” An example for the clients LastName field: # of Clients: LastName

ALIAS THE 3 FIELDS IN DESIGN VIEW Consultant: LastName # Clients: LastName Total Assets: Assets Run the Query and note the field names in the dynaset !

DOING MULTIPLE THINGS TO 1 FIELD Sometimes you may need to do multiple total query-type actions to a single field. Download and open the file CSDemo.accdb from the site

BACKGROUND FOR TOTAL QUERY Look at the contents of the Sales table We want to display our: Number of sales Total dollar amount of sales Average dollar amount sale

CREATING THE TOTAL QUERY Create a new query in design view Add the Sales Table Add the Amount field 3 Times ! ! ! Click button to show the Total row Set them to Count, Sum, and Average Run it ! Close Access