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
dc.CustomerID AS CustomerID,
dc.SignUpDate AS SignUpDate,
SUM(fs.SalesAmount) AS SalesAmount
FROM FactSales ASfs
________________ DimCustomer AS dp
ON fs.ProductKey = dp.ProductKey

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!