Posted 12/21/2024
column_name datatype []
select * from table t where t.id = ANY (ARRAY[1,2,3])
SELECT name, phones [ 1 ] FROM contacts;
SELECT * FROM table t WHERE t.id IN (1, 2, 3);
Array Functions and Operators