How do I access a field from the main query inside a sub query in mySQL?
I have 3 tables: products, product_options and product_option_choices. Products can have multiple options, options can have multiple choices. Choices can adjust the main product price (choice_price_adjust field). What I'm trying to do is fetch the products and have a field…