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
Enlist the data types that can be used in pl/sql?
Can we declare a column having number data type and its scale is larger than pricesionex: column_name number(10,100),column_name numbaer(10,-84)
What is a primary key sql?
Why should I use postgresql?
what are the difference between clustered and a non-clustered index? : Sql dba
What are string functions in sql?
What do you understand by pl/sql records?
Is sql sequential or random?
What is the max nvarchar size?
How exception handling is done in advance pl/sql?
How do you modify a column in sql?
Can we create a trigger on view?
Is pl sql useful?
What is sqlcontext?
Mention what does the hierarchical profiler does?