Dear Corpse, (I hope that is not how you really are. )
It would depend on what your rotary table and controller want to "see" to index the table. G00 A5. would move a Haas table 5 degrees.
Do you have any manuals with your table? Or your controller?
As for the G code thing do a search here and you should finds several posts. I remember one just the other day Started by a Kathy, that had some good links.
Here is a link to that post. G-Code letters What are the definitions?
Unfortunately ever controller can use different G codes. So again it would be depend on what you are using. Same thing with canned cycles.