Table 1: col1 Timestamp
----------------
01-mar-2012 11:12:46

Table 2: col2 Timestamp
--------------------
01-mar-2012 11:12:10
01-mar-2012 11:11:23

Write a query to display a row with table2 col2 value less
than tabl1 col1 value. Maximum timestamp value previous to
table1 col1 value.

Display a result as:

Col1 col2
----- -----
01-mar-2012 11:12:46 01-mar-2012 11:12:10


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More SQL PLSQL Interview Questions

Is crud a cuss word?

0 Answers  


what is the difference between a web-garden and a web-farm? : Sql dba

0 Answers  


what is a composite primary key ? : Sql dba

0 Answers  


Write a query to get last 10 records from the table.

12 Answers   iNautix,


What is the difference between python and sql?

0 Answers  






what is the difference between blob and text? : Sql dba

0 Answers  


what is view? : Sql dba

0 Answers  


how are mysql timestamps seen to a user? : Sql dba

0 Answers  


how to get @@error and @@rowcount at the same time? : Sql dba

0 Answers  


What is a database link?

3 Answers  


What is bind reference and how can it be created?

0 Answers  


How can you load microsoft excel data into oracle? : aql loader

0 Answers  


Categories