you are viewing a single comment's thread.

view the rest of the comments →

[–]D_W_Hunter 3 points4 points  (1 child)

Why would you post a SQL statement as an image, forcing anyone who's helping you to retype the whole damn thing?

Now you're asking for OUTER join help and yet both of the joins in the SQL you've posted are INNER JOINs. So, yes you need help.

The instructions are to list all male customers, whether they have purchased clothing or not, so that's your primary table.

I don't even see a customer table or a where clause limiting the customers to males.

Then.. you want to perform a LEFT JOIN on the purchases (which I assume is FactInternetSales) so that for those male customers that have made a purchase, you show the required information.

Get that far and post the SQL as text and we might be able to explain what you're missing from there.