Require all tables to have an alias, and all field references to specify the table
Add CountDistinct and CountAll. Extract Expr::matchFields().