📜  mysl like insert a variable - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:10.189000             🧑  作者: Mango

代码示例1
SET @email = 'test@test.com';

SELECT email from `user` WHERE email LIKE CONCAT('%', @email, '%');