Postgresql Select from values in array -
i converting multiple rows in array using array_agg() function, , need give array select statements condition.
my query is,
select * table id = all(select array_agg(id) table some_condition)
but gives error, how can on come it..
the error has been cleared type casting array, using query this
select * table id = all((select array_agg(id) table some_condition)::bigint[])
Comments
Post a Comment