The best way to keep the cat off the table while you eat is to shut it in another room.
The best way to stop it from overeating is to stop overfeeding it.
Positive reinforcement of existing behaviours is the only way to 'train' 'tricks'.
putting a harness & lead on whilst still a kitten & bribeing & or playing to get movement in the desired direction may eventually get results - it seems to depend very much on the breed & temprament of the individual cat. Be prepared to carry cat as required! lol - good luck.