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爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

          美乳少妇欧美精品| 欧美午夜无遮挡| 欧美国产精品一区| 欧美黑人在线观看| 欧美午夜寂寞影院| 国产网站欧美日韩免费精品在线观看| 国内久久视频| 一本色道久久综合狠狠躁篇的优点| 一本久久a久久免费精品不卡| 亚洲一区日本| 麻豆成人小视频| 欧美日韩综合久久| 国产一区二区三区的电影| 亚洲高清毛片| 亚洲综合电影| 欧美成人精品三级在线观看| 欧美三区美女| 在线免费观看日本欧美| 亚洲午夜伦理| 欧美成黄导航| 国产拍揄自揄精品视频麻豆| 亚洲国产精品va在线观看黑人| 亚洲少妇一区| 欧美成人性网| 国产亚洲欧美一区二区三区| 亚洲最黄网站| 免费中文字幕日韩欧美| 国产精品一区二区在线观看| 最新国产成人av网站网址麻豆| 亚洲欧美一区二区精品久久久| 欧美91福利在线观看| 国产亚洲欧美aaaa| 在线午夜精品| 免费日韩精品中文字幕视频在线| 国产精品美女久久久| 夜夜爽www精品| 欧美暴力喷水在线| 精东粉嫩av免费一区二区三区| 亚洲女人小视频在线观看| 欧美另类人妖| 亚洲精品女av网站| 美女精品在线观看| 在线观看日韩www视频免费 | 久久夜色精品国产欧美乱| 欧美日韩中文字幕综合视频| 亚洲国产一二三| 久久香蕉国产线看观看av| 国产精品一区久久久| 亚洲免费在线观看| 国产精品久久久久久久久| 亚洲精品人人| 欧美日本在线| 在线视频免费在线观看一区二区| 欧美电影免费观看高清| 91久久黄色| 欧美激情导航| 亚洲看片网站| 欧美日韩一区二区三区视频| 亚洲另类视频| 欧美日韩视频在线第一区| 夜夜嗨av一区二区三区四季av| 欧美精品激情在线| 一区二区三区四区五区视频 | 久久中文字幕导航| 在线日韩av片| 欧美国产第一页| 一区二区三区高清不卡| 欧美午夜电影完整版| 亚洲免费在线电影| 国产亚洲人成a一在线v站| 久久午夜精品一区二区| 亚洲激情校园春色| 欧美视频三区在线播放| 亚洲综合视频1区| 国产一区二区三区在线观看免费| 老鸭窝毛片一区二区三区 | 亚洲高清一区二区三区| 欧美黄色一区二区| 亚洲女女女同性video| 国产视频亚洲精品| 欧美大胆a视频| 亚洲一区免费| 在线日本成人| 国产精品99免费看| 久久久久高清| 日韩一二三区视频| 国产一区二区日韩精品| 欧美激情导航| 久久国产精品高清| 日韩一区二区精品| 狠狠色噜噜狠狠狠狠色吗综合| 欧美福利视频网站| 欧美一区二区网站| 日韩亚洲在线观看| 激情亚洲成人| 国产精品推荐精品| 欧美激情综合亚洲一二区 | 久久九九国产精品| 99精品国产高清一区二区| 国产偷自视频区视频一区二区| 欧美二区在线看| 欧美一区二区在线看| 亚洲精品一区在线| 一区在线播放| 国产精品一区二区三区观看| 欧美成人一区二区| 久久久久国产免费免费| 亚洲午夜一区| 日韩一级裸体免费视频| 伊人狠狠色丁香综合尤物| 国产精品丝袜xxxxxxx| 欧美日韩国产精品| 欧美jizz19hd性欧美| 久久久久久一区二区| 午夜国产不卡在线观看视频| 99国产精品久久久久久久| 亚洲经典一区| 亚洲第一区色| 激情久久中文字幕| 国产亚洲欧洲一区高清在线观看 | 国外视频精品毛片| 国产午夜亚洲精品羞羞网站 | 亚洲精品久久久久久一区二区| 国内伊人久久久久久网站视频 | 欧美日本不卡视频| 欧美激情第五页| 欧美激情精品久久久久久黑人| 久久一区二区三区四区五区| 久久久精品999| 久久全国免费视频| 久久一区二区三区四区| 免费成人av在线| 欧美韩日精品| 欧美日韩一卡| 欧美性大战久久久久久久蜜臀| 欧美金8天国| 欧美日精品一区视频| 国产精品福利网| 国产精品成人在线观看| 国产精品视频免费在线观看| 国产精品毛片一区二区三区| 国产精品最新自拍| 国产精品有限公司| 国内外成人免费激情在线视频 | 国产精品久久久久久久久久免费 | 欧美日韩国产欧美日美国产精品| 欧美日韩成人激情| 国产精品女人网站| 国产视频精品xxxx| 在线观看91精品国产麻豆| 亚洲国产高清在线| 亚洲天堂视频在线观看| 午夜精品久久久久久久久久久久久| 亚洲欧美日韩另类精品一区二区三区| 欧美一级精品大片| 欧美1区3d| 国产精品女主播在线观看| 国产香蕉97碰碰久久人人| 精品成人在线观看| av成人手机在线| 欧美在线免费看| 欧美精品在线极品| 国产精品综合av一区二区国产馆| 国产人成精品一区二区三| 亚洲第一网站免费视频| 一区二区三欧美| 久久精品国产综合精品| 欧美日韩精品免费| 狠狠久久婷婷| 亚洲一区制服诱惑| 免费视频久久| 国产精品自拍小视频| 亚洲国产国产亚洲一二三| 亚洲一区二区三区精品在线观看| 久久久久国产一区二区三区| 欧美日韩一区二区在线视频| 黑人巨大精品欧美一区二区| 一区二区欧美日韩视频| 久久综合一区| 国产一区二区视频在线观看| 一道本一区二区| 欧美aⅴ一区二区三区视频| 国产欧美高清| 99精品热视频只有精品10| 美女图片一区二区| 国产日韩欧美视频在线| 99国产精品99久久久久久| 美腿丝袜亚洲色图| 韩国av一区二区三区四区| 亚洲一区二区三区四区五区午夜| 欧美成人午夜剧场免费观看| 国产一区二区三区四区老人| 亚洲欧美成aⅴ人在线观看| 欧美人成在线视频| 亚洲高清视频在线观看| 久久久噜噜噜久久中文字幕色伊伊| 国产精品www994| 亚洲网站视频| 国产精品久久久久9999| 99v久久综合狠狠综合久久|