0% found this document useful (0 votes)
5 views8 pages

Jayateamcs

The document explains the concept of natural joins in SQL, which allows for combining two or more tables based on common columns with the same name and data type without specifying the join columns. It provides an example of a SQL query that retrieves data from 'foods' and 'company' tables using a natural join. The document is a brief overview of natural joins and their implementation in SQL.

Uploaded by

xdminecraft35
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views8 pages

Jayateamcs

The document explains the concept of natural joins in SQL, which allows for combining two or more tables based on common columns with the same name and data type without specifying the join columns. It provides an example of a SQL query that retrieves data from 'foods' and 'company' tables using a natural join. The document is a brief overview of natural joins and their implementation in SQL.

Uploaded by

xdminecraft35
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 8

Joins In SQL

Joins In SQL
- Team Members -
Jayalakshmi
Harshitha
Rupika
Manyatha
Sastika
Natural join

refers to joining two or


more tables based on
common columns, which
have the same name and
data type. We do not need
to specify the column used
for joining two tables in
natural join. Natural join is
used to retrieve data from
more than one table in a
single place.
Real Life Examples

Natural join

Specifying the first table to select data


from, which is 'foods'. NATURAL JOIN
company; -- Performing a natural join
with the 'company' table. Explanation:
The SQL code retrieves data from two
tables, 'foods' and 'company', and
combines them into a single result set
using a natural join.
Implementation of joins
2. Natural -Join
Sql query to implement
joins. 2. Natural -Join

Example
Thankyou!!

You might also like