Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How do I limit the number of rows returned by an oracle query after ordering?

1164


What happens to the current transaction if the session is ended?

1094


What are the benefits of ordbms?

1083


How to enter a new row into a table interactively?

1008


How do I manually uninstall oracle client?

1083


How to list all tables in your schema?

1050


How can I get column names from a table in oracle?

1048


How to invoke the data pump import utility?

1159


How to grant create session privilege to a user in oracle?

995


What is system tablespace?

1091


How to connect ms access to oracle servers?

997


How to start instance with a minimal initialization parameter file?

1035


Which dictionary tables and/or views would you look at to diagnose a locking issue?

1907


Why oracle is used?

1048


How to convert characters to dates in oracle?

1091