I have 2 table A and B. In A 1 lakh record is present. In b 20 thousand data is present. To get the unique data from table A and B which join we should prefer left inner join or right outer join. Please answer.
Answers were Sorted based on User's Feedback
Hi,
I have used left outer join
select
a,
b
from
tab1 ,
tab2
where
tab1.a = tab2.b(+);
| Is This Answer Correct ? | 0 Yes | 0 No |
Define union, minus, union all, intersect ?
what is the difference between a having clause and a where clause? : Sql dba
can sql servers linked to other servers like oracle? : Sql dba
What is the use of index in sql?
how view used for security purposes?
What happens if a procedure that updates a column of table X is called in a database trigger of the same table ?
how many tables will create when we create table, what are they? : Sql dba
What are the data types allowed in a table?
i want run a sql query query? which phases are run in a back ground? pls tell me the answer
Is sql sequential or random?
From an Employee table, how will you display the record which has a maximum salary?
29 Answers Cap Gemini, Exilant, Synechron,
What is an escape character in sql?
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)