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

Answer Posted / hai

select * from table_name where rownum<2;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between subquery and correlated query?

724


how many values can the set function of mysql take? : Sql dba

720


Explain foreign key in sql?

786


What are the different tcl commands in sql?

815


what is the use of set statement in tsql? : Transact sql

740






Can I learn sql in a week?

753


What is scope and visibility in PL/SQL?

769


What is mutating sql table?

824


What are the different sql languages?

740


Why do we use cursors?

671


Why select is used in sql?

691


Is join and inner join the same?

724


What are predefined functions in sql?

712


What mean sql?

738


How does pl sql work?

706