select ID from Profiles where status='Active' AND is_scamer <> '2' and DateOfBirth between DATE_SUB('2019-09-16', INTERVAL 90 YEAR) and DATE_SUB('2019-09-16', INTERVAL 18 YEAR)
Error
Database access error