display your age in months?
Answers were Sorted based on User's Feedback
Answer / sowmya makkena
select floor(months_between(sysdate,'22-mar-1995')) "age in months" from dual;
| Is This Answer Correct ? | 1 Yes | 0 No |
select trunc(months_between(sysdate,'22-mar-1995')/12) as age from dual;
| Is This Answer Correct ? | 0 Yes | 2 No |
What is difference between ms sql and mysql?
How do you write a complex sql query?
How to display the contents of a current record fetched in a reference cursor?
what the meaning of sql
what are the different type of sql's statements ? : Sql dba
What are % TYPE and % ROWTYPE ? What are the advantages of using these over datatypes?
What is the difference between count 1 and count (*) in a sql query?
what is a unique key ? : Sql dba
what is indexing, searching and user interface?
how to see the create table statement of an existing table? : Sql dba
What is a mutating table
Can triggers stop a dml statement from executing on a table?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)