Question

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.

Était-ce utile?

La solution

Try:

WHERE [Holiday Name] in ('Thanksgiving', 'Christmas', 'New Years');
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top