Write the sql below that would display all customers whose


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

Solution Preview :

Prepared by a verified Expert
PL-SQL Programming: Write the sql below that would display all customers whose
Reference No:- TGS0666669

Now Priced at $70 (50% Discount)

Recommended (97%)

Rated (4.9/5)