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
how to rename an existing column in a table? : Sql dba
name 3 ways to get an accurate count of the number of records in a table? : Sql dba
What is natural join in sql?
What does inner join mean?
What problem one might face while writing log information to a data-base table in pl/sql?
what are the differences between binary and varbinary? : Sql dba
what are the other commands to know the structure of table using mysql commands except explain command? : Sql dba
how can we transpose a table using sql (changing rows to column or vice-versa) ? : Sql dba
What is embedded sql what are its advantages?
How to make a copy values from one column to another in sql?
What type of database is cloud sql?
How do I run a sql query?
What is primary and foreign key?
How do I trace sql profiler?
How can you save or place your msg in a table?