how to retrieve daily sal from emp table in oracle 10g
Answer Posted / shailesh
I think what Anuradha has suggested is fine but it may not
produce accurate results. I think following query should
return reliable results based on number of days present in
month.
select trunc(salary/ to_number(extract (day from last_day
(sysdate))),2) as daily_sal,salary from employees
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is the data pump import utility?
Is primary key indexed by default in oracle?
Is it possible to center an object horizontally in a repeating frame that has a variable horizontal size ?
Explain coalesce function?
Why do you create or replace procedures rather that drop and recreate.
How to check the oracle tns settings?
A table t is there.If you perform insert ,update and delete then the trigger will fire.What is the minimum no of trigger required for a table.
How do I use os authentication with weblogic jdriver for oracle and connection pools?
What are the advantages of oracle 12c?
Explain the difference between a procedure and a function? What do you understand by those terms?
What is the difference between alert log file and tarce file ?
What is a relational database management system?
How do I uninstall oracle client from windows?
What happens to the current transaction if the session is killed?
What is hash cluster in oracle?