How to update salary of employees department wise?

Answer Posted / prativa mishra

update employees
set salary=salary+1000
where department_id=&department_id

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is sql indexing?

755


Why are sql stored procedures used?

800


How can we find duplicate records in a table?

664


What are records give examples?

743


Is hadoop a nosql?

745






What is rtm stands for?

746


What is a heap in sql?

722


how to do backup entire database? : Transact sql

884


What is break?

845


how to include character strings in sql statements? : Sql dba

737


how can we find the number of rows in a table using mysql? : Sql dba

791


i have 2 table table one 4 columns respective values a1 7,a2 6,a3 8 ,a4 12 & table two 4 colums respective values a1 7,a2 6,a3 8,a4 15.if table one & table two 3 colums same then 4th column values 1)Qes diff >5 then print 5 * diff value 2)Que diff <5 print 5

3599


How can we make an if statement within a select statement?

736


explain the options of myisamchk to improve the performance of a table. : Sql dba

721


What is the use of count (*) in sql?

754