ALLInterview.com :: Home Page KalAajKal.com
 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                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Code Snippets  >>  Programming Code  >>  Java Code  >>  J2SE Code
 
 


 

 
 J2SE Code interview questions  J2SE Code Interview Questions
 J2EE Code interview questions  J2EE Code Interview Questions
 J2ME Code interview questions  J2ME Code Interview Questions
Question
inner join,outerjoin,trigger,stored procedure explain with 
code snippets?
 Question Submitted By :: Aravinthraj
I also faced this Question!!     Rank Answer Posted By  
 
  Re: inner join,outerjoin,trigger,stored procedure explain with code snippets?
Answer
# 1
Join:It is the combining of two rows from different tables 
based on the comparative values in selected columns.

Types of Join : Cross Join, Inner Join or equi join and 
Outer Join which comprises of Left join and Right join.

Inner Join : It is used to select certain fields from both 
tables and only correct rows will be joined together.
Sytax:SELECT <column_name> FROM <Table1>, <Table2> WHERE 
(Table1.column = Table2.column)

Outer Join:
  Left join: It returns all the data's from the table 
present in left of the join and only those data's from the 
right tabel which matches the condition.
  Syntax:SELECT <column_name> FROM <Table1> LEFT JOIN 
<Table2> ON Table1.column = Table2.column (Conditions like 
WHERE and USING)

  Right join: It returns all the data's from the table 
present in right of the join and only those data's from the 
left tabel which matches the condition.
  Syntax:SELECT <column_name> FROM <Table1> LEFT JOIN 
<Table2> ON Table1.column = Table2.column (Conditions like 
WHERE and USING)
 
Is This Answer Correct ?    1 Yes 0 No
Vj
 

 
 
 
Other J2SE Code Interview Questions
 
  Question Asked @ Answers
 
how to store and retrive a set of values without using an array Maximus3
how to print a message to console without using main() function?(do not use even static blocks also.) Google3
How to create and run runnable jar file of a Java Project. HCL1
inner join,outerjoin,trigger,stored procedure explain with code snippets?  1
 
For more J2SE Code Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com