8 joins

August 24, 2018 | Author: api-323497582 | Category: Information Retrieval, Software, Data, Computer Programming, Computer Data
Share Embed Donate


Short Description

Download 8 joins...

Description

===================================   JOINS =================================== -- Joins Means as a name combined somthing. -- In The Oracle SQL Join means combined Two or More Tables Together. --------------------------TYPES OF JOINS:---------------------------1.Natural Joins. This Natural Joins Two Two table based On Same !olumn Name. ".Inner Join # Sim$le Join %.&'ui(oins ).NON&'ui(oins *.Outer Join i. Le+t Outer Join  ii.  ii. ,ight Outer Join Join iii. ull Outer Join .Sel+ Joins. /.!ross Join -------------------------1. Natural Joins: ------------------------- 0ou  0ou can Join Table Table utometical2 based based on the coloumn in the Two Tables Tables that ha3e matching datat2$es and names. 0ou this b2 4sing NT4,L JOIN b2 This 5e2word. &.g.1-6Join Two Tables using Natural Joins SQL6desc em$lo2ees7 SQL6desc de$artments7 SQL6select em$lo2ee8id9 (ob8id9 salar29 de$artment8id9 manager8id9 de$artment8name +rom em$lo2ees NT4,L NT4,L JOIN de$artments7 &.g."-6Join More than Two Tables 4sing Natural Joins SQL6desc em$lo2ees7 SQL6desc de$artments7 SQL6desc locations7 SQL6desc countries7 SQL6select em$lo2ee8id9 (ob8id9 salar29 de$artment8id9 manager8id9 de$artment8name9 street8address9 cit29 countr28name +rom em$lo2ees NT4,L JOIN :&;, :& ;,TM&NTS TM&NTS NT4,L JOIN LO!TIONS NT4,L JOIN !O4NT,I&S7 &.g.)-6 Natural Joins
View more...

Comments

Copyright ©2017 KUPDF Inc.
SUPPORT KUPDF