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

Answers were Sorted based on User's Feedback



how to retrieve daily sal from emp table in oracle 10g..

Answer / anuradha

Select empno,ename,sal, sal/30 "Daily_Sal" From emp;

Is This Answer Correct ?    4 Yes 1 No

how to retrieve daily sal from emp table in oracle 10g..

Answer / 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

More Oracle General Interview Questions

How to view existing locks on the database?

0 Answers  


How to remove a row in a database table?

5 Answers   IBM,


Why do I get java.lang.abstractmethoderror when trying to load a blob in the db?

0 Answers  


What is a system tablespace and when it is created?

0 Answers  


Can we save images in a database and if yes, how?

0 Answers  


How to create a table index in oracle?

0 Answers  


How to select some rows from a table in oracle?

0 Answers  


How do I spool to a csv formatted file using sqlplus?

0 Answers  


What is the minimum client footprint required to connect c# to an oracle database?

0 Answers  


Briefly explain what is literal? Give an example where it can be used?

0 Answers  


What happens if variable names collide with table/column names?

0 Answers  


What is logical backup in oracle?

0 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1809)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)