119
©Silberschatz, Korth and Sudarsha 3.1 Database System Concepts Chapter 3: Relational Model Chapter 3: Relational Model Structure of Relational Databases Relational Algebra Tuple Relational Calculus Domain Relational Calculus Extended Relational-Algebra- Operations Modification of the Database Views

03 Relational Model

Embed Size (px)

DESCRIPTION

Enjoy Yaaa

Citation preview

  • End of Chapter 3

    Silberschatz, Korth and Sudarshan3.*Database System Concepts

    Result of branch-name = Perryridge (loan)

    Silberschatz, Korth and Sudarshan3.*Database System Concepts

    Loan Number and the Amount of the Loan

    Silberschatz, Korth and Sudarshan3.*Database System Concepts

    Names of All Customers Who Have Either a Loan or an Account

    Silberschatz, Korth and Sudarshan3.*Database System Concepts

    Customers With An Account But No Loan

    Silberschatz, Korth and Sudarshan3.*Database System Concepts

    Result of borrower loan

    Silberschatz, Korth and Sudarshan3.*Database System Concepts

    Result of branch-name = Perryridge (borrower loan)

    Silberschatz, Korth and Sudarshan3.*Database System Concepts

    Result of customer-name

    Silberschatz, Korth and Sudarshan3.*Database System Concepts

    Result of the Subexpression

    Silberschatz, Korth and Sudarshan3.*Database System Concepts

    Largest Account Balance in the Bank

    Silberschatz, Korth and Sudarshan3.*Database System Concepts

    Customers Who Live on the Same Street and In the Same City as Smith

    Silberschatz, Korth and Sudarshan3.*Database System Concepts

    Customers With Both an Account and a Loan at the Bank

    Silberschatz, Korth and Sudarshan3.*Database System Concepts

    Result of customer-name, loan-number, amount (borrower loan)

    Silberschatz, Korth and Sudarshan3.*Database System Concepts

    Result of branch-name(customer-city = Harrison(customer account depositor))

    Silberschatz, Korth and Sudarshan3.*Database System Concepts

    Result of branch-name(branch-city = Brooklyn(branch))

    Silberschatz, Korth and Sudarshan3.*Database System Concepts

    Result of customer-name, branch-name(depositor account)

    Silberschatz, Korth and Sudarshan3.*Database System Concepts

    The credit-info Relation

    Silberschatz, Korth and Sudarshan3.*Database System Concepts

    Result of customer-name, (limit credit-balance) as credit-available(credit-info).

    Silberschatz, Korth and Sudarshan3.*Database System Concepts

    The pt-works Relation

    Silberschatz, Korth and Sudarshan3.*Database System Concepts

    The pt-works Relation After Grouping

    Silberschatz, Korth and Sudarshan3.*Database System Concepts

    Result of branch-name sum(salary) (pt-works)

    Silberschatz, Korth and Sudarshan3.*Database System Concepts

    Result of branch-name sum salary, max(salary) as max-salary (pt-works)

    Silberschatz, Korth and Sudarshan3.*Database System Concepts

    The employee and ft-works Relations

    Silberschatz, Korth and Sudarshan3.*Database System Concepts

    The Result of employee ft-works

    Silberschatz, Korth and Sudarshan3.*Database System Concepts

    The Result of employee ft-works

    Silberschatz, Korth and Sudarshan3.*Database System Concepts

    Result of employee ft-works

    Silberschatz, Korth and Sudarshan3.*Database System Concepts

    Result of employee ft-works

    Silberschatz, Korth and Sudarshan3.*Database System Concepts

    Tuples Inserted Into loan and borrower

    Silberschatz, Korth and Sudarshan3.*Database System Concepts

    Names of All Customers Who Have a Loan at the Perryridge Branch

    Silberschatz, Korth and Sudarshan3.*Database System Concepts

    E-R Diagram

    Silberschatz, Korth and Sudarshan3.*Database System Concepts

    The branch Relation

    Silberschatz, Korth and Sudarshan3.*Database System Concepts

    The loan Relation

    Silberschatz, Korth and Sudarshan3.*Database System Concepts

    The borrower Relation