I'm trying to make an update query, I've added Holiday ID,Holiday Name, and Cost to the query and am trying to find a way to set the criteria for Holiday Name to select Thanksgiving, Christmas, and New Years. I thought it would be simply

[Holiday Name]="Thanksgiving" "Christmas" "New Years"

but that didn't turn out very well. Any and all help is much appreciated.

有帮助吗?

解决方案

Try:

WHERE [Holiday Name] in ('Thanksgiving', 'Christmas', 'New Years');
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top