Use Group By SELECT DISTINCT name FROM some_table WHERE xml LIKE '%name="name">[value to search for]%' GROUP BY name
↧
Answer by user3040610 for Query for searching if part of text is not distinct
↧