Skip to main content

Show sums of line totals for each invoice.

Task
Instructions
From Resources under Main Menu in Interact 2 go to Assignment 5 Folder
The 'assignments' 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.
1. Show sums of line totals for each invoice.
2. Locate the record in the vendor table that does not have a value for the attribute V_STATE
3. Find the customers whose balance is greater than 200 but less than 300.
4. Using natural join and having. list the customers whose invoice total is greater than 200
5. Show the names of the customers for whom we have invoices.
6. Using natural join and having. list the customers whose invoice total is greater than the average
7. Show the names of the customers for whom we DO NOT have invoices.
8. Using natural join and having. list the customers whose invoice total is the maximum.
9. List the first name and last name of the customers and how many times a customer has generated an invoice.
10. List all purchases by customer 10018.
11. List the names of the vendors who provided products.
12. Using inner join. list the details of the products which sold more than 10 units.
You are required to submit:
1. 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.
2. 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.

Comments

Popular posts from this blog

Starting with this provided code, add the following functionality

1.Starting with this provided code, add the following functionality: Replace hardcoded strings “Zero”, “One”, “Two”, “Three” in the ArrayList based on user typed input (use Scanner or JOptionPane classes). The user will be prompted for the String to be stored in the ArrayList and then hit enter. The user will be able to continue to add items to the ArrayList until they just hit enter without typing anything. Once the user does this (hits enter without typing anything), the program will display all of the elements of the ArrayList, both the index and String values, in a table. It will do this via a single loop making use of an iterator method. 2. Starting with this provided code, add the following functionality: Use a Try/Catch block so that the exception is caught and the program exits a bit more gracefully. Save this file as TryCatch.java. (Be sure to rename the Public Class accordingly.) Starting with the provided code again (without the Try/Catch block), fix the code so that

Theoretical concepts with practical accounting task application based on the topics from the subject

  Assessment 1 Assessment Type: Written Report - individual assessment Purpose: This assessment is designed to reinforce the subject content and develop students’ skills and application of knowledge of the subject content to business situations. This assessment relates to learning outcomes a, b and c. Value: 20% Due Date: Students are to upload their submission to the Turnitin link on the KOI Moodle subject home page by 5:00pm Friday of Week 6. Topic: This assignment covers contemporary theoretical concepts with practical accounting task application based on the topics from the subject. Task Details: This assignment requires students to access the Conceptual Framework of Accounting www.aasb.qov.au and select the conceptual framework tab. Students are then required to access paragraph 2.4 fundamental qualitative characteristics. Students should: 1- Prepare a summary of the requirements for general-purpose financial reports with respect to these fundamental qualitative characteristics. 2

Josie Eskander

  Question 1: Task 1: Report Assume you are Josie Eskander. You are writing in response to techno trading P/L’s advertisement of a new laptop at 20% below normal price. You want information on brand name, availability of service and repairs, delivery times and methods of payment. Write the letter using the seven basic parts of the letter. In the opening paragraph present a clear and courteous request. Secondly write a response from techno trading giving details and proposing the sale. Provide draft of both emails in the space below. Question 2: Task 2: Report In pairs, nominate a good and a bad letter writer. Discuss the key differences. Write a good/bad letter from techno training to Alex Antonov accepting/declining his proposal to invest in the business Question 3: Task 3: Report Write a letter from techno trading p/l to a new client ‘new realities p/l’ urging them to buy techno new virtual reality software. Make a strong argument for the product. Question 4: Task 4: Report Write a l