University | Singapore Management University (SMU) |
Subject | Database Design and Development & SQL |
Question 1
Draw an Entity Relationship Diagram (ERD) for the following case study:
Management Book Association (MBA) is engaged in a wide range of publishing, marketing, and distribution activities in Singapore. These are in the areas of educational textbooks, children’s books, general and trade books, academic and scholarly publications, reference materials, and some electronic publications. MBA also collaborates with the local university’s professors to conduct industry seminars and workshops for professionals. MBA wishes to produce course books on the various seminars and workshops that it now conducts. The books are written by professors who specialize in one particular subject. Two or more professors may specialize in a particular subject. MBA employs professional editors who may not be a specialist in a particular area. Each editor may edit one or more books at a time. A professor may write more than one book at a time. When writing a particular book, the professor works with one editor. If the professor is working on a second book at the same time, he has to work with another editor on the second book.
Question 2
This question has TWO (2) parts, part A relates to normalization and part B relates to SQL. Kaplin Art is a digital art shop focused on buying the best of computer art and design. Kaplin Art is developing a new website to sell their arts. The website will list all the artists and their arts. Customers can buy from Kaplin Art and later sells it back to Kaplin Art, who then will relist them on their website for other interested customers. Kaplin Art does not allow a customer to sell to another customer on their website. One of the requirements of the new website is to maintain a list of their customers and what they have purchased. Figure 2 shows the report layout.
Part A: (Please clearly state all assumptions and ensure that you have sufficient annotations). Please complete the following FOUR (4) parts:
i) Based on Figure 2, write down the unnormalized form.
ii) Identify the repeating group of attributes and transform part (i) into tables that are in 1st Normal form. (Explain the rationale for your decision).
iii) Identify any partial dependencies in part (ii) and transform them into tables that are in 2 nds Normal Form. (Explain the rationale for your decision).
iv) Identify any transitive dependencies in part (iii) and transform them into tables that are in 3rdNormal Form. (Explain the rationale for your decision).
Part B: (Please clearly state all assumptions and ensure that you have included the screen capture for each part – marks will be deducted if you do not provide evidence of execution) Using any dialect of SQL, please complete the following SEVEN (7) parts:
i) Draw an entity-relationship diagram of the identified tables in Part A.
ii) Using the CREATE TABLE in any dialect of SQL, show the corresponding SQL tables. Indicate the primary key, foreign keys, column names, constraints, etc.
iii) Insert (at least) 10 sample rows for each identified table.
iv) List the names and phone numbers of all customers who have a credit limit > $10,000 in alphabetical order.
v) Find the average purchase price of all the purchases for a particular customer.
vi) List all the items with a price above the average price for a particular customer.
vii) List the customer and art title that has been sold at least 2 times
You probably need a Computer Science assignment help in regarding your database design and development & SQL assignment. For deep understanding, this computer topics take our assignment help service. we have assignment experts from different field academics who serve proper assignment help on data management, networking assignment. So, reach us as soon as possible and enjoy the benefits of our online academic writing service's amazing features.
Looking for Plagiarism free Answers for your college/ university Assignments.
- GCE A-Level 8882 Project Work: How to Write a Winning Project Summary
- IT3662 SAFENET Network Security and Integration Assignment: Case Study on HQ and Branch Office Setup
- Vodafone Group Plc Annual Report Assignment: Financial Performance and Shareholder Insights (2024)
- Financial Literacy Lifespan Assignment: A Case Study on Gen Z & Millennials’ Financial Stability and Lifelong Learning
- PSB7008CL Organisational Behaviour Assignment: Case Study on Leadership, Diversity, and Change Initiatives
- A2429C Case Study Assignment: Glucose Homeostasis, Muscle Function, and Cardiovascular-Lymphatic Disorders
- Finance/ Wealth Management Assignment: Broker Report on Equity and Bond Valuation for Global Listed Companies
- PSB503IT Team Project Reflective Report Assignment: Enhancing Collaboration and Professional Development
- Microbiology Assignment: The Role of Medical Microbiologists in Disease Control and Their Contribution to Public Health
- A2389C Pharmaceutical Supply Chain Case Study Assignment: Emergency Preparedness Plan for Tariff Impact in Singapore