我的查询有问题,即使我现在发布帖子,TIMESTAMPDIFF 也不适用于 MINUTE。但是,如果我把 DAY 或 MONTH 放在它的工作原理上,我真的无法弄清楚可能是什么问题。我有比秒更新的帖子。请任何帮助将不胜感激
SELECT h2s_job.job_id,
h2s_job.job_title,
h2s_job.job_description,
h2s_job.job_category,
h2s_job.wantORoffering,
h2s_job.address,
h2s_job.cell,
h2s_job.email,
h2s_job.date_registered,
h2s_ad_info.date_registered,
h2s_job.user_id
FROM h2s_job
INNER JOIN h2s_ad_info ON h2s_job.user_id=h2s_ad_info.user_id
WHERE TIMESTAMPDIFF(MINUTE,h2s_ad_info.date_registered ,NOW())<1