Added functionality to determine the base table of a query.
DDL for wp_dbr_queries table.