i got this permission:export const ROLES_CONFIG = {
  'administration.events': [
    {
      id: 'r',
      label: 'view',
    },
  ],
  'administration.integrations.image.registries': [
    {
      id: 'r',
      label: 'view',
    },
    {
      dependence: 'r',
      id: 'wxd',
      label: 'manage',
    },
  ],
  'administration.integrations.ldap': [
    {
      id: 'rwxd',
      label: 'view-manage',
    },
  ],
  'administration.integrations.notifications': [
    {
      id: 'r',
      label: 'view',
    },
    {
      dependence: 'r',
      id: 'wxd',
      label: 'manage',
    },
  ],
  'administration.integrations.siem': [
    {
      id: 'r',
      label: 'view',
    },
    {
      dependence: 'r',
      id: 'wxd',
      label: 'manage',
    },
  ],
  'administration.integrations.sign-validators': [
    {
      id: 'r',
      label: 'view',
    },
    {
      dependence: 'r',
      id: 'wxd',
      label: 'manage',
    },
  ],
  'administration.reports': [
    {
      id: 'r',
      label: 'view',
    },
    {
      dependence: 'r',
      id: 'wxd',
      label: 'manage',
    },
  ],
  'administration.roles': [
    {
      id: 'rwxd',
      label: 'view-manage',
    },
  ],
  'administration.scopes': [
    {
      id: 'r',
      label: 'view',
    },
    {
      dependence: 'r',
      id: 'wxd',
      label: 'manage',
    },
  ],
  'administration.scopes-global': [
    {
      id: 'r',
      label: 'view',
    },
    {
      dependence: 'r',
      id: 'wxd',
      label: 'manage',
    },
  ],
  'administration.users': [
    {
      id: 'r',
      label: 'view',
    },
    {
      dependence: 'r',
      id: 'wxd',
      label: 'manage',
    },
  ],
  'benchmarks.cis': [
    {
      id: 'r',
      label: 'view',
    },
    {
      dependence: 'r',
      id: 'x',
      label: 'run',
    },
  ],
  'components.agents': [
    {
      id: 'rwxd',
      label: 'view-manage',
    },
  ],
  'components.core': [
    {
      id: 'r',
      label: 'view',
    },
  ],
  'inventory.assets.clusters': [
    {
      id: 'rwxd',
      label: 'view-manage',
    },
  ],
  'inventory.assets.clusters.secrets': [
    {
      id: 'r',
      label: 'view',
    },
  ],
  'inventory.assets.registries': [
    {
      id: 'r',
      label: 'view',
    },
    {
      dependence: 'r',
      id: 'w',
      label: 'add-image',
    },
    {
      dependence: 'r',
      id: 'd',
      label: 'remove-image-or-registry',
    },
  ],
  'inventory.assets.registries.scans': [
    {
      id: 'r',
      label: 'view',
    },
    {
      dependence: 'r',
      id: 'x',
      label: 'run',
    },
  ],
  'inventory.cicd': [
    {
      id: 'r',
      label: 'view',
    },
    {
      dependence: 'r',
      id: 'wxd',
      label: 'manage',
    },
  ],
  'policies.assurance': [
    {
      id: 'r',
      label: 'view',
    },
    {
      dependence: 'r',
      id: 'wxd',
      label: 'manage',
    },
  ],
  'policies.response': [
    {
      id: 'r',
      label: 'view',
    },
    {
      dependence: 'r',
      id: 'wxd',
      label: 'manage',
    },
  ],
  'policies.risk': [
    {
      id: 'r',
      label: 'view',
    },
    {
      dependence: 'r',
      id: 'wxd',
      label: 'manage',
    },
  ],
  'policies.runtime': [
    {
      id: 'r',
      label: 'view',
    },
    {
      dependence: 'r',
      id: 'wxd',
      label: 'manage',
    },
  ],
  'policies.runtime.auto-profile': [
    {
      id: 'r',
      label: 'view',
    },
    {
      dependence: 'r',
      id: 'wxd',
      label: 'manage',
    },
  ],
  'policies.scanner': [
    {
      id: 'r',
      label: 'view',
    },
    {
      dependence: 'r',
      id: 'wxd',
      label: 'manage',
    },
  ],
  'settings.authentication': [
    {
      id: 'rwxd',
      label: 'view-manage',
    },
  ],
  'settings.file-threat-protection': [
    {
      id: 'rwxd',
      label: 'view-manage',
    },
  ],
  'settings.license': [
    {
      id: 'r',
      label: 'view',
    },
    {
      dependence: 'r',
      id: 'wxd',
      label: 'manage',
    },
  ],
};


I want to store it in this table. Write sql request to insert this data to table:

CREATE TABLE IF NOT EXISTS permissons_labels(
    resource_code VARCHAR(255) NOT NULL, -- resources.code
    permissions_ids VARCHAR(4) NOT NULL, -- data stored in 'rwxd' format
    label VARCHAR(255) NOT NULL, -- 'view' 'run' etc
    dependence VARCHAR(3) -- three because only four permissions can be. and one should be in permissions_id
);