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

When do you get a .pll extension in oracle? Explain its importance

0 Answers  


What is catalog in Oracle?

0 Answers   MCN Solutions,


what's query optimization and without use of IN AND Exist can we get another way data from query

0 Answers  


What is the use of Redo Log Information ?

2 Answers  


What are the differences between char and nchar in oracle?

0 Answers  


what is the difference between table and veiw?

4 Answers   IBM,


What is a connect identifier?

0 Answers  


acname actype amount ac1 credit 300 ac2 credit 4000 ac1 debit 4000 ac2 debit 455 ac1 credit 500 how to get sum of credit and sum of debit for each account

2 Answers   Polaris,


What do you mean by a database transaction & what all tcl statements are available in oracle?

0 Answers  


What are the differences between number and binary_float in oracle?

0 Answers  


How to define a specific record type?

0 Answers  


How to create a new table 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)