It depends on the material the table is made out of. If the table is made out of wood you can paint over it with some steps like light sanding and using the right paint. If the table is made out of a laminate material, paint often doesn't stick to this kind of material so you'll need to put a primer over the table that helps the paint stick.