Draw an er diagram with primary key for a farm, Database Management System

Draw an ER diagram that represents the information described below. Show all entity sets, relationship sets, primary keys, and the mapping cardinality of the relationship sets.

"Farmers own one or more sections of land, on which one or many types of grain (e.g., canola, rye, wheat, etc.) may be grown. The grain type can be uniquely identified by its grain ID. As each land section is owned by a single farmer, the farmer knows the amount of each type of grain (measured in tonnes) that is grown in each land section. Based on this information, the farmer can compute the total amount of grains grown in each land section. Each farmer has a name (consists of first name, middle initial, and last name) as well as a unique farmer ID, and may have several contact phone numbers.

When the grains are harvested, each farmer makes a contract to sell some of his grain to a specific grain pool (distribution centre). There are many pools, but each pool handles only one specific type of grain. The price per tonne is constant for each individual pool. There may be multiple pools handling the same type of grain. Normally, a farmer has a contract with a specific pool for a specific amount of a specific type of grain handled by that pool. However, a farmer may have contracts with many pools. Each pool then contracts with a business to sell a specific quantity of grain to that business at an agreed-upon price. This price may vary from contract to contract. A pool may have any number of contracts with any number of businesses, including multiple contracts with the same business. Each pool must maintain the total amount of grain that it has purchased from all of its farmers and the total amount of grain that it has contracted to sell."

Hint: For this question, you may assume the following:

(a) Each land section can be uniquely identified by its section ID. Given a section ID, one can easily find the dimension of the land section.

(b)  One or many types of grain may be grown on the same land section, and the same type of grain may be grown on different land sections.

(c)  Given a grain ID, one can identify the name of the grain type (e.g., canola, rye, wheat, etc.).

(d)  A grain pool (distribution centre) can be uniquely identified by its pool ID.

(e)  Several farmers may have contracts with the same pool.

(f)  A business can be uniquely identified by its business ID.

Posted Date: 2/28/2013 6:17:32 AM | Location : United States







Related Discussions:- Draw an er diagram with primary key for a farm, Assignment Help, Ask Question on Draw an er diagram with primary key for a farm, Get Answer, Expert's Help, Draw an er diagram with primary key for a farm Discussions

Write discussion on Draw an er diagram with primary key for a farm
Your posts are moderated
Related Questions
Event Occurrence of a process is called event. In other words, the object can receive many input instructions. The changes which occur due to these instructions are known as e

What is authorization graph? Passing of authorization from single user to another can be shown by an authorization graph.

Write short notes on relational model The relational model uses a collection of tables to show both data and the relationships between those data. The relational model is an ex

Chapter 1 - Profile for the Organization You have to select an organization of your choice and assume that you work for that organization. Now you must prepare a brief profile of t

1. Staff (staffID --> availabilityID) 2. Services (servicesID --> itemBasedID --> timedBasedID) 3. TimedBased (timedbasedID--> priceid) 4. Clients (clientId, serviceId-->

List the Armstrong's axioms for functional dependencies.  What do you understand by soundness and completeness of these axioms?      Ans: The Armstrong's axioms are: F1:

Explain the differences between structured data and unstructured data. Structured data are facts concerning objects and events. The most significant structured data are numeric

A constraint named less_than_20 was defined on the field date_of_birth of table student. Delete this constraint. ALTER TABLE student DROP CONSTRAINT less_than_20;

Home based assignment Consider an ORDER table with the following attributes: • Order Number (ONo),Customer Number (CNo),Customer Name (CNa),Item Number (INo),Unit Price (UP), Quant

Define the term Domain. For each n every attribute there is a set of permitted values known as the domain of that attribute.