6 Apr
2010
6 Apr
'10
2:02 p.m.
This has been solved, I misinterpreted the SUB_DATE() function output, for anyone's reference the answer I needed was SELECT name FROM visitor WHERE dob <= DATE_SUB(CURDATE(), INTERVAL 21 YEAR) AND dob >= DATE_SUB(CURDATE(), INTERVAL 25 YEAR) Sorry for the noise ;) -- Regards, James. http://www.jamesbensley.co.cc/