in table there r so many rows write a query which two rows r
updated last two day befor?
Answers were Sorted based on User's Feedback
Answer / srinivas
select * from <table name>
where rownum<=2
order by last_updated_date
| Is This Answer Correct ? | 29 Yes | 6 No |
Answer / ashok kumar lenka
We can solve this by the help of Trigger.
The trigger is for update.which store the update time of the
record of the table. So my query is like this
>select * from emp where to_char(update_column,'dd')=2;
| Is This Answer Correct ? | 10 Yes | 5 No |
Answer / narenkumar reddy
select column_name from table_name
where column_name=sysdate-2
| Is This Answer Correct ? | 1 Yes | 2 No |
what is a relationship and what are they? : Sql dba
what are the differences between public, private, protected, static, transient, final and volatile? : Sql dba
What are expressions?
..........refers to the disk mirroring
What are the benefits of stored procedures?
What is equi join in sql?
What are the topics in pl sql?
What is difference between cursor and ref cursor?
How to select random rows from a table?
What is the use of procedures?
What is where clause in sql?
how to get the third quarter of employee details from emp?
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)