Question

In: Computer Science

consider a scenario where a company has to automate its systems and wants to store the...

consider a scenario where a company has to automate its systems and wants to store the details of its employees with their empno, name, emailid, salary, DoB ,age ,gender,and address to be stored .Emailid is the primary key. every employee works on multiple projects (pno ,pname, ) and one project may involve many employees who belong to various departments ( dname,loc ) . each employee many have dependents ( depno, depname,relationship) . the depno ia unique among the dependants of samw employee but duplicate across the employee . draw the ER diagram with appropriate notations, relationships,with candidates and participation constraints. (note : make no new assumptions regarding the design and strictly adhere to the given details only )

Solutions

Expert Solution

CREATE TABLE DEPARTMENT (
Dname varchar(25) not null,
Dnumber int not null,
Mgr_ssn char(9) not null,
Mgr_start_date date,
primary key (dnumber),
UNIQUE (dname)
);
CREATE TABLE EMPLOYEE (
Fname varchar(15) not null,
Minit varchar(1),
Lname varchar(15) not null,
Ssn char(9),
Bdate date,
Address varchar(50),
Sex char,
Salary decimal(10,2),
Super_ssn char(9),
Dno int,
primary key (ssn),
foreign key (dno) references DEPARTMENT(dnumber)
);
CREATE TABLE DEPENDENT (
Essn char(9),
Dependent_name varchar(15),
Sex char,
Bdate date,
Relationship varchar(8),
primary key (essn,dependent_name),
foreign key (essn) references EMPLOYEE(ssn)
);
CREATE TABLE DEPT_LOCATIONS (
Dnumber int,
Dlocation varchar(15),
primary key (dnumber,dlocation),
foreign key (dnumber) references DEPARTMENT(dnumber)
);
CREATE TABLE PROJECT (
Pname varchar(25) not null,
Pnumber int,
Plocation varchar(15),
Dnum int not null,
primary key (pnumber),
unique (pname),
foreign key (dnum) references DEPARTMENT(dnumber)
);
CREATE TABLE WORKS_ON (
Essn char(9),
Pno int,
Hours decimal(4,1),
primary key (essn,pno),
foreign key (essn) references EMPLOYEE(ssn),
foreign key (pno) references PROJECT(pnumber)
);

Related Solutions

Consider a company that has an intrusion detection system in half of its systems (50%), has...
Consider a company that has an intrusion detection system in half of its systems (50%), has bring your own device (BYOD) for 30% of its employees, and uses three systems (computers 40%, smartphones 25%, and cloud 35%). The probability of a breach is 11%. The probability of a breach given there is an intrusion detection is 15% The probability of a breach given there is no intrusion detection 25% The probability of a breach given employees’ use their own devices...
1. Justine Ltd. wants to automate one of its production processes. The new equipment will cost...
1. Justine Ltd. wants to automate one of its production processes. The new equipment will cost $180,000. In addition, Justin will incur installation and testing costs of $5,000 and $8,500 respectively. The expected life of the equipment is 8 years and the salvage value of the equipment is estimated at $18,000. The annual cash savings are estimated at $32,000. The company's required rate of return is 14%. Ignore income taxes. What is the net present value of this investment? A)...
Store Closing? For this discussion, consider the following scenario: The privately owned Baker Company was founded...
Store Closing? For this discussion, consider the following scenario: The privately owned Baker Company was founded in 1960. The company manufactures kitchen cabinets and has been very successful, expanding from one facility to twelve facilities in the same and other states. All facilities but the original are located near interstate highways. The original facility, which is no longer the headquarters, is in a downtown area of a major city (which grew up around it) with relatively high real-estate taxes. It...
Consider the following scenario: The senior systems analyst has tasked you to conduct a briefing on...
Consider the following scenario: The senior systems analyst has tasked you to conduct a briefing on the different types of firewalls. In this briefing, you must show a diagram of where on the LAN the firewalls are placed on the network. Utilize the following guidelines to create your PowerPoint presentation: One slide will consist of a LAN diagram of the location of a firewall. The other three slides should describe the types of firewalls. Utilize the Notes section of the...
Consider a hypothetical scenario where BC expanded its capacity for MRIs which are fully insured by...
Consider a hypothetical scenario where BC expanded its capacity for MRIs which are fully insured by the public insurance system. However, a study reported that expanding MRI capacity in BC was associated with an increased income-gradient in the use of MRIs. Using Grossman's model, explain why the expansion of MRI capacity would increase the income-gradient?
Premiere Company is considering the purchase of a machine to further automate its production line. The...
Premiere Company is considering the purchase of a machine to further automate its production line. The machine will cost P600,000 and has a useful life of 5 years. The straight line method of depreciation is used. Premiere expects annual income before depreciation and taxes of P220,000. Premiere’s income tax rate is 25% and its cost of capital is 16%. Required:         Determine whether the new machine investment should be accepted using the following: (30 pts) Accounting Rate of Return Payback...
Family Supermarkets has decided to increase the size of its Lansing store. It wants information about...
Family Supermarkets has decided to increase the size of its Lansing store. It wants information about the profitability of its individual product lines: meats, fresh produce, and packaged food. The following data is for the year 2017 for each product line: Meats Fresh Produce Packaged Foods Revenue $790,000 $840,000 $460,000 Cost of goods sold $590,000 $600,000 $340,000 purchase orders 276 315 126 hours of stocking shelves 204 2,021 1,067 items sold 311,000 443,000 131,000 The Company also provides the following...
Consider this scenario: I am the owner of a burger store and I want to expand...
Consider this scenario: I am the owner of a burger store and I want to expand my business. I need to prepare a human resource management plan to show an overview of my human resource management system. This plan is the bigger picture that shows the synergy between all my human resource management functions. I need to do to an overview on how important my employees (chef, waiters, restaurant manager) are in making or breaking my business expansion. Please provide...
The company makes tasty seafood dumplings and is considering two alternatives to automate its production process....
The company makes tasty seafood dumplings and is considering two alternatives to automate its production process. The data is included below: A B Initial COst $42.500 $70,000 Annual costs O&M $6,000 $4,000 Annual savings $18,500 $20,000 Residual value $12,000 $25,000 Useful life 3 year 6 year Recommend the alternative that you consider the most attractive for this company. Do the analysis using the net present value and annual equivalent value techniques. Show the details of your analysis.
Consider a scenario where steel is covered with a metallic gold coating with no scratches on...
Consider a scenario where steel is covered with a metallic gold coating with no scratches on the surface and steel unexposed. Explain the corrosion process.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT