Simplify select($table) and join($table, ...)

Started working on table aliasing, even though nothing actively supports it.
This never worked properly, because `setTable` would convert the result into a string, replacing the table alias with the plain table name.