Why Choose Us?
0% AI Guarantee
Human-written only.
24/7 Support
Anytime, anywhere.
Plagiarism Free
100% Original.
Expert Tutors
Masters & PhDs.
100% Confidential
Your privacy matters.
On-Time Delivery
Never miss a deadline.
Task: Complex SQL QueriesInstructions From Resources under Main Menu in Interact 2 go to Assignment 4 Folder If you are using sqlite, copy sqlite3
Task: Complex SQL QueriesInstructions From Resources under Main Menu in Interact 2 go to Assignment 4 Folder If you are using sqlite, copy sqlite3.exe file from the Assignment 4 Folder into a folder in your machine
Copy Ass4.txt from the Assignment 4 link into the folder in your machine where your SQLite file is located
From the SQLite Command Prompt execute the Ass4.txt script. For this, at the SQLite Command Line type .read Ass4.txt [to create the tables you will use to answer this assignment's questions]
At the SQLite Command Line type .headers on
At the SQLite Command Line type .mode column
run SQL statements to complete the following tasks (Each Query : 1.5 (1 query + 0.5 for screenshot) Marks)
- Show the details of the invoice who has the minimum and maximum subtotal.
- Show the details of the invoices whose subtotal is greater than 25 but less than 75.
- Using EXCEPT show the codes of the vendors who did not supply any products.
- Show the details of the employees who are located in area code 615.
- Show the details of the products that do not have a value for the attribute v_code.
- Using inner join, list the details of the products whose line price is greater than 100.
- List the names and codes of vendors and the number of products each vendor has supplied, i.e. vendor AAA has supplied xxx products, and vendor BBB has supplied yyy products etc.
- List all purchases by customer 10011.
- Using 'NOT IN' show the codes and names of the vendors who did not supply any products.
- Show the codes and names of the vendors who supplied products.
Assignment of database system kindly provide solution
Expert Solution
Need this Answer?
This solution is not in the archive yet. Hire an expert to solve it for you.





