情景1:同一个表里的多个字段
SELECT * FROM orders o where concat(o.email,o.address) like "%关键字%"
情景2:不同表里的多个字段
SELECT * FROM line_items l,orders o where l.order_id=o.id and
concat(l.quantity,o.email) like "%关键字%"
情景1:同一个表里的多个字段
SELECT * FROM orders o where concat(o.email,o.address) like "%关键字%"
情景2:不同表里的多个字段
SELECT * FROM line_items l,orders o where l.order_id=o.id and
concat(l.quantity,o.email) like "%关键字%"