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
Name the third party tools that can be used in datastage?
On which Dimension Table you implemented SCD Type in your Project
How a routine is called in datastage job?
Explain how a source file is populated?
Differentiate between datastage and datastage tx?
What is the purpose of pivot stage and types of containers in datastage
Can you implement SCD2 using join, transformer and funnel stage?
Lookup constraints
To see hidden files in LINIX?
What is a quality stage in datastage tool?
How many types of hash files are there?
There are two file are there .1st file contains 5 records and 2nd file contain 10 records in target they want 50 records.how can achieve this
What is the use of hoursfromtime() function in transformer stage in datastage?
What are the components of ascential data stage?
What are the important features of datastage?