Tech TutorBangla Web Documentation
Portfolio
HomeHTMLCSSTailwind CSSJavaScriptTypeScriptReactNext.jsNode.jsExpressSocket.IOExpoWordPressPostgreSQLPrismaPostgresNestJSMongoDBDockerTanStackTanStack TableRTK QueryGitGitHub
  • PostgreSQL Documentation40টি অধ্যায়
প্রযুক্তি নির্বাচন
HomeHTMLCSSTailwind CSSJavaScriptTypeScriptReactNext.jsNode.jsExpressSocket.IOExpoWordPressPostgreSQLPrismaPostgresNestJSMongoDBDockerTanStackTanStack TableRTK QueryGitGitHub
  • Postgres Intro
  • Relational Model
  • Install & Setup
  • Connect psql
  • SELECT basics
  • Data Types
  • Create Table
  • Constraints
  • INSERT / UPDATE / DELETE
  • NULL & COALESCE
  • Schema Design
  • Relationships
  • Joins
  • Joins Advanced
  • Aggregation
  • ORDER / LIMIT
  • String Functions
  • Date Functions
  • Subqueries
  • CTE (WITH)
  • Views
  • Window Functions
  • Transactions
  • Indexes
  • Performance
  • UPSERT
  • JSONB
  • Full-Text Search
  • Triggers
  • Roles & Privileges
  • Backup & Restore
  • Node + PostgreSQL
  • Prisma Intro
  • Prisma Migrations
  • TechShop Schema
  • TechShop Queries
  • TechShop API
  • Best Practices
  • Common Mistakes
  • Interview Questions
  1. Docs
  2. PostgreSQL
  3. INNER / LEFT JOIN — একাধিক table একসাথে
PostgreSQLIntermediate

INNER / LEFT JOIN — একাধিক table একসাথে

JOIN-এর মূল ধারণা — matching row-এর সাথে data আনা।

5টি অংশবাংলা ভাষায়

JOIN — দুটি table-এর row matching <condition>-এর ভিত্তিতে একত্রিত করে।

INNER JOINsql
sql
SELECT o.id, u.name, o.total
FROM orders o
JOIN users u ON u.id = o.user_id;
JOINResult
INNER JOINশুধু matching row
LEFT JOINleft table-এর সব + matching; না মেলে NULL
RIGHT JOINright table-এর সব + matching
FULL JOINদুই পাশের সব
LEFT JOIN — order না থাকলেও usersql
sql
SELECT u.name, o.id AS order_id
FROM users u
LEFT JOIN orders o ON o.user_id = u.id;
alias বাধ্যতামূলক নয়, তবে

o, u short alias — query পড়া ও লেখা দুটোই সহজ। একাধিক table-এ same column-নাম হলে alias না দিয়ে ambiguity error আসে।

শেষ প্যারায় নিজে practice করুন — কোড কপি করে নিজের এডিটরে চালিয়ে দেখুন।
আগেরRelationships — one-to-many, many-to-manyপরেরMultiple & Self JOIN — জটিল relation
Tech Tutor

বাংলায় ওয়েব ডেভেলপমেন্ট ডকুমেন্টেশন শিখুন — ধাপে ধাপে।

Homeসব ডকুমেন্টেশনQuick Startআমার নোটস

© 2026 Tech Tutor. বাংলায় শিখুন, বাংলায় গড়ুন।

mdanamolhasan1998@gmail.com