syntax error: select A.id_product, A.id_team, A.masp, B.id, B.ten_vi, B.numberic,C.ten_vi as size from table_product_team as A left join table_product as B on B.id=A.id_product left join table_product_property as C on C.id=A.id_team where A.type='size' and A.id_product= order by A.id_product asc,B.id asc,C.id asc