你好:LIKE 操作符LIKE 操作符用于在 WHERE 子句中搜索列中的指定模式。SQL LIKE 操作符语法SELECT column_name(s)
FROM table_name
WHERE column_name LIKE pattern'Persons'为表名,'City' 为字段名例子 1搜索某个字段中以‘N'打头的就可以这么下:SELECT * FROM Persons
WHERE City LIKE 'N%'例子 2搜索某个字段以'g'结尾的:SELECT * FROM Persons
WHERE City LIKE '%g'例子 3搜索某个字段里包含‘lon’的:SELECT * FROM Persons
WHERE City LIKE '%lon%'望采纳!