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

  Create a database model

Create a database model and Submit the table creation statements for the Database Model.

  Write pl-sql procedures and functions

Write PL/SQL procedures and functions to populate and query that database

  Sql questions

Write a query to display using the employees table the EMPLOYEE_ID, FIRST_NAME, LAST_NAME and HIRE_DATE of every employee who was hired after to 1 January, 1995.

  Run the lab_03_01.sql script

Run the lab_03_01.sql script in the attached file to create the SAL_HISTORY table. Display the structure of the SAL_HISTORY table.

  Write sql queries

Write a query to display the last name, department number, and salary of any employee whose department number and salary both match the department number and salary of any employee who earns a commission.

  Explaining sql insert statement to insert new row in cds

Write down a SQL insert statement to insert new row in "CDS" table.

  Write down name of actors in ascending order

Write down actors (or actress, your choice, but not both) who have won at least two (2) Academy Awards for best actor/actress. Provide the actor name, movie title & year. Order the result by actor name."

  What is an sql injection attack

What is an SQL injection attack? Explain how it works, and what precautions must be taken to prevent SQL injection attacks.What are two advantages of encrypting data stored in the database?

  Determine resonant frequency in series rlc resonant circuit

Given the series RLC resonant circuit in the figure, operating at variable frequency, determine: The resonant frequency ω o ,  The circuit’s quality factor Q , The cut-off frequencies, f 1  & f 2  and the bandwidth BW

  Query that uses cube operator to return lineitemsum

Write summary query which uses CUBE operator to return LineItemSum (which is the sum of InvoiceLineItemAmount) group by Account(an alias for AccountDesciption).

  Query to show customers were missing for existing orders

As DBA, your manager called a meeting and asked why there are so many orders for customers that don't exist in the customer table. Write query which would shows which customers were missing for existing orders. Use a join or a subquery.

  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

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