This is code for only particular category select. Category select by category id, which is used in an array and get product name, sku etc. of given category id.
$abc = array(90,102,94);
 
for($i=0; $i<=2; $i++)
{
       $category = Mage::getModel('catalog/category')->load($abc[$i]);
  $collection = $category->getProductCollection();
  $collection->addAttributeToSelect('*');
  $products = $collection->getItems(); 
  
  foreach ($products as $product1)
  {
   echo $product1->getSku() . ",";
   echo $category->getName() . "<br>";
  }
}