Posted on: 17th Jun 2023
Database Assignment, NUS, Singapore A construction company works with a database that stores information about contractors, materials, and sites
| University | National University of Singapore (NUS) |
Question 1:
A construction company works with a database that stores information about contractors, materials, and sites. The Consignment relation records instances of a contractor delivering materials for a construction site.
Question 2
Provide SQL queries and the result tables for the following:
- Find the details of any works of art along with the full name of the Artist who created the work that have at least two copies recorded in the database.
- List the details of any work of art that has an Expressionist style.
- List the details of the works of art currently held in the gallery.
- List the sales for each customer made in the year 2007. The query should include the details of the customer, the transaction, and the work of art purchased.
- List the names of the deceased artists and the number of years of age they were when they died (for example, an artist born in 1950 and deceased in 2001 has an age of 51).
- The sum of the acquisition price of works of art for each year (for example, if there were two works of art purchased for $1500 and $1000 in 2019, and one work of art purchased for $500 in 2020, then the sums would be $2500 and $500, for 2019 and 2020 respectively).
- Calculate the profit made on works of art that have been sold in the year 2010.
- Which artist has had the most works of art sold, and how many of the artist’s works have been sold?
- Sales of which artist’s works have resulted in the highest average profit (e., the average of the profits made on each sale of works by an artist), and what is that amount?
- Customer name of any customers who have an interest in ALL artists.
Hire a Professional Essay & Assignment Writer for completing your Academic Assessments
Get Help By Expert
Seeking Expert Online Assignment Writing Help for NUS? Look No Further! - MY Assignment Help SG offers top-notch academic assistance tailored specifically for students at the National University of Singapore. Our experienced writers provide impeccable assignments that meet the university's standards, ensuring your success. Trust us with your assignments and enjoy stress-free academics today!
Tags:-
Answer
Recent Solved Questions
- BC2402 Designing and Developing Databases – Week 9 Class Exercises
- Principles of Accounting Assessment 1: Financial and Management Accounting Applications
- SOC307 Classical Social Thought Tutor-Marked Assignment 02
- 7WBS2007-0901-2025 Human Resource Management Assignment 1 Brief 2025
- MKTG1270 Product Innovation Management Authentic Case Assessment – Semester 2, 2025
- BSE315 Recreational Sport Programme Management End-of-Course Assessment – July Semester 2025
- CVE2151 Transportation Engineering Assignment – Highway and Traffic Engineering
- Law of property Assignment Part 1 Questions
- BPM113 Construction Technology Tutor-Marked Assignment Two July 2025 Presentation
- BC2406 Analytics I: Visual and Predictive Techniques AY2025 Computer Based Assessment (CBA)
UP TO 15 % DISCOUNT
