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 queries in sql if employee works on every project

Write the following queries in SQL: If an employee works on every project located in Houston, then list the employees social security number and name.

  Write a xquery which returns all concert titles

Write a XQuery which returns all concert titles whose type is chamber orchestra where average ticket price is at least $50.

  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

  Write the sql ddl to create the database

Write a command that will remove the Jones that lives in Orange from the Customer table .Write the SQL DDL to create the database that contains each of the relations shown in the above ERD.

  Develop and demonstrate sql skills

Write a script that provides all of the information in, and duplicates the formatting of, Oracle's SQL*Plus describe command. Additionally, the output should add the comments on the rows.

  Sql script-creating the database and inserting data

Understanding the SQL script, creating the database and inserting data and display all product information for products that contain the string ‘saw' in their description.

  Write pl-sql block to display the last name of people

Write a PL/SQL block that displays the last name and salary of the following people. Each of these can be done separately as PL/SQL, first to test and get the output lines then encapsulated in the procedure.

  How does the order of joins in an sql statement

How does the order of joins in an SQL statement affect the performance of the join and what can the DBA do to determine the preferred order of joins for an SQL statement that includes the join of at least three tables?

  Construct a query that will show the number of days

Imagine that you work for a finance industry-based organization. Your organization is looking to submit its database design documentation to an evaluation team in order to meet Sarbanes-Oxley (SOX) compliance.

  Create report to display scr courses in alphabetical order

Create the detail report which will display all SCR courses in alphabetical order, with a course name and instructor name in the group header.

  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.

  Write sql commands to implement profile

Write SQL commands which would implement this profile. Next, write query that would list profile, profile resource name, and limit value for the new profile.

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