SQL query based on two columns – Woocommerce
I have a quite large products table and I need some smart solution to find out which products are (in woocommerce terms) Simple, Variable, and Variation. In the example table below, ids 6 and 7 are Simple products (they don't…