首页 > 数据库 >INFO20003 SQL Requesting Communications

INFO20003 SQL Requesting Communications

时间:2024-09-16 10:52:11浏览次数:1  
标签:will return Requesting 2024 Communications INFO20003 query your

INFO20003 S2 2024 – ASSIGNMENT 2 v1.4 1

INFO20003 Semester 2, 2024
Assignment 2: SQL
Due: Week 8 - Sunday 15th September 2024, 5:59pm Melbourne Time.
Submission - Via LMS https://canvas.lms.unimelb.edu.au/
Case: “Slarc” App
“Slarc”: Super Lovely App for Requesting Communications
Description
As fellow Database experts, DOTA2 fans, and enterprising communications fans, you and your classmates have
created a new open source version of Teams/Slack called Slarc (inspired by the DOTA2 character and Slack!).
For each user, Slarc records their details such as an ID, a username, an email address, a login mechanism (which is
defined strictly as one of the following: Google, Apple, Facebook, GitHub), and a reputation score (which is an
integer from 0-100 inclusive, 100 as highly trustworthy and 0 being highly untrustworthy). Users can also upload an
image for their avatar.
Users communicate with each other by posting in channels. Each channel has an ID, name, date of creation and
optional description. When a user posts in a channel, Slarc tracks the post’s author, content and date of creation.
Users can also post a reply to an existing post, or react to a post with an emoji, of which the reaction timestamp is
recorded. There is an option for users to send attachments in a post; The system records the file size and the
dataURL of the object. Slarc automatically scans each post for any harmful content, such as swearing and not safe
for work material, and automatically restricts such posts. Similarly, it scans any attached files for potential viruses
and flags the results.
When a user's reputation becomes greater than 80, they can be promoted to become a moderator. Other users
will be able to see the date that a moderator was promoted, and their self-description if they choose to write one.
Once one becomes a moderator, they can be appointed to moderate channels, usually endorsed by another
moderator of the associated channel. Their date of appointment is also stored.
INFO20003 S2 2024 – ASSIGNMENT 2 v1.4 2
Moderators have the responsibility to ensure that posts in the channel abide by community guidelines. If they
come across an inappropriate post or one that is flagged with restricted content, they will need to investigate and
report on this case. For代 写INFO20003 SQL Requesting Communications each case, the responsible moderator must record the case ID, give a brief explanation of
the allegation and decide on whether it requires a consequential disciplinary action. The date of allegation will be
automatically recorded. If a moderator decides that there needs to be a consequential action, then they can write
down the associated action and its date; they are able to hide any post in the channel.
The Data Model
The Data Model from MySQL Workbench is provided in Figure 1.
FIGURE 1. DATA MODEL FOR SLARC.
INFO20003 S2 2024 – ASSIGNMENT 2 v1.4 3
Assignment 2 Setup
Please pay special attention to the penalties listed [⚠].
A dataset is provided which you can use when developing your solutions. To set up the dataset, download the file
slarc.sql from the Assignment link on Canvas and run it in Workbench. This script creates the database tables and
populates them with data.
The sample dataset provided is a basic example of Slarc deployed for a DOTA2 e-sports community. You may find
that you may need to add some more sample data in Workbench to fully test out each and every query.
Note that this dataset is provided for you to experiment with: but it is NOT the same dataset as what your
queries will be tested against (the schema will stay the same, but the data itself may be different). This means
when designing your queries, you must consider edge cases even if they are not represented in this particular
data set.
The script is designed to run against your account on the Engineering IT server (info20003db.eng.unimelb.edu.au).
If you want to install the schema on your own MySQL Server installation, uncomment the lines at the beginning
of the script.
⚠ WARNING: Do NOT disable only_full_group_by mode when completing this assignment. This mode is
the default and is turned on in all default installs of MySQL workbench, and we’ve added a line to the top of
slarc.sql to turn it on every time you run the script in case you disable it! You can check whether it is turned on using
the command SELECT @@sql_mode; The command should return a string containing
ONLY_FULL_GROUP_BY or ANSI. When testing, our test server WILL have this mode turned on, and if your
query fails due to this, you will lose marks.
The SQL Tasks
Please pay special attention to the penalties listed [⚠].
In this section are listed 10 questions for you to answer. Write one (single) SQL statement per question. Each
statement must end with a semicolon (

标签:will,return,Requesting,2024,Communications,INFO20003,query,your
From: https://www.cnblogs.com/qq---99515681/p/18416057

相关文章

  • INFO20003 “Slarc”: Super Lovely App for Requesting
    INFO20003Semester2,2024Assignment2:SQLDue:Week8-Sunday15thSeptember2024,5:59pmMelbourneTime.Case:“Slarc”App“Slarc”:SuperLovelyAppforRequestingCommunicationsDescriptionAsfellowDatabaseexperts,DOTA2fans,andenterprisingco......
  • CUCM(Cisco Unified Communications Manager)思科统一通信增值应用开发
    公司承接CUCM(CiscoUnifiedCommunicationsManager)思科统一通信增值应用开发包含思科UC以及WIFI相关产品的应用开发:CiscoUnifiedCommunicationsManagerCiscoMeetingServerCiscoTelepresenceDMPJabberMerakiWLCCUCM相关标准功能模块,基于思科品牌ipphoneActive......
  • Nature Communications 单细胞算法 scDist,教你怎么找到重要的细胞亚群与基因!
    生信碱移scDist: 寻找关键细胞亚群与基因的方法单细胞RNA测序(scRNA-seq)使我们能够研究受药物治疗、感染以及癌症等疾病中关键的细胞亚群。为了找到可能影响疾病的细胞亚群乃至基因,我们常常去比较两个或多个组之间显著差异的细胞类型。这里"显著差异"的定义可以是不同方面的,......
  • 2024年6G通信与太赫兹技术世界研讨会(6GCTT 2024) 2024 World Symposium on 6G Communic
    文章目录一、会议详情二、重要信息三、大会介绍四、出席嘉宾五、征稿主题六、咨询一、会议详情二、重要信息大会官网:https://ais.cn/u/vEbMBz提交检索:EICompendex、IEEEXplore、Scopus2024年8月23-25日,西安三、大会介绍随着互联网和物联网科技的高速发展,6G通......
  • Nature Communications|一种超快响应的电子皮肤(柔性压力传感/界面调控/电子皮肤/柔性
    南方科技大学郭传飞(ChuanFeiGuo)和中国科学技术大学王柳(LiuWang)课题组,在《NatureCommunications》上发布了一篇题为“Ultrafastpiezocapacitivesoftpressuresensorswithover10kHzbandwidthviabondedmicrostructuredinterfaces”的论文。论文内容如下:一、摘......
  • Cisco Unified Communications Manager (CallManager) 15.0 SU1 - 统一通信与协作
    CiscoUnifiedCommunicationsManager(CallManager)15.0SU1-统一通信与协作思科统一通信管理器(CallManager)请访问原文链接:https://sysin.org/blog/cisco-ucm-15/,查看最新版。原创作品,转载请保留出处。作者主页:sysin.org思科统一通信管理器企业统一通信和协作借助......
  • Communications link failureThe last packet successfully received from the server
    出现这种错误的大致情况如下:网络问题:可能存在网络中断、网络延迟或者网络拥塞等问题,导致应用程序无法与数据库建立稳定的连接。可以通过检查网络连接是否稳定来解决这个问题。数据库服务器问题:数据库服务器可能出现了问题,例如数据库服务未启动、数据库服务器资源不足、数......
  • Nature communications︱东北师范大学王岭团队在放牧草地生态系统功能维持机制的研究中
    草地作为陆地上最大的被管理的生态系统,其强烈地受到人类活动的频繁干扰和利用,家畜放牧是该系统最主要的干扰和利用方式,对草地生物多样性及生态系统功能起重要调控作用。过度放牧等不科学的放牧方式是造成草地退化、生物多样性降低的主要原因,特别是在我国北方,90%的草地因过度放......
  • INFO20003 电动汽车(EV)充电站
    INFO20003课业1第1页,共4页NFO200032024年第1学期课业1:ER建模到期时间:2024年3月28日星期四下午5:59提交:通过LMShttps://canvas.lms.unimelb.edu.au/电动汽车充电电动汽车(EV)充电站提供具有不同充电率和成本的充电设施电动汽车。充电站还可以与咖啡馆和餐厅。您的团队将帮助创建......
  • mysql发生连接异常Cause: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException:
    【问题背景】应用部署再ecs或者云上报错 Cause:com.mysql.jdbc.exceptions.jdbc4.CommunicationsException:Communicationslinkfailure用的是 数据库连接池(Druid) 背景信息 使用Druid作为数据库连接池时,在数据库宕机后再次恢复,应用无法获取数据库连接或获取的连接为失......