Skip to content
Advertisement

Regular expression in mysql to answer the given query

my mysql table has a column structure that dumps various attributes which is separated by “;” for each of the element of a html file.

I want to write a query that selects the rows that have

the first query can be answered this way

I am not sure of how to handle the other two queries . Please give me some valuable insights.

Advertisement

Answer

These patterns should do what you want:

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement