Database Fdd
Upcoming SlideShare
Loading in...5
×
 

Database Fdd

on

  • 884 views

 

Statistics

Views

Total Views
884
Views on SlideShare
882
Embed Views
2

Actions

Likes
0
Downloads
3
Comments
0

1 Embed 2

https://my.chisholm.vic.edu.au 2

Accessibility

Categories

Upload Details

Uploaded via as Microsoft Word

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Database Fdd Database Fdd Document Transcript

  • Database Design Tutorial 1 1. Using the following databases write the database schema and Network diagrams. a. Shop database PartDetails partName colour Cost suppierId SuplierDetails suppierId address phone b. Flower database DeliverlyInfo DeliveryId category size FlowerInfo Id Name LatinName HighZoneI LowZoneId DeliveryI Light Soil d d ZoneInfo ZoneId LowestTemp highestTemp c. PurchaseProd Customer cNo title sName initials street city postc credLim balance Invoice invoNo cNo invDate amount Payment invoNo paytNo pmtDate amount Version 1.1 1 of 7
  • Database Design Tutorial 2 Tutorial 2: Functional Dependency Diagrams: Complete the following: 1. For each of the tables of data below, draw a functional dependency diagram. Table 1 Table 2 Table 3 2. For each of the following tables, draw a functional dependency diagram. Table 1 Table 2 a. Assume a tute group meets only once a week. b. How would the diagram be different if this were not the case? Version 1.1 2 of 7
  • Table 3 3. For the following business rules, pick out the data elements and draw functional dependency diagrams. a. Orders (identified by order_id) are made for parts (identified by part_no). Any quantity of parts can be ordered in an order. b. The grades received by students (identified by student_id) in units in different semesters. c. The price of cars (identified by registration number) in car yards owned by a dealer. d. The outstanding loans which are due by a borrower (identified by borrower_id) on a particular due date of books (identified by accession number). e. The date, time and amount of withdrawals and deposits on accounts (identified by account_no). f. The total distance travelled in kilometers by cars (identified by registration number) used by drivers (identified by employee#) on a day (identified by date). Assume a car can be driven by more than one driver in a day. g. A person (identified by employee#) can work on more than one project (identified by project_id). A person starts on a project on a single start date. More than one person can start on the same project on the same date but a person can start only once on the same project and cannot start on more than one project on the same date. h. Deliveries (identified by delivery number) include many parts (identified by part number). There is quantity delivered of each part, and each part has one weight (measured in kilograms). Parts come in many colours. The quantity on hand is maintained for each colour of each part. i. Subjects (identified by subject name) use a number of texts (identified by title). Each text can have a number of authors (identified by author name). Each subject can be taught a number of semesters and there is one teacher (identified by teacher name) for each subject each semester. 4. Consider a simple personnel application where an employee is uniquely identified by an employee number. Each employee has a name and a salary. Suppose different employees can have the same name or salary. Draw a functional dependency diagram for the application. Suppose further that each employee worked in a department and that all employees in the same department received the same salary. Modify your FDD accordingly. Eliminate redundant FDs. Version 1.1 3 of 7
  • 5. Shoes are sold in a variety of styles and sizes. A style is identified by a style number. Each style has a description, but the same description may apply to several styles. Weekly-Sales represents the number of shoes of a particular size and style sold in the previous week. Monthly- style-value is the total sales value in the previous month for each style. Draw an FDD for the data elements Style-Number, Description, Size, Weekly-Sales, Monthly-Style-Value. How would your diagram change if you incorporated Week and Month, so historical data of Weekly-Sales and Monthly-Style-Value could be maintained? 6. Refer to the forms below. Draw FDDs & network diagrams for forms: a. CUSTOMER ORDER b. THE SOFTWARE SOFTIES Version 1.1 4 of 7
  • Version 1.1 5 of 7
  • c. FASHION DISTRIBUTORS d. BILBO & BAGGINS Version 1.1 6 of 7
  • e. THE HOUSE OF MUSIC Version 1.1 7 of 7