i have data like 142456,Thakur Vinay,First.how to get name using substring in mysql? -


142456, vinay singh, first

i want name above data usingsubstringfunction in mysql

please can suggest this

if pattern same strings following should trick

mysql> select substring_index( substring_index('142456, vinay singh, first',',',2),',',-1); +------------------------------------------------------------------------------+ | substring_index( substring_index('142456, vinay singh, first',',',2),',',-1) | +------------------------------------------------------------------------------+ |  vinay singh                                                                 | +------------------------------------------------------------------------------+ 

Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -