I i have 2 tables A & B ,A contains 10 records B contains 20 records ,what w'll be the o/p
if we perform equijoin,outer join,right outer join,left outer join,full outer join,cross join seperately
Can anyone help on this?
Answers were Sorted based on User's Feedback
Answer / ankit sinha
equijoin will produce only the common record.
A right outerjoin B will produce all common records with
remaining records from B . The point to be noticed here is A
is right outerjoined to B which means common records from A
as well as remaining records from B
Opposite things happen with A left outerjoin B
Full outer join means common records and remaining records
from both the tables
crossjoin means multiplications
suppose A has 4 records and B has 4 records.
Total output will have 16 records.
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / mandayan
not pasible to help u becouse u have to give with data ok
| Is This Answer Correct ? | 1 Yes | 1 No |
select top 3 sal from each dept?
17 Answers IBM, TCS,
how to get enames with comma seperated values by deptwise on emp table?
What is materialized view. What are different methods of refresh?
What is mutating sql table?
Show the two pl/sql cursor exceptions.
How many columns should be in an index?
what is bcp? When does it used? : Sql dba
what is variable in package specification
What is the difference between delete, truncate and drop command?
Which sorts rows in sql?
Where are my tempfiles, I don't see them in v$datafile or dba_data_file?
What is your daily office routine?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)