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 |
How do I add a database to sql?
how to check the 3rd max salary from an employee table?
How do I add a primary key to a table?
explain normalization concept? : Sql dba
How do we accept inputs from user during runtime?
3. Select sum(a) sum_1,max(a) max_1 ,count(a) count_1 from ( ( select 1 a from dual union all Select to_number(‘2011’) a from dual union all select 1 a from dual) union select 2 b from dual);
How to find string or key value using pl/sql code?
Why is a primary key important?
Is sql a programming?
what is called after appearing where clause
Can a select statement fire a trigger?
Explian rowid, rownum? What are the psoducolumns we have?
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)