Question 1 (Cust!J3) =H3*I3/Units!B$3* VLOOKUP(F3,Meds!A$3:D$17,4,FALSE)

Slides:



Advertisements
Similar presentations
BACS 485 Structured Query Language 2. BACS 485 SQL Practice Problems Assume that a database named COLLEGE exists. It contains the tables defined below.
Advertisements

Tutorial 3 Queries and Table Relationships
Pasewark & Pasewark Microsoft Office XP: Introductory Course 1 INTRODUCTORY MICROSOFT ACCESS Lesson 4 – Finding and Ordering Data.
Relationship and Query Assignment. Creating Relationship Assignment: Create a blank database (use any names you like) And then, import the three Excel.
ACCESS PART 2. Objectives Database Tables Table Parts Key Field Query and Reports Import from Excel Link to Excel.
SUNY Morrisville-Norwich Campus-Week 10 CITA 130 Advanced Computer Applications II Spring 2005 Prof. Tom Smith.
Interpreting SQL Code. SQL (The language used to query a database) S is used to specify the you want to include. F is used to specify the the selected.
Computer Science & Engineering 2111 Introduction to Database Management Systems Relationships and Database Creation 1 CSE 2111 Introduction to Database.
Computer Science & Engineering 2111 CSE 2111 Lecture Basic Criteria in Queries 1CSE 2111 Lecture-Basic Criteria in Queries.
COURSE REGISTRATION SYSTEM Case study IST2101. Case Study: Course Registration (1) IST2102 You are helping Penn State create a course registration system.
Santosh Ghimire – 066BCT533 Subit Raj Pokharel – 066BCT538 Sudip Kafle – 066BCT539.
1 Microsoft Access 2002 Tutorial 3 – Querying a Database.
CS&E 1111 AcInnerJoins Inner Joins Objectives: Creating Queries with data from Multiple Tables Joining two tables using an Inner Join Referential Data.
Learningcomputer.com SQL Server 2008 – Entity Relationships in a Database.
IE 423 – Design of Decision Support Systems Database development – Relationships and Queries.
XP New Perspectives on Microsoft Office Access 2003 Tutorial 9 1 Microsoft Office Access 2003 Tutorial 9 – Using Action Queries, and Defining Table Relationships.
© 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 9 – Building Links,
Computer Science & Engineering 2111 Lecture 11 Querying a Database 1.
1 Database Concepts 2 Definition of a Database An organized Collection Of related records.
Using Microsoft Access 56:150 Information System Design.
ACCESS CHAPTER 4 Tables and Queries Learning Objectives: Define table structure Enter data into a table Alter table structure Set a table’s field properties.
Visual C# 2012 How to Program © by Pearson Education, Inc. All Rights Reserved.
Part II. Query Types On the design query table pane, right click and the cascading window will appear.
Computer Science & Engineering 2111 Querying a Database 1CSE 2111 Lecture- Querying a Database.
Инвестиционный паспорт Муниципального образования «Целинский район»
Computer Science & Engineering 2111 CSE 2111 Lecture Multiple and Compound Criteria in Queries 1 CSE 2111 Lecture-Multiple and Compound Criteria in Queries.
Programming in R SQL in R. Running SQL in R In this session I will show you how to: Run basic SQL commands within R.
Aeries Query Basics Classified Professional Development August 12, 2015.
1 Database Systems Introduction to Microsoft Access Part 2.
26 Mar 04 1 Application Software Practical 5/6 MS Access.
Pasewark & Pasewark 1 Access Lesson 3 Creating Queries Microsoft Office 2007: Introductory.
(x – 8) (x + 8) = 0 x – 8 = 0 x + 8 = x = 8 x = (x + 5) (x + 2) = 0 x + 5 = 0 x + 2 = x = - 5 x = - 2.
Forms and Subforms 5.02 Understand database queries, forms, and reports used in business.
1 ∞∞ ∞. Has referential data integrity been violated between any of the tables? If so, name the orphans. Yes, referential data has been violated.
Computer Science & Engineering 2111 CSE 2111 Lecture NZ Function 1CSE 2111 NZ Function.
Computer Science & Engineering 2111 Outer Joins 1CSE 2111 Lecture- Inner Vs. Outer Jioins.
1 MS Access. 2 Database – collection of related data Relational Database Management System (RDBMS) – software that uses related data stored in different.
Final Review 1453 Dec.14 Confirm exam schedule for date 3d03 3hrs.
Computer Science & Engineering 2111 Lecture 13 Outer Joins 1.
1 PK: None Orders PK: CustID Customers PK: PaymentID Payments PK: StockNum Inventory PK: Type PaymentType FK: CustID on Orders FK: CustID on Payments.
1 Query Name:Query 1Tables Required:People/Violations Foreign Keys:LIS#Join Type:Inner Field LastNameFirstNameLIS#State Table People Violations Total Sort.
WEEK# 12 Haifa Abulaiha November 02,
Drill Consider the following tables with the following fields: Student: FName, LName, StudentID, Age, Yr, Course Grades: ID, P1, P2, P3 1.Display the.
1. Create a relationship diagram for the Employees database.
Database Relationships Objective 5.01 Understand database tables used in business.
Review Types of Relationship – there are in general three different types of relationships - One to One – where each record in one table can have not more.
Computer Science & Engineering 2111 Sorting in Queries 1CSE 2111 Lecture-Advanced Queries.
Computer Science & Engineering 2111 Inner Joins and Advanced Queries 1CSE 2111 Lecture-Advanced Queries.
照片档案整理 一、照片档案的含义 二、照片档案的归档范围 三、 卷内照片的分类、组卷、排序与编号 四、填写照片档案说明 五、照片档案编目及封面、备考填写 六、数码照片整理方法 七、照片档案的保管与保护.
공무원연금관리공단 광주지부 공무원대부등 공적연금 연계제도 공무원연금관리공단 광주지부. 공적연금 연계제도 국민연금과 직역연금 ( 공무원 / 사학 / 군인 / 별정우체국 ) 간의 연계가 이루어지지 않고 있 어 공적연금의 사각지대가 발생해 노후생활안정 달성 미흡 연계제도 시행전.
Жюль Верн ( ). Я мальчиком мечтал, читая Жюля Верна, Что тени вымысла плоть обретут для нас; Что поплывет судно громадней «Грейт Истерна»; Что.
IFS180 Intro. to Data Management Chapter 10 - Unions.
Tables & Relationships
Basic Criteria in Queries
Spreadsheets.
Inner Joins Objectives: Creating Queries with data from Multiple Tables Joining two tables using an Inner Join Referential Data Integrity Cascade Update.
Calculated Fields Exercises Queries
Objectives Create an action query to create a table
Basic Criteria in Queries
Introduction to Database Systems
Field Table Sort Show Criteria OR
Databases and Information Management
Database Access from Client Applications
Relational Queries (query 12) Display vendor contact info (contact person and phone number) for inventory products (relationship query) Query: Inventory.
Databases and Information Management
Tuition and Fees Period 1 Period 2 Period 3 Period 4 Period 5 Period 6
Unit K Access Part 2 (Lupoli).
Confirm exam schedule for date July 5th 3c13 6pm 3hrs
Tutorial 9 Using Action Queries and Advanced Table Relationships
New Perspectives on Microsoft
Presentation transcript:

Question 1 (Cust!J3) =H3*I3/Units!B$3* VLOOKUP(F3,Meds!A$3:D$17,4,FALSE)

Question 2 (Cust!K3) =(1-VLOOKUP(D3,Insurer!A$3:D$9, IF(G3=Insurers!C$2,3,4),FALSE))*J3

Question 3 (Cust!J20) =ROUND(SUM(J3:J19),-1)

Question 4 (Cust!K22) =Units!B4-COUNTIF(C3:C19,TRUE)

Question 5 (Meds!D19) =AND(OR(C9:C10),NOT(OR(C3:C8,C11:C17)))

Question 6 (Summary!B2) =AVERAGEIF(Cust!F$3:F$19,Summary!A2,Cust!H$3:H$19)

Question 7 (Cust!K23) =AND(C3:C19)

Question 8 (Cust!K24) =AVERAGE(LARGE(J3:J19,1),LARGE(J3:J19,2), LARGE(J3:J19,3))

Question 9 (Cust!K25) =NPER(6.25%/12,-400,25000,0,0)/12

Question 10 (Cust!K26) =FV(3.25%/4,5*4,0,-10000,0)

Relationship Diagram Referential Data Integrity Violated? No.

FieldFName LName MajorCourse#Fname TableStudents SchedulesStudents Total Ascending Show xx Sort Criteria ”English” Like “7*” or Like “9*” OR Query Name: Query 3Tables Required: Students/Schedules Join on: Student IdJoin Type Inner

FieldLname StudentID# Course#RankFinal Grade TableStudents SchedulesStudentsSchedules Total Show xx xx Sort Criteria 1 or 2“A” OR >= 4 “A” OR “B” OR“I” Query Name: Query 4Tables Required: Students/Schedules Join on: Student IdJoin Type Inner

FieldStudent ID# LName Course#Credit Hours TableStudents SchedulesCourses Total Group By CountSum Show xx xx Sort Criteria OR Query Name: Query 5 Tables Required: Students/Schedules/Courses Join on: Student Id/Course#Join Type: Outer

FieldStudent ID# LName Credit HoursRank TableStudents CoursesStudents Total Group By AvgWhere Show xx x Sort Criteria 2 OR Query Name: Query 6 Tables Required: Students/Schedules/Courses Join on: Student Id/Course#Join Type Inner

FieldStudent ID# LName Credit Hours Tuition* TableStudents Courses Total Group By SumExpresssion Show xx xx Sort Criteria OR Query Name: Query 7A Tables Required: Students/Schedules/Courses Join on: Student Id/Course#Join Type Outer Tuition: [SumOfCredit Hours]*225

FieldStudent ID# Payment TableStudents Payments Total Group BySum Show xx Sort Criteria OR Query Name: Query 7B Tables Required: Students/Payments Join on: Student ID# Join Type Outer

Field Student ID# LNameTuitionSumOfPaymentAmount Due* Table Query 7A Query 7B Total Show xxxxx Sort Criter ia OR Query Name: Query 7C Tables Required: Query 7A/Query 7B Join on: Student ID# Join Type Inner Amount Due: Nz([Tuition],0) – Nz([SumOfPayment],0)