I want to select a price or sale_price relative to a value in a field named nosale. where price, sale_price and nosale are the fields of the product table.
The nosale field will be either true or false. Accordingly, I want either the price value or sale_price, and not both.
How to form one request for extraction, as I mentioned?
source
share