| University | Singapore University of Social Science (SUSS) |
| Subject | ICT330: Database Management Systems |
Question 3 (35 marks)
(a)
(i) Transform the ERD in Figure Q3(a)(i) into a logical model.

Buy Custom Answer of This Assessment & Raise Your Grades
(ii) Refer to the description of the columns for the column definition, and then write the appropriate SQL statements to implement the tables, derived from the ERD in Figure Q3(a)(i). List your SQL statements in the order that they should be executed.
All columns are required. Description for columns in the tables as follows:
• orderNumber is a whole number starting from 1 with step increment 1 and
is auto-generated.
• orderDateTime is datetime and has the default value the current date and
time.
• runningNumber is a whole number, and starts from 1 with step increment
of 1 for every new order. The auto-generation of runningNumber will be
implemented using a trigger. Simply insert the value as specified in the
given data as you are not expected to code the trigger at this point.
• qty is a whole number greater than 0 with a default value 1.
• mealCode is exactly 3 characters starting with one letter (A-Z) followed by
2 digits (0-9).
• price is a decimal number and is between 20 and 100.
• itemCode is exactly 3 characters starting with two letters (A-Z ) followed
by 1 digit (0-9).
• name is at most 80 character long.
• category is exactly 12 character and takes one of these values: soup,
appetizer, main, dessert, hot beverage.
• period is exactly 6 character and takes one of these values: lunch, dinner.
Hire a Professional Essay & Assignment Writer for completing your Academic Assessments
Native Singapore Writers Team
- 100% Plagiarism-Free Essay
- Highest Satisfaction Rate
- Free Revision
- On-Time Delivery
Elevate your performance in ICT330 Database Management Systems with the finest support available! As the best Assignment Writing Service in Singapore, we specialize in delivering unparalleled assistance for your coursework needs. Navigate through the intricacies of database management with confidence, backed by our dedicated team. Worried about coursework? Our specialized Coursework Writing Help ensures your assignments exceed expectations.
Looking for Plagiarism free Answers for your college/ university Assignments.
- AAI101 Generative AI Tools and Workflows End-of-Course Assessment – July Semester 2025
- BF3207/3219 Alternative Investments Individual Assignment Brief
- FNCE6037 Investment Banking Assessment – Singapore Management University (SMU)
- BC2402 Designing and Developing Databases – Week 9 Class Exercises
- Principles of Accounting Assessment 1: Financial and Management Accounting Applications, Trial Balance, Journal Entries, and Financial Statements Preparation
- 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 3 – Semester 2, 2025
- BSE315 Recreational Sport Programme Management End-of-Course Assessment – July Semester 2025
- CVE2151 Transportation Engineering Assignment – Highway and Traffic Engineering
