select product_class.product_family as c0 from product as product, product_class as product_class where product.product_class_id = product_class.product_class_id and UPPER(product_class.product_family) = UPPER('foobar') group by product_class.product_family order by product_class.product_family ASC NULLS LAST; |