合肥生活安徽新闻合肥交通合肥房产生活服务合肥教育合肥招聘合肥旅游文化艺术合肥美食合肥地图合肥社保合肥医院企业服务合肥法律

代写QHE5701、SQL编程语言代做
代写QHE5701、SQL编程语言代做

时间:2024-12-03  来源:合肥网hfw.cc  作者:hfw.cc 我要纠错



QHE5701 – Database Systems 2024 
Lab – 5 1 
Lab 5: Designing Database and Generating sample data (using data generator tool) 
In this lab you’ll use MySQL to design and implement a database from user requirement. 
 
Database Specification Details: 
In a company that manages a big chain of doughnut-selling shops, there is a need to 
create a database for the data accumulated through the last years. Consider that the data 
you have available is: 
• List of menus which can be regular or seasonal (for example Christmas menu), 
they have a name and start and end date in case of a seasonal menu. Additionally, 
we also have a specific colour palette they must follow used by each menu. 
 
• List of products available for each menu we know names, prices, calories, sugar 
content, protein, and salt. 
 
• For the same sales, we know the buyer if they have scanned their loyalty app. A 
buyer has some data saved like first name, last name, gender, age and occupation. 
 
• Employees can have diTerent contracts (full-time, part-time) with additional total 
working hours (overtime). We also account for the years of experience of every one 
of them. 
 
• The branch is a location of our company that has an address and a size. Size is an 
index that describes how big is the branch. 
 
• List of ingredients used for every product (name, country of origin, units 
purchased, price, name of the supplier) 
 
• Each sale must be stored with the exact time and date of sale and price. 
 
NOTE: Assume that size is a parameter denoting roughly the cost of running that branch. 
 
Task: 
Design a database for this problem, which involves: 
i) Create an ER model for this problem 
ii) Perform the mapping to the logical model QHE5701 – Database Systems 2024 
Lab – 5 2 
iii) Produce the SQL code for the database 
iv) Create sample data for your database (to make it easier use a generator 
like: https://extendsclass.com/csv-generator.html ) 
 
Lab Submission Guidelines: 
Complete the task in Lab-5 as this will also be used in next lab. Details on Week-3 
submission will be provided with Lab-6 description. 

请加QQ:99515681  邮箱:99515681@qq.com   WX:codinghelp




 

扫一扫在手机打开当前页
  • 上一篇:PROG2004代做、代写C/C++编程设计
  • 下一篇:代做ECE2810J、代写C++语言程序
  • 无相关信息
    合肥生活资讯

    合肥图文信息
    新能源捕鱼一体电鱼竿好用吗
    新能源捕鱼一体电鱼竿好用吗
    海信罗马假日洗衣机亮相AWE  复古美学与现代科技完美结合
    海信罗马假日洗衣机亮相AWE 复古美学与现代
    合肥机场巴士4号线
    合肥机场巴士4号线
    合肥机场巴士3号线
    合肥机场巴士3号线
    合肥机场巴士2号线
    合肥机场巴士2号线
    合肥机场巴士1号线
    合肥机场巴士1号线
    合肥轨道交通线路图
    合肥轨道交通线路图
    合肥地铁5号线 运营时刻表
    合肥地铁5号线 运营时刻表
  • 币安app官网下载 短信验证码

    关于我们 | 打赏支持 | 广告服务 | 联系我们 | 网站地图 | 免责声明 | 帮助中心 | 友情链接 |

    Copyright © 2024 hfw.cc Inc. All Rights Reserved. 合肥网 版权所有
    ICP备06013414号-3 公安备 42010502001045