Question: SQL - Joins The purpose of this SQL query is to return a full list of Customer IDs from the Customer Dimension, even if they
SQL Joins
The purpose of this SQL query is to return a full list of Customer IDs from the Customer Dimension, even if they have never made a purchase on the Fact Sales table. Which join type should be used to ensure that all customer IDs are returned?
SELECT
dcCustomerID AS CustomerID,
dcSignUpDate AS SignUpDate,
SUMfsSalesAmount AS SalesAmount
FROM FactSales ASfs
DimCustomer AS dp
ON fsProductKey dpProductKey
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
