S21_72
S21_72
3) Retrieve the list of names and the cities of all the clients.
5) Find the name of all clients having 'a' as the second letter in their names.
6) Find out the clients who stay in city whose second letter is 'a' .
7) Find the list of all clients who stay in bombay or city delhi or city madras.
9) Print the list of clients whose bal_due are greater than value 10000
10) Print the information from sales_order table of order placed in month of january.
12) Find the products with description as '1.44 drive' and '1.22 drive' .
Select * from product_master where description in(1.44 drive, '1.22 drive ');
13) Find the product whose selling price is greater than 2000 and less than or equal to 5000
Select * from product_master where sell_price > 2000 and sell_price <= 5000;
14) Find the product whose selling price is more than 1500 and also find the new selling price as original price * 15
select product_no, description, sell_price * 15 from product_master where( sell_price > 1500);
16) Find the product whose cost price is less than 1500
19) Divide the cost of product '540 HDD' by /difference between its price and 100.
select cost_price / (cost_price - 100) from product_master where description like '540 HDD';
select name, city, state from client_master where state not like 'Maharashtra';
21) List the product_no,description,sell_price of products whose description begin with letter 'M' .
select product_no, description, sell_price from product_master where description like 'M%';
Select * from sales_order where s_order_date like '____-05-__' and order_status like 'c%';