Once you know the code, it’s pretty simple to implement.  Without the code, good luck!

Open up your WordPress admin and navigate to Appearance > Editor.  Click on Footer on the right side.  Find the bottom of your footer, near your copyright.

Put this code in wherever you want it.

<?php echo $wpdb->num_queries; ?> queries. <?php timer_stop(1); ?> seconds.

There you have it. You can add something like this if you want to:

This page called the database <?php echo $wpdb->num_queries; ?> times and was loaded in <?php timer_stop(1); ?> seconds.

Post a comment if you have problems.