write a query find which rows of a table is updated on 2
days before?
Answer Posted / os reddy
select * from <table name>
where rownum<=2
order by last_updated_date;
OR
select * from emp where to_char(update_column,'dd')=2;
| Is This Answer Correct ? | 3 Yes | 10 No |
Post New Answer View All Answers
What are the possible values that can be stored in a boolean data field?
What is the difference between Union and Union all. Which is faster.
Which is faster joins or subqueries?
Why do we need cursor in pl sql?
What is the need of merge statement?
how do you tune the slow running queries in oracle db , explain the methodology
What are the types of functions in sql?
What are sql functions? Describe the different types of sql functions?
How do you define a foreign key?
What is sql and its types?
Why self join is used in sql?
Why schema is used in sql?
How do I view a sql trace file?
Mention what problem one might face while writing log information to a data-base table in pl/sql?
What can you do with pl sql?