ALLInterview.com :: Home Page            
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Google
   
 
Categories >> Software >> Databases >> SQL PLSQL
 
 


 

 
 Oracle interview questions  Oracle Interview Questions (2038)
 SQL Server interview questions  SQL Server Interview Questions (1078)
 MS Access interview questions  MS Access Interview Questions (25)
 MySQL interview questions  MySQL Interview Questions (194)
 Postgre interview questions  Postgre Interview Questions (6)
 Sybase interview questions  Sybase Interview Questions (22)
 DB Architecture interview questions  DB Architecture Interview Questions (5)
 DB Administration interview questions  DB Administration Interview Questions (213)
 DB Development interview questions  DB Development Interview Questions (53)
 SQL PLSQL interview questions  SQL PLSQL Interview Questions (775)
 Databases AllOther interview questions  Databases AllOther Interview Questions (107)
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

 
 
 
Other SQL PLSQL Interview Questions
 
  Question Asked @ Answers
 
I have one table,in that table (1)i have java1.1 version books are 2 and java1.5 version books are 4. (2).Net2.0 books are 3, .Net3.5 books are 2 (3)ABC1.6 books are 4, ABC2.0 books are 3. Now i want output is like Book Count Java 6 .Net 5 ABC 7 For this i need sql query, please help me if anyone how to get this result. Thanks, Seenu Adea 4
suppose I have two table one Emp and other is dpt. Emp table has a field ,dept id,name ,sal and dpt table has a field dept id,dept name. Now I want to find out the emplyee list whose sal is between 2000-3000 from dept x. Geometric-Software 6
What are the two parts of a procedure ? Hi-Caliber-IT 5
What will happen after commit statement ?   2
Its possible to add more than one primary key for the table   3
What are different types of joins ? BirlaSoft 5
What are the Restrictions on Cursor Variables?   2
what is the output of this query selet * from employee where 1=2 ??   11
In a table i have columns A,B,C and i have a composite index on columns A,B if so will the following query uses index or not? SELECT sal,name FROM <table_name> WHERE A=<value> AND B=<value> AND C=<value>; Mastek 1
Can any one tell me how to increase the performance of a sql query ie what are the performance tips in creating or writing a sql query !!? eBay 3
How packaged procedures and functions are called from the following?   2
How many LONG columns are allowed in a table?   5
 
For more SQL PLSQL Interview Questions Click Here 
         


   
Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
   
Copyright 2013  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  KalAajKal.com