I have a sql table in a MySQL with the following records:
+------+----------+ | user | dob | +------+----------+ | john | 1/10/96 | | jane | 3/4/97 |
DELETE FROM users WHERE dob < '2000-01-01'
Please note : I am considering that you are actually saving date in datetime format in MYSQL. Also, you can use various formats for date in MYSQL. Refer : https://stackoverflow.com/a/14051310/6385845