#1 India's Top IT Training Institute

×

About Uncodemy

Know more about who we are and what we stand for.

About Us

About Us

Discover our mission to equip individuals with essential IT skills and industry expertise.

Read More →
UnCodeMy Gallery

UnCodeMy Gallery

Explore highlights from our IT training sessions and success stories.

Read More →
×

Free Resources

Learn, practice and plan your career — bilkul free.

Tutorials

Tutorials

Step-by-step written tutorials to learn any technology at your own pace.

Read More →
Free Counselling

Free Counselling

Book a free video counselling session and pick the right course for you.

Read More →
Online Compiler

Online Compiler

Write, run and test your code online — no setup required.

Read More →
SQL for Testers

Obtaining data from multiple tables

Why Query Multiple Tables?

Relational databases split data across many tables to avoid duplication (normalization). Retrieving a complete picture — for example, an order along with its customer's name — usually means combining rows from two or more tables in a single query.

How It Works

SQL combines tables using a JOIN, which matches rows from one table to rows in another based on a related column, typically a foreign key referencing a primary key.

SELECT o.order_id, c.customer_name
FROM orders o
JOIN customers c ON o.customer_id = c.customer_id;

Why Testers Need This Skill

Application screens often display data assembled from several tables. Being able to write the equivalent multi-table query lets a tester independently verify that the UI is showing the correct, correctly-joined data.

Ready to master real-world software testing?

Learn manual and automation testing hands-on with mentor-led sessions.

Explore Course