Hi,
I am trying to create a table as follows:
CREATE TABLE `criteria` (
select PGC.PGC_P_ID, P_Title, GROUP_CONCAT(A_ID,'|', C_Title) AS Criteria
from tblproductsgroupcriteria PGC
join tblproducts P on PGC_P_ID = P_ID
join tblproductsgroupindustry PGI on PGInd_P_ID = P_ID
join tblcriteria...