Skip to main content

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

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.



CLICK HERE TO ORDER THIS PAPER………………………NO PLAGIARISM Get 100% Original papers from the writing expertsLogo CLICK HERE TO GET A PROFESSIONAL WRITER TO WORK ON THIS PAPER AND OTHER SIMILAR PAPERS, GET A NON PLAGIARIZED PAPER FROM OUR EXPERTS……

Comments

Popular posts from this blog

Apply duty-based ethical theories to contemporary moral issues

Instructions In this research-based assessment, you will be applying a Kantian perspective to a contemporary moral issue. Current contemporary moral issues range from genetic engineering to issues related to the use of torture in wartime. For this assessment you will need to research contemporary moral issues and select one that will be the focus of your paper as you apply the Kantian perspective. Once you select your moral issue, you will need to address the following in a properly formatted research paper. · Explain what duty is according to Kant and how this view differs from other senses of duty. · Describe the relationship between a good will and duty for Kant. · Differentiate the two formulations of the Categorical Imperative. · How do these formulations apply to your selected contemporary moral issue? · Using the foundation of Kant’s moral theory explain how there is a moral duty for your selected contemporary moral issues. · Express your view as a maxim. · How feasible is it to...

ElectroMyCycle

ElectroMyCycle, a manufacturer of a new electric motorcycle, has chosen you to design a new network that will let the company scale to a larger size. You learned that ElectroMyCycle’s network will support about 200 employees. The network will include a data center and a new state-of-the-art manufacturing facility. Users in the campus network will access the servers in the data center from their PCs. For online sales, ElectroMyCycle plans to have a DMZ that connects a web server, a DNS server, and an email server. ElectroMyCycle also plans to open a branch sales office in a city that is about 500 miles from ElectroMyCycle’s headquarters.   Design and document an IP addressing scheme to meet ElectroMyCycle’s needs. Specify which IP address blocks will be assigned to different modules of your network design. Document whether you will use public or private addressing for each module. Document whether you will use manual or dynamic addressing for each module. Specify where (if anywher...

A close, critical analysis of a set passage from Beowulf

Length:          500 words (excluding quotations)   Topic   Discuss in detail one of the following passages Beowulf .   Payattention to the poem’s language, and to the themes, issues,and questions the poem raises. If you choose to discuss the passage from locate the passage in relation to the poem as a whole, but focus on the extract.   Click here for more on this paper ……. Click here to have a similar A+ quality paper done for you by one of our writers within the set deadline at a discounted What do you find effective or compelling or memorableabout the text?  How does the language of the poem contribute to these effects?       Marking Criteria for the Short Essay   A Short Essay receiving the highest mark is one which:   has a clear, focussed, and unified argument. (Can you say in one very simple sentence what it is that you are trying to argue in the essay?  If yo...