2010-12-03 1 views

Répondre

3
SELECT pd.name, pc.price 
    FROM product AS pd 
     INNER JOIN price AS pc 
      ON pd.id = pc.productid 
+0

+1 mieux formaté que la solution Davitas :) – joni

2

vous pouvez le faire de cette façon:

Select p.*, pr.Name from price as p 
join product as pr on p.productid = pr.Id 
Questions connexes