I have this SQL querry: select
P.productId, Pd.price, PD.promotionId from promotiondetails PD join products P