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...


table structure:
----------------

col1 col2
----- -----
01-mar-2012 11:12:46 01-mar-2012 11:12:10
01-mar-2012 11:12:46 01-mar-2012 11:11:23

Write a query to display the result as shown below:

col1 col2
----- -----
01-mar-2012 11:12:46 01-mar-2012 11:12:10

Answers were Sorted based on User's Feedback



table structure: ---------------- col1 col2 ----- ----- 01..

Answer / prativa mishra

SELECT * FROM TABLE_NAME WHERE ROWNUM=1

Is This Answer Correct ?    1 Yes 0 No

table structure: ---------------- col1 col2 ----- ----- 01..

Answer / hai

select * from table_name where rownum<2;

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SQL PLSQL Interview Questions

What is Highwatermark?

3 Answers   Thermotech,


What are views in sql?

0 Answers  


what are set operators in sql? : Sql dba

0 Answers  


What is the difference between sum and count in sql?

0 Answers  


What are its different types of dbms?

0 Answers  


Explain how you can copy a file to file content and file to pl/sql table in advance pl/sql?

0 Answers  


GLOBAL TEMPORARY TABLE over Views in advantages insolving mutating error?

0 Answers   Virtusa,


Is sqlite good enough for production?

0 Answers  


What is having clause in sql?

0 Answers  


How do I save a stored procedure?

0 Answers  


Can a key be both primary and foreign?

0 Answers  


What is the cause of mutating table error and how can we solve it?

0 Answers  


Categories