Uw zoekopdracht ziet er ongeveer zo uit:
SELECT * FROM your_table WHERE YEAR(CURDATE())-YEAR(BirthDate) BETWEEN 10 AND 20;
Uw zoekopdracht ziet er ongeveer zo uit:
SELECT * FROM your_table WHERE YEAR(CURDATE())-YEAR(BirthDate) BETWEEN 10 AND 20;