Here is some info to help you. https://www.rd.com/home/cleaning-organizing/how-to-remove-water-stains-from-wood/
The black is old water stain. Usually have to sand and refinish.
here is a video
It depends what the stain is. If it's from water then you'll have to refinish the table