[ad_1]
I have an “Inventory” table, with two columns: id (bigint, primary key) and cards (an array).
Suppose my cards column is: ARRAY[‘IZMI’, ‘IZCH’, ‘IZHI’]
How would I get the id with just one item in the array, for example ‘IZMI’? What would my query be?
[ad_2]