Is there any way to get enabled and disabled simple product of configurable product in Magento 2.
I need to get all id of enable and disabled product by using SQL query or object manager approach.
Can anyone tell me SQL query to get all simple product of a config. product.