title: how to check whether the comma-separated value in the database is present in JSON data or not using python
body: <p>I just have to check the JSON data on the basis of comma-separated e_code in the table.
  how to filter only that data where users e_codes are available
  in the database:</p>
  <pre><code>id         email          age      e_codes
  1.         abc@gmail       19     123456,234567,345678
  2.         xyz@gmail       31     234567,345678,456789
  </code></pre>
  <p>This is my JSON data</p>
  <pre><code>[
    {
      &quot;ct&quot;: 1,
      &quot;e_code&quot;: 123456,
    },
    {
      &quot;ct&quot;: 2,
      &quot;e_code&quot;: 234567,
    },
  {
      &quot;ct&quot;: 3,
      &quot;e_code&quot;: 345678,
  },
  {
      &quot;ct&quot;: 4,
      &quot;e_code&quot;: 456789,
    },
  {
      &quot;ct&quot;: 5,
      &quot;e_code&quot;: 456710,
    }
  ]
  
  </code></pre>