select values which contains specific characters in mysql -


I have a database table in which there are questions in the same column in Hindi and English but keywords [English] [En:] And [hi] Hindi language [hi:] and some of them are no different from language tags

I only want to select those questions who have [en] [en] and [hi] [Hi] :] Tags in mysql

  select * mytable where my column '% [n]% [En:]% 'and' my name 'like'% [नमस्ते]% [नमस्ते]% '  

ध्यान दें This query will not be performing, but that you do not bring your database.

You can use a regex match to not find the 'tag', which contains other tags like [en] foo [hi] bar [en]: but this will also make the performance worse

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -