In EMP table, for those emp whose Hiredate is same, update
their sal by "sal+500" or else for others keep the sal as it
is, how to do it by SQL query

Answer Posted / srinivas

Hi suraj no need to put first group by and then having
clause
we can give any order it will work
please check and let me know

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

IN SCD1, insource we have 10 billion records and in the first day its uploaded successfully and in the second day its taking time to upload because some records it might get update or insert new records. As a developer what will be the better solution for this??

549


How many input parameters can exist in an unconnected lookup?

974


what is INFORMATICA TESTING process

1826


COM components can be used in Informatica

1856


What is persistent lookup cache?

589






What is event and what are the tasks related to it?

598


What is a surrogate key?

550


What is the command used to run a batch?

561


Explain why we use partitioning the session in informatica?

596


4 yrs etl devloper roles and responsibilities?any body give solutions

1560


What are the types of caches in lookup?

556


Where do we use mapping variables in informatica?

602


What is an unconnected transformation?

650


What are Dimensional table?

595


design of staging area?

1577