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 |
why we use parameters instead of hard code in datastage
Explain the datastage parallel extender (px) or enterprise edition (ee)?
How a source file is populated?
SOURCE LIKE I_D,F1,F2 --------- 100,N,Y 100,N,N 100,Y,N 101,Y,Y 101,N,Y 102,Y,N 103,N,N 104,Y,Y 105,N,N 106,N,Y 102,N,Y 105,Y,Y O/P LIKE ID flag1 flag2 101 Y Y 101 N Y 102 Y N 102 N Y 104 Y Y 106 N Y
What is meta stage?
what is the exact difference between dataset and fileset in datastage?
how to change left and right links in join stage?
how to remove duplicates in transformer stage by using stage variables?one example?
how can we join one oracle & flat files ?
diff between OLTP and OLAP? what TOP-DOWN and BOTTOM-UP Approach? which is best? what are Star Schema and Snow Flake Schema?
What is developer responsibilities in UAT (user acceptance testing and Post implementation phase?
How can we run same job in 1 day 2 times