99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

合肥生活安徽新聞合肥交通合肥房產生活服務合肥教育合肥招聘合肥旅游文化藝術合肥美食合肥地圖合肥社保合肥醫院企業服務合肥法律

代寫QHE5701、SQL程序設計代做
代寫QHE5701、SQL程序設計代做

時間:2024-12-17  來源:合肥網hfw.cc  作者:hfw.cc 我要糾錯



QHE5701 – Database Systems 2024 
Coursework Assignment 
 Design and Implementation of a Relational Database Application Using MYSQL 
Title: 
Submission Deadline: Sunday 15th December 2024 (23:59 China Standard Time). 
Any late submission will have penalty as per QMUL regulations.
Nursing House Record System 
Introduction 
You have been contracted to design and develop a database system for a small sized nursing 
facility for senior citizens. 
This family-owned nursing facility where all the records were managed on pen and paper, yet 
it has grown to the point where this method has become unfeasible and are looking to 
professionalise the management of the operation. 
From client’s perspective, any senior resident record should store information about the 
resident’s identity, differentiated by a unique ID (for this, Chinese National ID number is used). 
The record should also include the resident’s name, their permanent address, contact phone 
number, date of birth, gender, any known allergies, and a special field to store health and carerelated
 notes about the resident. 
The system supports four primary roles for managing resident data: caregivers, nurses, 
administrative staff and guardians. 
1. Caregivers can add, modify, or delete their personal care and assistance records for residents. 
They can also view the complete care records for the residents assigned to them. 
2. Nurses have permissions to add health-related treatment records for a resident. They can also 
browse the resident’s visit history in a restricted manner, meaning they cannot view detailed 
care or medical records created by caregivers unless necessary for their responsibilities. 
 
 3. Administrative staff can view the resident’s basic identity information, such as their name, 
contact details, and room assignment. They can also monitor resident activity logs, schedule 
visits, and ensure caregivers and nurses are appropriately assigned to residents based on 
availability and needs. 
4. Guardian is the contact person of the resident in case of emergency. Guardian is responsible 
for paying the charges for the resident’s stay at the nursing house. Guardian’s data needs to be 
stored in the database including their name, address (house, street, city, postal code), contact 
number, wechat contact along with their relation with the resident is to be recorded. In some 
cases, there can be two guardians for same resident, but this is optional. Not all residents have 
two guardians. 
Additionally, a database administrator role is introduced for managing user permissions 
dynamically. This includes defining roles, assigning users to roles, and handling role 
modifications or revocations (e.g., when caregivers, nurses, or staff members are hired or leave 
the facility). 
This design ensures that resident information is securely stored and accessed according to 
specific role-based permissions while maintaining a clear separation of duties among 
caregivers, nurses, staff, and administrative staff. 
General 
You are required to design and implement this database system through data requirements 
analysis, conceptual design using concepts of the Entity-Relationship (ER) model, logical 
design using the concepts of the relational model, and implementation and testing using 
MySQL. 
The specification above details the minimal requirements, you can design above or improve 
the proposed design. For each change you are required to document the rationale for the 
improvement. Include any assumption that you made in the data modelling. 
 
Task 1 – Requirement Analysis: 
(a) Background: 
A short report about your understanding of the provided user requirement for which you are 
designing the database (DB). This includes knowledge about the scenario which you used for 
designing the DB. 
(b) Assumptions: 
Add 3 to 6 assumptions that inform your DB design. These assumptions should be relevant to 
the DB. Mention any assumptions you made for the Data Model. Different assumptions lead 
to different data model. 
 
Example: 
 A student registers for exactly one course is relevant. "a student has a name" are not relevant. 
Other relevant assumptions: 
"A booking involves a customer, a receptionist, and several rooms booked; should be 
modelled as a relationship; but we model booking as an entity and use relationships such as 
customer_makes_booking." 
 
Task 2 – Conceptual Design/ER Model: 
Create a conceptual schema for the above database system using the concepts of the EntityRelationship
 (ER) model. Explain the relationships modelled in your relational schema. 
 
Show the following design steps: 
 
(a) A textual description of the entity-relationship model including keys 
(b) Description of the entities and relationships 
(c) Explanations for cardinality and participation constraints 
 
Example: 
Complete the ER diagram by using the notation shown in the example of the Student, Course 
entities and Enrol relationship given below. (NOTE: This is only for guidance on where to 
start. It is not a required Format). 
 
Entities: 
 Student{StudentNo, fName, lName, address, gender, NIN, compID, DOB, ProgrammeTitle} 
Primary key: StudentNo 
Foreign key: ProgrammeTitle references Programme(pTitle) 
Alternate key: NIN 
Course{CourseNo, CourseTitle, Credits, FacultyID, DeptID} 
Primary key: CourseNo 
Foreign key: DeptID references Department(DeptID) 
Foreign key: FacultyID references Faculty(FacultyID) 
Alternate key: CourseTitle 
 
Relationship: 
Enrol (many-to-many relation between Student and Course) 
Enrol {StudentID, CourseID} 
Primary key (combination of two FK): StudentID + CourseID 
 Task 3 – ER Diagram: 
(a) Partial ER Diagram: 
Draw partial ER diagrams showing each entity and all its attributes. You can use any tool (not 
restricted to use MS-Visio, Draw.io, Lucid Chart or MySQL). 
Example: Entity – Person 
 
(b) Complete ER Diagram: 
Graphical representation of your ER model. Your ER diagram must make use of the building 
blocks of ER diagrams including primary key (simple or composite), alternate key, 
composite attribute, multi-valued attribute, attribute of a relationship, recursive 
relationship, 1:1 relationship, 1:m relationship and m:n relationship, among others. All 
constraints should be considered including cardinality and participation constraints. 
Example: 
ER Diagram of a Hotel Reservation System. 
 
Person 
personID 
email 
firstname lastname 
phone  
(c) Textual Description of ER: 
Provide a textual description of your ER Model. Your graphical diagram must correspond to 
the textual description. 
 
Example: 
Enrol{StudentID, CourseID, EnrolmentDate} 
– PK (combination of two FK): StudentID + CourseID 
– when mapping the ERM to tables, we noticed that attribute EnrolmentDate makes sense 
 
Task 4 – Mapping ER to Logical Model: 
Provide mapping of the conceptual model to the logical model. Explain the main mapping 
steps. Show the logical model (tables). 
 
Example 1: 
Logical model of a small sized company that sells Droids. 
 
Source: BlueCorpSolution 
 
You can also create the logical model in MySQL. 
Example 2: 
Logical model of a retail company.  
Source: Binus 
 
You can also use the EER diagram created in MySQL instead of the designing a logical model 
separately. The EER diagram provide detailed overview of the underlying data structures, 
presenting a detailed representation of the data model including tables, columns, data types, 
indexes, and storage details. 
Example: 
EER diagram of a University Parking. 
  
Task 5 – Normalisation: 
Explain if and why your schema is in 3NF. Even if your schema is already in 3NF, construct 
an example for 2NF and 3NF to demonstrate where in your design a normalisation step 
occurred (excluding the normalisation of address, post-code -> city). 
 
Task 6 – Implement the Database 
Based on your schema, we ask you to create a minimum of 5 tables using SQL CREATE 
commands. Create the tables and relationships between tables for database application using 
MySQL. All the elements shown above in blue (Task 3) in your relational schema must be 
properly implemented. 
Remember to enforce the Referential Integrity including update rules on each of the 
relationships between tables. We expect to see an instance of Generalisation. 
 
Task 7 – Populate the Tables with Data 
Populate the tables with meaningful data. You should populate your tables with at least 10 rows 
of data per table using SQL INSERT statements. Enter sufficient data that reflect the 
relationships' structural constraints (i.e., participation constraints and cardinality ratio 
specified with ‘min..max’) and test the queries in Task 8. 
 
Task 8 – Query the Database 
Write at least 3 basic, 3 medium and 3 advanced queries using SQL and run them in your 
database and add screenshots of your queries result in the final report. 
(a) Basic queries: 
Write 3 basic but non-trivial SQL queries using WHERE, JOIN or OPERATORS (AND, OR, 
BETWEEN etc). SELECT * FROM table will not be accepted. 
Example: 
Customers who booked a room whose price is greater than 200. 
 
(b) Medium queries: 
Write 3 (only 2 if you're working in a group of 2 members) medium queries using GROUP BY, 
HAVING, and complex JOINS (self-joins, outer joins). 
Example: 
Customers who booked a comfort room and a luxury room, all rooms with the customers who 
booked them including the rooms no customer has booked.  
(c) Advanced queries: 
Write 3 (2 if you're working in a group of 2 members) advanced queries (NESTED Queries, 
SET-based conditions or AGGREGATIONS). 
Example: 
Show customers who booked more rooms than the average customer (i.e. the average number 
of rooms), all customers who booked mostly luxury rooms (e.g. more than **% of the bookings 
were for luxury rooms). 
 
Task 9 - Database Application 
Develop and implement an application that will allow the database users to access and retrieve 
data from the database. The application should have a 'user friendly' graphical interface. The 
application should allow the users to perform the following: 
a) Run Use Cases for the System. 
b) View data in Tables in datasheet view. 
 
Task 10 – Considerations on Privacy and Security 
The design presented above has no specific data privacy and security requirements. You are 
requested to produce a one-page critique of the issues that can potentially become incidents. 
You should include: 
- An Identification of Sensitive data 
- Data protection measures that you would add to the design. 
- GDPR compliance. Reflect on data minimization, purpose limitation, storage 
limitation, and data subject rights (e.g., right to access, rectify, or erase personal data). 
Provide recommendations on how the system can adhere to these principles and ensure 
the lawful processing of personal data. 
 
Task 11 – Critical Evaluation 
Submit a critical assessment of your work, as well as the value of this coursework in 
understanding and using (or otherwise) the techniques and methods you learned to design and 
implement a relational database. A brief statement of ‘individual contributions’ must be 
included in here from each member of the group. This section should not be longer than A4 
page. 
 
Task 12 – Viva: 
You are required to demonstrate your database application through a MS Teams meeting of 10 
minutes. Each of the group will be sent an invite to MS Teams Meeting which will be scheduled from Monday (16th December 2024) to Tuesday (17th December 2024). These sessions will be 
recorded as per QMUL regulations. Schedule will be shared in Week – 16. 
 
Final Coursework Submission: 
• Include a title page with your full name, module name, QMUL ID Number, BUPT ID 
Number, Class Number, and qmul email. 
• Use a clear and organized layout. 
• Clearly label each task (e.g., Task 1 (a), Task 1 (b), Task 2 etc.) 
• Your coursework report (pdf) should consist of all tasks (the SQL code and result as 
screenshots). This report should explain the semantics of your relational schema. 
• You must submit your SQL scripts in ONE .sql file. The SQL script MUST work 
without ANY issues on MySQL. If the script does not run, you will get at most 40% of 
the total marks. 
• Create a folder and place all your database files (coursework report (.pdf), your SQL 
scripts in a single file (.sql), database application files, and any additional file you 
created for your ER Diagram within the folder. 
• Compress this folder and rename it with your QMUL ID numbers of all group members: 
221155XXX_ 221155XXX_ 221155XXX.zip 
• Upload the compressed file on the Coursework Submission in Assessment Tab on 
QMPlus module page. 
 
Using ChatGPT or any generative AI tool is not recommended for this coursework. 
However, if you choose to use such any GenAI tool, please ensure you properly cite it in 
your report to avoid penalties related to plagiarism or academic misconduct. 
 
Marking Scheme: 
 Requirement Analysis [5 Marks] 
Conceptual Design/ER Model [5 Marks] 
ER Diagram [10 Marks] 
Mapping ER to Logical Model [10 Marks] 
Normalization [5 Marks] 
Implement the Database [10 Marks] 
Populate tables with data [5 Marks] 
Queries  Basic
 
Critical Evaluation
Good Luck!
 
請加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp


 

掃一掃在手機打開當前頁
  • 上一篇:菲律賓八打雁省結婚證辦理價格(辦理流程)
  • 下一篇:ITP4206代做、代寫c/c++,Java編程
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發動機性能
    挖掘機濾芯提升發動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
    合肥機場巴士2號線
    合肥機場巴士2號線
    合肥機場巴士1號線
    合肥機場巴士1號線
  • 短信驗證碼 豆包 幣安下載 AI生圖 目錄網

    關于我們 | 打賞支持 | 廣告服務 | 聯系我們 | 網站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網 版權所有
    ICP備06013414號-3 公安備 42010502001045

    99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

          国产精品资源在线观看| 欧美日韩不卡| 欧美激情综合网| 国产精品乱码一区二区三区| 国产亚洲精品久| 亚洲精品孕妇| 欧美伊人久久久久久午夜久久久久| 久久婷婷综合激情| 国产伦精品一区二区三区免费| 亚洲国产成人精品久久| 久久精品久久99精品久久| 欧美日韩亚洲激情| 亚洲电影av在线| 性色一区二区| 国产私拍一区| 久久久精彩视频| 国产热re99久久6国产精品| 亚洲一品av免费观看| 欧美精品一区二区三区蜜臀| 一色屋精品亚洲香蕉网站| 欧美中文字幕| 亚洲国产国产亚洲一二三| 久久综合五月| 91久久国产精品91久久性色| 久久久久久久久久久一区| 国产欧美一区二区三区沐欲| 久久精品国产亚洲一区二区三区| 国产欧美亚洲一区| 久久黄色影院| 亚洲黄网站黄| 国产精品免费网站| 午夜精品一区二区三区在线播放 | 狠狠色综合色区| 免费在线国产精品| 亚洲激情在线激情| 国产精品视频| 欧美金8天国| 亚洲欧美日韩精品一区二区| 国产一区二区看久久| 欧美电影免费观看| 久久国产福利| 亚洲一区在线观看视频| 国产一区二区三区精品久久久| 老司机成人在线视频| 亚洲主播在线播放| 亚洲精品免费在线| 国产一区二区精品| 国产精品高潮久久| 欧美日韩在线不卡| 欧美黑人国产人伦爽爽爽| 欧美一激情一区二区三区| 亚洲日本成人网| 在线视频成人| 亚洲国产高潮在线观看| 国产情人综合久久777777| 欧美日韩国产高清视频| 久久久久久伊人| 性色av香蕉一区二区| 99综合电影在线视频| 99精品视频免费观看| 亚洲精品乱码久久久久久日本蜜臀 | 影音先锋久久久| 国产综合久久久久久鬼色| 国产日韩精品电影| 国外成人在线| 亚洲免费观看高清完整版在线观看熊| 亚洲国产精品热久久| 91久久精品国产91久久| 日韩视频免费观看| 亚洲伊人网站| 久久久久久久久久久久久女国产乱| 久久成人在线| 欧美国产精品人人做人人爱| 欧美日韩国产色视频| 国产精品电影在线观看| 韩日视频一区| 亚洲在线视频观看| 噜噜噜躁狠狠躁狠狠精品视频| 欧美女同在线视频| 黄色小说综合网站| 欧美一区二区免费观在线| 欧美刺激性大交免费视频| 国产精品成人在线| 日韩视频―中文字幕| 久久精品电影| 国产欧美日韩不卡| 亚洲女同性videos| 欧美日韩在线播| 日韩视频在线一区| 久久久美女艺术照精彩视频福利播放 | 夜夜嗨网站十八久久| 久久婷婷国产综合精品青草| 国产日韩av高清| 久久久久免费视频| 在线播放日韩欧美| 另类图片国产| 亚洲免费av网站| 欧美日韩午夜视频在线观看| 亚洲激情在线| 欧美日韩美女| 亚洲小视频在线| 国产精品亚洲综合久久| 午夜激情综合网| 国产一区二区按摩在线观看| 新狼窝色av性久久久久久| 国精品一区二区三区| 欧美88av| 亚洲综合激情| 亚洲国产欧美一区| 欧美日韩一区免费| 亚洲欧美一区二区激情| 国际精品欧美精品| 欧美电影免费观看| 亚洲欧美激情视频在线观看一区二区三区 | 欧美日韩视频在线| 性18欧美另类| 亚洲精品欧美精品| 国产日韩在线不卡| 欧美精彩视频一区二区三区| 亚洲男人的天堂在线aⅴ视频| 国内揄拍国内精品少妇国语| 欧美久久久久久久久久| 欧美一区国产一区| 亚洲午夜女主播在线直播| 黄页网站一区| 国产一区二区三区日韩欧美| 欧美大片免费| 玖玖综合伊人| 久久精品人人爽| 久久国产精品免费一区| 一区二区精品国产| 在线一区二区三区四区五区| 亚洲人成久久| 日韩午夜在线| 日韩午夜在线观看视频| 亚洲黄色影片| 亚洲人成精品久久久久| 亚洲精品网址在线观看| 亚洲人成亚洲人成在线观看| 在线日韩欧美| 亚洲人成啪啪网站| 一本久道久久久| 亚洲一区二区三区中文字幕在线| 一区二区三区精品视频在线观看| 亚洲精品三级| 亚洲午夜一区二区| 性做久久久久久久免费看| 久久久亚洲国产美女国产盗摄| 免费观看日韩| 国产麻豆成人精品| 亚洲九九爱视频| 久久久精品五月天| 欧美日韩一级黄| 国产精品一区二区三区四区五区| 国产真实乱偷精品视频免| 最新国产精品拍自在线播放| 亚洲欧美三级在线| 欧美精品在线观看| 国内外成人免费激情在线视频| 激情久久久久久久久久久久久久久久| 在线观看视频一区二区欧美日韩| 一本大道久久a久久精二百| 校园春色国产精品| 欧美视频不卡| 日韩视频在线永久播放| 久久天天躁狠狠躁夜夜av| 国产精品免费看片| 一区二区久久| 欧美深夜福利| 在线视频一区二区| 欧美交受高潮1| av成人免费观看| 欧美激情中文字幕一区二区| 亚洲国产精品一区二区三区| 久久久久久久尹人综合网亚洲| 今天的高清视频免费播放成人| 亚洲欧美日韩综合aⅴ视频| 欧美午夜一区二区| 欧美一级片在线播放| 国产乱人伦精品一区二区 | 日韩视频一区二区三区在线播放| 麻豆乱码国产一区二区三区| 黑人操亚洲美女惩罚| 久久人人超碰| 日韩午夜精品视频| 国产精品乱码久久久久久| 欧美一区二区三区啪啪| 狠狠爱综合网| 欧美日韩午夜剧场| 欧美中文在线观看国产| 亚洲黄色尤物视频| 国产亚洲一二三区| 欧美日韩三区| 久久综合九色综合久99| 中日韩高清电影网| 一区在线视频| 国产老女人精品毛片久久| 欧美成年网站| 久久久久久久久久看片| 一区二区高清在线|