编写一个查询,检索名称中包含字符“wo”和字符“I”或“i”的供应商。SQL
SELECT * FROM TABLE WHERE SUPPLIER_NAME LIKE '%WO%' AND SUPPLIER_NAME LIKE '%L%' OR '%I%'
kyxcudwk1#
试试这个
SELECT * FROM TABLE WHERE SUPPLIER_NAME LIKE '%WO%' AND (SUPPLIER_NAME LIKE '%L%' OR SUPPLIER_NAME LIKE '%I%')
1条答案
按热度按时间kyxcudwk1#
试试这个