There was a problem creating the mysql query.
There are 2 tables: 1st - the name of the series, 2nd - the series. In the first table of the field "id", "title", in the second - "id", "serial_id", "title", "price".
Table 1:
id | title ----------- 1 | title1 2 | title2 3 | title3 4 | title4 Table 2:
id | serial_id | title | price ---------------------------------- 1 | 1 | demo text | 1100 2 | 1 | demo text | 200 3 | 2 | demo text | 450 4 | 2 | demo text | 375 The site is sorted by price. Tell me, please, how to make a request so that when choosing a price, only those series are shown, the price of which series satisfies the price limit!