Practical - 3 PDF
Practical - 3 PDF
Practical - 3 PDF
PRACTICAL - 3
1. Find the name of all clients having ‘a ‘ as the second letter in their
names.
Ans :- select name from client_master where name like '_a%';
2. Find out the clients whose name is four character ling and second
letter is ‘a‘.
Ans :- select name from client_master where name like '_a%__';
3. Find out the name of city whose second last character is ‘a’.
1
DBMS
2
DBMS
7. Find products whose selling price is greater than 2000 and less
than or equal to 5000.
Ans :- select Descriptio from product_master where
Sell_price<=5000 and Sell_price>2000;
3
DBMS
9. List the names, city and state of clients who are not in the state of
‘Maharashtra’.
Ans :- select Name, City, State from client_master where
State!='Maharashtra';
4
DBMS
5
DBMS
6
DBMS
7
DBMS
8
DBMS