Exactly. In the above case, AI should be able to verify it's own hypothesis by having access to the database's table statistics and planner.