Default behaviour of wp db tables is to only show tables that match the prefix that is set in the wp-config.php file.
However, if a wildcard is added to only retrieve a specific subset of tables, the prefix in wp-config.php is ignored, and all matching tables are shown.

In the above screenshot, the queries with a wildcard not only show as_wp_posts, but also wp_posts. The expected behavior would be to only show as_wp_posts. Even trying to force the (default) option to obey the prefix does not produce the expected result.