Update Db.class.php

Added option for "SHOW" query, and changed requirement to check for first 6 letters. Not all query types are words with 6 letters.