0 -

select products_id, products_stock_attributes from products_stock where products_id=design and products_stock_quantity>0

[TEP STOP]