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 are the different pseudo commands? Explain in general?
How to concatenate two text values in oracle?
What are the differences between char and varchar2 in oracle?
What is a table index in oracle?
Explain integrity constraints?
What operating systems are supported by oracle database 10g xe?
How to define an anonymous procedure with variables?
State the various uses of dbcc command?
What is a package ? What are the advantages of package ?
What are triggers in oracle?
What is using clause and give example?
If any one has information regarding interview of NIC (National Informatics Centre),it would be of great help...
What are the uses of a database trigger?
Explain the use of owner option in exp command.
nw i'm doing MBA system and planning to do oracle,database management.tell me that whether it is useful r not?.refer any course for my carrier pls