Dbms
Dbms
QUERY
1. Display selected rows and selected columns of table Account.
Select acc_no,name from account where acc_no=’A002’;
2. Show structure of account.
Desc account;
1
2. CREATE A TABLE LOAN
QUERY
1. Display selected rows and all columns of table loan.
● select * from loan where loan_no=’l001’;
2. Show the structure of the table loan.
● desc loan;
2
3.CREATE A TABLE INSTALLMENT
QUERY
Display all rows and selected columns of table Installment
Select loan_no,date,amount from installment;
3
4.CREATE A TABLE TRANSACTION.
QUERY
1. Display all rows and all columns of table Transaction.
Select * from transaction;
2. Show the structure of transaction.
Desc transaction;