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 |
How do I create a sql script?
What are its different types of dbms?
what are the limitations of mysql in comparison of oracle? Mysql vs. Oracle. : Sql dba
what is a primary key? : Sql dba
what is table? : Sql dba
Why trigger is used in sql?
What is pl sql commands?
What do you mean by field in sql?
Why do we use cursors?
How do I run sql?
what is difference between pass by value and eference by value in oracle plsql
how do you login to mysql using unix shell? : Sql dba
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)