Give an example of Full Outer Join?
Answer / senthil kumar
6. full outer join : ALL UNMATCHED DATA FROM BOTH TABLES
SELECT * FROM TABLE A FULL OUTER JOIN TABLE B ON (A.ID= B.ID)
Ex:
TABLE A
NO NAME 1 X
2 Y
5 Z
TABLE B
NO NAME 1 XX
2 YY
3 ZZ
4 AA
OUTPUT:
NO NAME NO NAME
1 X 1 XX
2 Y 2 YY
3 ZZ
4 AA
5 Z
Is This Answer Correct ? | 3 Yes | 0 No |
What is the full form of sql?
Does a join table need a primary key?
Can a view be mutating? If yes, then how?
1.when will you use week refcursor and when will you use strong ref cursor ? 2.what is the use of sql trace..how do you use it ? 3.can you please send all the sql plus commands...like set line 6000....
what is the functionality of the function htmlentities? : Sql dba
What is sp_helptext?
Which version of sql do I have?
Is delete faster than truncate?
what is union, minus and interact commands? : Sql dba
what is the difference between myisam static and myisam dynamic? : Sql dba
take one table is t1 and in that column name is f1 f1 column values are 200 5000 3000 7000 300 600 100 400 800 400 i want display the values asc and desc in a single output. sample output is f1.a 100 200 300 400 500 600 etc...... and f1.d is 5000 4000 3000 2000 1000 etc...
What are inner and outer joins examples of both?