Preview

Master in It

Powerful Essays
Open Document
Open Document
1060 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Master in It
Short Answered Questions:

1. What is the purpose of having foreign key(s) in a relational database table?

i. Represent a relationship between tables ii. Foreign key in one table has the same value, referencing another table’s primary key iii. Referential integrity

2. What is the purpose of having a primary key in the relational database table?

i. Primary key is used as a unique identifier to represent the data in that row. ii. It is also used to provide a link to related tables (by being used as a foreign key). iii. The primary key MUST determine all non-key attributes.

3. How are relationships between tables expressed in a relational database?

i. Use of embedded foreign keys ii. Use of a separate relation table

4. When do you have to use an “intersection entity” and what is it?

“Intersection entity” is an entity used in order to resolve M to M relationships. M-M relationships can be converted to a pair of one to many relationships by creating an intersection entity that contains one occurrence for each related pair. In general it means that a primary key from each entity becomes a part of the composite key for the intersection entity.

5. Briefly explain what would be main advantages of your newly created database system over an existing spreadsheet?

i. Avoids update, insert and delete anomalies ii. Avoids data redundancy iii. Better design structure, security, data independence

6. Database Management Systems contains two main parts in a database: data and meta-data. What is meta-data?

Data only becomes useful when placed in some context. The primary mechanism for providing context for data is meta-data. Mata-data is data about data. It describes the properties or characteristics of other data. Some of these properties include data definitions, data structures and rules or constraints.

7. What is a Database?

A

You May Also Find These Documents Helpful

  • Satisfactory Essays

    PT2520 Unit7Labs Tramil

    • 330 Words
    • 1 Page

    2. What is a primary key? Each table usually has one column designated as a primary key . This key uniquely identifies each row in the table.…

    • 330 Words
    • 1 Page
    Satisfactory Essays
  • Satisfactory Essays

    It203 Homework 5

    • 319 Words
    • 2 Pages

    When you have your Foreign Keys set up correctly, and have Cascade Update & Cascade Deletes set as needed, that's just about all you really need to do. It is used to make sure that data doesn't get orphaned.…

    • 319 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

    You follow certain step’s to access the supplementary readings for a course when u sing your organizations library management system. These steps that you follow are examples of the _________ components of an information system.…

    • 2478 Words
    • 10 Pages
    Satisfactory 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
  • Good Essays

    List the relational operators and logical operators that can be used to form a validation rule.…

    • 636 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    • Note. A key is a unique identifier that distinguishes rows within a database table. To view examples, please refer to your text.…

    • 103 Words
    • 1 Page
    Satisfactory Essays
  • Satisfactory Essays

    04

    • 4586 Words
    • 34 Pages

    A FOREIGN KEY constraint can be added to the column of a table to ensure that the referenced data value actually exists in the other table.…

    • 4586 Words
    • 34 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Relational Database Paper

    • 547 Words
    • 3 Pages

    I think a few of the most important concepts in a relational database design are: Primary Key (PK) - A column with a unique value for each row. From a design perspective a PK is a requirement. Primary Keys allow you to quickly and easily associate data from multiple tables that are related. Foreign Key (FK) - When you want a row in one table to be linked to a row in another table, you place a FK column in the child table and use the value of the parent row's PK as the value of the FK field. One-To-One…

    • 547 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Information Systems

    • 386 Words
    • 2 Pages

    The students and their course names make the tables related. The student ID correlates to the students' last names and first names and the course ID. Therefore, this is the primary key. The course ID is the foreign key of the Course Table.…

    • 386 Words
    • 2 Pages
    Satisfactory 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
  • Satisfactory Essays

    Answer Case 342

    • 403 Words
    • 2 Pages

    4. You have probably noticed that the Stillwater students chose to include a stamp field as part of the primary key for all of the relations except product. Explain why you think they decided to include this field in each relation and why it is part of the primary key. Are there other alternatives to a time stamp field for creating the primary key of this relation?…

    • 403 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    What Is Super Key in Dbms

    • 1055 Words
    • 5 Pages

    A superkey is a combination of attributes that can be uniquely used to identify a database record.With primary key if any other attribute is added then that combination is called super key in other words,primary key is the minimum possible...…

    • 1055 Words
    • 5 Pages
    Satisfactory Essays