DEV Community

Cover image for Joins in SQL ( Part 02 )
Muhammad Rameez
Muhammad Rameez

Posted on

1

Joins in SQL ( Part 02 )

A JOIN statement in SQL is used to combine data from two or more tables based on a common field. It can be used to retrieve data from one table that is related to data in another table. A JOIN statement typically consists of the names of two or more tables, followed by an ON clause that specifies the join conditions. The type of JOIN, such as INNER JOIN, LEFT JOIN, or RIGHT JOIN, also determines how the joined tables are related and what data is returned.

Top comments (0)

Heroku

This site is powered by Heroku

Heroku was created by developers, for developers. Get started today and find out why Heroku has been the platform of choice for brands like DEV for over a decade.

Sign Up