mysql - Get values by comparing comma seperated string -


i have table this.

languages table

id  languages   1   english  2   spanish  3   hindi  4   portuguese 

users table

userid  languages  1421     1,3 1422     2,3,4 

i want output this

userid languages_names  1421    english,hindi 1422    spanish,hindi,portuguese 

thanks in advance.


Comments

Popular posts from this blog

php - Extract Text from HTTP referer -

Receive udp packets in android gstreamer -

authentication - ASP.NET Core 1.0. Bearer Token, cannot access custom claims -