mysql: select * from test where school_name like concat(‘%‘,${name},‘%‘)
oracle: select * from test where school_name like ‘%‘||${name},‘%‘
SQL Server:select * from test where school_name like ‘%‘+${name},+‘%‘
时间: 2024-10-08 19:18:44
mysql: select * from test where school_name like concat(‘%‘,${name},‘%‘)
oracle: select * from test where school_name like ‘%‘||${name},‘%‘
SQL Server:select * from test where school_name like ‘%‘+${name},+‘%‘