ここに私のMysqlクエリがあります
DELIMITER $$
USE `divineproposal_db`$$
DROP PROCEDURE IF EXISTS `pr_Search_Profile`$$
CREATE DEFINER=`root`@`%` PROCEDURE `pr_Search_Profile`(IN vGender CHAR(1),IN vMinAge INT,IN vMaxAge INT,IN vReligion INT)
BEGIN
SELECT DATE_FORMAT(FROM_DAYS(DATEDIFF(NOW(), cpl_DateofBirth)), "%Y")+0 AS Age FROM tbl_candidateprofile
WHERE Age>= vMinAge AND Age<=vMaxAge;
END$$
DELIMITER ;
エラー ::
Unknown column 'Age' in 'where clause'