write the SQL commands to answer the queries based on fabric table:
__________________________
FabID- Fname- Type- Disc-
-------------------------------------------------
F01. shirt. woolen. 10
-------------------------------------------------
F02. suit. cotton. 20
-------------------------------------------------F03. tunic. cotton. 10
-------------------------------------------------
F04. jeans. denim. 5
__________________________
a) to insert the following record ("F005", "Kurta", " woollen" ,5 )
b) to display only those fabric who disc is more than 10)
c) to display those record whose type is "woolen".
d) to modify the fabric shirt by increasing the discount of 10.
e) to delete the record of fabric F003 from the table.(IT vocational)
please answer this question correctly.......
LuckyYadav2578:
dear i m not able to understand what is meant by IT vactional
Answers
Answered by
409
SQL commands :-
a) insert into fabric values ("F005", "Kurta", " woollen" ,5 );
b) select fname from fabric where disc>10;
c) select * from fabric where type ="woollen" ;
d) update fabric set disc= dics+ disc * 10/100 where fname="shirt" ;
e) delete from fabric where fabid=F03 ;
● I hope its help ☆☆ :)
a) insert into fabric values ("F005", "Kurta", " woollen" ,5 );
b) select fname from fabric where disc>10;
c) select * from fabric where type ="woollen" ;
d) update fabric set disc= dics+ disc * 10/100 where fname="shirt" ;
e) delete from fabric where fabid=F03 ;
● I hope its help ☆☆ :)
Answered by
130
Hi bro your answer is below...
SQL commands :-
a) insert into fabric values ("F005", "Kurta", " woollen" ,5 );
b) select fname from fabric where disc>10;
c) select * from fabric where type ="woollen" ;
d) update fabric set disc= dics+ disc * 10/100 where fname="shirt" ;
e) delete from fabric where fabid=F03 ;
● I hope its help ☆☆
Similar questions