Krish 064
Krish 064
Database krish064
Table structure for table client_mstr
Column Type Null Default
Database krish064
Table structure for table product_mstr
Column Type Null Default
Database krish064
Table structure for table salesman_mstr
Column Type Null Default
Questions
11. Delete all salesman from salesman_mstr whose salary equal to Rs.3500.
Ans:- delete from salesman_mstr where sal_amt=3500;
12. Delete all products from product_mstr where quantity is equal to 100.
Ans:- delete from product_mstr where quantity=100;
13. Delete from client_mstr where column state holds the value ‘T.N.’
Ans:- delete from client_mstr where state="T.N.";
14. Add a column called ‘Telephone’ of datatype ‘number’ and size=10 to client_mstr table.
Ans:- alter table client_mstr add column(Telephone int(10) );\
Assignment 2
Assignment 3
create table sales(orderid int(2) primary key,orderdate date,orderprice int(10),orderquantity
int(2),customername varchar(50));