skip to Main Content

Postgresql – SQL query with JSON and WHERE clause

I have a postgreSQL table that contains the following: select * from ci_grp; ci | grp ------------+------------------------------------------------------------------------------------------- Ci1 | [{"Name":"TEAM.Virtu"},{"Name":"TECH.LinuxDevice"}] Ci2 | [{"Name":"TECH.LinuxDevice"},{"Name":"TEAM.Monitoring"}] Ci3 | [{"Name":"TEAM.Noc"},{"Name":"TEAM.Virtu"},{"Name":"TECH.DellEsx"},{"Name":"TECH.SNMP"}] Ci4 | [{"Name":"TEAM.Monitoring"},{"Name":"TECH.Postgresql"}] Ci5 | [{"Name":"TEAM.Monitoring"},{"Name":"TECH.LinuxDevice"},{"Name":"TECH.ZabbixProxy"}] I need to get a reply that would…

VIEW QUESTION
Back To Top
Search