Suppose I've got the following table:
Product Price
1 $3.32
1 $5.30
1 $6.73
2 $4.53
2 $3.21
2 $2.34
(so forth)
and I want a query to display only the top two values for each product(for a total of four entrees in this case). I know how to get the top two prices of the whole table but I don't know how to get the top two in each product. Any help would be appreciated.
Thanks,
CM
Product Price
1 $3.32
1 $5.30
1 $6.73
2 $4.53
2 $3.21
2 $2.34
(so forth)
and I want a query to display only the top two values for each product(for a total of four entrees in this case). I know how to get the top two prices of the whole table but I don't know how to get the top two in each product. Any help would be appreciated.
Thanks,
CM