in the products table there is a price_range_id
in the price table there is a price_range_id and a price_range field. Also in the price_table there are the min_price and max_price as noted above.
Basically, I have to do a:
Select Price_Range_ID FROM Price_Range WHERE min_price >= $min AND max_price <= $max
And then,
Select * from ProductTable where productPrinceRange = Price_Range_ID(this goes in some loop I guess)
But im not sure how to architect this, anyone?