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 / prativa mishra
SELECT * FROM TABLE_NAME WHERE ROWNUM=1
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What will you get by the cursor attribute sql%rowcount?
What is join view in sql?
Can we insert in sql function?
What are tables and fields in the database?
Can we rename a column in the output of sql query?
What is user defined functions?
how to include numeric values in sql statements? : Sql dba
Is drop table faster than truncate?
What is an index? What are the types of indexes? How many clustered indexes can be created on a table?
What is dcl in sql?
What are string functions in sql?
How do you modify a table in sql?
What is an intersect?
What are the uses of merge?
Why is %isopen always false for an implicit cursor?