self join query in sql.
15 objective questions.
What is equi join and outer join
Answers were Sorted based on User's Feedback
Answer / swaroopa
What is Equi Join and Outer Join ?
Equi Joins are also called Simple Joins or Inner Joins.
An equi-join is a join based on equality or matching
between the column values for two different tables.
This equality is indicated with an equal sign (=) as the
comparison operator in the WHERE clause
Ex:SELECT * FROM manufact, stock
WHERE manufact.manu_code = stock.manu_code
manufact and stock are the tables on the manu_code column.
It retrieves only those rows for which the values of the
two columns are equal.
Outer Join:
OUTER JOIN is used to join two tables even if there is not
a match. The joined table retains each record—even if no
other matching record exists. Outer joins subdivide further
into left outer joins, right outer joins, and full outer
joins, depending on which table(s) one retains the rows
from (left, right, or both).
Is This Answer Correct ? | 7 Yes | 0 No |
Answer / latha
self join:one physical table is divided into two logical tables and perform join operation on that tables.
query:
select a.eno,a.ename,b.ename as manager name from emp a,emp b where a.manager num=b.eno
equi join:perform join operations on matching columns on both the tables
Is This Answer Correct ? | 1 Yes | 1 No |
what is the impact analysis?
hi am new to testing please anyone suggest a text book or materails so that it will help me to understand testing.please give me as soon as possible
what is usability defect?Give one exapmle.
what are all the things we will include in " what to be tested and what not to be tested" in Test Plan
What is cookies?How do you test cookies?
what is a Checklist
What does entry and exit criteria mean in a project?
Hi friends Does anyone have screen shot of POWERMHS and please can anyone post anything which will be helpful to understand POWERMHS. thanks.
What makes a good QA or Test Manager?
How you can ensure that Bug is Duplicate?How to solve?
When the 1st time I will log into the application it will ask to change the passward.After 30 dayz the passward will expire and the application is unaccesible.U cant alter the server time.... How will u test it??
What are the test cases for the fields, Name, Password, Login id, Address, phone,etc.?