Skip to content
Advertisement

filter the result by ‘g / ml’ using SQL

I have the below table from which I need to filter which holds both “g / ml”.

The below query gives me result as

The expected result is

What I can apply in the where clause to get the expected results

Advertisement

Answer

Just use %g/%ml%. The % can appear in any position in the matching pattern.

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