Question

Following is a relation: MEETING (AttorneyID, AttorneyName, AttorneyPhone, ClientID, ClientName, ClientPhone, MeetingDate, MeetingTime, MeetingRoom, MeetingDuration) Assumption:...

Following is a relation:

MEETING (AttorneyID, AttorneyName, AttorneyPhone, ClientID, ClientName, ClientPhone, MeetingDate, MeetingTime, MeetingRoom, MeetingDuration)

Assumption:

  • One attorney may have many meetings.
  • One client may have many meetings.
  • One attorney can have at most one meeting in one day with the same client.

Questions and Answers:

  1. List all functional dependencies.
    • Among the list of (1), list partial dependencies (if none, type N/A).
      • Among the list of (1), list transitive dependencies (if none, type N/A).
        • Describe the new database design in 3NF.

        TABLE (PrimaryKey, ForeignKey (FK), Attribute1, Attribute2, Attribute3)

        Homework Answers

        Answer #1

        The attributes of a table are said to be dependent on each other when an attribute of a table uniquely identifies another attribute of the same table.

        Functional Dependencies here are

        AttorneyID-->AttorneyName, AttorneyPhone

        ClientID-->ClientName, ClientPhone

        In the meeting table, The primary key is the combination of AttorneyID , ClientID so the client name only depends on ClientID, not on AttorneyID. Hence its partial dependencies. Same case with Attorney name.

        A functional dependency is said to be transitive if it is indirectly formed by two functional dependencies. For e.g.

        AttorneyName -> ClientID is a transitive dependency if the following three functional dependencies hold true:

        • AttorneyName->AttorneyID
        • AttorneyID does not ->AttorneyName
        • AttorneyID->ClientID
        Know the answer?
        Your Answer:

        Post as a guest

        Your Name:

        What's your source?

        Earn Coins

        Coins can be redeemed for fabulous gifts.

        Not the answer you're looking for?
        Ask your own homework help question
        Similar Questions
        Suppose we have the following relation R with composite primary key {A,B} together with the set...
        Suppose we have the following relation R with composite primary key {A,B} together with the set FD of functional dependencies: R(A,B,C,D,E,F,G). FD = { C -> G, E -> B, A -> D, AB -> C, AB -> D, AB -> E. AB -> F, AB -> G } Draw the initial dependency diagram using the above information. The relation from part a) is in first normal form. Using the techniques described in the lecture, convert it to 2NF by...
        QUESTION 1 How do we know the following relation with the following dependencies is BCNF? course...
        QUESTION 1 How do we know the following relation with the following dependencies is BCNF? course ( course_id , title , dept_name , credits ) Functional Dependencies course_id → title , dept_name , credits building , room_number → capacity course_id , sec_id , semester , year → building , room_number , time_slot_id course_id, dept_name is a superkey course_id is a candidate key dept_name is a superkey course_id is a superkey QUESTION 2 In the following decomposition of R, what can...
        Analyze and explain the normalization steps for this problem: VETERINARY_OFFICE (PetID, PetName, PetType, PetBreed, OwnerID, OwnerLastName,...
        Analyze and explain the normalization steps for this problem: VETERINARY_OFFICE (PetID, PetName, PetType, PetBreed, OwnerID, OwnerLastName, OwnerFirstName, ServiceDescription, ServiceDate, ServiceCharge) The functional dependencies are given below: PetID -> PetName, PetType, PetBreed, OwnerID, OwnerLastName, OwnerFirstName OwnerID -> OwnerLastName, OwnerFirstName ServiceDescription -> ServiceCharge PetID, ServiceDate > ServiceDescription, ServiceCharge Assumption: A pet belongs to only one owner, while an owner may have more than one pet. A pet receives at most one treatment on any given date. Use the functional dependencies above to...
        Database 1. Let A4, A5, and A6 be attributes in a relation R. If both of...
        Database 1. Let A4, A5, and A6 be attributes in a relation R. If both of these functional dependencies hold: A4 → A5 and A5 → A6, then A4 → A6holds, because of the _________ rule. 2. The fact that the value of a foreign key attribute must exist in another set of one or more key attributes in another table, is called a(n) __________. 3. Any set of attributes that allows us to identify unique rows (tuples) in a...
        14.19. Suppose that we have the following requirements for a university database that is used to...
        14.19. Suppose that we have the following requirements for a university database that is used to keep track of students’ transcripts: a. The university keeps track of each student’s name (Sname), student number (Snum), Social Security number (Ssn), current address (Sc_addr) and phone (Sc_phone), permanent address (Sp_addr) and phone (Sp_phone), birth date (Bdate), sex (Sex), class (Class) (‘freshman’, ‘sophomore’, … , ‘graduate’), major department (Major_code), minor department (Minor_code) (if any), and degree program (Prog) (‘b.a.’, ‘b.s.’, … , ‘ph.d.’). Both...
        Oracle Database Analysis and Design This project is to develop and implement an Oracle database. See...
        Oracle Database Analysis and Design This project is to develop and implement an Oracle database. See the scenario of the Investment database. This simplified Investment Portfolio case study maintains information regarding clients that invest in stocks and mutual funds. Each client has a unique taxpayer identification number. A client may invest in stocks or mutual funds. A stock is uniquely identified by its ticker, which is symbol on the stock exchange. The name of issue for a stock is the...
        a gymnastic school with hundreds of students. It needs a database to track all the different...
        a gymnastic school with hundreds of students. It needs a database to track all the different classes that are being offered, who is assigned to teach each class, and which students attend each class. Also, it is important to track the progress of each student as they advance. Design a database for the following requirements: Students are given a student number when they join the school. This is stored along with their name, date of birth, and the date they...
        Scenario: I was on my way to a meeting with a new client, one of my...
        Scenario: I was on my way to a meeting with a new client, one of my first. When I arrived, I was kept waiting for 5 minutes while a series of staff entered and exited the client’s office. I was then ushered into an office that had various citations on the walls for quality control and many reports were stacked on the client’ desk. She had a very serious demeanor and when I looked around the office for clues as...
        Requirements: Based on the following information, draw an E-R diagram and a set of relations in...
        Requirements: Based on the following information, draw an E-R diagram and a set of relations in 3rd normal form. Please indicate any assumptions that you have made. Wally Los Gatos, owner of Wally’s Wonderful World of Wallcoverings, has hired you as a consultant to design a database management system for his chain of three stores that sell wallpaper and accessories. He would like to track sales, customers, and employees. After an initial meeting with Wally, you have developed a list...
        1. Suppose we have the following relation defined on Z. We say that a ∼ b...
        1. Suppose we have the following relation defined on Z. We say that a ∼ b iff 2 divides a + b. (a) Prove that the relation ∼ defines an equivalence relation on Z. (b) Describe the equivalence classes under ∼ . 2. Suppose we have the following relation defined on Z. We say that a ' b iff 3 divides a + b. It is simple to show that that the relation ' is symmetric, so we will leave...