0% found this document useful (0 votes)
22 views7 pages

Inner Join

Uploaded by

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

Inner Join

Uploaded by

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

COUNTRY ID COUNTRIES DATE COUNTRY ID.

1 UNIT
1 BENI 1/1/2023 0:00 1 200
1 BENI 1/2/2023 0:00 1 400
2 NIGER 1/3/2023 0:00 2 900
3 TOGO 1/4/2023 0:00 3 600
4 MALI 1/5/2023 0:00 4 450
4 MALI 1/6/2023 0:00 4 330
4 MALI 1/7/2023 0:00 4 200
DATE COUNTRY ID UNIT COUNTRY ID.1 COUNTRIES
1/8/2023 0:00 8 120
1/9/2023 0:00 9 130
DATE COUNTRY ID UNIT COUNTRY ID.1 COUNTRIES
1/1/2023 0:00 1 200 1 BENI
1/2/2023 0:00 1 400 1 BENI
1/3/2023 0:00 2 900 2 NIGER
1/4/2023 0:00 3 600 3 TOGO
1/5/2023 0:00 4 450 4 MALI
1/6/2023 0:00 4 330 4 MALI
1/7/2023 0:00 4 200 4 MALI
1/8/2023 0:00 8 120
1/9/2023 0:00 9 130
DATE COUNTRY ID UNIT COUNTRY ID.1 COUNTRIES
5 COTE D'IVOIRE
6 GABON
DATE COUNTRY ID UNIT COUNTRY ID.1 COUNTRIES
1/1/2023 0:00 1 200 1 BENI
1/2/2023 0:00 1 400 1 BENI
1/3/2023 0:00 2 900 2 NIGER
1/4/2023 0:00 3 600 3 TOGO
1/5/2023 0:00 4 450 4 MALI
1/6/2023 0:00 4 330 4 MALI
1/7/2023 0:00 4 200 4 MALI
5 COTE D'IVOIRE
6 GABON
SALES RECORD COUNTRY
TRANSACTION TABLE MAIN TABLE
DATE COUNTRY ID UNIT COUNTRY ID COUNTRIES
1/1/2023 1 200 1 BENI
1/2/2023 1 400 2 NIGER
1/3/2023 2 900 3 TOGO
1/4/2023 3 600 4 MALI
1/5/2023 4 450 5 COTE D'IVOIRE
1/6/2023 4 330 6 GABON
1/7/2023 4 200
1/8/2023 8 120 INNER JOINT
1/9/2023 9 130 1. YOU ARE ASKED TO HELP CT COMPANY TO FIND OUT THE INFORMATION OF ALL
WHO HAVE THEIR NAME IN THE COUNTRY TABLE AND HAVE ALSO PLACED PRDER.

Left join is a type of join operation that returns all rows.


LEFT JOIN ONLY ANTI IN FIRST IS JOIN, IS STATEMENT WHICH ALLOWS YOU TO RET
INFORMATION FROM THE LEFT AND DO NOT HAVE MATCHING ROWS ON THE RIGH
Example : You are asked to find out all the information of customers who pllaced or
their information in the list of country.
left join is a type of join operation that returns all row from the left and the matchi
right table. in Power Query, you can perform a left join by selecting merge queries f
and then, choosing left outer as the join kind.

Example: you are asked to retrieve information about all the customer who placed
information exist in the country table or not and the same result should display info
country deals who are placerd only order.
------------------------------------------------------------------------------------------
RIGHT ANTI JOIN
is used to bring the details of the table on the right side matching only with the tab
Example: You are asked to find out the detail of the country in the right table who h
RIGHT OUTER JOIN is used to pull all the information of the right table whether the
not and adds the table information which has only matching row with the right tabl
Example: You are asked to find out all the information countries whether they place
join to the same query detail of all the customer who placed order but have only m
right table.
E INFORMATION OF ALL THE COUNTRIES
E ALSO PLACED PRDER.

CH ALLOWS YOU TO RETRIEVE ALL THE


NG ROWS ON THE RIGHT SIDE .
ustomers who pllaced order but do not have

the left and the matching rows from the


electing merge queries from the home tab,

e customer who placed order whether the


esult should display information about all the

------------

tching only with the table on the left side.


in the right table who have placed order.
right table whether there is matching row or
g row with the right table.
tries whether they placed order or not and
d order but have only matching row with the

You might also like