- syntax error: select a.id as idsp,a.tenkhongdau as tenkhongdausp,a.type as typesp,a.ten as tensp,a.mota as motasp,a.photo as photosp,b.ten as tendm,b.tenkhongdau as tenkhongdaudm from table_product a inner join table_product_danhmuc b on a.id_danhmuc=b.id where a.type='san-pham'and a.id= and a.hienthi=1