added table query, along with a few queries in the moreQueries.php file