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

why dont we assign not null constraint as table level constraint.

0 Answers  


What is self-referential integrity constraint ?

2 Answers   SunGard,


How to define an anonymous procedure with variables?

0 Answers  


How a database is related to tablespaces?

0 Answers  


What is the difference between translate and replace in oracle?

0 Answers  


how can db_files > maxdatafiles since db_files is for instance and the later is for database

0 Answers   CTS,


how to find the n'th highest salary from emp ?

10 Answers  


What is a Data Segment ?

3 Answers  


Explain oracle left join with an example?

0 Answers  


How to execute a stored procedure in oracle?

0 Answers  


What is a table index in oracle?

0 Answers  


What is a subquery 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)