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 ?
Answer Posted / subhash
Select MAX(SAL) FROM EMP
where to_char(Date,'MM-YYYY')=to_char(sysdate-1,'MM-YYYY')
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Field,NVL,INDEX,REPLACE,TRANSLATE,COLESC
Name the command line functions to import and export the DS jobs?
On which interface you will be working as a developer?
What are the differences between datastage and informatica?
explain about completely flow of sequencers technicaly,without using example??explain about lookup,nullhandling?
What is datastage engine?
How do y read Sequential file from job control?
Which algorithm you used for your hashfile?
what are the errors,warnings in datastage
how to delete one row in target dataset
What are the main differences you have observed between 7.x and 8.x version of datastage?
Define project in datastage?
Why do you need stage variables?
What is the purpose of interprocessor stage in server jobs?
What are sequencers?