Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Answer to the following questions and write down the queries in Relational Algebra: (a) All the Account Numbers having neither any deposit nor any withdrawal

image text in transcribed

Answer to the following questions and write down the queries in Relational Algebra:

(a) All the Account Numbers having neither any deposit nor any withdrawal in December, 2021.

(b) Those Account Numbers and Names of Account Holders from city Chittagong whose opening balance is more than $ 10000.

(c) The City Names where there is no Account Holders.

(d) All those Account Numbers, which do not have any transaction after opening.

(e) All the Account Numbers who belong to Dhaka.

Q2 (15 marks): Consider the following database schema. Opening (AccountNumber. OpenDate. OpeningBalance, TotalDeposit. TotalWithdrawal. ClosingBalance, ClosingBalanceDate. Last DepositDate. Last WithdrawalDate) Deposit (AccountNumber. Date. Amount, Mode) Withdrawal (AccountNumber. Date, Amount, Mode) Account Holder (Account Number. Name. BuildingNumber, AreaName, StreetNumber, CityCode. PinCode. StateCode) Cities (CityCode. City Name, StateCode) State (StateCode. StateName) Answer to the following questions and write down the queries in Relational Algebra: (a) All the Account Numbers having neither any deposit nor any withdrawal in December, 2021. (b) Those Account Numbers and Names of Account Holders from city Chittagong whose opening balance is more than $ 10000. (c) The City Names where there is no Account Holders. (d) All those Account Numbers, which do not have any transaction after opening. (e) All the Account Numbers who belong to Dhaka

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Moving Objects Databases

Authors: Ralf Hartmut Güting, Markus Schneider

1st Edition

0120887991, 978-0120887996

Students also viewed these Databases questions

Question

List and describe the components of a SWOT analysis.

Answered: 1 week ago

Question

How does selection differ from recruitment ?

Answered: 1 week ago

Question

What is the most important part of any HCM Project Map and why?

Answered: 1 week ago