Sand the surface of the table. If you only have a few scratches, sand just the areas where the scratches are located. Move the paper with the grain of the wood and work several inches out from where the actual scratch is located. Sand lighter along the edges of the area so that smooths out and tapers the sanded area up to the surface of the table so that it doesn't create a dip. If the table is scratched all over, sand the entire table surface to remove the scratches. Start with a 300-grit paper to remove the finish, then change to a 400-grit to smooth it even more.
Wipe the tape down with a slightly damp rag to remove dust.
Brush on a wood stain that matches the rest of the wood. It is best to brush it on a scrap piece of wood to check the color before you apply it to the table top. Brush with the grain.
Let the stain dry, and apply a second coat if needed to darken it.
Brush on a clear coat when the stain is dry, following the grain of the wood. Let the clear coat dry for several hours. Sand the clear coat lightly after it is dry, and apply a second coat.