Pixel KNOWS she's not allowed on the table when there is food on it (I gave up policing her *all* the time lol) and usually our dinners go like this:

Me: Pixel OFF the table! *spray*

5 seconds later ...

Me: Pixel OFF the table! *spray*

5 seconds later ...

Me: What did I tell you, OFF THE TABLE, PIXEL! *spray spray spray*

5 seconds later ...

Me: Pixel OFF the table! *spray*

(repeat another 20 times)

Daddy: OFF THE TABLE, PIXEL, GRRRRR!!

(Pixel runs)

30 seconds later ...

Me: Pixel OFF the table! *spray*

(and so on, until dinner is finished. I think she thinks it's a game!)