I have two data sets: attendance at a day care in September & attendance at a day care in October. The columns in the data sets are student ID, first name, last name, and then each date of the month. The value is marked as a 1
if they attended that day and a 0
if they didn't. Looking to pull this together into one data set so it shows a smooth transition from September to October.
SELECT
*
FROM
`ready-set-grow-analysis.RSG_Analysis.Sep_Att` AS Sep
FUll JOIN
`ready-set-grow-analysis.RSG_Analysis.Oct_Att` AS Oct
ON
Oct.First_Name = Sep.First_Name
But after the 09/30/2022
column rather than going straight into 10/01/2022
, it creates three more columns that say Student_Id_1
, First_Name_1
, and Last_Name_1
before proceeding.