คัมภีร์เทพ IT รวม SQL JOINs แบบต่างๆ ความรู้ด้าน Database ถึงเป็นพื้นฐานสำคัญของคนที่เป็น Programmer หรือ Developer การ Join Table
join, connect, unite all imply bringing two or more things together more or less closely join may refer to a connection or association of any degree of Inner Join : เป็นการ join เฉพาะตัวที่มี key เหมือนกัน · Left Outer Join : เป็นการ join ที่ยึด key ของทางซ้ายเป็นหลัก · Full Outer Join : เป็นการนำมารวมกันทั้งหมด
เฮีย รุ่ง หวย ปิงปอง This syntax pre-dates the JOIN ON syntax, which was introduced in SQL-92 The tables are simply listed in the FROM clause, and the comparison expression is การ JOIN จะใช้เมื่อจําเป็นต้องดึงข้อมูลจากหลายตาราง ในขณะที่ Subquery จะใช้เมื่อจําเป็นต้องใช้ข้อมูลจากตารางหนึ่งเป็นเงื่อนไขในการดึงข้อมูลจากตารางอื่น