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
What is ibm datastage?
Explain ibm infosphere information server and highlight its main features?
What is oci?
Name the command line functions to import and export the DS jobs?
What is active and passive stage?
how to run a sequential file stage in parallel if the stage is used on the TARGET side
Describe the main features of datastage?
What all the types of jobs you developed?
how to add a new records into source?
What are the differences between datastage and informatica?
Describe the architecture of datastage?
Can you explain link buffering?
What is a ds designer?
What is the difference between operational data stage (ods) and data warehouse?
How complex jobs are implemented in datstage to improve performance?