starred flag added to mysql query