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 |
what is the difference between == and eq in UNIX shell scripting?
Can you explain how could anyone drop the index before loading the data in target in datastage?
Differentiate between odbc and drs stage?
1)How to do error handling in datastage? 2)Did sequential stage accepts .xl files ,xml? znd how?
Explain the situation where you have applied SCD in your project?
table actions available in oracle connector?
Please explain me the difference between 3 types of slowly changing dimension in datawarehousing?
how many rows sorted in sort stage by default in server jobs
source contains 2 columns comes to target 4 columns how
how to sort two columns in single job in datastage.
what is the new version in Datastage ? what is the diff b/t New vesion & 7.5 version?
IS FILE SET CAN SUPPORT I/P AND O/P LINK AT A TIME?