SET @email = 'example@sqldat.com'; SELECT email from `user` WHERE email LIKE CONCAT('%', @email, '%');