mysql select last word in a string November 11, 2010 Example: select last word of column 'address' in students table:SELECT SUBSTRING_INDEX(address,' ',-1) from students Share Get link Facebook X Pinterest Email Other Apps Share Get link Facebook X Pinterest Email Other Apps Comments
Comments
Post a Comment