Trouble with LEFT OUTER JOIN
问题 I'm trying to get a list of products order by the amount sold and by date. I also want to display the products that haven't been sold in the list so I tried doing a subquery first but MYSQL is giving me this message: Operand should contain 1 column(s) SELECT product.product_id, product.product_brand_id, product.product_model_id, product.product_subcategory_id, product.product_retail_price, product.product_wholesale_price FROM product WHERE product.product_subcategory_id = $subcategory_id AND