I HAVE EMP TABLE, 4 COLS R THERE COL1,COL2,COL3,COL4
ID-- 101,102,103,104 SAL-- 1000,4000,2000,5000
DATE-- COLUMN. I WANT TO DISPLAY THE DATA PREVIOUS MONTH
HIGEST SAL ?
Answers were Sorted based on User's Feedback
Answer / indu
select max(sal) from emp where to_char(Date,'MM-YYYY')
=to_char(dateadd(month, -1, GETDATE()),'MM-YYYY');
| Is This Answer Correct ? | 0 Yes | 0 No |
how can we generate row values like 1 1 1 2 2 2 3 3 3 using col generator plz let me know
Define Routines and their types?
How to clean the datastage repository?
what is advantages of snowflake when it is used?
How can we do null handling in sequential files?
Define Merge?
How the ipc stage work?
which cache supports connected & un connected Lookup
how to handle null values using transformer stage?
I have a few records all are same structures data, I want to store data in multiple targets how?
how to run jon in unix back round process what is command use in runing a job?
I have 2 jobs.I want to ru job B if job A has run 3 times.How can I achieve this through datastage