A) Find all loan numbers with amount greater than $50,000. B) Find the names of all depositors who have an account with balance greater than $9,000.

A Guide to SQL
9th Edition
ISBN:9781111527273
Author:Philip J. Pratt
Publisher:Philip J. Pratt
Chapter2: Database Design Fundamentals
Section: Chapter Questions
Problem 11RQ
icon
Related questions
Question
please fast its database
2. Consider the bank database.
Bank database
branch(branch name, branch_city, assets)
customer (customer_name, customer_street, customer_city)
loan (loan_number, branch name, amount)
borrower (customer_name, loan_number)
account (account number, branch name, balance)
depositor (customer_name, account number)
branch
branch name
brauch city
assets
account
account number
branch name
balance
loan
loan-number
tranch name
amment
depositor
customer_name
account number
Give an expression in the relational algebra for each of the following queries: [4 points]
customer
customer_name
customer street
customer-city
borrower
customer_id
lcan_number
Page | 4
Transcribed Image Text:2. Consider the bank database. Bank database branch(branch name, branch_city, assets) customer (customer_name, customer_street, customer_city) loan (loan_number, branch name, amount) borrower (customer_name, loan_number) account (account number, branch name, balance) depositor (customer_name, account number) branch branch name brauch city assets account account number branch name balance loan loan-number tranch name amment depositor customer_name account number Give an expression in the relational algebra for each of the following queries: [4 points] customer customer_name customer street customer-city borrower customer_id lcan_number Page | 4
af Jeddah
A) Find all loan numbers with amount greater than $50,000.
B) Find the names of all depositors who have an account with balance greater than $9,000.
04 Nammal
Transcribed Image Text:af Jeddah A) Find all loan numbers with amount greater than $50,000. B) Find the names of all depositors who have an account with balance greater than $9,000. 04 Nammal
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Table
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
A Guide to SQL
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr
Oracle 12c: SQL
Oracle 12c: SQL
Computer Science
ISBN:
9781305251038
Author:
Joan Casteel
Publisher:
Cengage Learning
Principles of Information Systems (MindTap Course…
Principles of Information Systems (MindTap Course…
Computer Science
ISBN:
9781285867168
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
Fundamentals of Information Systems
Fundamentals of Information Systems
Computer Science
ISBN:
9781305082168
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
Principles of Information Systems (MindTap Course…
Principles of Information Systems (MindTap Course…
Computer Science
ISBN:
9781305971776
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning