title: Build an sql query for all enabled products in magento database
body: <p>I am new to magento and I want to fetch enabled products from the database.The fields I require are:
  Name of the product,PRICE ,SKU and Quantity.</p>
  
  <p>I don't have much idea regarding the magento table structure. Is it possible from the admin panel or if someone has a sql query it would be really helpful. Thanks </p>