The following query produces the examples below. I want to pull only what is after the last (always the 3rd) semi colon. Each output will have different cities so I can't just trim it a certain amount of spaces as it will vary.
SELECT MAX(E.EVENT_DESC)
FROM IASDB.EVENT E
WHERE SL.INVOICE_NO = E.INVOICE_NO
AND E.EVENT_CODE IN 'EDL'
Examples:
Consignee;Jeffersonville,IN;J 6
Consignee;Nashville,TN;J 14
What do I need to do to only pull the characters that come after the last semi colon? (ex: 'J 6' or 'J 14')