I have a script that runs correctly pasted below:
SELECT s2.*, c.customerid ,c.[CustomerGender] ,c.[CustomerIsRegistered] ,c.[CustomerC