Assignment 1
Assignment 1
Code: BCAC491
client_no Varchar2 3
name Varchar2 20
city Varchar2 15
state Varchar2 15
pincode Number 7
1
Problem Problem Description Signature &
No.
Date
7. Insert the following values for the telephone field of each client.
Client_no Telephone
C01 8440256384
C02 8904562233
C03 9825467897
C04 9475869312
C05 8456238971
8. Delete the row from the table client where the column state holds the value „Tamilnadu‟.
12. Eliminate the duplicate state description when retrieving data from the state column of table
client_master
13. Find the names of all clients having „a‟ as the second letter in their names.
14. Find out the clients who stay in a city whose first letter is „D‟.
15. A column balance_due with number datatype and range (7,2) to the table client_master.
17. Find out the list of clients whose balance_due is greater than 2000.
18. Find out the list of clients whose pincode is either the value 400054 or 400056.
19. Find out the client_no and city of clients whose name is either “ivan” or “Vandana” or
“Ravi”.
2
Problem Problem Description Signature &
No.
Date
20.
Create the following tables.
Fill the tables with suitable
Table:Station
Table:State