Answers for "MySQL - How to find word with the most similar beginning"

SQL
0

MySQL - How to find word with the most similar beginning

select * from words where 'StackExch_bla_bla_bla' LIKE CONCAT(words.word_column,'%')
order by length( trim( words.word_column )) DESC limit 1
Posted by: Guest on October-16-2021

Code answers related to "MySQL - How to find word with the most similar beginning"

Code answers related to "SQL"

Browse Popular Code Answers by Language