Lay a large piece of cardboard or a rug on the floor.
Turn the table upside down on the cardboard or rug.
Examine how the legs connect to the table bottom. If the legs are permanently attached onto a brace, and the brace is screwed into the bottom of the table, then raising the top is easy by first removing the brace and attached legs. If the brace is welded to a metal table bottom then it cannot be removed without breaking the table.
Remove all four legs by either unscrewing their braces from the table bottom or unscrewing the main brace that they all attach to.
Cut a piece of plywood to fit between the brace and the table top. Plywood can be as thick as 1 inch, or you can use a solid piece of wood such as a 2-by-4 inch stud for a 2-inch increase, or a 4-by-4 inch beam for a 4-inch rise. Combining pieces of wood will give the correct rise. If each table leg connects separately, then you will need four equal pieces. With a single brace that all the legs fit into, you will need one piece large enough to cover the entire brace.
Place the brace against the additional piece of wood as if you were attaching it to the bottom of the table and mark where the holes for the screw will be drilled.
Drill through the plywood or other wood. Push the extra-long screws through the holes in the leg braces and the wood.
Screw the brace and wood to the table. Repeat the procedure for all the legs if they have individual braces.