1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
hram777 [196]
4 years ago
5

We are asked to design a database management system for all information related to a real-estate company which has several branc

hes throughout the United States. The first step is to organize the information given about company. We have collected the following data:
Each branch has a unique branch number. It allocated staff, which includes one Manager. Also, each branch has a list of available houses to rent/sell.

The manager is responsible for the day-to-day running of a given branch.

Each staff has a unique staff number, name, position, salary, and branch number.

Each house has a unique house number, address, rent cost, sell value, status, branch number.

The statue of a house indicates whether it is available for rent/sell. The branch number indicate which branch of the real-estate company can rent/sell the house.

A Customer has SSN, name, contract number, house number.

Each Contract has a unique contract number, type, date, branch number, and customer number.

If the type of a contract is rent, it will have a deposit, and rent cost, and lengths of contract. The length of a rent contract can be six months, one year or 2 years but costumers can extend their contract by signing a new contract.

Each contract extension has a unique extension number, the original contract number, and discount value.

If the contract type is "sell", it will have sell value.

Customers can issue a contract termination request. Each termination request has a unique request number, customer number, and termination cost.

Draw an ER diagram for this database. Make sure to indicate primary keys, cardinality constraints, weak entities (if any), and participation constraints. List any assumptions you make in the process. Hint: You may need an ISA hierarchy somewhere.

Translate the ER diagram in #1 into relational database tables (i.e. give the SQL DDL statements). Make sure that the translation captures key constraints (primary keys and foreign keys if applicable) and participation constraints in the ER diagram. Identify constraints, if any, that you are not able to capture.

Computers and Technology
1 answer:
sukhopar [10]4 years ago
4 0

Answer:

Below is the extended ER diagram of the given scenario. It has 6 main entities connected via 5 relationship .IS A hierarchy is used to Contract and its sub classes Rent and Sell. Each entity has certain set of attributes and primary key is shown using underlined attribute.

Cardinality is shown using crow's feet notation.

You might be interested in
Kelly completes a bachelor's degree in animation from a top school in New York. She would now like to look for a job that will p
nikdorinn [45]
I believe she would have a best chance in a media production house, animation is a form of media and would be best put to use there.
8 0
3 years ago
Read 2 more answers
Can I ask a question about information technology (IT)...
lianna [129]

Answer:

Hey don't overthink about it .It all depends on your interest like what you would prefer and how much you can afford. I guess it's your life so you should take a decision by yourself.

I hope it helps..

3 0
3 years ago
Zohan uses the following analogy to describe a concept of object-oriented programming. A button can have many uses. When it is p
Vika [28.1K]

Answer:

Polymorphism

Explanation:

You can have a basic button class that gets inherited by other classes.

class Button {

function pushButton(){}

}

class ElevatorButton extends Button{};

class BigRedButton extends Button{};

With these new classes, they inherit from the basic button class. They can decide what happens when the method pushButton() is called.

You don't need to worry about what pushButton() actually does, you can just call it if the object is of the type "Button" and you can expect it to work.

4 0
2 years ago
On CLIENT3, open Windows Explorer as Administrator. Open properties for C:\Program Files and select the Security tab to view the
defon

Answer:

1). Read & execute

2). List folder contents

3). Read

Explanation:

See image

5 0
3 years ago
I have a DBA for keyboarding coming up and I am nervous. Any tips or pointers?
Gennadij [26K]
Don't be nervous... haha
3 0
3 years ago
Read 2 more answers
Other questions:
  • A cover letter is written directly to (a) _____.
    13·1 answer
  • Which folders are commonly used in the navigation pane of outlook
    5·1 answer
  • What is output by the following C# code segment?int temp;temp = 180;while ( temp != 80 ) {if ( temp > 90 ) {Console.Write( "T
    7·1 answer
  • The Classic Triangle Testing Problem, (Myer's Triangle): A program reads three integer values. The three values are interpreted
    10·1 answer
  • In open addressing with linear probing we must consider how to encode
    13·1 answer
  • Discuss the challenges of not using the five elements of multimedia in a positive manner<br>​
    7·1 answer
  • Which name is a default library name in Windows 7?
    14·1 answer
  • If you created a variable called name, what data type would that value be?
    7·2 answers
  • Tech A states that modern vehicles use asbestos as the brake material. Tech B states that asbestos is no longer used in brakes.
    8·1 answer
  • Who plays Counter blox or counter strike
    7·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!