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...


Display the order number and the number of months since the
order was shipped for all orders that have been shipped in
the last year (365 days). (Hint: Unshipped orders will have
a null value).



Display the order number and the number of months since the order was shipped for all orders that h..

Answer / ankit

Select Order_num, MONTHS_BETWEEN(SYSDATE,Shipped_date) no_of_months from Table where shipped_date is not null and to_date('sysdate','YYYY') = '2012';

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Oracle General Interview Questions

what is the difference between joins and set operators.i am always confusing with two,can u pls kindly help me .

5 Answers   HCL, LN,


In Oracle 9i what does "i" Stands for?

36 Answers   MBT,


How would you design a database for an e-commerce website?

1 Answers  


sql query to get zero records from a table

7 Answers   CTS,


What is rowid and rownum in oracle?

0 Answers  


Can a formula column referred to columns in higher group ?

0 Answers   Oracle,


What privilege is needed for a user to create tables in oracle?

0 Answers  


What exactly do quotation marks around the table name do?

0 Answers  


What is ADDM Advisor in Oracle?

0 Answers   MCN Solutions,


how to retrieve data from different tables ,place this data in different excel worksheets.

1 Answers   Gap Inc,


ABOUT IDENTITY?

0 Answers   HCL,


What are the uses of Database Trigger ?

0 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1803)
  • 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)