Hi. I have the sql below but can not get it to work
select product_category,
(
select top 1 sub_category
from sub_categories
where product_category IN (keywords)
) as s
from products;
product category is Baby Gift Baskets and the keywords field is Baby Gift Baskets,Baby Gifts
basically want to get sub_category when product_category is found in the keywords list?