In addition, you can also consider adding a cushion or rubber cushion at the bottom of the table foot to increase stability. This can provide better support and reduce the left and right shaking of the table. Choose a suitable cushion or rubber cushion to ensure that its size matches the bottom of the table leg. Fixing the floor mat at the bottom of the leg can be done with adhesive or nails, which can better solve the problem of table shaking from side to side.
If the above methods can't effectively solve the problem, or the table itself has problems, then further repair measures are needed. You can contact a professional furniture repair service shop or carpenter for repair. They will provide professional suggestions and solutions according to the actual situation to ensure that the problem of table shaking from side to side is completely solved. Don't try to repair it yourself, so as not to cause more harm or danger.
In short, when the legs of the table sway from side to side, you can try to tighten the screws, increase the bottom pad or seek the help of professionals to solve this problem. I believe that after trying the above methods, you will definitely find a suitable solution to stabilize the table and let you use it with peace of mind.