I have a 2 tables products and brands.
Products
+------------+-------------------------------------+------------+-------+
| product_id | title | brand_name | price |
+------------+-------------------------------------+------------+-------+
| 1 | Pacific Evolution 26" Mountain Bike | Pacific | 100 |
+------------+-------------------------------------+------------+-------+
| 2 | Schwinn Riverside Cruiser | Schwinn | 200 |
+------------+-------------------------------------+------------+-------+
Brands
+-----------+-------------+----------+
| brand_id | brand_name | discount |
+-----------+-------------+----------+
| 22 | Schwinn | 10 |
+-----------+-------------+----------+
The price for a product changes if a brand has a discount. (In my table example Schwinn brand has 10% discount)
How can I output a list of products in ascending order by price in my case?