RPA Customer Segmentation Challenge 8
In this challenge we have to find the age of users:
– 8
– Challenge
– One of the members of the marketing team had an idea of calculating
– how old users were when they signed up.
I tried this solution:
SELECT *,
DATE_FORMAT(FROM_DAYS(DATEDIFF(‘2023-03-28’, birthday)), ‘%Y’) + 0 AS age
FROM users;
But it doesn’t work. Can you help me to find an error?