0% found this document useful (0 votes)
103 views

Eerd Class Activity 1

An online auction database system stores information about members (buyers and sellers), items for sale, bids placed, and feedback ratings. Members are identified by ID and described by contact details. Buyers and sellers have additional address/payment information. Items are described by title, description, price details, and categories. The system records bids placed and determines winners, allowing transactions between buyers and sellers.

Uploaded by

Adithya Vardhan
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
103 views

Eerd Class Activity 1

An online auction database system stores information about members (buyers and sellers), items for sale, bids placed, and feedback ratings. Members are identified by ID and described by contact details. Buyers and sellers have additional address/payment information. Items are described by title, description, price details, and categories. The system records bids placed and determines winners, allowing transactions between buyers and sellers.

Uploaded by

Adithya Vardhan
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 3

EERD 1.

1. Consider an online auction database system in which members


(buyers and sellers) participate in the sale of items. The data
requirements for this system are summarized as follows:
2. The online site has members who are identified by a unique
member id and are described by an email address, their name, a
password, their home address, and a phone number.
3. A member may be a buyer or a seller. A buyer has a shipping
address recorded in the database. A seller has a bank account
number and routing number recorded in the database.
4. Items are placed by a seller for sale and are identified by a unique
item number assigned by the system. Items are also described by an
item title, an item description, a starting bid price, bidding
increment, the start date of the auction, and the end date of the
auction.
5. Items are also categorized based on a fixed classification hierarchy
(for example a modem may be classified as
/COMPUTER/HARDWARE/MODEM).
ERD 1 Cont…
1.Buyers make bids for items they are interested in. A
bidding price and time of bid placement is recorded.
The person at the end of the auction with the highest
bid price is declared the winner and a transaction
between the buyer and the seller may proceed soon
after.
2.Buyers and sellers may place feedback ratings on the
purchase or sale of an item. The feedback contains a
rating between 1 and 10 and a comment. Note that
the ratings are placed on a completed transaction by
the buyer or seller of the item in the transaction.
ERD 2 DIY
1.Consider a database system for a baseball organization such as the major leagues. The data
requirements are summarized as follows:
2.The personnel involved in the league include players, coaches, managers, and umpires. Each is
identified by a unique personnel id. They are also described by their first and last names along
with the date and place of birth.
3.Players are further described by other attributes such as their batting orientation (left, right, or
switch) and have a lifetime batting average (BA).
4. Within the players group is a subset of players called pitchers. Pitchers have a life time ERA
(earned run average) associated with them.
5.Teams are uniquely identified by their names. Teams are also described by the city in which they
are located and the division and league in which they play (such as Central division of the
American league).
6.Teams have one manager, a number of coaches, and a number of players.
7.Games are played between two teams with one designated as the home team and the other the
visiting team on a particular date. The score (runs, hits, and errors) are recorded for each team.
The team with more number of runs is declared the winner of the game.
8. With each finished game, a winning pitcher and a losing pitcher are recorded. In case there is a
save awarded, the save pitcher is also recorded.
9.With each finished game, the number of hits (singles, doubles, triples, and home runs) obtained
by each player is also recorded. Design an Entity-Relationship diagram for the baseball database

You might also like