Create qrycustomersm that selects all customers

Assignment Help PL-SQL Programming
Reference no: EM13328003

PART ONE: Queries

This is an open book exam. You may use your book, notes, and Microsoft Access. However, you must work totally on your own. Collaboration with classmates on this exam is not permitted. If you have questions, ask your instructor. Upload this document when it is completed using the designated link at classes.lanecc.edu. From classes.lanecc.edu, download the file NiftyLionsExam2.mdb and use it for the first 7 activities below. Of course to verify it works, you should test each query before screen-printing.

1. Using the Design View

  • Create qryCustomersM that selects all Customers whose last name starts with "M". The query should display their last name and first name.
  • To show you've done this screen print the Design View of the query below this paragraph.

 

Paste your screen-print here

2. Using the Design View

  • Modify qryCustomersM to select all Customers whose last name start with "M" or whose last name starts with "R". The query should display their last name and first name.
  • To show you've done this screen print the Design View of the query below this paragraph.

Paste your screen-print here

3. Modify the qryProductsShippedByUSPS query that already exists to

  • Display only those orders shipped by USPS.
  • To show you've done this screen print the Design View of the query below this paragraph.

Paste your screen-print here

4. Now modify this qryProductsShippedByUSPS query to display only those orders by any particular shipper. That is change it to a Parameter query that selects only those records with the designated shipper.

  • To show you've done this screen print the Design View of the query below this paragraph.

Paste your screen-print here

5. Describe below what the qryOrderInfo query currently does. That is what records will be displayed? Please bold your answer to make it easier for the instructor to locate.

 6. Change the qryOrderInfo query to

  • Display only those products ordered where the supplier is Beaumont Jewelry that have a Jewelry category in addition to all records where USPS was the shipper.
  • To show you've done this screen print the Design View of the query below this paragraph.

Paste your screen-print here

7. Modify the qryQuantityOrdered query that already exists by adding a calculated field that multiplies the SellingPrice times the Quantity and

  • Display this calculated field along with the other fields that are already displayed.
  • To show you've done this screen print the Design View of the query below this paragraph. Be sure the expression you created for the calculated field is showing in your screen-print.

Paste your screen-print here

PART TWO: Tutorial Nine - While reading pages AC 473-511 do the hands-on Holland database activities that have a tan background

To show you've done the Tutorial, do the following:

  • Screen-print the window that looks like Figure 9-10 in step 1 on page AC 488.
  • Screen-print the window that looks like Figure 9-16 in step 2 on pages AC 497 and 498.
  • Screen-print the window that looks like Figure 9-24 in step 4 on page AC 505.
  • Screen-print the window that looks like Figure 9-29 in step 3 on page AC 510.

 

Paste the four screen prints here.

PART THREE: Case Problem 2 - Do steps 1-9 on pages AC 514-515. You do not need to do steps 10 and 11.

To show you've done this activity, do the following:

  • Screen-print the Relationships window after step 4 on page AC 514.
  • Screen-print the Datasheet view of the tblSpecialMember table just before closing the table at the end of step 8 on page AC 514.
  • Screen-print the Datasheet view of the qryMemberCreditCardOuterJoin query just before closing the query at the end of step 9 on page AC 515.

 

Paste the three screen prints here.

PART FOUR: SQL (Structured Query Language) Activities

After reviewing what you did in Lab 7 concerning SQL, write SQL statements for the following. Use the Training.accdb database from Level2/Case2.

 1. Write the SQL below that would display all Customers whose first name begins with the letter J. Your query should display the FirstName, LastName, Phone, and MembershipStatus fields from the tblMember table.

2. Write the SQL below that would display the ProgramType and MonthlyFee fields from the tblProgram table. The information should be sorted on MonthlyFee from smallest to largest.

3. Write the SQL below that would display only those people who require a physical. Display the FirstName and LastName fields from the tblMember table and display the ProgramType and MonthlyFee fields from the tblProgram table.

Submitting this document to the instructor:

Upload this completed document to Moodle using the designated link there. It should be in a .doc or .docx format. There is a link in Moodle to upload each lab. If you have trouble uploading your lab, you may want to compress it to see if the problem is due to file size.


Attachment:- ASSIGNMENT.rar

Reference no: EM13328003

Questions Cloud

Find the magnitude of the momentum of the combined mass : A 5.00 g bullet is fired into a 500g block of wood suspended as a ballistic pendulum. What was the magnitude of the momentum of the combined mass immediately after the collision
Determine what is net income-roa and roe : Here and Gone, Inc., has sales of $19.9 million, total assets of $14.9 million, and total debt of $5.7 million. Assume the profit margin is 12 percent.
Define treatment of gold metal with brf3 and kf produces br2 : Treatment of gold metal with BrF3 and KF produces Br2 and KAuF4, a salt of gold. Write a balance chemical equation and identify the oxidizing agent and reducing agent in the reaction
Find zachs apparent weight while the elevator is braking : Zach, whose mass is 55kg , is in an elevator descending at 14m/s. What is Zach's apparent weight while the elevator is braking
Create qrycustomersm that selects all customers : Write the SQL below that would display all Customers whose first name begins with the letter J. Your query should display the FirstName, LastName, Phone, and MembershipStatus fields from the tblMember table.
What is the power exerted on the box by the man : A man is pulling his box that has a mass of 22 kg. What is the work done on the luggage by the lady, What is the power exerted on the box by the man
The coefficients in the correctly balanced chemical equation : Write and balance the chemical equation for combustion of C13H24O. What is the sum of all of the coefficients in the correctly balanced chemical equation
Develop a family life education program : Using Piaget's Stages of Cognitive Development, develop a Family Life Education Program
Determine what is the current ratio and quick ratio : SDJ, Inc., has net working capital of $1,015, current liabilities of $6,725, and inventory of $1,135. What is the current ratio What is the quick ratio

Reviews

Write a Review

PL-SQL Programming Questions & Answers

  Write a script that declares a variable

Write a script that declares a variable and sets it to the count of all products in the Products table. If the count is greater than or equal to 7, the script should display a message that says,

  An er diagram for the system

An ER diagram for the system. Show all entities, relationships, cardinalities and optionalities. Also, include all intersection entities. You must use the Finkelstein methodology as per the study book and tutorials.

  Describe the meaning of keyword exists and not exists

Describe the meaning of the keyword EXISTS. Describe how any and all relate to EXISTS and NOT EXISTS. Write a query which will display names of any customers who are interested in all artists.

  Write programme in oracle to make employee table

List the employee_id and employee_name of the employees form the l_employees table with the top 4 credit limits.

  Write a compete pl/sql program to display the staffno

Write a compete PL/SQL program to display the StaffNo,

  Relational schema of a firm database - write a sql query

Display the vendor ID and vendor name of the items whose item quantity is the largest and display the item ID and item quantity of all items whoseitem quantity is less than the average quantity. Also display the average quantity

  Sql query into a relational algebra statement

Turn this SQL query into a relational algebra statement? SELECT Request.reqfor, Ordering.invamt, Ordering.invnbr, Ordering.invdat

  Script that creates and calls a function named

Write a script that creates and calls a function named fnDiscountPrice that calculates the discount price of an item in the OrderItems table (discount amount subtracted from item price). To do that, this function should accept one parameter for th..

  Question for database schema

The patient information along with the ID of any prescribing doctor for each patient and the prescription information along with patient name, DOB, medication brand name, and prescribing doctor name sorted by most recent date.

  The cast function to return the date added column

A column that uses the CAST function to return the DateAdded column with its full time only (hour, minutes, seconds, and milliseconds)

  What could the mds that violate 4nf be

Let's define the rating of a director to be the average rating of all his/her movies. Find the names and ratings of all directors who have directed movies starring Al Pacino.

  Create program to enter first and second number

Create a program that enters first and a second number. The first and second number that will be entered should be computed in halves, quarter, double, and square.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd