Not knowing where you live, be sure to go below the frost line to prevent winter, if you get that kind of cold, from heaving the posts and ruining a nice flat plane.
I always thought if I built one i would cement 2” or 2 1/2” galvanized pipe into holes. The pipes would have threads on them and screw on flanges. Making sure the pipes were all at a depth so that all when checked with a bubble level would be perfect. The flange makes easy attachment of the top and if not under a roof like cover could be easily changed if weather eventually ruined it. It would be easy to make a tent like cover to prevent weather damage. If not under a roof like covering it would be easy to add a mount or hole for a good patio umbrella to keep the sun off of you. A stool could be stored up off the ground under the table with hooks or latches to keep the weather off of it as well. Most ranges have the “T” style bench tops for right and left hand shooters. Yours of course can be made for what ever handed you are.