Professional Documents
Culture Documents
Create Tablespace MCALAB Datafile 'MC - Dat' Size 30M : Checking
Create Tablespace MCALAB Datafile 'MC - Dat' Size 30M : Checking
Create tablespace:
Checking:
output:-
2. Create User:
Checking:
output:-
3.Create table:
Checking:
desc student;
output:-
4. Moving of Data:
Checking:
Checking:
1. Bank Database
Desc Customer;
Desc Branch;……
In 2017
Bank Database
Branch (bname, bcity, assets)
Customer (cname, cstreet, ccity)
Loan (lno, bname, amt)
Borrower (cname, lno)
Account (ano, bname, bal)
Depositor (cname, ano)
1. Find all loan no.s made at JP Nagar Branch with loan amount
greater than 10000
Select lno, amt from loan1 where b_name = 'jp nagar' and amt>
10000;
2. Find the no. of Depositors in the Bank.
Select count (distinct c_name) from depositor;