I have a SQL TABLE like
CREATE TABLE Test ( ContentArray INTEGER ARRAY )`.
I can insert an column with `INSERT INTO Test ( ContentArray ) VALUES ( ARRAY[1,2,3,4] )
But I don't know how to get all columns where ContentArray contains integer 3.
For example:
INSERT INTO Test ( ContentArray ) VALUES ( ARRAY[1,2] )
INSERT INTO Test ( ContentArray ) VALUES ( ARRAY[3,4] )
INSERT INTO Test ( ContentArray ) VALUES ( ARRAY[4,5] )
INSERT INTO Test ( ContentArray ) VALUES ( ARRAY[5,6] )
SELECT ContentArray FROM Test WHERE /* ContentArray contains 5 and 6 */
should return ARRAY[5,6].