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 do you run datastage job from the command line?
how to find out number of records imported into source file?
Why do we use exception activity in Datastage?
What is the difference between validated and compiled in the datastage?
Question 4) source target c1 c1 c2 c3 c2 c4 c4 c5 c3 c6 c7 c4 c5 c6 c7 Singal Source and Singal Target only subash,
i have a scenario in which i/p columns areID,salary with 1,1000 2,2000 and 3,3000 i need an extra column in the o/p named avg(salary)how can i get it?
State the difference between an operational datastage and a data warehouse?
types of errors in datastage?
how to sort two columns in single job in datastage.
In a table 100 records are there after 50records job is aborted how can u insert all records in target table.
Hi Gus, Can u pls tell me How can u Call the Shell Scripting/Unix Commands in Job Sequence?
diff between changecapture & diffrence stage which situvation we can use the diffrence stage ?