回答:
私はこのようなことをします:
$connection = $this->_objectManager->create('\Magento\Framework\App\ResourceConnection');
$conn = $connection->getConnection();
$select = $conn->select()
->from(
['main_table' => 'catalog_product_entity'],
[
'main_table.sku',
'custom_table.email_id'
]
)
->join(
['custom_table' => 'custom_table'],
'main_table.entity_id = custom_table.product_id'
);
$data = $conn->fetchAll($select);