SELECT where row value contains string MySQL May 1, 2023 by Tarik Use the % wildcard, which matches any number of characters. SELECT * FROM Accounts WHERE Username LIKE '%query%'