Preview

Chapter 3 - Relational Database Model

Better Essays
Open Document
Open Document
1097 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Chapter 3 - Relational Database Model
Topic#6: Relational Database Operators
6.1 Significance of Relational Operators


Relational database supports basic database operations in order to provide useful means for retrieving or manipulating data in tables.



Because the relational model has its mathematical basis upon the relational theory (by thinking tables as sets or relations), the supported database operators conform to existing operators in relational algebra.



In fact, a relational database software implementation, called DBMS, is said to have higher degree of relational completeness depending upon the extent to which relational algebra operators are supported.



In total there are eight operators are found in relational theory, namely SELECT,
PROJECT, JOIN, INTERSECT, UNION, DIFFERENCE, PRODUCT and DIVIDE.



Minimally speaking, a DBMS implementation is said to be relational if it supports at least the key relational operators, namely SELECT, PROJECT, and JOIN.



Very few DBMSs are capable of supporting all eight relational operators.



Use of relational algebra operators on existing tables (relations) results in outcomes look like new relations. This characteristic lets the user recursively applying the operators among the operator outcomes. Figure

6.2 Operator: UNION:
• Needs two tables as its operands
• Combines all rows from two tables, excluding duplicate rows.
• Tables, used as operands, must be UNION compatible with each other. (Tables must have the same attribute characteristics for all columns i.e. the columns and domains must be identical).
• Figure-6.1 demonstrates an example of UNION operation.

Popped up Questions
Choose the right answer for the UNION Operation shown in the figure.
6.3 Operator: INTERSECT:
• Needs two tables as its operands
• Yields only the rows that appear in both the tables
• Operand tables must be UNION compatible with each other
• Figure-6.2 demonstrates an example of INTERSECT operation.

You May Also Find These Documents Helpful

  • Good Essays

    One benefit of a relational database management system is that it contains a built-in query language, which lets you obtain immediate answers to the questions you ask about your data. _________________________…

    • 585 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    • Define relational database architecture. Consider Microsoft® Access*', Microsoft SQL Server®', Oracle®, IBM DB2®, and so on.…

    • 352 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    8. What is a relational database? A data base that organizes data into overlapping tables. They follow a set of very specific rules that ensure data contained in the database will be consistent.…

    • 421 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Entity-relationship Model

    • 411 Words
    • 2 Pages

    1. Logic Design -The entity relation design without regard to what RDBMS or system it will be on.…

    • 411 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    A project manager is the one that takes charge and makes sure everything is going according to the plans. The assessment committee is to make sure that the plan put in place will continue to make improvements and to make sure all the parties concerned with the plan is kept up with the information, then instructs and programs and also any changes that need to be made. So assessments are used to provide all information, any decisions that need to be discussed and nay changes needed. The patent search functionally consists of search pages of simply an advanced comparison person look up.…

    • 412 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    Relational Database Paper

    • 547 Words
    • 3 Pages

    A relationship is an important component of a relational database. A relationship exists between two tables when one or more key fields from one table are matched to one or more key fields in another table. The fields in both tables usually have the same name, data type, and size. It also helps to further refine table structures and minimize redundant data.…

    • 547 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    Relational Model

    • 406 Words
    • 2 Pages

    Figure 2. Relational Model provides an overview of the table content, table column/attributes and the relationships that connects them. The identified relationships are as follow: a single customer can make multiple sales (1:M), a single sale contains specific set of sales details (1:1), the same payment could be used for multiple sales (1:M). Furthermore, an order details can contain multiple books or product items (1:M), a single author can have multiple books in the store (1:M) just as a single publisher can publish many different books and authors (1:M).…

    • 406 Words
    • 2 Pages
    Good Essays
  • Better Essays

    Database Design

    • 1196 Words
    • 5 Pages

    “A database is a structured collection of records or data that is stored in a computer system. In order for a database to be truly functional, it must not only store large amounts of record, but also be able to access those records fast and efficiently. In addition, new information and changes should also be easy to input.” (tech-faq.com) To be useful over a long term the database should be able to store all the records necessary for the business to function as well as be able to get all of this information back in case of a system failure or a crash. If all the information is loss a business could go bankrupt so the database is a fail safe for all the information the company has.…

    • 1196 Words
    • 5 Pages
    Better Essays
  • Satisfactory Essays

    Csc 215 Answers

    • 527 Words
    • 3 Pages

    10) Structure query language. It use for combining querying and processing sets of tables and the data in those table.…

    • 527 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    1. Let us design a database for an bank, including information about customers and their accounts. Information about a customer includes their name, address, phone, and Social Security number. Accounts have numbers, types(e.g., savings, checking) and balances. We also need to record the customer(s) who own an account. Draw the E/R diagram for this database. Be sure to include arrows where appropriate, to indicate the multiplicity of a relationship.…

    • 1441 Words
    • 6 Pages
    Good Essays
  • Best Essays

    Database programming languages receive all application requests and translate them into the complex operations required to fulfill those requests.…

    • 2439 Words
    • 17 Pages
    Best Essays
  • Good Essays

    Database Design

    • 418 Words
    • 2 Pages

    Before you use Microsoft Access to actually build the tables, forms, and other objects that will make up your database, it is important to take time to design your database. A good database design is the keystone to creating a database that foes what you want it to do effectively, accurately, and efficiently.…

    • 418 Words
    • 2 Pages
    Good Essays
  • Good Essays

    Database concepts

    • 586 Words
    • 3 Pages

    In database normalization, one of the important features of third normal form is that it excludes certain types of transitive dependencies. E.F. Codd, the inventor of the relational model, introduced the concepts of…

    • 586 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    Assumption ........................................................................................ 3 1. 2. 3. 4. 5. 6. Conceptual Data Model ...................................................................... 4 Relational Schema .............................................................................. 5 Normalization ..................................................................................... 6 SQL Code and Testing........................................................................ 12 Screen Design and Testing .................................................................. 18 Report Design and Testing .................................................................. 27…

    • 1809 Words
    • 8 Pages
    Powerful Essays
  • Good Essays

    Describe the user needs of the database and identify the functionality that they are expecting from a Relational Database Management System (RDMS).…

    • 527 Words
    • 3 Pages
    Good Essays