I'm looking for a query to get all my products that have "qty > 2 and 'stock availability = 0'" and change the stock availability to 1.
A crash on my inventory update routine did a mess on my inventory and there are more than 7000 products, impossible to check one by one. :(