Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT
- id,
- email,
- birthday,
- birthmonth,
- birthyear,
- str_to_date(concat(birthmonth,"/",birthday,"/",birthyear), '%m/%d/%Y') AS birthdate
- FROM
- users
- WHERE
- birthdate > str_to_date('1990/00/00','%m/%d/%Y');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement