$sql = "select * from product where (Cat_Id IN(select Cat_Id from Category where Cat_Name LIKE '%$keyword%')) OR (Mat_Id IN(select Mat_Id from Material where Cat_Name LIKE '%$keyword%')) OR (Color_Id IN(select Color_Id from Color where Color_Name LIKE '%$keyword%'))";