This question shows research effort; it is useful and clear
0
This question does not show any research effort; it is unclear or not useful
Bookmark this question.
Show activity on this post.
我正在使用 SQL 设置一个段,我需要捕获生日将在 15 天后的联系人。
SELECT *
FROM $A$
WHERE EXTRACT(month FROM BIRTHDATE) = EXTRACT(month FROM CURRENT_TIMESTAMP)
AND EXTRACT(day FROM BIRTHDATE) = EXTRACT(day FROM CURRENT_TIMESTAMP - 15)