📜  结合2列搜索查询mysql代码示例

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

代码示例1
Select Contacts.*, Contacts.ID as CID 
from Contacts 
left join website_Data 
on Contacts.ID = website_Data.ContactID 
where CONCAT(Contacts.FirstName,' ', Contacts.LastName) LIKE '%Illusion Softwares%' 
order by Contacts.`Created` DESC