Home Return boolean if one element matches among 2 arrays in postgresql
 I have 2 arrays in postgresql and I need to return true if there are at least 1 match of element between these 2 arrays no mather if it is same position. Follows example below: select array(select generate_series(0,10)) = any(select array(select generate_series(10,11)))  it should return true because I have 10 in both arrays