Concatenate string in SQL instead of PHP