DAY 23: HOMEWORK # 5 OVERVIEW Aliya Farheen April 7, 2015.

Slides:



Advertisements
Similar presentations
Pasewark & Pasewark Microsoft Office XP: Introductory Course 1 INTRODUCTORY MICROSOFT ACCESS Lesson 4 – Finding and Ordering Data.
Advertisements

XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 3 1 Microsoft Office Access 2003 Tutorial 3 – Querying a Database.
Querying a Database Using the Select Query Window
COMPREHENSIVE Access Tutorial 2 Building a Database and Defining Table Relationships.
Querying a Database Microsoft Office Access 2003.
FIRST COURSE Access Tutorial 2 Building a Database and Defining Table Relationships.
ACCESS TABLES & QUERIES. OBJECTIVES Create tables Establish table relationships Create queries Specify criteria for different data types Compact & Repair.
Business Computer Information Systems Microsoft Office XP Access Review Lessons 1 through 5.
Tutorial 1 Creating a Database. Objectives Learn basic database concepts and terms Learn basic database concepts and terms Explore the Microsoft Access.
1 Access Lesson 3 Creating Queries Microsoft Office 2010 Introductory Pasewark & Pasewark.
1 Access Lesson 3 Creating Queries Microsoft Office 2010 Introductory.
Microsoft Access 2000 Creating Tables and Relationships.
1 Chapter 1: Finding Your Way Through a Database Exploring Microsoft Office Access 2010.
Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Chapter 1: Finding Your Way Through.
Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Chapter 1: Finding Your Way Through.
DAY 20: MICROSOFT ACCESS – CHAPTER 3 CONTD. Aliya Farheen March 19, 2015.
DAY 15: ACCESS CHAPTER 2 Larry Reaves October 7,
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 1 Committed to Shaping the Next Generation of IT Experts. Chapter 1: Finding Your.
Access Tutorial 2 Building a Database and Defining Table Relationships
® Microsoft Office 2013 Access Building a Database and Defining Table Relationships.
10 May Microsoft Access 2010 Relational databases’ program Part of the Microsoft Office package Administer relational database Update database through.
McGraw-Hill/Irwin ©2009 The McGraw-Hill Companies, All Rights Reserved Business Driven Information Systems 2e Plug-In T6: Basic Skills and Tools Using.
® Microsoft Office 2010 Access Tutorial 2 Building a Database and Defining Table Relationships.
5 Aug Microsoft Access 2010 Relational databases’ program Part of the Microsoft Office package Administer relational database Update database through.
DAY 4: MICROSOFT EXCEL: IN-CLASS PROJECT Aliya Farheen August 27, 2015.
DAY 22: MICROSOFT ACCESS – REVIEW Akhila Kondai November 04, 2013.
® Microsoft Access 2010 Tutorial 2 Building a Database and Defining Table Relationships.
EXAM-2 OVERVIEW Aliya Farheen
® Microsoft Office 2010 Building a Database and Defining Table Relationships.
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Plug-In T6: Basic Skills and Tools Using Access 2010 Business Driven Technology.
DAY 19: MICROSOFT ACCESS – CHAPTER 3 CONTD. Aliya Farheen March 17, 2015.
1 Chapter 1: Finding Your Way Through a Database Exploring Microsoft Office Access 2007.
® Microsoft Office 2013 Access Creating a Database.
1 After completing this lesson, you will be able to: Change the format of a table. Sort records in a table. Find records in a table Use filters with a.
McGraw-Hill/Irwin © The McGraw-Hill Companies, All Rights Reserved TECHNOLOGY PLUG-IN T6 Basic Skills Using Access.
1 Database Systems Introduction to Microsoft Access Part 2.
26 Mar 04 1 Application Software Practical 5/6 MS Access.
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.
Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter.
Pasewark & Pasewark 1 Access Lesson 3 Creating Queries Microsoft Office 2007: Introductory.
ACCESS (CHAPTER 2-3 continued) Naman Kohli October 16,
INTRODUCTION TO QUERIES William Klingelsmith. Reminders MyITLab Lesson C due 10/22 Homework #4 (Nielson TV Problem) due 10/26 Last day to drop is also.
1 Access Lesson 3 Creating Queries. 2 Creating a Query with the Simple Query Wizard Query-- database object that lets you ask the database about the data.
INTRODUCTION TO QUERIES William Klingelsmith. Reminders MyITLab Lesson C due 10/22 Homework #4 (Nielson TV Problem) due 10/26 Last day to drop is also.
1 MS Access. 2 Database – collection of related data Relational Database Management System (RDBMS) – software that uses related data stored in different.
DAY 21: MICROSOFT ACCESS – CHAPTER 5 MICROSOFT ACCESS – CHAPTER 6 MICROSOFT ACCESS – CHAPTER 7 Aliya Farheen October 29,2015.
Pasewark & Pasewark Microsoft Office 2003: Introductory 1 INTRODUCTORY MICROSOFT ACCESS Lesson 4 – Finding and Ordering Data.
Lesson 13 Databases Unit 2—Using the Computer. Computer Concepts BASICS - 22 Objectives Define the purpose and function of database software. Identify.
INTRODUCTION TO ACCESS. OBJECTIVES  Define the terms field, record, table, relational database, primary key, and foreign key  Create a blank database.
DAY 20: HOMEWORK # 4 OVERVIEW Akhila Kondai October 28, 2013.
FINAL EXAM OVERVIEW Aliya Farheen
HOMEWORK # 4 OVERVIEW Aliya Farheen Oct
ACCESS 3. OBJECTIVES Calculated fields in query design Total option in query design Creating Forms.
EXAM-2 OVERVIEW Aliya Farheen
Course Contents Overview: Database basics Lesson 1: Benefits of using a database Lesson 2: Table that data Lesson 3: Analyzing, viewing, and reporting.
FINAL EXAM REVIEW PROJECT Computer Science 101 West Virginia University 1.
Access Tutorial 2 Building a Database and Defining Table Relationships
Objectives Create an action query to create a table
Access Creating a Database
Access Creating a Database
Homework 6 Overview Fortune 500 Companies Problem
Exploring Microsoft Office Access 2007
Microsoft Office Access 2003
Microsoft Office Access 2003
Microsoft Office Access 2003
Access Tutorial 2 Building a Database and Defining Table Relationships
Access Tutorial 2 Building a Database and Defining Table Relationships
Akhila Kondai Exam-2 overview Akhila Kondai
Grauer and Barber Series Microsoft Access Chapter One
Presentation transcript:

DAY 23: HOMEWORK # 5 OVERVIEW Aliya Farheen April 7, 2015.

ANNOUNCEMENTS Homework # 5 is due for 4/10/2015 by 11:59 pm. Exam-2 on Microsoft Access is scheduled on the 4/14/15.

HOMEWORK 5 OVERVIEW Open the directions file online to follow the flow of the assignment: Create database and 5 tables –Populate and relate as described Create 7 Queries Analysis Questions

STEP3: IMPORT XML DATA External Data->Xml file Browse the Xml file required and use the Structure and data option in the import dialog box. One at a time browse originairports.xml, destinationairports.xml, airfare.xml and largestairlines.xml After this step your database consist of four tables.

STEP4 Create a table with name CheapestAirlines. Switch to design view and rename the Id field as CheapestAirlineCode with text datatype. Create the field AirlineName with text datatype Create the field AirlineType using lookup wizard to create lookup for type {Legacy, Low-Cost, Other } Enter the records into table

STEP5 Database Tools->Relationships Add all the tables from the Show Table dialog box. Create relationships from these tables to Airfare table and do not enforce referential integrity. -OriginAirports(OriginAirportCode) -DestinationAirports(DestinationAirportCode) -LargerstAirlines(LargestAirportCode) -CheapestAirlines(CheapestAirportCode)

STEP6A Create->Query Design Add all the tables Add the fields [OriginAirports] City [DestinationAirports] City [LargestAirlines] AirlineName, AirlineType [CheapestAirlines] AirlineName, AirlineType Sort in ascending order for Origin-City and then for Destination-City.

STEP6B Create->Query Design Add all the tables Add the fields [OriginAirports] City [DestinationAirports] City [LargestAirlines] AirlineName [Airfare] LargestAirlineShare [CheapestAirlines] AirlineName, AirlineType [Airfare] CheapestAirlineShare [LargestAirlines] AirlineType CheapestAirlines] AirlineType Add Criteria for largest airlinetype as Legacy and Cheapest airlinetype as low-cost carrier. Sort in ascending order for Origin-City and then for Destination-City.

STEP6C Create->Query Design Add the tables OriginAirports, DestinationAirports, Airfare Add the fields [OriginAirports] City [DestinationAirports] City [Airfare] Distance, PasengersPerDay, AverageFare Add the calculated field CostPerMile: [Airfare]![AverageFare]/[Airfare]![Distance] Add Criteria for distance as Format Calculated Field as currency type with 3 decimal places. Sort in descending order for Distance and then for CostPerMile

STEP6D Create->Query Design Add the tables OriginAirports, DestinationAirports, Airfare Add the fields [OriginAirports] City,Hub [DestinationAirports] City, Hub [Airfare] PasengersPerDay, AverageFare Add Criteria for [OriginAirports] Hub as True. Add Or for [DestinationAirports] Hub also True.. Sort in descending order for AverageFare

STEP6E Create->Query Design Add the tables AirFare and OriginAirports Add the fields [OriginAirports] City [Airfare] OriginAirportCode [OriginAirports] Hub [Airfare] Distance Add the calculated field AnnualDepartingPassengers: Sum([Airfare].[PassengersPerDay])*365 Add Totals Row and change the option to Avg for Distance and Expression for the calculated field. Format Calculated Field and Distance as standard type with 0 decimal places. Sort in ascending order for City

STEP6F For this query, copy and-paste the SQL code given in the instruction. Do not make any modifications to this query other than entering the above SQL code.

STEP6G Create->Query Design Add the table OriginAirports and query named Query6E Add the fields [OriginAirports] City, OriginAirportCode, Hub [Query6E] AnnualDepartingPassengers Add the calculated field DepartingPassengersPerResident: [Query6E]![AnnualDepartingPassengers]/[OriginAirports]![Pop ulation] Format DepartingPassengersPerResident as fixed type number with 2 decimal places. Sort in descending order forDepartingPassengersPerResident and then City in ascending order.

STEP 7 New Table ‘AnalysisQuestions’ with 2 fields –QuestionNumber Field values will be the question designators from the assignment (9a, 9b, 9c…) –Answer Field values will be your answers to the given question Make it of data type “Memo” This table is not related to the others, merely a place to put the answers to your Analysis Questions. Make sure answers are RECORDS in datasheet view, and NOT TYPED IN DESIGN VIEW ! ! !