I am trying to find the average age of customers from date of birth but struggling. Any pointers would be appriecated. I have looked at the following two webpages but still just keep getting errors. I imagine it will look something like this.
SELECT AVG(SELECT Date({metric/this_year}) - {label/DateOfBirth.year} )

Best answer by michal
View original