sql join on alias column name