How to stop begging at the table
Never feed from table.
Intermittent reinforcement (giving in once in a while) makes begging stronger. Send dog to their 'Place' or bed during meals.
Management
Use a baby gate to keep them in another room during dinner if needed.