Could you help to give me the sample about SQL Query please?
I have 2 table :
- Table Product{pID, pName, pType, pDetail, pStock}
- Table ProductImage{im ageID, pID, imageName, imageFile}
One Product have many Image so I want to query all product to display but for one product one image but I cannot query becuase when I query all product they show all product all image. but I need one product one image.
I have 2 table :
- Table Product{pID, pName, pType, pDetail, pStock}
- Table ProductImage{im ageID, pID, imageName, imageFile}
One Product have many Image so I want to query all product to display but for one product one image but I cannot query becuase when I query all product they show all product all image. but I need one product one image.
Comment