标签: mysql
大家好我想比较一个DAYNAME和一个String,例如
df.reset_index(df.index)
感谢您的所有答案
答案 0 :(得分:2)
SELECT case when DAYOFWEEK(CURDATE()) = 2 then 'ARE EQUAL' else 'ARE NOT EQUAL' end as is_monday
DAYOFWEEK周日返回1,周一返回2,...
DAYOFWEEK