What are different types of joins ?
Answers were Sorted based on User's Feedback
Answer / amit das
1.Equi join
2.Natural Join
3.cartegian/cross/non-equi join
4.outer join(+)>>a)left outer join
b)right outer join
5.self join
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / mathan kumar
Two Type of Joins are there
1) Inner Join
2) Outer Join
In Inner join has 3 types they are as follows
a)Equi join
b)Cross Join
c)Natural Join
In Outer join has 3 types they are as follows
a)Left Outer Join
b)Right Outer Join
c)Full Outer Join
Is This Answer Correct ? | 2 Yes | 1 No |
Answer / sreekanth
Basically there are 5 types of joins, they are
1.Equi join
2.Non-equi join
3.cartegian join
4.outer join(+)>>a)left outer join
b)right outer join
5.self join
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / t.rajesh gupta
Different types of joins are 1.self join, 2. Equi join, 3.
non-equi join 4. cross join
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / amar misra
1-Inner Join
2-Outer Join
3-Left Join
4-Right Join
5-Self Join
Is This Answer Correct ? | 0 Yes | 0 No |
Hi Guys, I have a situation where I need to access the column values from rowtype variable. However, the column names are dynamic. below is sample code: declare Cursor c1 is select * from emp; Cursor c2 is select column_name from xyztable; v_c2 c2%rowtype; v_str varchar2 v_value varchar2(200); begin for rec in c1 loop open c2;---this cursor has column names like EMPLOYEE_ID, FIRST_NAME, LAST_NAME etc. loop fetch c2 into v_c2; exit when c2%notfound; /* now lets say i want to access value of LAST_NAME from cursor c1, so I am writing below code, however it does not work as expected */ v_str:= 'rec.'|| v_c2.column_name; -- this will give me string like "rec.EMPLOYEE_ID" v_value:=v_str; end loop; end loop; end; / Plz help ASAP.Thanks.
What does (*) mean in sql?
What is sql table?
What does “select count(*) from tab” result?
15 Answers IBM, Student, Wipro,
use of IN/ANY/ALL
How do you remove duplicate records from a table?
Does a primary key have to be a number?
create a store procedure and created synonms for that store procedure after modify that store procedure will effect on synonms? If we delete the store procedure what happened to that synonms?
How is a process of pl/sql compiled?
Explain ttitle and btitle.
can we use out parameter in a function?Give an example.
which will default fire first statement level trigger or row level trigger
2 Answers Cap Gemini, Data Vision,