I just don't know how to get all simple product's stock and SKU information with SQL Query. I just need to get something like this
SKU Quantity Stock Status
--- -------- ------------
454645 50 1
545878 15 1
Any help please.
Best Answer
Use following query :
You can check in stock or out of stock according to the returned quantity