mysql查询中能否同时判断多个字段的值

mysql查询中能否同时判断多个字段的值
例如:同时查询出one_day,two_day,three_day,four_day为班或为休的值
有没有简单的办法实现一下,因为有很多字段同时要判定智能含有('班','休'),下面只写了部分字段,写完之后会很多
目前代码:
select * from DY_GFYH_YG
where one_day IN ('班','休') and one_day IN ('班','休') and two_day IN ('班','休') and three_day IN ('班','休') and four_day IN ('班','休') and five_day IN ('班','休') and six_day IN ('班','休')

img

这个表结构设计的有些问题

当然可以啊,用where or查询不久行了

你该用上位做就用上位做,这种上位机一个for循环搞定的东西放sql里做就是要累死的节奏