We're Open
+44 7340 9595 39
+44 20 3239 6980

[Solved] SHOW THE FIRST AND LAST NAMES OF THE CUSTOMERS FOR WHOM WE HAVE ISSUED INVOICES

  100% Pass and No Plagiarism Guaranteed

[Solved] SHOW THE FIRST AND LAST NAMES OF THE CUSTOMERS FOR WHOM WE HAVE ISSUED INVOICES

In this paper, you are required to answer the mentioned questions related to the customers such as the first and last names of the customers for who we have issued invoices, and for whom we do not have invoices, list the records in the vendor table, find the customers whose balance is greater than 250 but less than 400. Furthermore, also add a new attribute called email address and new row to the customer table.

Task

Write SQL statements to answer the following questions from the ‘assignment5’

Database: Answer all questions

  1. List all the record/s in the vendor table that do not have a value for the attribute V_STATE.
  2. Find the customers whose balance is greater than 250 but less than 400.
  3. Create a query based on invoice table to show a 15% increase on tax in a new column.
  4. Show the first and last names of the customers for whom we have issued invoices.
  5. Show the CUS_CODE of the customers for whom we DO NOT have invoices.
  6. Show the names of the customers for whom we DO NOT have invoices
  7. Find out how many times a customer generated an invoice – make sure the counted column heading reads “Invoices_generated” .
  8. List the names of the customers and how many times a customer generated an invoice – make sure the counted column heading reads “N_Of_Invoices” .
  9. Find the customers whose last name is either Dunne, Orlando or Brown and live in area 615, sort in alphabetical order by the CUS_LNAME,.
  10. Add a new attribute called ‘email_address’ to ‘emp’ table and use data type and length ‘VARCHAR-20’.
  11. Add a new row/record to the `customer` table to include your actual student ID in the CUS_CODE, your lastname as the CUS_LNAME` and your firstname as CUS_FNAME. Add any other details in the other fields.
  12. Delete all the vendors in the FL state.

Rationale

This assignment will assess your knowledge and ability to use SQL to create database tables. It will also test your ability to write both simple and complex queries given a set of results that are required and to the run those queries to return the requested data.

Marking criteria

The following criteria will be used to assess Assessment Item 4:

SQL Queries - DML: All SQL code in MySQL must be copied and pasted into your submission file. Outputs of each query also should have shown followed by the query.

HD

DI

CR

PS

FL

Accurate and elegant SQL that answers all parts of the question. SQL code copied from MySQL as well as a screen shot of code and results into the submission file

Good SQL that answers most parts (75% ~ 85%) of the question. SQL code copied from MySQL as well as a screen shot of code and results into the submission file

Satisfactory SQL that answers some parts (65% ~ 75%) of the question. SQL code copied from MySQL as well as a screen shot of code and results into the submission file

Partial SQL that answers a small part (50% ~ 65%) of the question. SQL code copied from MySQL as well as a screen shot of code and results into the submission file

Incomplete or irrelevant SQL that does not answer the question (< 50%). Some missing parts or non-matching SQL code with the given results.

Presentation

This assessment item is required to be submitted in Word format (.doc, or .docx).

All SQL statements should be copied from MySQL into the word document. All screenshots that are required should be captured and inserted into the document in the appropriate position to show that you have completed the requirement.

Screenshots that are submitted in addition to the assignment document will not be marked.

Databases must not be included as part of a submission.

Any extensions required must be applied for before the due date of the assignment.

Requirements

Online submission via Turnitin is required for this assignment.

 


100% Plagiarism Free & Custom Written,
Tailored to your instructions


International House, 12 Constance Street, London, United Kingdom,
E16 2DQ

UK Registered Company # 11483120


100% Pass Guarantee

STILL NOT CONVINCED?

View our samples written by our professional writers to let you comprehend how your work is going to look like. We have categorised this into 3 categories with a few different subject domains

View Our Samples

We offer a £ 2999

If your assignment is plagiarised, we will give you £ 2999 in compensation

Recent Updates

Details

  • Title: [Solved] SHOW THE FIRST AND LAST NAMES OF THE CUSTOMERS FOR WHOM WE HAVE ISSUED INVOICES
  • Price: £ 99
  • Post Date: 2021-10-25T05:00:31+00:00
  • Category: Assignment Queries
  • No Plagiarism Guarantee
  • 100% Custom Written

Customer Reviews

[Solved] SHOW THE FIRST AND LAST NAMES OF THE CUSTOMERS FOR WHOM WE HAVE ISSUED INVOICES [Solved] SHOW THE FIRST AND LAST NAMES OF THE CUSTOMERS FOR WHOM WE HAVE ISSUED INVOICES
Reviews: 5

A masterpiece of assignment by , written on 2020-03-12

Insta Research is a very helpful place to buy a resume in the first place. I gave them my details and did not expect that they would come up with such an exclusive design. My personality is professionally enhanced through the resume made by them. I am thankful for the depth of my heart as I would have never approached that level of excellence in my resume. Wish you good luck ahead and again thank you!
Reviews: 5

A masterpiece of assignment by , written on 2020-03-12

This is my second order which I booked recently at Insta Research. I just got my coursework completed expertly. Just waiting for good scores now.