Find the customers whose balance is greater than 200 but

Query and update databases using SQL

Task - Instructions

From Resources under Main Menu in Interact 2 go to Assignment 5 Folder

The 'assignment5' database file will be made available on Interact2 Resources under Assessments folder.

Use MySQL software to complete this assignment.

Follow the instructions on 'how to import a database into MySQL': your teacher will also demonstrate this during class.

Use this (imported) database 'assignment5' to complete your assignment using MySQL.

A choice of another software may be possible after consultation with your teacher.

Write SQL statements to answer the following questions from the 'assignment5' database file.

Show sums of line totals for each invoice.

Locate the record in the vendor table that does not have a value for the attribute V_STATE

Find the customers whose balance is greater than 200 but less than 300.

Using natural join and having, list the customers whose invoice total is greater than 200

Show the names of the customers for whom we have invoices.

Using natural join and having, list the customers whose invoice total is greater than the average

Show the names of the customers for whom we DO NOT have invoices.

Using natural join and having, list the customers whose invoice total is the maximum.

List the first name and last name of the customers and how many times a customer has generated an invoice.

List all purchases by customer 10018.

List the names of the vendors who provided products.

Using inner join, list the details of the products which sold more than 10 units.

You are required to submit:

The SQL statements for each query, which should be copied from your MySQL Workbench and pasted into your submission file. The screenshots of the results of the SQL statements which are to be copied from your MySQL Workbench and pasted into your submission file immediately after you execute the SQL query.

The screenshots of the results of the SQL statements which are to be copied from your SQLite3 Command Line and pasted into your submission file immediately after you execute the SQL query. If you used an output file please submit only the output file.

Rationale
This assessment aligns with the following subject outcomes:

be able to critically analyse and modify an existing database design to meet new business requirements;

The marking criteria for this assignment is:
Criteria
HD
DI
CR
PS
be able to critically analyse and modify an existing database design to meet new business requirements;

SQL syntax returns all attributes that meet the business requirement from the tables that hold the data and applies the correct restrictions to retrieve the required information.

SQL syntax returns all attributes that meet the business requirement from the tables that hold the data with minor omissions and applies appropriate restrictions to retrieve the required information.

SQL syntax returns key attributes that meet the business requirement from the tables that hold the data and applies relevant restrictions to retrieve the required information.

SQL syntax returns key attributes that meet the business requirement from the tables that hold the data but the restrictions applied to retrieve the required information contain minor errors.

Requirements
Either submit your assignment as a PDF or a Word document.


Order Assignment gulfassignmenthelp Rated 4.9 / 5 based on 22789 reviews.
  • Hashifa

    Hello Sir, I am looking for an online assignment help service that could write a good quality assignment for me. I am a student studying in Khalifa University in United Arab Emirates and I am currently studying in the discipline of BSc in Computer Engineering and I have a lot of pending assignments which I would like to be professionally handled by your expert tutors. I am also in need of an assignment on database management and for that I was looking forward to an experienced writer who could create a well formatted assignment without leaving any mistake. I have heard that you provide the best UAE assignment help and you write assignments on all the subjects and that too at a very low price. I would be very glad if you would be so kind to help me to get good grades. I have read almost all the sample assignments you posted on your blog and I found out that you have managed to maintain your quality and the same thing I expect from you for myself. I don’t want to miss the deadline this time so I want the delivery of this assignment at the earliest. So will you please assist me??

  • Madiha

    Hey …I am very excited to tell you that I got an A grade in my most recent assignment submission on the topic related to Query And Update Databases Using SQL and this became possible just because you provided me the best assignment ever that was written by your expert tutors. I have previously used a few of the online homework help service but couldn’t find anything satisfactory because almost all of them provided copied content which is not accepted in my college. I didn’t know that a company like you existed which could provide me with such an excellent assessment help. Once I used your services I was feeling like I am on cloud nine because after ordering my assignment on your website I don’t have to sit for long hours and write a boring assignment. I just wanted to know if you could provide me with any more quality assignments on other subjects which I find hard such as advanced database management, computing mathematics etc. If you could help me with this then I would be very grateful. In the end, I just wanted to say that you are the best Gulf assignment help I have ever used.

Captcha

Seeking Trusted Advice of High Skilled Tutors for Gulf Assignments? Order Now