TRACKSound
Database (MySQL) - Day 9 | Primary Key and Foreign Key in MySQL Bangla | Lecturer 6
About this track
Types of Constraints | DBMS | Bangla Tutorial Database Management System (DBMS)-এ ডেটাকে সুসংগঠিতভাবে সংরক্ষণ করতে টেবিল ব্যবহার করা হয়। প্রতিটি টেবিলে এক বা একাধিক কলাম থাকে, এবং ডেটার সঠিকতা বজায় রাখতে কিছু বিশেষ key ব্যবহৃত হয়। ✅ Primary Key কী? Primary Key হলো একটি টেবিলের এমন একটি কলাম বা কলামের সেট যা প্রতিটি রেকর্ডকে অনন্যভাবে (unique) চিহ্নিত করে। ডুপ্লিকেট ভ্যালু থাকতে পারে না Null ভ্যালু থাকতে পারে না টেবিলের প্রতিটি row কে শনাক্ত করার জন্য ব্যবহৃত হয় উদাহরণ: StudentID, ProductID, OrderID ইত্যাদি। ✅ Foreign Key কী? Foreign Key হলো একটি টেবিলের এমন একটি কলাম যা অন্য একটি টেবিলের Primary Key-এর সাথে সম্পর্কযুক্ত। এর মাধ্যমে দুইটি টেবিলের মধ্যে সম্পর্ক (relationship) তৈরি হয়। ডেটার সঠিকতা (data integrity) বজায় থাকে Parent–Child relationship তৈরি হয় উদাহরণ: Orders টেবিলে CustomerID (Foreign Key), যা Customers টেবিলের CustomerID (Primary Key)-এর সাথে যুক্ত। ✅ SQL Server-এ Primary & Foreign Key ব্যবহারের গুরুত্ব: ডাটাবেজ আরও সুশৃঙ্খল ও পরিষ্কার থাকে ডেটার ডুপ্লিকেশন কমে যায় একাধিক টেবিলের মধ্যে relational structure তৈরি করা সহজ হয় জটিল query চালানো সহজ হয় (JOIN operations) Keywords: primary key and foreign key in sql with example primary key and foreign key difference primary key and foreign key in phpmyadmin primary key and foreign key in database primary key and foreign key in database bangla primary key and foreign key in sql primary key and foreign key in sql bangla primary key and foreign key in mysql primary key and foreign key in dbms primary key and foreign key in er diagram primary key and foreign key in ms access primary key and foreign key in database in hindi primary key and foreign key and unique key in sql #dbms #mysql #sql #databasemanagementsystem #primarykey #foreignkey
From the album
Amar iSchool39 tracks · Track 6Amar iSchool is an online platform designed to bridge the job market skill gap and advance careers. ...
→