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

Assignment Help:

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.


Related Discussions:- Draw an er diagram with primary key for a farm

Data warehouse, #queDefine a job scheduling strategy that will meet busines...

#queDefine a job scheduling strategy that will meet business requirement of reporting availability by 6am CST for the following cubes? Show the job scheduling dependencies in a pic

Developer competent in data cleansing-data scrubbing, Data Scrubbing 70,000...

Data Scrubbing 70,000 records Project Description: We need services of a developer competent in data cleansing/Data scrubbing. Scope: - 70,000 records in CSV format.

Explain current page table and shadow page table, Explain current page tabl...

Explain current page table and shadow page table. The key idea behind the shadow paging method is to maintain two page tables during the life of the transaction: the current pa

Example on relational database schema, Question: The following relation...

Question: The following relational database schema corresponds to a part of a database used by the Registry Department of a university. DEPARTMENT (d#, d-name, head-of-dept)

Define the third normal form, Define the Third Normal Form: The third ...

Define the Third Normal Form: The third normal form (3NF) is a normal form employed in database normalization. 3NF was initially defined by E.F. Codd in 1971. Codd's definitio

What is a disjoint less constraint, What is a disjoint less constraint? ...

What is a disjoint less constraint? Ans: It needs that an entity belongs to no much more than one level entity set.  Disjoint less constraint needs that an entity belongs to

What is primary key, What is Primary key? Primary Key - Primary key i...

What is Primary key? Primary Key - Primary key is one of the candidate keys which uniquely identifies each row in the relation.

What are the acid properties?, Question 1 What are the advantages of DBMS ...

Question 1 What are the advantages of DBMS approach in managing data? Question 2 What are the services provided by a database system Question 3 List and briefly describe

What is distributed system, What is Distributed system ? Distributed S...

What is Distributed system ? Distributed System - A distributed system consists of a number of processing parts in which are interconnected through a computer network and in

Graphical user interface tools, These are interactive interfaces, graphical...

These are interactive interfaces, graphical that hide the difficulty of the DBMS and query language behind an intuitive, simple to understand, and convenient interface. This permit

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd