Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



in table there r so many rows write a query which two rows r updated last two day befor?..

Answer / srinivas

select * from <table name>
where rownum<=2
order by last_updated_date

Is This Answer Correct ?    29 Yes 6 No

in table there r so many rows write a query which two rows r updated last two day befor?..

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

in table there r so many rows write a query which two rows r updated last two day befor?..

Answer / narenkumar reddy

select column_name from table_name
where column_name=sysdate-2

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More SQL PLSQL Interview Questions

How do I create a sql script?

0 Answers  


What are its different types of dbms?

0 Answers  


what are the limitations of mysql in comparison of oracle? Mysql vs. Oracle. : Sql dba

0 Answers  


what is a primary key? : Sql dba

0 Answers  


what is table? : Sql dba

0 Answers  


Why trigger is used in sql?

0 Answers  


What is pl sql commands?

0 Answers  


What do you mean by field in sql?

0 Answers  


Why do we use cursors?

0 Answers  


How do I run sql?

0 Answers  


what is difference between pass by value and eference by value in oracle plsql

1 Answers  


how do you login to mysql using unix shell? : Sql dba

0 Answers  


Categories