Extract table references from all expressions.