| 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.
- NUR3015 Health and Social Policy Summative Assignment Report 2025/26 | SIT
- PS5009MKT Digital Business Assessment Coursework | Coventry University
- 5007MKT Marketing Insight Assignment Coursework 2 – Coffee Shop Industry | Coventry University
- HL3044 The Legends of King Arthur Assignment Semester 1, AY2025-26 | NTU
- AVM343 Airport Design and Planning ECA July Semester 2025 | SUSS
- ICT239 Web Application Development End-of-Course Assessment – July Semester 2025
- BX2091 Tourism & Leisure Management Assessment Task 3, 2026 | JCU
- Project on Probability and Statistics using Matlab Assignment | NUS
- Health Economics and Policy Assessment Essay | Teesside University London
- BCAF004 Management Accounting & Finance Individual Assignment 1 AY 2025/2026 | TP
