When we got our first dog, Hubby and I agreed on a bunch of house rules, including no dogs on the furniture, no dogs in bed, and no feeding from the table. We've broken every rule except for this one. I hate it when dogs beg at the table, and so although our dogs do sometimes get table scraps, they go in a dog dish onto the floor in the kitchen.
Our dogs now just sit quietly a couple of feet away from the table and watch us very intently. As soon as one of us gets up for any reason, they race for the kitchen. (even if that's not where we're going)