📜  按 2 列查询 mysql - SQL 代码示例

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

代码示例1
SELECT * FROM tbl_customer 
    WHERE CustomerName LIKE '%".$search."%'
    OR Address LIKE '%".$search."%' 
    OR City LIKE '%".$search."%' 
    OR PostalCode LIKE '%".$search."%' 
    OR Country LIKE '%".$search."%'