Expand|Select|Wrap|Line Numbers
- SELECT CONCAT(a.file_prefix, b.file_name) as filePrefix from site a, clicktrail b
- WHERE a.id = b.site_id
- AND a.name='Unique Name'
filePrefixA_
filePrefixB_
filePrefixC_
I need to remove the underscore from the end of each row, so the result would be
filePrefixA
filePrefixB
filePrefixC
I've been playing around with the SUBSTRING function, but I can't get the correct results, any help is greatly appreciated.