You are here: Home >Posts Tagged ‘FULL JOIN

SQL FULL JOIN Keyword

คำสั่ง SQL FULL JOIN จะแสดงทุก Record ของทั้ง 2 ตารางไม่ว่า Record จะ Match Join Condition หรือไม่ก็ตาม The FULL JOIN keyword return rows when there is a match in one of the tables.

Tags: , , , ,

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • Twitter
  • RSS

SQL Joins

SQL Joins เป็นคำสั่งสำหรับเชื่อมข้อมูลที่มีตั้งแต่สองตารางขึ้นไป โดยมีความสัมพันธ์ระหว่างบางคอลัมน์ที่มีดาต้าเหมือนกัน หรือเป็นการเชื่อมระหว่าง Primary key กับ Foreign Key ซึ่งค่าที่เป็น Primary key จะต้องเป็นค่าที่ไม่ซ้ำ ข้อพึงระวัง SQL Joins จะเป็นคำสั่งที่เปลืองประสิทธิภาพเครื่องมากหากข้อมูลที่นำมาก Joins กันมาขนาดใหญ่ SQL joins are used to query data from two or more tables, based on a relationship between certain columns in these tables.

Tags: , , , , , , , ,

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • Twitter
  • RSS