Question

 

Consider the following relations

Account(ac_number,ac_holdername,ac_holderaddress,ac_balance)

Withdrawal(ac_number,wi_type,wi_date,wi_amount)

Deposit(as_number, de_by,de_date, de_type,de_amount)

Type of deposit or withdrawal may be –cash or cheque

Perform the following operations on these tables using SQL

  1. Create the three tables giving suitable domains and constraints including referential actions.
  2. Add one additional filed ac_type(it can be saving account, current account or student account) in the accounts table. Create a secondary index on ac_number for the withdrawal and deposit tables.
  3. Create a view named my_account that contains the information about my account.
  4. Give only READ only permission to see my_account view to a user.

 

28 Oct 2017
Answer :
Word Count : 42

select ac_number:

From account)

(select ac_number)

From deposit

__________ ______ ______ ____ ______ __________ __________ _______.
______ ____ ____ _____ ______ ______ _____.
______ ________ ___ __________ ________.
____ ____ _______ ______ ____.
____ ______ _____ _____ _________ _________ ______ _______ _____.
IGNOU ACADEMY
Your IGNOU journey, made easier.
  • Solved Assignments
  • Study Notes
  • Guess Papers
  • Question Papers
Skip in 10
Top
📞
Call Support Instant phone assistance IGNOU MCS 23 2010 2011 -  Consider the following relationsAccount(ac_number,ac_hol | IGNOU Academy
→
🟢
WhatsApp Chat Fast live messaging
→
Email Us Business enquiries & support
→