In Postgresql, if I have an array of team_id in my table for example team_id=[2,3,5,7]
when I want to remove 7 from the array of team_id what is the command?
I write :
SELECT array_remove(ARRAY[team_id],7)
but it is not correct
不需要数组关键字:
select array_remove(team_id, 7)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.