Print specific content [closed]

You can create a shortcode that will print table into your page or page content. You can call shortcode using this syntax. e.g. [your-shortcode-name]

see this link.
https://codex.wordpress.org/Function_Reference/add_shortcode

You can pass arguments and parameters also.

add_shortcode('shortcode-name','my_shortcode_handler'); 

function my_shortcode_handler($arg) {
    return "<some table tags>";
}