Quick Note

primary key = unique + not null

Intro to Database system

“Information is data that have been put into a meaningful and useful content and communicated to a recipient who uses it to made decisions”

Data - ข้อมูลเฉยๆ แบบ raw, data มันคือ fact ข้อมูล

Information - รายละเอียดข้อมูลที่ผ่านการ process data มา

Traditional file system

con:

  1. Redundancy - ข้อมูลซ้ำ
  2. Inconsistency - ข้อมูลไม่สอดคล้อง
  3. Lack of data integration - คาดการรวมข้อมูล
  4. Program dependence - โปรแกรมขึ้นกับข้อมูล
  5. Limited data sharing - จำกัดการใช้ร่วม
  6. Problem of Security - ปัญหาความปลอดภัย

database - จัดการกับ collection of data base on database management system (DBMS) โดยจะจัดการข้อมูลอย่างเป็นระบบ