postgres を使用してデータを取得しています。配列 (カテゴリ) があり、' > ' を含む結果を除外したい
select title, short_url, unnest(categories) as cats, winning_offer_amount
from auctions
where ended_at is not null
and '% > %' NOT IN cats
group by title, short_url, cats, winning_offer_amount
自分の構文が完全に間違っていることに気づきましたが、何を書こうとしているのかを理解しようとしています。結果は次のようになります。
Women's > Shoes
Women's
Men's > Shoes
Men's
「>」で結果を除外したい