SQL Commands - Database Design - Structured Query Language - Computer Science Assignment Help

Download Solution Order New Solution
SQL Commands - Database Design - Structured Query Language - Computer Science Assignment Help
Assignment Task:

This assignment requires you to write SQL commands to complete the tasks listed below

Instructions

Write and run SQL statements to complete the following tasks 

  • Show the details of the vendors who are located in area code 615.
  • Show the details of the products that do not have a value for the attribute v_code.
  • Show the details of the invoices whose subtotal is greater than 25 but less than 75.
  • Show the details of the invoice who has the minimum subtotal.
  • Show the codes and names of the vendors who supplied products.
  • Using EXCEPT show the codes of the vendors who did not supply any products. 
  • Using ‘NOT IN’ show the codes and names of the vendors who did not supply any products.

List the codes of vendors and the number of products each vendor has supplied, i.e. vendor XXX has supplied xxx products, and vendor YYY has supplied yyy products etc.
List the names and codes of vendors and the number of products each vendor has supplied, i.e. vendor XXX has supplied xxx products, and vendor YYY has supplied yyy products etc.
Add a new attribute (field) status varchar(6) to the EMP table.
Update status for employee '100' to 'Temporary'. 
Using inner join, list the details of the products whose line price is greater than 100.

You are required to submit:

1. The SQL statements for each query, which should be copied and pasted into your submission file. 
2. The screenshots of the results of the SQL statements should be copied and pasted into your submission file immediately after you execute the SQL query.

Rationale

This assessment task will assess the following learning outcome/s:

  • be able to implement a database design using Structured Query Language (SQL).
  • be able to query a database using SQL.
  • be able to implement a database design using Structured Query Language (SQL).
  • be able to query a database using SQL.

This Computer Science Assignment has been solved by our Computer Science Assignment Experts at My Uni Paper. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our experts are well trained to follow all marking rubrics & referencing style.

Be it a used or new solution, the quality of the work submitted by our assignment experts remains unhampered. You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed that you could choose one between the two and acquire an HD either way. You could choose a new assignment solution file to get yourself an exclusive, plagiarism (with free Turnitin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction.

Get It Done! Today

Country
Applicable Time Zone is AEST [Sydney, NSW] (GMT+11)
+

Every Assignment. Every Solution. Instantly. Deadline Ahead? Grab Your Sample Now.