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 are the parameters u apply for doing functional testing?
what to test in usability testing.?
Ho can i test the Email test boxes.
what are things to be tested in job portal websites?
can any body tell me vat is the status of the bug when it is going for retesting and where we write the bugs in case of retesting
What do you think the role of test-group manager should be? Relative to senior management?
Write the test cases for credit card accessing the money transfer
in database testing, which are the things u used?
Expain about double V model?
To test a application what is required is functional specfication or busniess requirment ?
write the test cases that you have scheduled an interview and you came for the same and you are about to take the interview.
In front end if you enter one record it will be inserted in to 20 tables in back end.so How you are going to test in Manually whether data is going properly in to concern data tables or not? Is there any better solution to do that instead of opening the table and checking individually?