Question

In: Computer Science

The pandemic of coronavirus disease 2019 (COVID-19) in Malaysia was first detected on 25 January. Reported...

The pandemic of coronavirus disease 2019 (COVID-19) in Malaysia was first detected on 25 January. Reported cases remained relatively low and largely confined to imported cases, until localised clusters began to emerge in March. To stem the number of new cases, the government imposed a Movement Control Order (MCO) starting March 18, 2020.

Assume that you have been appointed as a database designer for a Non-Governmental Organization (NGO) in your residence community. The NGO's main task is to gather information on the current situation of the pandemic in the local community during the MCO period. This includes information on the percentage of cases detected, the quarantine center provided as well as the services available to assist affected community members. The NGO is planning to implement a database system to manage all information to ensure community members are aware of current situations.

Therefore, as a database designer, you are required to propose a database design prior to its implementation by presenting the following:

  1. Identify ALL possible entities that could exist in the business process (give suitable entity name), complete all the entities with suitable attributes together with assigned primary key. (Use your own assumption to determine the attributes.)
  2. Identify ALL relationships, cardinality, and/or participation for each identified entity.
  3. Draw an Entity Relationship Diagram (ERD) by clearly stating the relationships between entities, cardinalities and attributes with correct notation.
  4. Based on ERD created in (c), convert it into relational schema. State the primary key and foreign key for each relational schema (relations).
  5. Produce sample records for each relation (table) that observes the relational integrity rules. FIVE records per relations are enough.
  6. Then, produce FIVE SQL queries that can be used to manipulate the data from each relation and show ALL the results from each of the queries. (The queries should include a simple query, query for sorting results, aggregate function, sub-queries and query to alter the existing tables.)

Note:

You are free to use any Databases Management System (DBMS) tool (using DDL SQL or GUI).

You should submit a printout (screen capture) of:

  1. Each table which shows the table name, fields and sample records.
  2. Each query in “SQL View”, so that the grader can see your SQL code.
  3. The result of each query (in table format).

Solutions

Expert Solution

a) entities with attributes

PATIENT_DATA(p_name,p_address,p_id,p_mobileNO,p_age)

Q_CENTRE(Q_name,address,capacity,staff_capacity)

No_of_cases_detected(date,address,p_id,Q_name)

No_of_cases_recovered(date,address,p_id,Q_name)

Deaths(p_id,address,Q_name)

services(equipments,specialists,Q_name)

source_of_infection(address,p_id)

b,c):d).


Related Solutions

The presence of Corona Virus Disease 2019 (COVID-19) in Malaysia, is part of the COVID-19 pandemic,...
The presence of Corona Virus Disease 2019 (COVID-19) in Malaysia, is part of the COVID-19 pandemic, was first reported in January 2020. Due to that, Malaysia Movement Control (MCO) is a cordon sanitaire implemented as a preventive measure by the federal government of Malaysia in response to the COVID-19 pandemic in the country on 18 March 2020. The order was commonly referred to in local and international media as a "lockdown". As a University student in network especially in wireless...
The Coronavirus disease 2019 (COVID-19) is an infectious disease caused by the severe acute respiratory syndrome...
The Coronavirus disease 2019 (COVID-19) is an infectious disease caused by the severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2). This type of RNA virus causes diseases by replicating only inside the living cells of an organism like mammals and birds. When not inside an infected cell, viruses behave mostly as inert things (e.g., do not self-replicate, do need energy to exist and might crystallize). What traits, common to living things, might define SARS-CoV-2 as a living organism? Define at least...
“ COVID-19 (Coronavirus disease 2019) Impact on Economy ”    Assume the economy of country A...
“ COVID-19 (Coronavirus disease 2019) Impact on Economy ”    Assume the economy of country A is in a long -run equilibrium with full employment. The nominal wage of workers are fixed in the short run. a)Draw a graph which shows the short-run aggregate supply, long-run aggregate supply, and aggregate demand. Describe the equilibrium point and show each of the following: i)Equilibrium output, labelled Y1 ii)Equilibrium price level, labelled P1. b)Owing to the outbreak of COVID19 (Coronavirus disease 2019), the...
Essay Topic: Impact of Coronavirus Please discuss the recent pandemic COVID-19, aka the coronavirus. First give...
Essay Topic: Impact of Coronavirus Please discuss the recent pandemic COVID-19, aka the coronavirus. First give intel on the whole pandemic, explaining the root of the virus and how it got its way into the US, based on the updated news. Then talk about the various factors of the pandemic including the effects of it nationwide, especially the United States. Then organize the concerns into categories of food, economy, politics, race, and inequality. Explain each topic under the current pandemic....
Essay Topic: Impact of Coronavirus Please discuss the recent pandemic COVID-19, aka the coronavirus. First give...
Essay Topic: Impact of Coronavirus Please discuss the recent pandemic COVID-19, aka the coronavirus. First give intel on the whole pandemic, explaining the root of the virus and how it got its way into the US, based on the updated news. Then talk about the various factors of the pandemic including the effects of it nationwide, especially the United States. Then organize the concerns into categories of food, economy, politics, race, and inequality. Explain each topic under the current pandemic....
Java problem Given the uncertainty surrounding the outbreak of the Coronavirus disease (COVID-19) pandemic, our federal...
Java problem Given the uncertainty surrounding the outbreak of the Coronavirus disease (COVID-19) pandemic, our federal government has to work tirelessly to ensure the distribution of needed resources such as medical essentials, water, food supply among the states, townships, and counties in the time of crisis. You are a software engineer from the Right Resource, a company that delivers logistic solutions to local and state entities (schools, institutions, government offices, etc). You are working on a software solution to check...
Coronavirus Disease 2019 (COVID-19) Discusion Initial post should be a minimum of 500 words
Coronavirus Disease 2019 (COVID-19) Discusion Initial post should be a minimum of 500 words
The World Health Organization (WHO) had announced the outbreak of coronavirus disease 2019 (COVID-19) as a...
The World Health Organization (WHO) had announced the outbreak of coronavirus disease 2019 (COVID-19) as a pandemic on 11 March 2020. With the entire world reeling under the prodigious attack of the pandemic in colossal proportions, various strategies were designed to nullify the transmission, but with little success. Preventive measures, namely social distancing, sealing off large towns, closing borders and confining people to their homes were strategically implemented. Inspire of these, the transmission rates grew unabated. Adding fuel to fire,...
Q1 The highly contagious novel coronavirus SARS-CoV-2 also called coronavirus disease of 2019 (COVID-19) is a...
Q1 The highly contagious novel coronavirus SARS-CoV-2 also called coronavirus disease of 2019 (COVID-19) is a global health emergency of unprecedented proportions. The ongoing loss of life globally as well as the virus’ ability to spread rapidly through communities, has generated a need for significant changes to the foundations of the well and least developed countries. In the last few months, political leaders globally have been making new announcements to respond to COVID-19 impacts, on both people and the economy....
By now, you know all bout CORONAVIRUS (COVID-19) as a pandemic threat to the world. COVID-19...
By now, you know all bout CORONAVIRUS (COVID-19) as a pandemic threat to the world. COVID-19 has and will have stressful effects on all of us--individually, family,socially, culturally, nationally, economically, technologically, and what not. Given the stressful and dangerous threat, what do you think COVID-19 will have on ECONOMIC manager's decisions--segmentation, product decisions, promotional activities, pricing, supply chain (distribution), and customer relationships. You can use any company that you are familiar with, including the ones you have worked for in...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT