Much will depend on the material of the leg and the extent of the damage - the marble top is probably of little consequence.
If you value the table then a professional repair may be best - if you attempt to make your own repair it may possibly involve glue - there are help videos on YouTube.
https://www.youtube.com/watch?v=VlcODUSBnuE
Peccavi, March 2013