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
What is function and procedure?
Which is faster union or join?
Mention what is the function that is used to transfer a pl/sql table log to a database table?
1. is it possible to use the cursor atttibutes (%found ,% rowcount , %isopen , %notfound ) to our user defined cursor names ....... cursor cursor_name is select * from scott.emp if you use... cursor_name%found , %rowcount ,%isopen,%notfound...will it work... -------------------------- 2.what is the difference between the varray and index by table .. -------- 3. type type_name is table of number(8,3) index by binary_integer; identifier_name type_name; first , last , prior , next ,trim are the methods we can use it for the above type...simillary is there any way to apply for cursors... with thanks and regards..sarao...
Explain the structure of pl/sql in brief.
Is sql similar to python?
Is left join same as inner join?
What is pl/sql table? Why is it used?
Is a view faster than a stored procedure?
How do I truncate a word?
What is embedded sql in db2?
What is the usage of distinct keyword?
What does the base_object_type column shows in the user.triggers data dictionary view?
What does cursor do in sql?
How to avoid using cursors?