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

How much does sql certification cost?

0 Answers  


Which clause of an UPDATE statement allows you to affect only certain rows of a table? 1. The WHERE clause 2. The SET clause 3. The ROWS AFFECTED clause 4. The ORDER BY clause

6 Answers   HCL,


what is clause? : Sql dba

0 Answers  


How do you optimize SQL queries ?

6 Answers   CarrizalSoft Technologies, Infosys, Oracle,


i need department wise top 2 employees salary.which logic i will use

17 Answers  


How to select the Nth maximum salary from Table Emp in Oracle SQL Plus ?

0 Answers   MCN Solutions,


What are expressions?

0 Answers  


How will we see framework of a table?

2 Answers   Accenture,


What are field types?

0 Answers  


how to add a new column to an existing table in mysql? : Sql dba

0 Answers  


How can I get the number of records affected by a stored procedure?

0 Answers  


How to run sql*plus commands in sql developer?

0 Answers  


Categories