Preview

Student

Satisfactory Essays
Open Document
Open Document
354 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Student
DATABASE FUNCTIONAL DEPENDENCY
A functional dependency occurs when one attribute in a relation uniquely determines another attribute. This can be written A -> B which would be the same as stating "B is functionally dependent upon A."
EXAMPLE
In table listing employee characteristics including Social Security Number (SSN) and name, it can be said that name is functionally dependent upon SSN (or SSN -> name) because an employee's name can be uniquely determined from their SSN. However, the reverse statement (name -> SSN) is not true because more than one employee can have the same name but different SSNs.
QUESTION 2

ENTITY RELATIONAL MODEL(ERM)
It is an abstract way to describe a database. It usually starts with a relational database, which stores data in tables. Some of the data in these tables point to data in other tables. For instance your entry in the database could point to several entries for each of the phone numbers that are yours. The ER model would say that you are an entity, and each phone number is an entity, and the relationship between you and the phone numbers is 'has a phone number'. Diagrams created to design these entities and relationships are called entity–relationship diagrams or ER diagrams.
CONCPETUAL SCHEMA
Conceptual Schema is sometimes called logical schema. It describes the stored data in terms of the data model of the DBMS. In a relational DBMS, the conceptual schema describes all relations that are stored in the database

Alternate key - An alternate key is any candidate key which is not selected to be the primary key Candidate key - A candidate key is a field or combination of fields that can act as a primary key field for that table to uniquely identify each record in that table.
Primary key - a primary key is a value that can be used to identify a unique row in a table
Foreign key - a foreign key (FK) is a field or group of fields in a database record that points to a key field or group of fields forming a

You May Also Find These Documents Helpful

  • Satisfactory Essays

    PT2520 Unit7Labs Tramil

    • 330 Words
    • 1 Page

    3. What is a foreign key? This primary key becomes a foreign key when it is repeated in another table to create a link between the tables.…

    • 330 Words
    • 1 Page
    Satisfactory Essays
  • Satisfactory Essays

    It203 Homework 5

    • 319 Words
    • 2 Pages

    In the table design view, right click the column name of the entity you want to create a relationship with and then select "Relationships" which opens the Properties window with the Relationships tab selected. Click on "New" and then verify the "Primary key table" and "Foreign key table". Select the primary key from the grid below the "Primary key table" name (left side of grid) and then select the column name you right-clicked on earlier from the grid below the " Foreign key table" name (right side of grid). Selecting each one in turn sets the two into the desired relationship.…

    • 319 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    4. (TCO 2) A field or set of fields used to uniquely identify a record in a table is (Points : 4)…

    • 368 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    7) In a one-to-many relationship, each row on in the primary key table can be related to any number of rows in the foreign key or child table.…

    • 613 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Pt2520 Final Answers 1/3

    • 329 Words
    • 2 Pages

    what best describes the function of a foreign key. the primary key repeated in another table to show relation…

    • 329 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Lab 204 Quiz

    • 2478 Words
    • 10 Pages

    Columns that belong to a different table than the ones in which they reside are called _____…

    • 2478 Words
    • 10 Pages
    Satisfactory Essays
  • Powerful Essays

    IST223 Crib sheet

    • 3425 Words
    • 7 Pages

    rectangles, and relationships are shown by lines between the rectangles. Attributes are generally listed within the rectangle. The many side of many relationships is represented by a crows footentity-relationship (E-R) modelA set of constructs and conventions used to create data models. The things in the users world are represented by entities, and the associations among those things are represented by relationships. The results are usually documented in an entity-relationship (E-R) diagramID-dependent entityan entity whose identifier includes the identifier of another entityidentifierwhich are attributes that name, or identify, entity instancesidentifying relationshipIn such relationships, the parent is always required, but the child (the ID-dependent entity) may or may not be required, depending on application requirements. Identifying relationships are shown with solid lines in E-R diagrams.is-aRelationships among supertype/subtype entitiesmandatoryat least one entity instance must participate in the relationshipmaximum cardinalityThe maximum cardinality is the maximum number of entity instances that can participate in a relationship instance.minimum cardinalityThe minimum cardinality is the minimum number of entity instances that must participate in a relationship instance.nonidentifying relationshiprelationship drawn with a dashed line (refer to Figure 5-7) is used between strong entities and is called a nonidentifying relationship because there are no ID-dependent entities in the relationship.null valueare a problem because they are ambiguous. They can mean that a value is inappropriate, unknown, or known, but not yet been entered into the databaseparentAn entity or row on the one side of a one-to-many relationshiprecursive relationshipoccurs when an entity type has a relationship to itself.relationship classAssociations among entity classesrelationship instanceassociations among entity instances.strong entityan entity that represents something that can exist…

    • 3425 Words
    • 7 Pages
    Powerful Essays
  • Satisfactory Essays

    cis3730_Exam1_Studyguide

    • 512 Words
    • 2 Pages

    Be able to give examples of tables, specify their primary keys, and explain how they are related through foreign keys.…

    • 512 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Defining a(n) primary key in a second table creates a relationship between that table and the table where the primary key was first defined. _________________________…

    • 585 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Database Concepts Pt2520

    • 326 Words
    • 2 Pages

    18. TRUE A candidate key is any attribute or combination of attributes that might make a primary key.…

    • 326 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    9. How do the following terms relate to one another: record, table, field, primary key? Rows are called records, and columns are sometimes called fields. A primary key assigns that field’s special order to a table.…

    • 421 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Discrete Mathematics

    • 954 Words
    • 4 Pages

    The primary key is the trial attempts, the reason for this is because only one attempt can be linked to that trial attempt, therefore making it unique. The value of n is four.…

    • 954 Words
    • 4 Pages
    Good Essays
  • Good Essays

    True False

    • 378 Words
    • 2 Pages

    18. A candidate key is any attribute or combination of attributes that might make a primary key.…

    • 378 Words
    • 2 Pages
    Good Essays
  • Good Essays

    Questions Unit 2 Pt2520

    • 389 Words
    • 2 Pages

    * A Candidate Key can be any column or a combination of columns that can qualify as unique key in database. There can be multiple Candidate Keys in one table. Each Candidate Key can qualify as Primary Key.…

    • 389 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    MS Access - Part 1

    • 468 Words
    • 2 Pages

    1. Raw data that has been organized so as to become useful is also known as…

    • 468 Words
    • 2 Pages
    Satisfactory Essays