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 the diff between Truncate table / delete <table name> purge
How do I find duplicates in sql?
What is nvarchar max in sql?
What is keys and its types?
What are the two characteristics of a primary key?
How is debugging done?
What is the purpose of the primary key?
what are the disadvantages of mysql? : Sql dba
write a procedure to find top second no from a list of numbers
What are the types of triggers in sql?
How sql query is executed?
What is record variable?
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)